/* ============================================================
   Travel Card Index — Design System
   Clean, minimal, Apple-level calm design
   ============================================================ */

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

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;

  --yellow-100: #fef9c3;
  --yellow-600: #ca8a04;
  --yellow-700: #a16207;

  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;

  --amber-500: #f59e0b;

  --blue-100: #dbeafe;
  --blue-600: #2563eb;

  --purple-100: #f3e8ff;

  --red-100: #fee2e2;
  --red-600: #dc2626;

  --bg: var(--gray-50);
  --text: var(--slate-900);
  --text-secondary: var(--slate-600);
  --text-muted: var(--slate-500);
  --border: var(--gray-200);
  --white: #ffffff;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-emerald: 0 10px 25px -5px rgba(5, 150, 105, 0.25);
  --shadow-emerald-hover: 0 15px 30px -5px rgba(5, 150, 105, 0.4);

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

  --max-w: 80rem;
  --transition: 200ms ease;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Container --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; }
.text-gradient {
  background: linear-gradient(135deg, var(--slate-900), var(--slate-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-emerald {
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Navigation --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
  display: flex; align-items: center; justify-content: center;
  color: white; flex-shrink: 0;
}
.nav-logo svg { width: 1.5rem; height: 1.5rem; }
.nav-title {
  font-size: 1.25rem; font-weight: 700;
}
.nav-links {
  display: none; align-items: center; gap: 1.5rem;
  font-size: 0.875rem; color: var(--text-muted);
}
.nav-links a { transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--emerald-600); }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-mobile-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border: none; background: none;
  cursor: pointer; color: var(--text-muted); border-radius: var(--radius-sm);
}
.nav-mobile-toggle:hover { background: var(--gray-100); }
@media (min-width: 768px) { .nav-mobile-toggle { display: none; } }

.nav-mobile {
  display: none; padding: 1rem 0; border-top: 1px solid var(--border);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 0.75rem 0; color: var(--text-secondary);
  font-size: 0.875rem; transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--emerald-600); }

/* --- Hero --- */
.hero {
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, white, var(--gray-50), rgba(236,253,245,0.5));
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(209,250,229,0.4), transparent, transparent);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 6rem 0 8rem;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}
.hero-content.text-left { text-align: left; max-width: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  background: var(--emerald-100); border: 1px solid var(--emerald-200);
  color: var(--emerald-700); font-size: 0.8125rem; font-weight: 500;
  margin-bottom: 2rem; max-width: 100%;
}
.hero-badge .pulse {
  position: relative; width: 0.5rem; height: 0.5rem;
}
.hero-badge .pulse::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 9999px; background: var(--emerald-500);
  opacity: 0.75; animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
.hero-badge .pulse::after {
  content: ''; position: relative; display: block;
  width: 0.5rem; height: 0.5rem;
  border-radius: 9999px; background: var(--emerald-600);
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.hero h1 {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -0.025em;
}
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero-subtitle {
  margin-top: 1.5rem; font-size: 1.125rem; color: var(--text-secondary);
  max-width: 42rem; line-height: 1.75;
}
.hero-content:not(.text-left) .hero-subtitle { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-actions {
  margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 6rem;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-dest-subtitle {
  font-size: 1.25rem; font-weight: 400; color: var(--text-muted);
  margin-top: 0.25rem;
}
@media (min-width: 768px) { .hero-dest-subtitle { font-size: 1.875rem; } }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; border-radius: var(--radius-md); font-weight: 600;
  font-size: 1rem; border: none; cursor: pointer;
  transition: all var(--transition); text-decoration: none; gap: 0.5rem;
}
.btn svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: white; box-shadow: var(--shadow-emerald);
}
.btn-primary:hover {
  box-shadow: var(--shadow-emerald-hover);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--white); border: 1px solid var(--border);
  color: var(--slate-700); box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--gray-50); border-color: var(--gray-300);
}
.btn-outline {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-secondary); padding: 0.75rem 1.5rem; font-size: 0.875rem;
}
.btn-outline:hover {
  color: var(--emerald-600); border-color: var(--emerald-400);
}
.btn-amber {
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  color: white; font-weight: 600;
}
.btn-amber:hover {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

/* --- Stats Strip --- */
.stats-strip {
  padding: 3rem 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); background: var(--white);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value { font-size: 1.875rem; font-weight: 700; color: var(--emerald-600); }
@media (min-width: 768px) { .stat-value { font-size: 2.25rem; } }
.stat-label { margin-top: 0.25rem; font-size: 0.875rem; color: var(--text-muted); }

/* --- Section --- */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-white { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 1.875rem; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-subtitle {
  margin-top: 1rem; color: var(--text-secondary);
  max-width: 42rem; margin-left: auto; margin-right: auto;
}

/* --- Card Grid --- */
.card-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

.card-grid-3 {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 640px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* --- Destination Card --- */
.dest-card {
  position: relative; background: var(--white);
  border-radius: var(--radius-xl); border: 1px solid var(--border);
  padding: 1.5rem; transition: all 300ms ease;
  display: block;
}
.dest-card:hover {
  border-color: var(--emerald-400);
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.1);
}
.dest-card:hover .dest-card-name { color: var(--emerald-600); }
.dest-card:hover .dest-card-arrow { color: var(--emerald-600); transform: translateX(4px); }
.dest-card-badge {
  position: absolute; top: 1rem; right: 1rem;
  padding: 0.25rem 0.5rem; border-radius: var(--radius-sm);
  font-size: 0.75rem; font-weight: 700;
}
.dest-card-name {
  font-size: 1.25rem; font-weight: 600; color: var(--text);
  transition: color var(--transition); margin-bottom: 0.25rem;
}
.dest-card-currency {
  font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem;
}
.dest-card-score-wrap {
  margin-bottom: 1rem;
}
.dest-card-score-header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem;
}
.dest-card-score-val { color: var(--emerald-600); font-weight: 500; }
.score-bar {
  height: 0.5rem; background: var(--gray-100); border-radius: 9999px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%; border-radius: 9999px;
  background: linear-gradient(90deg, var(--emerald-500), var(--emerald-400));
  transition: width 500ms ease;
}
.dest-card-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.dest-card-type { font-size: 0.75rem; color: var(--text-muted); }
.dest-card-arrow {
  width: 1.25rem; height: 1.25rem; color: var(--slate-400);
  transition: all var(--transition);
}

/* Score colors */
.score-high { background: var(--emerald-100); color: var(--emerald-700); border-color: var(--emerald-200); }
.score-mid { background: var(--yellow-100); color: var(--yellow-700); border-color: #fde68a; }
.score-low { background: var(--orange-100); color: var(--orange-700); border-color: #fed7aa; }
.score-bar-fill.fill-mid {
  background: linear-gradient(90deg, var(--yellow-600), #facc15);
}
.score-bar-fill.fill-low {
  background: linear-gradient(90deg, var(--orange-600), var(--orange-500));
}

/* --- Destination Detail --- */
.dest-layout {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  padding: 3rem 0;
}
@media (min-width: 1024px) { .dest-layout { grid-template-columns: 2fr 1fr; gap: 3rem; } }
.dest-main { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }

/* --- Content Cards --- */
.content-card {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid var(--border); padding: 2rem; box-shadow: var(--shadow-sm);
  overflow: hidden; word-wrap: break-word;
}
.content-card-header {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.content-card-icon {
  width: 3rem; height: 3rem; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.icon-emerald { background: var(--emerald-100); }
.icon-yellow { background: var(--yellow-100); }
.icon-blue { background: var(--blue-100); }
.icon-purple { background: var(--purple-100); }
.icon-red { background: var(--red-100); }
.content-card h2 { font-size: 1.25rem; }
.content-card p { color: var(--text-secondary); line-height: 1.75; }

.verdict-card {
  display: flex; align-items: flex-start; gap: 1rem;
}
.verdict-icon { font-size: 2.5rem; flex-shrink: 0; }
@media (min-width: 768px) { .verdict-icon { font-size: 3rem; } }
.verdict-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .verdict-title { font-size: 1.5rem; } }

.score-bar-lg {
  height: 1rem; background: var(--gray-100); border-radius: 9999px;
  overflow: hidden; margin-top: 2rem;
}
.score-bar-lg .score-bar-fill { height: 100%; }
.score-header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.875rem; margin-bottom: 0.75rem;
}
.score-label { color: var(--text-muted); }

/* --- Top Pick Card --- */
.top-pick {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--emerald-50), white, rgba(236,253,245,0.5));
  border-color: var(--emerald-200);
}
.top-pick-glow {
  position: absolute; top: -6rem; right: -6rem;
  width: 16rem; height: 16rem;
  background: rgba(209,250,229,0.5); border-radius: 9999px;
  filter: blur(3rem);
}
.top-pick-inner { position: relative; }
.top-pick-badge {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px;
  background: var(--emerald-100); color: var(--emerald-700);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.top-pick-content {
  display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .top-pick-content { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 2rem; }
}
.top-pick-name { font-size: 1.5rem; font-weight: 700; word-wrap: break-word; }
@media (min-width: 768px) { .top-pick-name { font-size: 1.875rem; } }
.top-pick-tag { font-size: 0.875rem; color: var(--emerald-600); font-weight: 500; margin-top: 0.25rem; }
.top-pick-desc { color: var(--text-secondary); max-width: 32rem; margin-top: 0.75rem; word-wrap: break-word; }
.btn-get-card {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 1.5rem; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: white; font-weight: 700; box-shadow: var(--shadow-emerald);
  transition: all 300ms ease; border: none; cursor: pointer; font-size: 0.9375rem;
  white-space: nowrap;
}
.btn-get-card:hover {
  box-shadow: var(--shadow-emerald-hover);
  transform: translateY(-2px) scale(1.02);
}

/* --- Sidebar --- */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.sidebar-card {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid var(--border); padding: 1.5rem; box-shadow: var(--shadow-sm);
  overflow: hidden; word-wrap: break-word;
}
.sidebar-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.sidebar-stat-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0;
}
.sidebar-stat-label { color: var(--text-muted); font-size: 0.875rem; }
.sidebar-stat-value { font-weight: 500; }
.sidebar-stat-value.mono { font-family: var(--font-mono); color: var(--emerald-600); font-weight: 700; }
.sidebar-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem; border-radius: var(--radius-md);
  background: var(--gray-50); transition: background var(--transition);
}
.sidebar-link:hover { background: var(--gray-100); }
.sidebar-link:hover .sidebar-link-title { color: var(--emerald-600); }
.sidebar-link-icon {
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; flex-shrink: 0;
}
.sidebar-link-title {
  font-weight: 500; color: var(--text); transition: color var(--transition);
  font-size: 0.875rem;
}
.sidebar-link-sub { font-size: 0.75rem; color: var(--text-muted); }
.sidebar-dest-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem; border-radius: var(--radius-md);
  transition: background var(--transition);
}
.sidebar-dest-link:hover { background: var(--gray-50); }
.sidebar-dest-name { color: var(--slate-700); transition: color var(--transition); }
.sidebar-dest-link:hover .sidebar-dest-name { color: var(--text); }
.sidebar-dest-score { font-size: 0.875rem; font-weight: 700; }

/* --- Career CTA (Sidebar) --- */
.career-cta {
  background: linear-gradient(135deg, #f0f9ff, white, #f0fdf4);
  border-color: var(--emerald-200);
}
.career-cta-icon {
  font-size: 2rem; margin-bottom: 0.75rem;
}
.career-cta h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.career-cta p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.6; }

/* --- About Section --- */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-title { font-size: 1.875rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-title { font-size: 2.25rem; } }
.about-text { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.75; }
.check-list { display: flex; flex-direction: column; gap: 1rem; }
.check-item { display: flex; align-items: center; gap: 0.75rem; }
.check-icon {
  width: 1.5rem; height: 1.5rem; border-radius: 9999px;
  background: var(--emerald-100); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.check-icon svg { width: 1rem; height: 1rem; color: var(--emerald-600); }
.check-text { color: var(--slate-700); }
.about-feature-card {
  position: relative; background: linear-gradient(135deg, var(--emerald-50), white);
  border: 1px solid var(--emerald-100); border-radius: var(--radius-xl);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.about-feature-emoji { font-size: 3.5rem; margin-bottom: 1rem; }
.about-feature-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.about-feature-text { color: var(--text-secondary); }

/* --- Resources Teaser --- */
.resources-teaser {
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  color: white; border-radius: var(--radius-xl); padding: 3rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .resources-teaser { flex-direction: row; align-items: center; justify-content: space-between; }
}
.resources-teaser h3 { font-size: 1.5rem; }
.resources-teaser p { color: var(--slate-300); font-size: 0.875rem; margin-top: 0.5rem; max-width: 36rem; }
.btn-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem; border-radius: var(--radius-md);
  background: white; color: var(--slate-900); font-weight: 600;
  font-size: 0.9375rem; border: none; cursor: pointer;
  transition: all var(--transition); flex-shrink: 0;
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }

/* --- Footer --- */
.footer {
  padding: 3rem 0; border-top: 1px solid var(--border); background: var(--white);
}
.footer-inner {
  display: flex; flex-direction: column; gap: 2rem;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo {
  width: 2rem; height: 2rem; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
  display: flex; align-items: center; justify-content: center;
  color: white; flex-shrink: 0;
}
.footer-logo svg { width: 1.25rem; height: 1.25rem; }
.footer-brand-name { font-size: 1.125rem; font-weight: 600; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-size: 0.875rem; color: var(--text-muted);
}
.footer-nav a { transition: color var(--transition); }
.footer-nav a:hover { color: var(--emerald-600); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; text-align: center;
  margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border);
  font-size: 0.8125rem; color: var(--text-muted);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-disclosure {
  font-size: 0.75rem; color: var(--slate-400); max-width: 48rem;
  line-height: 1.5; margin-top: 1rem;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.875rem; color: var(--text-muted); padding: 1rem 0;
}
.breadcrumbs a { transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--emerald-600); }
.breadcrumbs .sep { margin: 0 0.25rem; }
.breadcrumbs .current { color: var(--text); font-weight: 500; }

/* --- Product Cards (CareerScripts) --- */
.product-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem;
  transition: all 300ms ease; display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--emerald-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.product-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.product-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.product-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.product-includes {
  font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1.5rem;
  display: flex; flex-direction: column; gap: 0.375rem;
}
.product-includes li::before { content: '✓ '; color: var(--emerald-600); font-weight: 700; }
.product-price {
  font-size: 1.5rem; font-weight: 800; color: var(--emerald-600);
  margin-bottom: 1rem;
}
.product-price span { font-size: 0.875rem; font-weight: 400; color: var(--text-muted); }

/* --- How It Works --- */
.how-steps {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-step { text-align: center; }
.how-step-num {
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: var(--emerald-100); color: var(--emerald-700);
  font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.how-step h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.how-step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* --- Trust Strip --- */
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
  padding: 1.5rem; background: var(--gray-50); border-radius: var(--radius-lg);
  font-size: 0.875rem; color: var(--text-muted);
}
.trust-item { display: flex; align-items: center; gap: 0.375rem; }
.trust-item::before { content: '✦'; color: var(--emerald-500); }

/* --- FAQ --- */
.faq-list { max-width: 48rem; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 1.5rem 0;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; gap: 1rem; width: 100%; background: none;
  border: none; text-align: left; font-size: 1rem; font-weight: 600;
  color: var(--text); padding: 0; font-family: inherit;
}
.faq-question:hover { color: var(--emerald-600); }
.faq-arrow {
  width: 1.25rem; height: 1.25rem; flex-shrink: 0;
  transition: transform 300ms ease; color: var(--text-muted);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 300ms ease;
}
.faq-answer-inner {
  padding-top: 1rem; font-size: 0.9375rem; color: var(--text-secondary);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 20rem; }

/* --- Guarantee --- */
.guarantee-box {
  background: linear-gradient(135deg, var(--emerald-50), white);
  border: 1px solid var(--emerald-200); border-radius: var(--radius-xl);
  padding: 2.5rem; text-align: center; max-width: 36rem; margin: 0 auto;
}
.guarantee-icon { font-size: 3rem; margin-bottom: 1rem; }
.guarantee-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.guarantee-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }

/* --- Success Page --- */
.success-wrap {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 3rem 1rem;
}
.success-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 3rem;
  max-width: 36rem; width: 100%; text-align: center;
  box-shadow: var(--shadow-lg);
}
.success-check {
  width: 4rem; height: 4rem; border-radius: 9999px;
  background: var(--emerald-100); color: var(--emerald-600);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 2rem;
}
.success-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.success-subtitle { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.6; }
.success-download {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: white; font-weight: 700; font-size: 1rem;
  box-shadow: var(--shadow-emerald); transition: all var(--transition);
  border: none; cursor: pointer;
}
.success-download:hover { box-shadow: var(--shadow-emerald-hover); transform: translateY(-1px); }
.success-divider {
  margin: 2rem 0; border: none; border-top: 1px solid var(--border);
}
.cross-sell-title {
  font-size: 0.875rem; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem;
}
.cross-sell-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.cross-sell-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-md); transition: all var(--transition);
  font-size: 0.875rem;
}
.cross-sell-item:hover { border-color: var(--emerald-400); background: var(--emerald-50); }
.cross-sell-price { font-weight: 700; color: var(--emerald-600); }
.success-gating-msg {
  padding: 2rem; background: var(--gray-50); border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.success-gating-msg p { font-size: 0.875rem; color: var(--text-secondary); }

/* --- Guide / Article --- */
.article-wrap {
  max-width: 52rem; margin: 0 auto; padding: 3rem 1rem;
}
.article-wrap h1 { font-size: 2rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .article-wrap h1 { font-size: 2.5rem; } }
.article-meta { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 2rem; }
.article-content h2 {
  font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.article-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article-content p {
  color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.25rem;
}
.article-content ul {
  margin-bottom: 1.25rem; padding-left: 1.5rem;
}
.article-content ul li {
  list-style: disc; color: var(--text-secondary); margin-bottom: 0.5rem;
  line-height: 1.6;
}
.article-content a { color: var(--emerald-600); text-decoration: underline; }
.article-content a:hover { color: var(--emerald-700); }
.article-content .tip-box {
  background: var(--emerald-50); border: 1px solid var(--emerald-200);
  border-radius: var(--radius-md); padding: 1.5rem; margin: 1.5rem 0;
}
.article-content .tip-box p { color: var(--emerald-700); }
.article-content .tip-box strong { color: var(--emerald-800); }

/* --- Country Comparison Table --- */
.compare-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.compare-table th {
  text-align: left; padding: 0.75rem 1rem; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); border-bottom: 2px solid var(--border);
  background: var(--gray-50);
}
.compare-table td {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  font-size: 0.875rem; color: var(--text-secondary);
}
.compare-table tr:hover td { background: var(--gray-50); }
.compare-table a { color: var(--emerald-600); font-weight: 500; }

/* --- Resource Cards --- */
.resource-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 640px) { .resource-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .resource-grid { grid-template-columns: repeat(3, 1fr); } }
.resource-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: all var(--transition); display: block;
}
.resource-card:hover {
  border-color: var(--emerald-400); box-shadow: var(--shadow-md);
}
.resource-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.resource-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.375rem; }
.resource-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

/* --- Inline CTA Block --- */
.inline-cta {
  background: linear-gradient(135deg, var(--emerald-50), white);
  border: 1px solid var(--emerald-200); border-radius: var(--radius-xl);
  padding: 2rem; margin: 2rem 0;
}
.inline-cta h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.inline-cta p { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 1.25rem; line-height: 1.6; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-emerald { color: var(--emerald-600); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.font-mono { font-family: var(--font-mono); }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.gap-2 { gap: 0.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}

/* --- Data attributes for analytics --- */
[data-track] { cursor: pointer; }

/* --- PDF Download Fallback --- */
.success-download-fallback {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 0 auto;
  max-width: 28rem;
}

/* --- Success page what's-inside list --- */
.success-card ul li::before { content: '✓ '; color: var(--emerald-600); font-weight: 700; }

/* ============================================================
   SEO ARTICLES
   ============================================================ */
.article-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.article-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* Related links sidebar */
.seo-article-sidebar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .seo-article-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }
}
.seo-related-destinations h3,
.seo-related-guides h3,
.seo-related-articles h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.seo-related-destinations ul,
.seo-related-guides ul,
.seo-related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.seo-related-destinations li,
.seo-related-guides li,
.seo-related-articles li {
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.seo-related-destinations a,
.seo-related-guides a,
.seo-related-articles a {
  color: var(--emerald-700);
  text-decoration: none;
  font-size: 0.9375rem;
}
.seo-related-destinations a:hover,
.seo-related-guides a:hover,
.seo-related-articles a:hover {
  text-decoration: underline;
}

/* Resource grid on /articles/ index */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.resource-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.resource-card:hover {
  border-color: var(--emerald-400);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.resource-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--emerald-700);
}
.resource-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
