/* =============================================
   STUDENTAI - Premium Design System
   Palette: Blue-Teal gradients + Orange accent
   Font: Poppins (headings) + Inter (body)
============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --blue: #0EA5E9;
  --blue-dark: #0284C7;
  --blue-light: #BAE6FD;
  --teal: #14B8A6;
  --teal-dark: #0D9488;
  --teal-light: #99F6E4;
  --orange: #F97316;
  --orange-light: #FED7AA;
  --rose: #FB7185;

  --grad-primary: linear-gradient(135deg, #0EA5E9 0%, #14B8A6 100%);
  --grad-hero: linear-gradient(135deg, #0C4A6E 0%, #134E4A 100%);
  --grad-accent: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
  --grad-warm: linear-gradient(135deg, #F97316 0%, #FB7185 100%);

  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-xl: 0 40px 80px rgba(0,0,0,0.16);
  --shadow-colored: 0 16px 48px rgba(14, 165, 233, 0.25);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

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

.hide-mobile { display: block; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: var(--shadow-colored);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(14, 165, 233, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--blue-dark);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-nav {
  background: var(--grad-primary);
  color: white;
  padding: 10px 22px;
  font-size: 0.875rem;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: var(--shadow-colored); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-xl { padding: 18px 40px; font-size: 1.05rem; }

/* ===== SECTION TAGS ===== */
.section-tag {
  display: inline-block;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-tag-light {
  background: rgba(255,255,255,0.8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), var(--shadow-sm);
  padding: 12px 0;
}

.navbar.scrolled .nav-link { color: var(--gray-700); }
.navbar.scrolled .nav-link:hover { color: var(--blue); }
.navbar.scrolled .logo-text { color: var(--gray-900); }
.navbar.scrolled .nav-toggle span { background: var(--gray-700); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(14,165,233,0.3));
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
  letter-spacing: -0.02em;
}

.logo-accent { color: var(--orange); }

.navbar.scrolled .logo-accent { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}
.nav-link:hover { color: white; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--grad-hero);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0EA5E9, transparent);
  top: -200px;
  left: -150px;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #14B8A6, transparent);
  bottom: -150px;
  right: 100px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #38BDF8, #2DD4BF, #F97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-main {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  width: 340px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--grad-primary);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse 2s infinite;
}

.chat-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--gray-50);
}

.chat-bubble {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 88%;
}

.ai-bubble {
  background: white;
  color: var(--gray-700);
  border-radius: 4px 14px 14px 14px;
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
}

.user-bubble {
  background: var(--grad-primary);
  color: white;
  border-radius: 14px 14px 4px 14px;
  align-self: flex-end;
}

.formula-block {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--gray-100);
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--blue-dark);
  border-left: 3px solid var(--blue);
}

.chat-input-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--gray-100);
  background: white;
}

.chat-input-mock span {
  font-size: 0.82rem;
  color: var(--gray-400);
}

.send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.float-card-1 {
  top: -20px;
  right: -20px;
  animation: float 6s ease-in-out infinite 1s;
}

.float-card-2 {
  bottom: -20px;
  left: -30px;
  animation: float 6s ease-in-out infinite 2s;
}

.float-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-icon-blue {
  background: linear-gradient(135deg, #0EA5E9, #38BDF8);
  color: white;
}
.float-icon-blue svg { stroke: white; }

.float-icon-orange {
  background: linear-gradient(135deg, #F97316, #FB923C);
  color: white;
}
.float-icon-orange svg { stroke: white; }

.float-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.float-sub {
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 4px;
}

.float-score {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
}
.float-score span {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.progress-bar-wrap {
  width: 100%;
  height: 5px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 4px 0;
}

.progress-bar-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  color: rgba(255,255,255,0.5);
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.feature-card:hover::before { opacity: 1; }

.feature-card-accent {
  background: var(--grad-primary);
  border-color: transparent;
}

.feature-card-accent:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-colored);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--icon-bg, var(--gray-100));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.feature-card:hover .feature-icon-wrap { transform: scale(1.05) rotate(-2deg); }

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feature-title-white { color: white; }

.feature-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-desc-white { color: rgba(255,255,255,0.8); }

.feature-tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.feature-tag-white {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 120px 0;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.how-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.how-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.06), transparent 65%);
  top: -200px;
  right: -200px;
}

.steps-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.steps-line {
  position: absolute;
  left: 44px;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--teal), var(--orange));
  opacity: 0.2;
}

.step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
  position: relative;
}

.step + .step {
  border-top: 1px solid var(--gray-200);
}

.step-visual {
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-align: center;
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
}

.step-icon-teal {
  background: linear-gradient(135deg, #14B8A6, #0D9488);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

.step-icon-orange {
  background: var(--grad-accent);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.step:hover .step-icon-wrap {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.45);
}

.step-content {
  flex: 1;
  padding-top: 24px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.step-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  box-shadow: var(--shadow-sm);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 120px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-slow);
  position: relative;
}

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

.testimonial-card-featured {
  border-color: transparent;
  background: var(--gray-50);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.testimonial-card-featured:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
}

.author-info {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 120px 0;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.cta-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0EA5E9, transparent);
  top: -200px;
  right: -100px;
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #F97316, transparent);
  bottom: -100px;
  left: -50px;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo .logo-text { color: white; }

.footer-tagline {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.footer-col { display: flex; flex-direction: column; gap: 8px; }

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray-500);
  transition: color var(--transition);
  line-height: 1.6;
}

.footer-links a:hover { color: var(--blue-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--gray-600);
}

.footer-made { color: var(--gray-600); }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-visual {
    order: -1;
    justify-content: center;
  }

  .hero-card-main {
    width: 300px;
  }

  .float-card-1 { top: -10px; right: -10px; }
  .float-card-2 { bottom: -10px; left: -10px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .testimonial-card-featured { transform: none; }
  .testimonial-card-featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .hide-mobile { display: none; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 74, 110, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    backdrop-filter: blur(16px);
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
  }

  .btn-nav { font-size: 1rem; padding: 14px 32px; }

  .nav-toggle { display: flex; z-index: 1000; position: relative; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-content {
    gap: 32px;
  }

  .hero-title { font-size: 2.2rem; }

  .hero-visual { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-line { display: none; }

  .step {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .step-visual { flex-direction: row; align-items: center; gap: 16px; }

  .step-content { padding-top: 0; }

  .cta-perks { gap: 12px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1; }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { display: none; }
  .cta-perks { flex-direction: column; align-items: flex-start; }
}

/* ===== SCROLL ANIMATIONS ===== */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}
