/* ============================================
   ICSS Campus Representative
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@600;700;800;900&display=swap');

/* ── CSS Custom Properties (Design Tokens) ── */
:root {
  /* Colors */
  --color-bg-primary: #06080f;
  --color-bg-secondary: #0a0e1a;
  --color-bg-card: rgba(15, 20, 40, 0.6);
  --color-bg-glass: rgba(255, 255, 255, 0.03);
  --color-bg-glass-hover: rgba(255, 255, 255, 0.06);

  --color-primary: #4f6ef7;
  --color-primary-light: #6c8aff;
  --color-accent: #00d4aa;
  --color-accent-cyan: #00e5ff;
  --color-accent-glow: rgba(0, 212, 170, 0.15);

  --color-text-primary: #f0f2f5;
  --color-text-secondary: #8892a4;
  --color-text-muted: #7a8498;

  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);
  --color-border-accent: rgba(0, 212, 170, 0.3);

  /* State Colors (tokenized) */
  --color-error: #ef4444;
  --color-error-bg: rgba(239, 68, 68, 0.08);
  --color-error-border: rgba(239, 68, 68, 0.3);
  --color-success: #00d4aa;
  --color-success-bg: rgba(0, 212, 170, 0.08);
  --color-success-border: rgba(0, 212, 170, 0.3);
  --color-warning: #f59e0b;
  --color-warning-bg: rgba(245, 158, 11, 0.08);
  --color-focus-ring: rgba(79, 110, 247, 0.3);
  --color-input-bg: rgba(255, 255, 255, 0.03);
  --color-input-bg-focus: rgba(79, 110, 247, 0.05);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #4f6ef7, #7c3aed);
  --gradient-accent: linear-gradient(135deg, #00d4aa, #00b4d8);
  --gradient-hero: radial-gradient(ellipse at 20% 50%, rgba(79, 110, 247, 0.15) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
  --gradient-card-border: linear-gradient(135deg, rgba(79, 110, 247, 0.4), rgba(0, 212, 170, 0.4));

  /* Typography */
  --font-heading: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;
  --text-6xl: 4rem;

  /* Spacing (8px system) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-8: 3rem;      /* 48px */
  --space-10: 4rem;     /* 64px */
  --space-12: 5rem;     /* 80px */
  --space-16: 8rem;     /* 128px */

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(79, 110, 247, 0.15);
  --shadow-glow-accent: 0 0 40px rgba(0, 212, 170, 0.15);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(79, 110, 247, 0.3);
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(79, 110, 247, 0.3);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(79, 110, 247, 0.5);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent-glow);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-full);
}

.section-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ── Section Spacing ── */
.section {
  padding: var(--space-16) 0;
  position: relative;
}

/* ── Animated Background ── */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: rgba(79, 110, 247, 0.12);
  animation: float-glow 20s ease-in-out infinite;
}

.bg-glow-2 {
  bottom: 30%;
  left: -200px;
  width: 500px;
  height: 500px;
  background: rgba(0, 212, 170, 0.1);
  animation: float-glow 25s ease-in-out infinite reverse;
}

.bg-glow-3 {
  top: 50%;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.1);
  animation: float-glow 18s ease-in-out infinite 5s;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ── Navbar ── */
.navbar-premium {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: var(--transition-base);
  background: transparent;
}

.navbar-premium.scrolled {
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) 0;
}

.navbar-brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
}

.navbar-brand-text .brand-accent {
  color: var(--color-accent);
}

.nav-link-premium {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary) !important;
  padding: var(--space-2) var(--space-4) !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  position: relative;
}

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

.nav-link-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  transform: translateX(-50%);
}

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

/* ── Buttons ── */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(79, 110, 247, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(79, 110, 247, 0.4);
  color: #fff;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: var(--transition-slow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--color-bg-primary);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.4);
  color: var(--color-bg-primary);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(79, 110, 247, 0.1);
  color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

/* ── Glass Card ── */
.glass-card {
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.glass-card:hover {
  background: var(--color-bg-glass-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.glass-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
  background: var(--color-accent-glow);
  border: 1px solid var(--color-border-accent);
  color: var(--color-accent);
}

.glass-card .card-icon.icon-primary {
  background: rgba(79, 110, 247, 0.12);
  border-color: rgba(79, 110, 247, 0.3);
  color: var(--color-primary-light);
}

.glass-card .card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.glass-card .card-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Gradient Border Card */
.gradient-border-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-card-border);
  transition: var(--transition-base);
}

.gradient-border-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.gradient-border-card .card-inner {
  background: var(--color-bg-secondary);
  border-radius: calc(var(--radius-lg) - 1px);
  padding: var(--space-6);
  height: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.hero-mesh .mesh-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(79, 110, 247, 0.08), transparent);
  height: 1px;
  animation: mesh-float 20s linear infinite;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(12px);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--color-accent);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, var(--text-6xl));
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  max-width: 800px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, var(--text-xl));
  color: var(--color-text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero-stats {
  display: flex;
  gap: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Floating particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(79, 110, 247, 0.5);
  animation: float-particle linear infinite;
  will-change: transform;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Floating Orbs - large glowing circles */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 5%;
  background: radial-gradient(circle, rgba(79, 110, 247, 0.15) 0%, transparent 70%);
  animation: orb-float 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: 10%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12) 0%, transparent 70%);
  animation: orb-float 16s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 25%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  animation: orb-float 10s ease-in-out infinite 2s;
}

@keyframes orb-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translate(30px, -40px) scale(1.15);
    opacity: 1;
  }
  50% {
    transform: translate(-20px, -20px) scale(0.95);
    opacity: 0.7;
  }
  75% {
    transform: translate(15px, 30px) scale(1.1);
    opacity: 0.9;
  }
}

/* Glowing pulse rings */
.hero-pulse-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-pulse-ring-1 {
  width: 400px;
  height: 400px;
  top: 20%;
  right: -5%;
  border: 1px solid rgba(79, 110, 247, 0.1);
  animation: pulse-ring 6s ease-in-out infinite;
}

.hero-pulse-ring-2 {
  width: 250px;
  height: 250px;
  bottom: 20%;
  left: 5%;
  border: 1px solid rgba(0, 212, 170, 0.08);
  animation: pulse-ring 8s ease-in-out infinite 2s;
}

@keyframes pulse-ring {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about .about-content p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.about-highlight {
  padding: var(--space-6);
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-glass);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-6) 0;
}

.about-highlight p {
  font-size: var(--text-base) !important;
  font-style: italic;
  color: var(--color-text-secondary);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
#benefits .glass-card {
  height: 100%;
}

#benefits .benefit-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 900;
  color: rgba(79, 110, 247, 0.1);
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  line-height: 1;
}

/* ============================================
   RESPONSIBILITIES SECTION
   ============================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-bg-primary);
  box-shadow: 0 0 0 4px rgba(79, 110, 247, 0.2);
  z-index: 1;
}

.timeline-item:hover .timeline-dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.2), 0 0 12px var(--color-accent);
}

.timeline-content {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: var(--transition-base);
}

.timeline-item:hover .timeline-content {
  border-color: var(--color-border-hover);
  background: var(--color-bg-glass-hover);
  transform: translateX(8px);
}

.timeline-content .step-number {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.timeline-content h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.timeline-content p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   ADVANCEMENT SECTION
   ============================================ */
.advancement-card .card-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.advancement-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(79, 110, 247, 0.1);
  border: 1px solid rgba(79, 110, 247, 0.2);
  color: var(--color-primary-light);
}

.advancement-card:nth-child(2) .advancement-icon {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.2);
  color: var(--color-accent);
}

.advancement-card:nth-child(3) .advancement-icon {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
}

/* ============================================
   ELIGIBILITY SECTION
   ============================================ */
.eligibility-list {
  list-style: none;
  padding: 0;
}

.eligibility-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.eligibility-item:last-child {
  border-bottom: none;
}

.eligibility-item:hover {
  background: var(--color-bg-glass);
  padding-left: var(--space-6);
}

.eligibility-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-glow);
  border: 1px solid var(--color-border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: var(--text-sm);
}

.eligibility-item h5 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.eligibility-item p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

/* ============================================
   CONTACT / FORM SECTION
   ============================================ */
#contact {
  background: linear-gradient(180deg, var(--color-bg-primary), var(--color-bg-secondary));
}

.contact-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-8);
}

.contact-visual .badge-row {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.contact-visual .badge-item {
  padding: var(--space-1) var(--space-3);
  background: var(--color-accent-glow);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 600;
}

.contact-visual h3 {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.contact-visual p {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.contact-visual .trust-row {
  display: flex;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.contact-visual .trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.contact-visual .trust-item i {
  color: var(--color-accent);
}

.form-glass {
  background: var(--color-bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  box-shadow: 0 0 80px rgba(79, 110, 247, 0.06);
}

.form-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 110, 247, 0.3), transparent);
}

.form-glass .form-header {
  margin-bottom: var(--space-6);
}

.form-glass .form-header h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.form-glass .form-header p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

/* ── Form Progress Bar ── */
.form-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-6);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.form-progress-step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  transition: var(--transition-base);
  white-space: nowrap;
}

.form-progress-step .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.form-progress-step.active {
  color: var(--color-primary-light);
}

.form-progress-step.active .step-num {
  background: rgba(79, 110, 247, 0.15);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}

.form-progress-step.completed {
  color: var(--color-accent);
}

.form-progress-step.completed .step-num {
  background: var(--color-success-bg);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.form-progress-connector {
  flex: 1;
  height: 1px;
  background: var(--color-border);
  margin: 0 var(--space-2);
  transition: var(--transition-base);
  min-width: 12px;
}

.form-progress-connector.completed {
  background: var(--color-accent);
}

/* ── Floating Label Input (Material Design Float-Up) ── */
.form-floating-custom {
  position: relative;
  margin-bottom: var(--space-5);
}

.form-floating-custom input,
.form-floating-custom textarea {
  width: 100%;
  padding: 22px var(--space-4) 10px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  background: var(--color-input-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-base);
  resize: none;
  min-height: 52px;
}

.form-floating-custom textarea {
  padding-top: 26px;
  min-height: 120px;
}

.form-floating-custom input:focus,
.form-floating-custom textarea:focus {
  border-color: var(--color-primary);
  background: var(--color-input-bg-focus);
  box-shadow: 0 0 0 3px var(--color-focus-ring);
}

/* Hide native placeholder */
.form-floating-custom input::placeholder,
.form-floating-custom textarea::placeholder {
  color: transparent;
  opacity: 0;
}

/* Label: resting state (inside input) */
.form-floating-custom label {
  position: absolute;
  top: 50%;
  left: var(--space-4);
  transform: translateY(-50%);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  pointer-events: none;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top left;
}

.form-floating-custom textarea ~ label {
  top: 18px;
  transform: none;
}

/* Label: floated state (above text — Material Design) */
.form-floating-custom input:focus ~ label,
.form-floating-custom input:not(:placeholder-shown) ~ label,
.form-floating-custom input.has-value ~ label {
  top: 8px;
  left: var(--space-4);
  transform: translateY(0);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary-light);
  opacity: 1;
  visibility: visible;
}

.form-floating-custom textarea:focus ~ label,
.form-floating-custom textarea:not(:placeholder-shown) ~ label,
.form-floating-custom textarea.has-value ~ label {
  top: 8px;
  left: var(--space-4);
  transform: translateY(0);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary-light);
  opacity: 1;
  visibility: visible;
}

/* Validation message */
.form-floating-custom .validation-msg {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
  display: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-floating-custom .validation-msg {
  display: none;
}

.form-floating-custom.error input,
.form-floating-custom.error textarea {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}

.form-floating-custom.error input:focus,
.form-floating-custom.error textarea:focus {
  box-shadow: 0 0 0 3px var(--color-error-border);
}

.form-floating-custom.error label {
  color: var(--color-error) !important;
}

.form-floating-custom.error .validation-msg {
  display: flex;
}

/* Success state */
.form-floating-custom.success input,
.form-floating-custom.success textarea {
  border-color: var(--color-success);
}

.form-floating-custom.success label {
  color: var(--color-success) !important;
}

/* Inline success icon */
.form-floating-custom .field-status-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-base);
  opacity: 0;
  transition: var(--transition-base);
  pointer-events: none;
}

.form-floating-custom.success .field-status-icon {
  opacity: 1;
  color: var(--color-success);
  animation: icon-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-floating-custom.error .field-status-icon {
  opacity: 1;
  color: var(--color-error);
}

@keyframes icon-pop {
  0% { transform: translateY(-50%) scale(0); }
  100% { transform: translateY(-50%) scale(1); }
}

/* ── Character Counter ── */
.char-counter {
  text-align: right;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 4px;
  transition: var(--transition-base);
}

.char-counter.warning {
  color: var(--color-warning);
}

.char-counter.limit {
  color: var(--color-error);
}

.btn-submit {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-submit .btn-text {
  transition: var(--transition-base);
}

.btn-submit .btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: var(--transition-base);
}

.btn-submit.loading .btn-text {
  opacity: 0;
}

.btn-submit.loading .btn-loader {
  opacity: 1;
}

.btn-submit.success {
  background: var(--gradient-accent) !important;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Email Verify Button ── */
.btn-verify-email {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-accent);
  color: var(--color-bg-primary);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-verify-email:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 0 16px rgba(0, 212, 170, 0.4);
}

.btn-verify-email:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.btn-verify-email.sending {
  pointer-events: none;
}

/* Email input right padding to avoid text under button */
#email-group input {
  padding-right: 100px;
}

/* Verified badge */
.email-verified-badge {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  animation: badge-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badge-pop {
  0% { transform: translateY(-50%) scale(0); }
  100% { transform: translateY(-50%) scale(1); }
}

/* Email field locked state */
#email-group.verified input {
  border-color: var(--color-accent) !important;
  background: var(--color-success-bg) !important;
  pointer-events: none;
}

/* ── OTP Section ── */
.otp-section {
  margin-top: var(--space-4);
  padding: var(--space-6);
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.06), rgba(0, 212, 170, 0.04));
  border: 1px solid rgba(79, 110, 247, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 var(--space-6);
  margin-top: 0;
  position: relative;
}

.otp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
  background-size: 200% 100%;
  animation: otp-gradient-bar 3s linear infinite;
}

@keyframes otp-gradient-bar {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.otp-section.visible {
  max-height: 340px;
  opacity: 1;
  padding: var(--space-6);
  margin-top: var(--space-4);
}

/* OTP Header with icon */
.otp-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  justify-content: center;
  text-align: center;
}

.otp-header .otp-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.15), rgba(0, 212, 170, 0.1));
  border: 1px solid rgba(79, 110, 247, 0.25);
  color: var(--color-primary-light);
  font-size: var(--text-lg);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(79, 110, 247, 0.1);
}

.otp-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.otp-label strong {
  color: var(--color-accent);
  font-weight: 700;
}

.otp-inputs {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.otp-box {
  width: 52px;
  height: 58px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  caret-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.otp-box:focus {
  border-color: var(--color-primary-light);
  background: rgba(79, 110, 247, 0.08);
  box-shadow: 0 0 0 3px var(--color-focus-ring), 0 4px 16px rgba(79, 110, 247, 0.15);
  transform: translateY(-2px);
}

.otp-box.filled {
  border-color: var(--color-accent);
  background: rgba(0, 212, 170, 0.06);
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.1);
  transform: translateY(-1px);
}

.otp-box.success {
  border-color: var(--color-accent) !important;
  background: var(--color-success-bg);
  color: var(--color-accent);
}

.otp-box.error {
  border-color: var(--color-error) !important;
  background: var(--color-error-bg);
  animation: otp-shake 0.3s ease-in-out;
}

/* Shimmer during verification */
.otp-box.verifying {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.otp-box.verifying::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 110, 247, 0.15), transparent);
  animation: otp-shimmer 1.2s ease-in-out infinite;
}

@keyframes otp-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes otp-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.otp-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.btn-resend-otp {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-resend-otp:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
  background: rgba(79, 110, 247, 0.05);
}

.btn-resend-otp:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.otp-timer {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.otp-feedback {
  text-align: center;
  font-size: var(--text-xs);
  margin-top: var(--space-2);
  min-height: 18px;
  font-weight: 500;
}

.otp-feedback.success {
  color: var(--color-accent);
}

.otp-feedback.error {
  color: var(--color-error);
}

/* Privacy notice */
.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  border-radius: var(--radius-sm);
}

.privacy-notice i {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.privacy-notice p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Confetti ── */
@keyframes confetti-burst {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(
      calc(cos(var(--angle)) * var(--distance)),
      calc(sin(var(--angle)) * var(--distance) - 200px)
    ) rotate(720deg) scale(0);
    opacity: 0;
  }
}

.confetti-piece {
  position: fixed;
  top: 50%;
  left: 50%;
  pointer-events: none;
  z-index: 9999;
  border-radius: 2px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.faq-item:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-glass-hover);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.faq-item.active {
  border-color: rgba(79, 110, 247, 0.25);
  background: rgba(79, 110, 247, 0.04);
  box-shadow: 0 4px 32px rgba(79, 110, 247, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  transition: all 0.25s ease;
}

.faq-question:hover {
  padding-left: calc(var(--space-6) + 4px);
}

.faq-q-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  flex-shrink: 0;
  background: var(--color-accent-glow);
  border: 1px solid var(--color-border-accent);
  color: var(--color-accent);
  transition: all 0.3s ease;
}

.faq-item.active .faq-q-icon {
  background: rgba(79, 110, 247, 0.12);
  border-color: rgba(79, 110, 247, 0.3);
  color: var(--color-primary-light);
}

.faq-q-text {
  flex: 1;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-toggle {
  background: rgba(79, 110, 247, 0.12);
  border-color: rgba(79, 110, 247, 0.3);
  color: var(--color-primary-light);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  opacity: 1;
}

.faq-answer p {
  padding: 0 var(--space-6) var(--space-6);
  padding-left: calc(var(--space-6) + 40px + var(--space-4));
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* ============================================
   PAGE LOAD ANIMATION
   ============================================ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar-fill {
  width: 0;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  animation: loader-fill 1.5s ease forwards;
}

@keyframes loader-fill {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Hero load animation */
.hero-load .hero-badge { animation: fade-up 0.6s ease 0.3s both; }
.hero-load .hero-title { animation: fade-up 0.7s ease 0.5s both; }
.hero-load .hero-subtitle { animation: fade-up 0.7s ease 0.7s both; }
.hero-load .hero-cta-group { animation: fade-up 0.7s ease 0.9s both; }
.hero-load .hero-stats { animation: fade-up 0.7s ease 1.1s both; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-notification {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: var(--space-4) var(--space-5);
  background: rgba(15, 20, 40, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 1100;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notification.success {
  border-color: rgba(0, 212, 170, 0.3);
}

.toast-notification.error {
  border-color: rgba(239, 68, 68, 0.3);
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
}

.toast-notification.success .toast-icon {
  background: rgba(0, 212, 170, 0.15);
  color: var(--color-accent);
}

.toast-notification.error .toast-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.toast-text {
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.navbar-toggler {
  border: 1px solid var(--color-border) !important;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  width: 20px;
  height: 20px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.2);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(6, 8, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-top: var(--space-3);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .section {
    padding: var(--space-12) 0;
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .hero-stats {
    gap: var(--space-6);
    flex-wrap: wrap;
  }

  .contact-visual {
    min-height: auto;
    margin-bottom: var(--space-6);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-10) 0;
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .section-subtitle {
    font-size: var(--text-base);
  }

  .hero-stats {
    gap: var(--space-6);
  }

  .hero-stat .stat-number {
    font-size: var(--text-2xl);
  }

  .form-glass {
    padding: var(--space-6);
  }

  .timeline {
    padding-left: 32px;
  }

  .timeline-dot {
    left: -25px;
  }

  .toast-notification {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  /* ── Mobile Form Fixes ── */
  .btn-verify-email {
    position: static;
    transform: none;
    width: 100%;
    margin-top: var(--space-2);
    padding: 12px;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  .btn-verify-email:hover {
    transform: none;
    scale: 1.02;
  }

  .btn-verify-email:disabled {
    transform: none;
  }

  #email-group input {
    padding-right: var(--space-4);
  }

  .otp-box {
    width: 46px;
    height: 54px;
    font-size: var(--text-xl);
    border-radius: var(--radius-sm);
  }

  .otp-inputs {
    gap: 8px;
  }

  .otp-header {
    flex-direction: column;
    gap: var(--space-2);
  }

  .faq-question {
    padding: var(--space-4);
  }

  .faq-answer p {
    padding: 0 var(--space-4) var(--space-4);
    padding-left: var(--space-4);
  }

  .faq-q-icon {
    width: 36px;
    height: 36px;
    font-size: var(--text-base);
  }

  .faq-q-text {
    font-size: var(--text-sm);
  }

  .form-progress-step .step-label {
    display: none;
  }

  .form-progress-step .step-num {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .form-progress-connector {
    min-width: 8px;
  }
}

@media (max-width: 576px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn-premium {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-5);
  }

  .contact-visual .badge-row {
    flex-wrap: wrap;
  }

  .contact-visual .trust-row {
    flex-direction: column;
    gap: var(--space-3);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.z-1 { position: relative; z-index: 1; }
.gap-3-custom { gap: var(--space-5); }

/* ── Focus-Visible (A11Y) ── */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.form-floating-custom input:focus-visible,
.form-floating-custom textarea:focus-visible {
  outline: none;
}

.otp-box:focus-visible {
  outline: none;
}

.btn-premium:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ── Skip Link (A11Y) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
  color: white;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .particle { display: none; }
  .bg-glow { animation: none; }
  .mesh-line { animation: none; }
}
