/* ═══════════════════════════════════════════════════════════════════
   Göç Rehberim Design System v8.0 — "The Premium Middle Ground"
   Perfect balance: Visually stunning, structurally professional.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --primary: #0F172A;       /* Deep slate/navy */
  --primary-hover: #1e293b;
  --accent-1: #F59E0B;      /* Trust Blue */
  --accent-2: #16A34A;      /* Success Green */
  --accent: #3b82f6;        /* Alias */

  /* Extended primary palette (for dashboard, onboarding etc.) */
  --primary-50: #f0f4ff;
  --primary-100: #e0e7ff;
  --primary-200: #c7d2fe;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  /* Aliases used by subpages */
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  /* Aliases used by subpages */
  --ink: #0f172a;
  --ink-secondary: #475569;
  --ink-muted: #94a3b8;

  --border-light: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(15, 23, 42, 0.15);
  --border: #e2e8f0;

  /* Semantic colours */
  --success: #059669;
  --success-light: #ecfdf5;
  --danger: #dc2626;
  --danger-light: #fef2f2;
  --warning: #d97706;
  --warning-light: #fffbeb;

  --radius-sm: 8px;
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 12px;
  --radius-xl: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px -8px rgba(0,0,0,0.1);
  --shadow-xl: 0 24px 48px -12px rgba(0,0,0,0.15);

  --transition: 0.2s ease;

  --font: 'Inter', sans-serif;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif; background: var(--bg-main); color: var(--text-main);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Elegant Gradient Background ── */
.bg-ambient {
  position: absolute; top: 0; left: 0; right: 0; height: 110vh; z-index: -2;
  /* Teknolojik ama güven, huzur ve mutluluk veren palet: Açık gökyüzü mavisi (sky), yumuşak su yeşili (teal/mint) ve çok hafif teknolojik lila/buz mavisinin dingin kombini */
  background: linear-gradient(135deg, #F8FAFC 0%, #FAFAFA 100%);
}

/* ── Typography ── */
h1, h2, h3, h4 { letter-spacing: -0.03em; color: var(--text-main); font-weight: 800; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 4vw, 4rem); }
h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 24px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.6; }

.text-gradient {
  background: linear-gradient(to right, #2563eb, #0ea5e9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Container & Structure ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; z-index: 10; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; width: 100%; height: var(--nav-h); z-index: 1000;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light); display: flex; align-items: center;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.nav-logo { font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; letter-spacing: -0.02em; }
.nav-logo-icon { width: 30px; height: 30px; background: var(--primary); color: #fff; border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 1rem; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-secondary); font-size: 0.95rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-main); }
.nav-actions { display: flex; gap: 12px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius-sm); transition: all 0.2s; cursor: pointer; border: none; outline: none; gap: 8px; min-height: 44px;
}
.btn-primary { background: var(--accent-1); color: #fff; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3); background: #2563eb; }
.btn:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, .btn-ghost:focus-visible {
  outline: 3px solid var(--accent-1); outline-offset: 2px;
}
a:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 2px; border-radius: 4px; }
.btn-secondary { background: var(--bg-surface); color: var(--text-main); border: 1px solid var(--border-light); box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.btn-secondary:hover { background: var(--bg-main); border-color: var(--border-focus); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: var(--radius-md); }

/* ── Hero Split Layout ── */
.hero { padding-top: calc(var(--nav-h) + 100px); padding-bottom: 80px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } }
.launch-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border-light);
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; color: var(--text-main);
  margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.hero-cta { display: flex; gap: 16px; margin-top: 40px; }

/* ── Layered Hero Visual ── */
.hero-visual { position: relative; width: 100%; }
.hero-main-img {
  width: 100%; border-radius: var(--radius-xl); box-shadow: 0 24px 48px -12px rgba(15,23,42,0.15);
  border: 1px solid rgba(255,255,255,0.8);
}

/* Glass Eligibility Widget Overlaying Image */
.hero-widget {
  position: absolute; bottom: -30px; left: -30px;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 1);
  padding: 24px; border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.12);
  width: 280px; z-index: 10;
}
@media (max-width: 768px) { .hero-widget { left: 0; bottom: -50px; } }
.widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; border-bottom: 1px solid var(--border-light); padding-bottom: 12px; }
.widget-score { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--accent-2); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #047857; font-size: 1rem; }
.widget-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 0.9rem; }
.w-label { color: var(--text-secondary); font-weight: 500; }
.w-val { font-weight: 700; color: var(--text-main); }
.w-badge { background: #dcfce7; color: #15803d; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; }

/* ── Trust Logos ── */
.trust-bar { background: #ffffff; padding: 32px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); margin-top: 60px; }
.trust-container { display: flex; justify-content: space-between; align-items: center; max-width: 1000px; margin: 0 auto; opacity: 0.6; filter: grayscale(100%); }
.trust-container span { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.trust-container svg { width: 20px; height: 20px; }

/* ── Elegant Bento Grid Mimarisi ── */
.bento-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(280px, auto);
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
@media (max-width: 900px) { .bento-grid { grid-template-columns: 1fr; } }
.bento-card {
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 40px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: all 0.3s ease;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px -8px rgba(0,0,0,0.08); border-color: var(--border-focus); }
.bento-span-2 { grid-column: span 2; }
.bento-icon { width: 52px; height: 52px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); margin-bottom: 24px; color: var(--accent-1); }
.bento-icon svg { width: 24px; height: 24px; stroke: currentColor; }
.bento-card h3 { font-size: 1.4rem; z-index: 2; position: relative; }
.bento-card p { font-size: 1.05rem; z-index: 2; position: relative; max-width: 420px; }

/* Dark Card Variant for visual balance */
.bento-card.dark { background: var(--primary); color: #fff; }
.bento-card.dark h3, .bento-card.dark p { color: #fff; }
.bento-card.dark p { opacity: 0.8; }
.bento-card.dark .bento-icon { background: rgba(255,255,255,0.1); color: #fff; }

.bento-graphic { position: absolute; right: -20px; bottom: -20px; opacity: 0.5; z-index: 1; pointer-events: none; width: 300px; }

/* ── Clean Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--bg-surface); border: 1px solid var(--border-light); padding: 48px; border-radius: var(--radius-lg); box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: transform 0.3s; }
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border: 2px solid var(--accent-1); box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15); }
.p-badge { background: #eff6ff; color: var(--accent-1); padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; margin-bottom: 16px; display: inline-block; }
.p-price { font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 24px; color: var(--text-main); }
.p-price span { font-size: 1.1rem; font-weight: 500; color: var(--text-secondary); }
.p-list { margin-bottom: 32px; }
.p-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-weight: 500; font-size: 1.05rem; }
.p-list svg { width: 22px; height: 22px; stroke: var(--accent-1); fill: none; flex-shrink: 0; }

/* ── Smooth Footer ── */
.footer { border-top: 1px solid var(--border-light); padding: 80px 0 40px; background: #ffffff; margin-top: 40px; }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 60px; }
.footer-brand { max-width: 300px; }
.footer-links { display: flex; gap: 80px; }
.footer-links-col h4 { margin-bottom: 24px; font-size: 1rem; color: var(--text-main); }
.footer-links-col a { display: block; color: var(--text-secondary); margin-bottom: 16px; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.footer-links-col a:hover { color: var(--accent-1); }
.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 32px; margin-top: 60px; display: flex; justify-content: space-between; color: var(--text-tertiary); font-size: 0.9rem; font-weight: 500; }

/* ── Footer Grid (used by _nav.js injected footer) ── */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h5 { font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 10px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-1); }

/* ── Scrolled Navbar State ── */
.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-bottom-color: var(--border);
}

/* ── Nav Brand (used by _nav.js) ── */
.nav-brand {
  font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 8px;
  letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
}
.brand-icon {
  width: 30px; height: 30px; background: var(--primary); color: #fff; border-radius: 8px;
  display: flex; justify-content: center; align-items: center; font-size: 0.9rem; font-weight: 800;
}

/* ── Hamburger Menu ── */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
  color: var(--ink); width: 32px; height: 32px;
}
.nav-hamburger svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-hamburger { display: block; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-right { display: none; }
}

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  z-index: 999; display: none; flex-direction: column; padding: 24px;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 1rem; color: var(--ink); transition: background 0.2s;
}
.mobile-menu a:hover { background: var(--primary-50); color: var(--primary); }

/* ── Button Variants ── */
.btn-ghost {
  background: transparent; color: var(--ink-secondary); border: 1px solid var(--border);
  padding: 10px 20px; font-weight: 600; font-size: 0.95rem; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--border-focus); }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }

/* ── Plan Badges (Dashboard) ── */
.plan-badge { display: inline-block; padding: 2px 10px; border-radius: 6px; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; }
.plan-free { background: #f1f5f9; color: #475569; }
.plan-pro { background: #dbeafe; color: #1d4ed8; }
.plan-elite { background: #fef3c7; color: #92400e; }
.plan-decision { background: #ede9fe; color: #5b21b6; }

/* ── Checkout Plan Cards ── */
.plan-card {
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-xl);
  padding: 28px; cursor: pointer; transition: all 0.2s; position: relative;
}
.plan-card:hover { border-color: var(--primary-200); transform: translateY(-2px); }
.plan-card.selected { border-color: var(--accent-1); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.plan-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; margin-bottom: 10px; }
.tag-free { background: #f1f5f9; color: #475569; }
.tag-popular { background: #dbeafe; color: #1d4ed8; }
.tag-elite { background: #fef3c7; color: #92400e; }
.tag-decision { background: #ede9fe; color: #5b21b6; }
.plan-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.plan-price { font-size: 2.2rem; font-weight: 900; margin-bottom: 16px; }
.plan-price span { font-size: 0.9rem; font-weight: 500; color: var(--ink-muted); }
.plan-features { padding-left: 0; }
.plan-features li { padding: 6px 0; font-size: 0.9rem; color: var(--ink-secondary); list-style: none; }
.plan-features li::before { content: "✓ "; color: var(--success); font-weight: 700; }

/* ── Spinner (calculator) ── */
.spinner {
  display: inline-block; width: 16px; height: 16px; border: 2px solid #fff;
  border-top-color: transparent; border-radius: 50%; animation: spin 0.6s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Active Nav Link ── */
.nav-links a.active { color: var(--accent-1); font-weight: 700; }

/* ── 480px Mobile ── */
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.95rem; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.95rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta a, .hero-cta button { text-align: center; width: 100%; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .plan-card { padding: 20px; }
}


