/* ===== MANASYA INFOSOLUTIONS - PREMIUM THEME CSS ===== */

/* === ROOT VARIABLES - PREMIUM PALETTE === */
:root {
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Light Theme - Premium, Progressive, Trustworthy */
  --primary-color: #8b5cf6; /* Premium Purple */
  --secondary-color: #2563eb; /* Trust Blue */
  --accent-color: #0891b2; /* Progressive Teal */
  --luxury-gold: #f59e0b; /* Luxury Gold */
  --success-color: #10b981; /* Success Green */
  --warning-color: #f59e0b; /* Warning Amber */
  --error-color: #ef4444; /* Error Red */

  /* Light Theme Backgrounds */
  --bg-primary: #f8fafc; /* Clean White */
  --bg-secondary: #f1f5f9; /* Light Gray */
  --bg-tertiary: #e2e8f0; /* Soft Gray */
  --bg-card: #ffffff; /* Pure White */
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Light Theme Text */
  --text-primary: #0f172a; /* Deep Dark */
  --text-secondary: #334155; /* Medium Gray */
  --text-tertiary: #64748b; /* Light Gray */
  --text-muted: #94a3b8; /* Muted Gray */

  /* Light Theme UI */
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --shadow-color: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.15);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --gradient-accent: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-gold: linear-gradient(135deg, var(--luxury-gold), #fbbf24);
  --gradient-glass: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(37, 99, 235, 0.05));

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-full: 50px;

  /* Shadows */
  --shadow-sm: 0 2px 4px var(--shadow-color);
  --shadow-md: 0 4px 12px var(--shadow-color);
  --shadow-lg: 0 8px 25px var(--shadow-color);
  --shadow-xl: 0 12px 35px var(--shadow-color);
}

/* === DARK THEME OVERRIDES === */
[data-theme="dark"] {
  /* Dark Theme - Premium, Futuristic, Luxurious */
  --primary-color: #7c3aed; /* Deep Premium Purple */
  --secondary-color: #3b82f6; /* Bright Blue */
  --accent-color: #06b6d4; /* Futuristic Cyan */
  --luxury-gold: #fbbf24; /* Bright Gold */

  /* Dark Theme Backgrounds */
  --bg-primary: #0B0B1A; /* Deep Dark */
  --bg-secondary: #1C1C2D; /* Dark Purple */
  --bg-tertiary: #16213e; /* Dark Blue */
  --bg-card: #2A2A3F; /* Card Dark */
  --bg-glass: rgba(30, 41, 59, 0.9);

  /* Dark Theme Text */
  --text-primary: #f1f5f9; /* Clean White */
  --text-secondary: #cbd5e1; /* Light Gray */
  --text-tertiary: #94a3b8; /* Medium Gray */
  --text-muted: #64748b; /* Dark Gray */

  /* Dark Theme UI */
  --border-color: #334155;
  --border-hover: #475569;
  --shadow-color: rgba(0, 0, 0, 0.6);
  --shadow-hover: rgba(0, 0, 0, 0.8);

  /* Dark Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --gradient-accent: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-glass: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(59, 130, 246, 0.1));
}

/* === GLOBAL RESET AND BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; }
h5 { font-size: clamp(1.125rem, 2vw, 1.25rem); margin-bottom: 0.5rem; }
h6 { font-size: clamp(1rem, 1.5vw, 1.125rem); margin-bottom: 0.5rem; }

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* === UTILITY CLASSES === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === THEME SWITCHER === */
.theme-switcher {
  position: fixed;
  bottom : 2rem;
  left: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.theme-toggle-container:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
}

.theme-icon {
  font-size: 1.25rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  color: var(--text-secondary);
}

.theme-toggle-track {
  position: relative;
  width: 60px;
  height:32px;
  background: var(--bg-tertiary);
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 2px solid var(--border-color);
}

.theme-toggle-track:hover {
  background: var(--border-hover);
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.thumb-inner {
  font-size: 0.75rem;
  color: white;
  filter: brightness(1.2);
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(28px);
  background: var(--gradient-accent);
}

[data-theme="dark"] .theme-icon.sun-icon {
  opacity: 0.4;
}

[data-theme="dark"] .theme-icon.moon-icon {
  opacity: 1;
  color: var(--accent-color);
}

[data-theme="light"] .theme-icon.sun-icon {
  opacity: 1;
  color: var(--luxury-gold);
}

[data-theme="light"] .theme-icon.moon-icon {
  opacity: 0.4;
}

.theme-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  padding: 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-image {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

.logo-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.cta-button {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* === SCROLL PROGRESS === */
.scroll-progress {
  position: fixed;
  top: 80px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 999;
  transition: width 0.1s ease;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../assets/images/hero\ bg\ new.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-3d,
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
}

.hero-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-glass-container {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-3xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  position: relative;
  overflow: hidden;
}

.hero-glass-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  position: relative;
}

.badge-icon {
  font-size: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.primary-button {
  position: relative;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 180px;
  justify-content: center;
}

.button-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.primary-button:hover .button-glow {
  left: 100%;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--text-primary);
  padding: 1rem 2rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  min-width: 180px;
  justify-content: center;
}

.secondary-button:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.play-icon {
  font-size: 0.8rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-tertiary);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--gradient-primary);
  border-radius: 1px;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* === SECTION STYLES === */
section {
  padding: 8rem 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--bg-secondary);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

/* === SERVICE CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  border: 2px solid var(--luxury-gold);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
  transform: translateY(-10px) scale(1.05);
  z-index: 10;
  position: relative;
}

.service-card.featured:hover {
  transform: translateY(-15px) scale(1.07);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.7);
  border-color: var(--luxury-gold);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-gold);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon-3d {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--gradient-glass);
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.service-features li i {
  color: var(--success-color);
  font-size: 0.8rem;
}

.service-price {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 1rem;
}

/* === CAREER SECTION ENHANCEMENTS === */
.career-cta-section {
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.career-cta-section h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.career-cta-section p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* === CONTACT FORM ENHANCEMENTS === */
.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-align: center;
  justify-content: center;
}

.form-subtitle {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact-form textarea {
  width: 100%;
  margin-bottom: 1.5rem;
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
}

/* === LOADING SCREEN === */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius-xl);
  animation: pulse 2s infinite;
}

.loading-progress {
  width: 200px;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
  margin: 2rem 0 1rem;
}

.loading-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.loading-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .primary-button,
  .secondary-button {
    width: 100%;
  }
  
  .theme-switcher {
    bottom: 1rem;
    left: 1rem;
  }
  
  .theme-toggle-container {
    padding: 0.5rem;
  }
  
  .theme-toggle-track {
    width: 50px;
    height: 28px;
  }
  
  .theme-toggle-thumb {
    width: 20px;
    height: 20px;
  }
  
  [data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(22px);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .hero-glass-container {
    padding: 2rem 1.5rem;
  }
  
  .stat-divider {
    display: none;
  }
  
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-card);
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 80%;
    max-width: 700px;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: fadeIn 0.3s;
}

.close-button {
    color: var(--text-tertiary);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--text-primary);
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);}
    to {opacity: 1; transform: scale(1);}
}