/* ============================================================
   FreeResumeOnline — UNIFIED GLASSMORPHISM DESIGN SYSTEM v3
   Light glass aesthetic · Indigo / Cyan palette · Aurora bg
   Matches index.html design-system.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── CSS Variables ─ LIGHT THEME DEFAULT ─────────────────── */
:root {
  /* Brand gradient */
  --grad-brand:    linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #06b6d4 100%);
  --grad-text:     linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-cta:      linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --grad-hero:     radial-gradient(ellipse 100% 60% at 50% 0%, rgba(124,58,237,0.20) 0%, transparent 50%),
                   radial-gradient(ellipse 80% 50% at 80% 30%, rgba(6,182,212,0.18) 0%, transparent 60%),
                   radial-gradient(ellipse 70% 50% at 20% 60%, rgba(99,102,241,0.15) 0%, transparent 60%);

  /* Light backgrounds */
  --bg-primary:    #fafafe;
  --bg-secondary:  #ffffff;
  --bg-tertiary:   #f1f5f9;
  --bg-card:       rgba(255,255,255,0.65);
  --glass-bg:      rgba(255,255,255,0.65);
  --glass-bg-hover:rgba(255,255,255,0.85);
  --glass-border:  rgba(15,23,42,0.08);
  --glass-border-h:rgba(99,102,241,0.25);
  --glass-blur:    20px;
  --glass-blur-lg: 40px;

  /* Indigo/cyan/purple palette (matches design-system.css) */
  --cyan:          #06b6d4;
  --cyan-dark:     #0891b2;
  --cyan-glow:     rgba(6,182,212,0.25);
  --cyan-soft:     rgba(6,182,212,0.08);
  --purple:        #6366f1;
  --purple-dark:   #4f46e5;
  --purple-glow:   rgba(99,102,241,0.25);
  --purple-soft:   rgba(99,102,241,0.08);
  --indigo:        #6366f1;
  --indigo-soft:   rgba(99,102,241,0.08);
  --violet:        #7c3aed;
  --violet-soft:   rgba(124,58,237,0.08);
  --pink:          #ec4899;
  --pink-glow:     rgba(236,72,153,0.25);
  --green:         #10b981;
  --green-glow:    rgba(16,185,129,0.25);
  --green-soft:    rgba(16,185,129,0.08);
  --yellow:        #f59e0b;
  --red:           #ef4444;

  /* Light text */
  --text-primary:  #0f172a;
  --text-secondary:#475569;
  --text-tertiary: #64748b;
  --text-muted:    #94a3b8;
  --text-dim:      #cbd5e1;
  --text-inverse:  #ffffff;
  --border:        rgba(15,23,42,0.08);

  /* Shadows */
  --shadow:        0 8px 32px rgba(15,23,42,0.06);
  --shadow-lg:     0 16px 64px rgba(15,23,42,0.10);
  --shadow-card:   0 8px 32px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-glow-cyan:   0 0 40px rgba(6,182,212,0.20);
  --shadow-glow-purple: 0 0 40px rgba(99,102,241,0.20);

  /* Radius */
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-2xl:    32px;
  --radius-full:   999px;
  --radius-card:   var(--radius-lg);

  /* Transition */
  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.5s cubic-bezier(0.4,0,0.2,1);

  /* Layout */
  --nav-h:         72px;
  --header-h:      72px;

  /* Fonts */
  --font:          'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:  'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body:     'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Form helper */
  --bg:            var(--bg-secondary);
  --white:         #ffffff;
  --dark:          var(--text-primary);
  --body:          var(--text-secondary);
  --muted:         var(--text-tertiary);
  --primary:       var(--indigo);
  --primary-light: var(--indigo-soft);
}

/* Dark mode overrides */
[data-theme="dark"] {
  --bg-primary:    #0a0a14;
  --bg-secondary:  #0f0f1c;
  --bg-tertiary:   #161629;
  --bg-card:       rgba(255,255,255,0.04);
  --glass-bg:      rgba(20,20,35,0.65);
  --glass-bg-hover:rgba(20,20,35,0.85);
  --glass-border:  rgba(255,255,255,0.10);
  --glass-border-h:rgba(99,102,241,0.40);

  --cyan:          #06b6d4;
  --cyan-glow:     rgba(6,182,212,0.30);
  --cyan-soft:     rgba(6,182,212,0.12);
  --purple:        #818cf8;
  --purple-glow:   rgba(129,140,248,0.30);
  --purple-soft:   rgba(129,140,248,0.12);
  --indigo:        #818cf8;
  --indigo-soft:   rgba(129,140,248,0.12);

  --text-primary:  #f8fafc;
  --text-secondary:#cbd5e1;
  --text-tertiary: #94a3b8;
  --text-muted:    #64748b;
  --border:        rgba(255,255,255,0.06);

  --shadow:        0 8px 32px rgba(0,0,0,0.40);
  --shadow-lg:     0 16px 64px rgba(0,0,0,0.50);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.40);
}

/* ─── Reset ─────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text-secondary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a { color:var(--cyan); text-decoration:none; transition:var(--transition); }
a:hover { color:var(--purple); }
ul { list-style:none; }
button { cursor:pointer; font-family:inherit; }
input,textarea,select { font-family:inherit; }

/* ─── Typography ────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { color:var(--text-primary); font-weight:700; line-height:1.2; }
h1 { font-size:clamp(2.5rem,5vw,4rem); font-weight:900; letter-spacing:-0.03em; }
h2 { font-size:clamp(1.75rem,3.5vw,2.75rem); font-weight:800; letter-spacing:-0.02em; }
h3 { font-size:clamp(1.25rem,2vw,1.75rem); font-weight:700; }
h4 { font-size:1.25rem; font-weight:600; }
p { line-height:1.7; }
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-alt {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Utilities ─────────────────────────────────────────── */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.container-lg { max-width:1400px; margin:0 auto; padding:0 24px; }
.section { padding:100px 0; position:relative; }
.section-sm { padding:60px 0; }
.text-center { text-align:center; }
.text-cyan { color:var(--cyan); }
.text-purple { color:var(--purple); }
.text-pink { color:var(--pink); }
.text-green { color:var(--green); }
.text-muted { color:var(--text-muted); }
.mb-1 { margin-bottom:8px; }
.mb-2 { margin-bottom:16px; }
.mb-3 { margin-bottom:24px; }
.mb-4 { margin-bottom:32px; }
.mb-5 { margin-bottom:48px; }
.mb-6 { margin-bottom:64px; }

/* ─── Animated Background Orbs ──────────────────────────── */
.bg-orbs {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: orbFloat 20s ease-in-out infinite;
}
[data-theme="dark"] .orb { opacity: 0.45; }
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.25), transparent 70%);
  top: -10%; left: -5%;
  animation-duration: 25s;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%);
  top: 40%; right: -10%;
  animation-duration: 30s;
  animation-delay: -5s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.15), transparent 70%);
  bottom: -5%; left: 30%;
  animation-duration: 22s;
  animation-delay: -10s;
}
.orb-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(16,185,129,0.12), transparent 70%);
  top: 20%; left: 50%;
  animation-duration: 28s;
  animation-delay: -15s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -50px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(40px, 20px) scale(1.02); }
}

/* ─── Glass Card ────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-h);
  box-shadow: var(--shadow);
}
.glass-strong {
  background: var(--glass-bg-hover);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border-h);
  border-radius: var(--radius-lg);
}
.glass-glow-cyan { box-shadow: var(--shadow-glow-cyan); }
.glass-glow-purple { box-shadow: var(--shadow-glow-purple); }
.glass-glow-cyan:hover { box-shadow: 0 0 50px rgba(6,182,212,0.2); }
.glass-glow-purple:hover { box-shadow: 0 0 50px rgba(99,102,241,0.2); }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(6,182,212,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6,182,212,0.35);
  color: #fff;
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  border-color: var(--glass-border);
}
.btn-glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-h);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-outline-cyan:hover {
  background: var(--cyan-soft);
  transform: translateY(-2px);
  color: var(--cyan);
}

.btn-outline-purple {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline-purple:hover {
  background: var(--purple-soft);
  transform: translateY(-2px);
  color: var(--purple);
}

.btn-lg { padding: 16px 36px; font-size: 1.0625rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }
.btn-icon { padding: 10px; border-radius: var(--radius-md); }

/* ─── Badges ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.badge-cyan  { background:var(--cyan-soft); color:var(--cyan); border-color:rgba(6,182,212,0.2); }
.badge-purple{ background:var(--purple-soft); color:var(--purple); border-color:rgba(99,102,241,0.2); }
.badge-green { background:var(--green-soft); color:var(--green); border-color:rgba(16,185,129,0.2); }
.badge-glass { background:var(--glass-bg); color:var(--text-secondary); border-color:var(--glass-border); backdrop-filter:blur(10px); }

/* ─── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--glass-bg-hover);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.nav.scrolled {
  background: var(--glass-bg-hover);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 4px 30px var(--shadow);
}
[data-theme="light"] .nav { background: rgba(248,250,252,0.8); }
[data-theme="light"] .nav.scrolled { background: rgba(248,250,252,0.95); border-bottom-color: rgba(0,0,0,0.08); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links a:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}
.nav-links a.active {
  color: var(--cyan);
  background: var(--cyan-soft);
}

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

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}
.theme-toggle:hover {
  background: var(--glass-bg-hover);
  color: var(--yellow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--glass-bg-hover);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 24px 24px;
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 12px; }

body.has-nav { padding-top: var(--nav-h); }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(6,182,212,0.2);
  margin-bottom: 28px;
}
.hero h1 {
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.hero-trust-item svg { color: var(--green); }
.hero-trust-divider {
  width: 1px; height: 20px;
  background: var(--glass-border);
}

/* Hero Visual — Glass Resume Preview */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-resume-card {
  width: 360px;
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 20px 60px var(--shadow-lg);
  position: relative;
}
.hero-resume-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(6,182,212,0.2), transparent 50%, rgba(99,102,241,0.2));
  z-index: -1;
}
.resume-preview-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 20px;
}
.resume-preview-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.resume-preview-title {
  font-size: 0.875rem;
  color: var(--cyan);
  font-weight: 500;
}
.resume-preview-section {
  margin-bottom: 16px;
}
.resume-preview-section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.resume-line {
  height: 8px;
  border-radius: 4px;
  background: var(--glass-bg);
  margin-bottom: 6px;
}
.resume-line.w100 { width: 100%; }
.resume-line.w90 { width: 90%; }
.resume-line.w80 { width: 80%; }
.resume-line.w70 { width: 70%; }
.resume-line.w60 { width: 60%; }

.resume-skills-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.resume-skill-chip {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(6,182,212,0.15);
}

/* Floating ATS badge */
.hero-ats-badge {
  position: absolute;
  top: -10px; right: -20px;
  background: rgba(16,185,129,0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green);
  box-shadow: 0 8px 30px rgba(16,185,129,0.15);
  animation: floatBadge 3s ease-in-out infinite;
}
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Floating country flags */
.hero-float-flag {
  position: absolute;
  font-size: 1.5rem;
  animation: floatFlag 4s ease-in-out infinite;
  opacity: 0.8;
}
.hero-float-flag:nth-child(1) { top: 20%; left: -30px; animation-delay: 0s; }
.hero-float-flag:nth-child(2) { top: 60%; left: -40px; animation-delay: -1s; }
.hero-float-flag:nth-child(3) { bottom: 20%; right: -30px; animation-delay: -2s; }
.hero-float-flag:nth-child(4) { top: 10%; right: -20px; animation-delay: -0.5s; }
.hero-float-flag:nth-child(5) { bottom: 10%; left: 10%; animation-delay: -1.5s; }
@keyframes floatFlag {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

/* ─── Feature Cards ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 32px 28px;
  text-align: center;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  background: var(--cyan-soft);
  border: 1px solid rgba(6,182,212,0.15);
}
.feature-icon.purple-icon { background: var(--purple-soft); border-color: rgba(99,102,241,0.15); }
.feature-icon.green-icon { background: var(--green-soft); border-color: rgba(16,185,129,0.15); }
.feature-icon.pink-icon { background: rgba(236,72,153,0.1); border-color: rgba(236,72,153,0.15); }
.feature-card h4 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Country Carousel ──────────────────────────────────── */
.country-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.country-scroll::-webkit-scrollbar { display: none; }
.country-card {
  flex-shrink: 0;
  width: 180px;
  padding: 28px 20px;
  text-align: center;
  scroll-snap-align: start;
  cursor: pointer;
}
.country-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow-cyan);
}
.country-flag {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.country-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.country-templates {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─── How It Works ──────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0.3;
  z-index: 0;
}
.step-card {
  padding: 32px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(6,182,212,0.25);
}
.step-card h4 { margin-bottom: 8px; font-size: 1rem; }
.step-card p { font-size: 0.875rem; color: var(--text-muted); }

/* ─── Stats Bar ─────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 32px 20px;
  text-align: center;
}
.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 4px;
  line-height: 1;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Testimonials ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  padding: 32px 28px;
}
.testimonial-stars {
  color: var(--yellow);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-soft), var(--purple-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─── Blog Cards ────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  overflow: hidden;
}
.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--cyan-soft), var(--purple-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--glass-border);
}
.blog-card-body {
  padding: 24px;
}
.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.blog-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
}
.blog-card-link:hover { gap: 8px; }

/* ─── CTA Section ───────────────────────────────────────── */
.cta-section {
  padding: 80px 0;
  position: relative;
}
.cta-box {
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(6,182,212,0.04);
  border-color: rgba(6,182,212,0.12);
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(6,182,212,0.08), transparent 60%);
  pointer-events: none;
}
.cta-box h2 { position: relative; z-index: 1; margin-bottom: 16px; }
.cta-box p { position: relative; z-index: 1; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-box .btn { position: relative; z-index: 1; }

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 300px;
}
.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.footer-bottom-links a:hover { color: var(--cyan); }

/* ─── Cookie Consent ────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  padding: 20px 24px;
  background: rgba(15,15,42,0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  z-index: 9999;
  display: none;
  box-shadow: var(--shadow-lg);
}
.cookie-banner.show { display: flex; align-items: center; gap: 16px; }
.cookie-banner p { font-size: 0.8125rem; color: var(--text-secondary); flex: 1; }
.cookie-banner a { color: var(--cyan); }
.cookie-accept {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* ─── Section Headers ───────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
}
.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Executive Article Typography ──────────────────────── */
/* Premium reading experience — applied to blog posts + long-form content.
   Wrap article body in: <div class="executive-prose">...</div>
   OR apply directly to <article>. */
.executive-prose,
article.executive-prose,
.blog-content,
.article-content,
article > p,
article {
  font-family: 'Plus Jakarta Sans', 'Inter', Georgia, serif;
  font-size: 1.0625rem;            /* 17px — premium reading size */
  line-height: 1.85;                /* Airy, breathable */
  color: var(--text-secondary);
  letter-spacing: -0.003em;
  max-width: 720px;                 /* Optimal line length 60-80 chars */
  margin: 0 auto;
}

/* Generous paragraph spacing — this is the "wow" gap */
.executive-prose p,
.blog-content p,
.article-content p,
article p {
  margin: 0 0 1.75em;               /* ~28px between paragraphs */
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

/* First paragraph: bigger, bolder — lede paragraph treatment */
.executive-prose > p:first-of-type,
.executive-prose .lede,
.blog-content > p:first-of-type,
.article-content > p:first-of-type,
article > p:first-of-type {
  font-size: 1.1875rem;             /* ~19px */
  line-height: 1.7;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 2em;
}

/* Drop-cap for the very first letter (magazine style) — toggle via .has-drop-cap */
.executive-prose.has-drop-cap > p:first-of-type::first-letter,
.blog-content.has-drop-cap > p:first-of-type::first-letter {
  float: left;
  font-size: 3.6em;
  line-height: 0.9;
  font-weight: 800;
  margin: 0.05em 0.12em 0 0;
  color: var(--cyan);
  font-family: Georgia, serif;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section headings: clear separation */
.executive-prose h2,
.blog-content h2,
.article-content h2,
article h2 {
  margin: 3em 0 0.8em;              /* Generous top breathing room */
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  position: relative;
  padding-top: 1.5em;
  border-top: 1px solid var(--glass-border);
}
.executive-prose h2:first-child,
.blog-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.executive-prose h3,
.blog-content h3,
.article-content h3,
article h3 {
  margin: 2.2em 0 0.6em;
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.executive-prose h4,
.blog-content h4 {
  margin: 1.8em 0 0.5em;
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

/* Lists — same generous spacing */
.executive-prose ul,
.executive-prose ol,
.blog-content ul,
.blog-content ol,
.article-content ul,
.article-content ol,
article ul,
article ol {
  margin: 0 0 1.75em;
  padding-left: 1.5em;
}
.executive-prose ul li,
.executive-prose ol li,
.blog-content ul li,
.blog-content ol li {
  margin-bottom: 0.6em;
  line-height: 1.7;
}

/* Blockquotes — pull-quote treatment */
.executive-prose blockquote,
.blog-content blockquote,
.article-content blockquote,
article blockquote {
  margin: 2em 0;
  padding: 1.2em 1.6em;
  border-left: 4px solid var(--cyan);
  background: var(--glass-bg);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Inline emphasis */
.executive-prose strong,
.blog-content strong { color: var(--text-primary); font-weight: 700; }
.executive-prose em,
.blog-content em { font-style: italic; }

/* Inline links */
.executive-prose a,
.blog-content a,
.article-content a:not(.btn):not(.footer-link):not(.nav-link),
article a:not(.btn):not(.footer-link):not(.nav-link) {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(6,182,212,0.25);
  transition: var(--transition);
}
.executive-prose a:hover,
.blog-content a:hover {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

/* Images inside articles — full-width with shadow */
.executive-prose img,
.blog-content img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 1.5em 0;
  box-shadow: 0 8px 32px rgba(15,23,42,0.10);
}

/* Code/inline code */
.executive-prose code,
.blog-content code {
  background: var(--glass-bg);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--purple);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Horizontal rule — section break */
.executive-prose hr,
.blog-content hr {
  margin: 3em auto;
  border: none;
  height: 1px;
  width: 60%;
  background: linear-gradient(90deg, transparent, var(--glass-border-h), transparent);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .executive-prose,
  .blog-content {
    font-size: 1rem;                /* 16px on mobile */
    line-height: 1.75;
    padding: 0 4px;
  }
  .executive-prose p,
  .blog-content p { margin-bottom: 1.5em; }
  .executive-prose > p:first-of-type::first-letter,
  .blog-content > p:first-of-type::first-letter { font-size: 3em; }
  .executive-prose h2,
  .blog-content h2 { margin-top: 2em; padding-top: 1em; font-size: 1.5rem; }
}

/* ─── Scroll Animations ─────────────────────────────────── */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.pre-reveal {
  opacity: 0;
  transform: translateY(30px);
}
.fade-up.visible,
.fade-up.is-visible,
.fade-up.animate-fade-in {
  opacity: 1;
  transform: translateY(0);
}
/* Graceful no-JS fallback: ensure content always visible */
.no-js .fade-up { opacity: 1 !important; transform: none !important; }

/* ─── Download Counter ──────────────────────────────────── */
.counter-section {
  padding: 40px 0;
  text-align: center;
}
.counter-value {
  font-size: 3rem;
  font-weight: 900;
}
.counter-label {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-box { padding: 40px 24px; }
  .hero { min-height: auto; padding: 60px 0 80px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-number { font-size: 1.75rem; }
  .country-card { width: 150px; }
}

/* ─── Page-Specific Overrides ───────────────────────────── */
/* Blog page */
.blog-hero { padding: 60px 0 40px; text-align: center; }
.blog-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 24px; }

/* About, Contact, Privacy, Terms */
.page-hero { padding: 60px 0 40px; text-align: center; }
.page-content { max-width: 800px; margin: 0 auto; padding: 40px 24px; }
.page-content p { margin-bottom: 16px; }
.page-content h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.5rem; }
.page-content h3 { margin-top: 32px; margin-bottom: 12px; font-size: 1.25rem; }
.page-content ul { margin: 16px 0; padding-left: 24px; list-style: disc; }
.page-content li { margin-bottom: 8px; color: var(--text-secondary); }

/* Forms */
.glass-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  outline: none;
  transition: var(--transition);
}
.glass-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(6,182,212,0.15);
}
.glass-input::placeholder { color: var(--text-dim); }
.glass-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* 404 page */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-404 h1 { font-size: 8rem; margin-bottom: 0; line-height: 1; }
.page-404 p { margin: 16px 0 32px; }
