/* ═══════════════════════════════════════════════════════════════
   Arsa Borsası — Ultra Premium Redesign CSS
   Inspired directly by PhamilyPharma.com (Awwwards Honorable Mention)
   Typography: Oswald (Big condensed bold uppercase) + Poppins (Modern body)
   Palette: Deep Emerald Green, Warm Cream, Chocolate, Vivid Lime, Gold
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --color-primary: #09543d;          /* Phamily deep emerald green */
  --color-primary-dark: #052b1f;     /* Deepest forest */
  --color-forest: #09543d;
  --color-forest-deep: #042017;
  --color-cream: #07120f;
  --color-cream-tint: #0c1a16;
  --color-secondary: #461e10;        /* Phamily deep earth / chocolate */
  --color-lime: #ccf337;             /* Phamily vivid electric lime */
  --color-gold: #d8af5f;             /* Warm refined gold */
  --color-gold-bright: #e5bd68;
  --color-white: #ffffff;
  --color-ink: #f1efe8;
  --color-muted: #a6ada6;
  --color-line: rgba(241, 239, 232, 0.16);
  --color-line-dark: rgba(255, 255, 255, 0.14);
  --color-danger: #a33b24;
  --color-danger-bg: #fdf0ec;
  --color-green-light: #10251f;

  /* Fonts */
  --font-display: 'Oswald', 'Anton', -apple-system, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  /* Radii */
  --radius-xl: 3.5rem;               /* 56px - Phamily organic section curve */
  --radius-l: 2.5rem;                /* 40px */
  --radius-m: 1.5rem;                /* 24px */
  --radius-s: 0.875rem;              /* 14px */
  --radius-pill: 999px;              /* Full pill */

  /* Easing */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Shadows */
  --shadow-subtle: 0 10px 40px rgba(9, 84, 61, 0.06);
  --shadow-card: 0 20px 60px rgba(5, 43, 31, 0.08);
  --shadow-floating: 0 30px 80px rgba(4, 32, 23, 0.16);
  --hero-image: url('arsa-aerial.webp');
}

/* Shared dark/light theme used by the new landing experience. */
html[data-theme="light"] {
  --color-cream: #fffdf7;
  --color-cream-tint: #f6f3e8;
  --color-ink: #072318;
  --color-muted: #536b60;
  --color-line: #d8ded8;
  --color-green-light: #e6f3eb;
  --shadow-subtle: 0 10px 40px rgba(9, 84, 61, 0.06);
  --shadow-card: 0 20px 60px rgba(5, 43, 31, 0.08);
}
html[data-theme="dark"] {
  --color-cream: #07120f;
  --color-cream-tint: #0c1a16;
  --color-ink: #f1efe8;
  --color-muted: #a6ada6;
  --color-line: rgba(241, 239, 232, 0.16);
  --color-green-light: #10251f;
  --shadow-subtle: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.24);
}
html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] .page-body { background: var(--color-cream); color: var(--color-ink); }
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .contact-note,
html[data-theme="dark"] .case-card,
html[data-theme="dark"] .legal-section,
html[data-theme="dark"] .content-card { background: var(--color-cream-tint); border-color: var(--color-line); color: var(--color-ink); }
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea { background: #102019; color: var(--color-ink); border-color: var(--color-line); }
html[data-theme="dark"] .topbar { background: rgba(7,18,15,.96); border-color: var(--color-line); color: #f1efe8; }
html[data-theme="dark"] .topbar.scrolled { background: rgba(7,18,15,.92); }
html[data-theme="dark"] .topbar .brand-word,
html[data-theme="dark"] .topbar .desktop-nav a,
html[data-theme="dark"] .topbar .header-action { color: #f1efe8; }
html[data-theme="dark"] .topbar .brand-word span,
html[data-theme="dark"] .page-body .section-label,
html[data-theme="dark"] .page-body .breadcrumb { color: var(--color-gold); }
html[data-theme="dark"] .page-body h1,
html[data-theme="dark"] .page-body h2,
html[data-theme="dark"] .page-body h3 { color: #f1efe8; }
html[data-theme="dark"] .site-footer { background: #07120f; color: #f1efe8; border-top: 1px solid var(--color-line); }
html[data-theme="dark"] .site-footer::before { background: #07120f; }
.global-theme-toggle { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.global-theme-toggle span { width: 13px; height: 13px; border-radius: 50%; background: var(--color-gold); box-shadow: -5px -3px 0 -2px var(--color-primary-dark); }
html[data-theme="light"] .global-theme-toggle { border-color: rgba(7,35,24,.2); }
@media (max-width: 520px) { .global-theme-toggle { width: 34px; height: 34px; } }
.topbar .brand { transform-origin: center; transition: left .65s var(--ease-smooth), transform .65s var(--ease-smooth); }
.topbar .brandmark { width: 48px; height: 48px; transition: width .65s var(--ease-smooth), height .65s var(--ease-smooth); }
.topbar .brand-word { font-size: 1.05rem; }
.topbar .stable-logo-mark { width: 52px; height: 52px; flex: 0 0 52px; fill: none; stroke: var(--color-gold); stroke-width: 1.45; transition: width .65s var(--ease-smooth), height .65s var(--ease-smooth); }
.topbar .stable-logo-word { font: 600 1rem/1 var(--font-display); letter-spacing: .14em; color: var(--color-ink); white-space: nowrap; }
.topbar .stable-logo-word b { color: var(--color-gold); font-weight: 600; }
.site-footer .stable-logo-mark, .scenario-footer .stable-logo-mark { width: 46px; height: 46px; flex: 0 0 46px; fill: none; stroke: var(--color-gold); stroke-width: 1.45; }
.site-footer .stable-logo-word, .scenario-footer .stable-logo-word { font: 600 .9rem/1 var(--font-display); letter-spacing: .13em; white-space: nowrap; }
.site-footer .stable-logo-word b, .scenario-footer .stable-logo-word b { color: var(--color-gold); }
.mini-logo .stable-logo-mark { width: 32px; height: 32px; fill: none; stroke: #8c6a25; stroke-width: 1.45; }
.topbar.scrolled .brand { position: absolute; left: 50%; transform: translateX(-50%) scale(1.08); }
.topbar.scrolled .desktop-nav { opacity: 0; pointer-events: none; transform: translateY(-8px); }
.topbar .desktop-nav { transition: opacity .35s, transform .35s; }
.global-press-wave { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: currentColor; opacity: .2; pointer-events: none; transform: translate(-50%,-50%) scale(0); animation: globalPressWave .55s ease-out forwards; }
button:active, a:active { transform: scale(.975); }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
@keyframes globalPressWave { to { transform: translate(-50%,-50%) scale(18); opacity: 0; } }
@media (max-width: 1100px) { .topbar.scrolled .brand { position: static; transform: scale(1.04); } .topbar.scrolled .desktop-nav { opacity: 1; } }

/* ── Reset & Global ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-cream);
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background-color: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Typography Utility ── */
.tx-upper {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Animations ── */
@keyframes heroEntrance {
  0% { opacity: 0; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1.01); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(36px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: none; }
}

@keyframes shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes scorePop {
  0% { opacity: 0; transform: scale(0.85) rotate(-8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SVG Icon Sprite ── */
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.ab-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Shell ── */
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════════════════════════
   TOPBAR / NAVIGATION (Phamily Style: Clean, Crisp, UPPERCASE)
   ═══════════════════════════════════════════════════════════════ */
.topbar {
  height: 84px;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 253, 247, 0.94);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(216, 222, 216, 0.4);
  transition: all 0.35s ease;
}
.topbar.scrolled {
  height: 76px;
  border-bottom-color: var(--color-line);
  box-shadow: 0 8px 30px rgba(9, 84, 61, 0.07);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--color-forest);
  flex-shrink: 0;
}
.brandmark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-primary);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(9, 84, 61, 0.22);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s;
}
.brandmark svg {
  width: 28px;
  height: 28px;
}
.brand:hover .brandmark {
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(9, 84, 61, 0.32);
}
.brand-word {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-primary);
}
.brand-word > span {
  font-weight: 500;
  color: var(--color-ink);
}
.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-top: 5px;
  color: var(--color-muted);
  text-transform: uppercase;
}

/* Desktop Nav Links (UPPERCASE, Bold, Spaced) */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.desktop-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.25s ease;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.3s var(--ease-smooth);
}
.desktop-nav a:hover {
  color: var(--color-primary);
}
.desktop-nav a:hover::after {
  width: 100%;
}

/* Top Actions */
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.watchlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: white;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.watchlist-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(9, 84, 61, 0.2);
}
.watchlist-btn:hover .badge-count {
  background: var(--color-lime);
  color: var(--color-primary-dark);
}
.badge-count {
  background: var(--color-primary);
  color: white;
  font-size: 11px;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
}
.mobile-menu[hidden] {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   HERO / INTRO SECTION (Phamily Style: Huge Bold Uppercase)
   ═══════════════════════════════════════════════════════════════ */
.workspace {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.intro {
  position: relative;
  min-height: calc(100vh - 84px);
  padding: clamp(60px, 8vw, 130px) clamp(24px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  overflow: hidden;
  background: var(--color-forest-deep);
  isolation: isolate;
}

/* Organic curved bottom overlay on hero */
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(4, 32, 23, 0.84) 0%, rgba(4, 32, 23, 0.58) 50%, rgba(4, 32, 23, 0.9) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: heroEntrance 1.6s var(--ease-smooth) both;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(204, 243, 55, 0.12), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(216, 175, 95, 0.1), transparent 45%);
  pointer-events: none;
}

.intro > * {
  position: relative;
  z-index: 2;
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(4, 32, 23, 0.55);
  backdrop-filter: blur(14px);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-lime);
  animation: fadeUp 0.8s var(--ease-smooth) 0.15s both;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-lime);
  box-shadow: 0 0 0 4px rgba(204, 243, 55, 0.25);
}

/* Massive PhamilyPharma Headline */
h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 108px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 28px 0 24px;
  max-width: 960px;
  text-wrap: balance;
  color: white;
  animation: fadeUp 0.8s var(--ease-smooth) 0.3s both;
}
h1 em {
  font-style: normal;
  color: var(--color-lime);
  text-decoration: underline;
  text-decoration-color: rgba(204, 243, 55, 0.4);
  text-underline-offset: 8px;
}

/* Lead */
.lead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.35vw, 20px);
  color: rgba(255, 253, 247, 0.86);
  max-width: 620px;
  margin: 0;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeUp 0.8s var(--ease-smooth) 0.45s both;
}

/* Hero CTA Button (BIG BOLD UPPERCASE) */
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  padding: 20px 42px;
  background: var(--color-cream);
  color: var(--color-primary-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.35s var(--ease-smooth);
  animation: fadeUp 0.8s var(--ease-smooth) 0.55s both;
  position: relative;
  overflow: hidden;
}
.hero-cta .cta-arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s var(--ease-smooth);
}
.hero-cta:hover {
  background: white;
  color: var(--color-primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.hero-cta:hover .cta-arrow {
  transform: translate(3px, -3px);
}

/* Proof Badges (UPPERCASE PILLS) */
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: 40px;
  max-width: 800px;
  animation: fadeUp 0.8s var(--ease-smooth) 0.65s both;
}
.proof span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}
.proof span::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-lime);
  color: var(--color-primary-dark);
  font-size: 10px;
  font-weight: 900;
}
.proof span:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Hero Bottom / Stats */
.intro-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: fadeUp 0.8s var(--ease-smooth) 0.75s both;
}
.introfoot {
  display: flex;
  gap: 36px;
}
.introfoot div {
  padding-right: 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.introfoot div:last-child {
  border-right: none;
}
.introfoot b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-lime);
  line-height: 1;
  margin-bottom: 6px;
}
.introfoot span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Scene Indicator */
.scene {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.scene-bars {
  display: flex;
  gap: 5px;
}
.scene-bars i {
  width: 20px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}
.scene-bars i.active {
  width: 36px;
  background: var(--color-lime);
}

/* ═══════════════════════════════════════════════════════════════
   FORM PANEL (.panel) — Centered Organic Phamily Card
   ═══════════════════════════════════════════════════════════════ */
.panel {
  background: var(--color-cream);
  padding: clamp(60px, 7vw, 110px) clamp(20px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.card {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-l);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease;
}

/* Wizard Navigation */
.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}
.wizard-nav::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--color-line);
  z-index: 0;
}
.step-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: white;
  padding: 0 10px;
}
.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--color-line);
  background: white;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease-smooth);
}
.step-item.active .step-circle {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: white;
  box-shadow: 0 0 0 6px rgba(9, 84, 61, 0.14);
}
.step-item.completed .step-circle {
  border-color: var(--color-primary);
  background: var(--color-lime);
  color: var(--color-primary-dark);
}
.step-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.step-item.active .step-label {
  color: var(--color-primary);
}

/* Step Content */
.step-content {
  display: none;
}
.step-content.active {
  display: block;
  animation: rise 0.4s var(--ease-smooth) both;
}

.step {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--color-primary);
  margin: 6px 0 12px;
}

.card > p, .step-content > p {
  margin: 0 0 28px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Fields */
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.field.full {
  grid-column: 1 / -1;
}
.field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.field label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink);
}
.field small {
  font-size: 11px;
  color: var(--color-muted);
}

input, select {
  width: 100%;
  height: 54px;
  border: 1.5px solid var(--color-line);
  background: white;
  border-radius: var(--radius-s);
  padding: 0 18px;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all 0.25s ease;
}
input:hover, select:hover {
  border-color: #9cb5a8;
}
input:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(9, 84, 61, 0.1);
}

/* Info Tooltip */
.info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2ede5;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 800;
  cursor: help;
  user-select: none;
}
.info-tip .tooltip-box {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 10px);
  right: -8px;
  width: 270px;
  padding: 12px 16px;
  background: var(--color-primary-dark);
  color: white;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 40;
  pointer-events: none;
  font-weight: 400;
}
.info-tip .tooltip-box::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 14px;
  border: 6px solid transparent;
  border-top-color: var(--color-primary-dark);
}
.info-tip:hover .tooltip-box,
.info-tip:focus .tooltip-box {
  visibility: visible;
  opacity: 1;
}

/* Segmented Buttons */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  background: #edf3ee;
  border-radius: 14px;
}
.segmented button {
  border: 0;
  border-radius: 10px;
  padding: 13px;
  background: transparent;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
.segmented button.active {
  background: white;
  color: var(--color-primary);
  box-shadow: 0 3px 12px rgba(9, 84, 61, 0.12);
}

/* Step Actions */
.step-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

/* Primary Button (Phamily Style Pill) */
.primary {
  border: 0;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-pill);
  padding: 18px 32px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(9, 84, 61, 0.22);
}
.primary::after {
  content: "";
  position: absolute;
  inset: -80% -50%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.18) 48%, rgba(204, 243, 55, 0.16) 52%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-smooth);
}
.primary:hover {
  background: #0d6b4f;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(9, 84, 61, 0.32);
}
.primary:hover::after {
  transform: translateX(120%);
}
.primary > .ab-icon:last-child {
  transition: transform 0.25s;
}
.primary:hover > .ab-icon:last-child {
  transform: translateX(4px);
}

/* Secondary Button */
.btn-secondary {
  border: 1.5px solid var(--color-line);
  background: white;
  border-radius: var(--radius-pill);
  padding: 16px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: all 0.3s var(--ease-smooth);
}
.btn-secondary:hover {
  background: #f2f7f3;
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.secure {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  text-align: center;
  margin-top: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   RESULT SECTION (Score, Metrics, Alerts)
   ═══════════════════════════════════════════════════════════════ */
.result {
  display: none;
}
.result.show {
  display: block;
  animation: rise 0.5s var(--ease-smooth) both;
}
.form-wrapper.hide {
  display: none;
}

.resulthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.score-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.score {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--color-primary) 0 68%, #e2e8e3 68%);
  position: relative;
  flex: none;
  box-shadow: 0 0 0 6px #edf4ee, 0 0 0 8px var(--color-line);
}
.result.show .score {
  animation: scorePop 0.6s var(--ease-smooth) 0.15s both;
}
.score::after {
  content: "";
  position: absolute;
  inset: 10px;
  background: white;
  border-radius: 50%;
}
.score strong {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.result h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 4px;
}
.location {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.metric {
  padding: 18px;
  background: #f6faf6;
  border: 1px solid #d5ded6;
  border-radius: var(--radius-m);
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.metric:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(9, 84, 61, 0.08);
}
.metric span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
}
.metric b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: block;
  margin-top: 6px;
  color: var(--color-primary);
}

/* Verify Progress */
.verify-progress {
  padding: 18px;
  margin-bottom: 16px;
  border-radius: var(--radius-m);
  background: #eef7f0;
}
.verify-progress div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.bar {
  height: 8px;
  background: #d1ded4;
  border-radius: var(--radius-pill);
  margin-top: 10px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease-smooth);
}

/* Alerts */
.alerts {
  display: grid;
  gap: 12px;
}
.alert {
  border: 1.5px solid var(--color-line);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-s);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fafdfa;
  transition: all 0.3s ease;
}
.alert:hover {
  border-color: #b7c8bc;
  box-shadow: 0 6px 20px rgba(9, 84, 61, 0.06);
  transform: translateY(-2px);
}
.alert.ok {
  border-left-color: var(--color-primary);
}
.alert-copy {
  min-width: 0;
  flex: 1;
}
.icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 800;
}
.warn .icon {
  background: #faeadf;
  color: var(--color-danger);
}
.ok .icon {
  background: #e0f2e5;
  color: var(--color-primary);
}
.alert b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.alert span {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}
.verify-btn {
  border: 1px solid #c0d8c6;
  background: #ebf5ee;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 8px 14px;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.verify-btn:hover {
  background: var(--color-primary);
  color: white;
}

/* Result Action Buttons (UPPERCASE PILLS) */
.result-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1.5px solid var(--color-line);
  background: white;
  color: var(--color-primary);
}
.btn-action:hover {
  background: #f1f7f2;
  border-color: var(--color-primary);
  transform: translateY(-1px);
}
.btn-action.highlight {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(9, 84, 61, 0.2);
}
.btn-action.highlight:hover {
  background: #0d6b4f;
}
.btn-action.full {
  grid-column: 1 / -1;
}

.disclaimer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   PARCEL MAP
   ═══════════════════════════════════════════════════════════════ */
.parcel-map-card {
  margin-top: 24px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-subtle);
}
.parcel-map-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px 16px;
  background: #f7faf7;
  border-top: 3px solid var(--color-gold);
}
.parcel-map-head h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: var(--color-primary);
}
.parcel-map-head p {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}
.map-state {
  flex: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #f5eedb;
  color: #7b5d1e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.map-state.ready {
  background: #e2f4e8;
  color: var(--color-primary);
}
.parcel-map {
  height: 320px;
  position: relative;
  background-color: #e5ece6;
  background-image:
    linear-gradient(rgba(9, 84, 61, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 84, 61, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-empty {
  position: absolute;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  background: linear-gradient(135deg, rgba(246, 250, 246, 0.94), rgba(235, 242, 236, 0.92));
}
.map-empty-inner {
  max-width: 340px;
}
.map-empty-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--color-primary);
  color: var(--color-lime);
  box-shadow: 0 10px 26px rgba(9, 84, 61, 0.25);
}
.map-empty b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
}
.map-empty span {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 13px;
}
.map-empty.hidden {
  display: none;
}
.parcel-map-actions {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--color-line);
  background: #fbfdfb;
}
.map-btn {
  flex: 1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: white;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}
.map-btn:hover {
  border-color: var(--color-primary);
  background: #f2f7f3;
  transform: translateY(-1px);
}
.map-btn.primary-map {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: white;
}
.map-btn.primary-map:hover {
  background: #0d6b4f;
}
.map-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.map-details {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 24px 18px;
}
.map-details.show {
  display: grid;
}
.map-detail {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f0f5f1;
}
.map-detail span {
  display: block;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.map-detail b {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--color-primary);
}
.map-note {
  padding: 0 24px 18px;
  color: var(--color-muted);
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   WATCHLIST SECTION
   ═══════════════════════════════════════════════════════════════ */
.watchlist-section {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 2px solid #e1e7e2;
}
.watchlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.watchlist-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.watchlist-items {
  display: grid;
  gap: 12px;
}
.watchlist-item {
  background: white;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
}
.watchlist-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(9, 84, 61, 0.08);
  transform: translateY(-2px);
}
.watchlist-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.watchlist-info b {
  display: block;
  font-size: 15px;
  color: var(--color-primary);
  font-weight: 700;
}
.watchlist-info span {
  font-size: 12px;
  color: var(--color-muted);
}
.watchlist-score {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-green-light);
  color: var(--color-primary);
}
.watchlist-actions {
  display: flex;
  gap: 8px;
}
.btn-icon {
  border: 0;
  background: #ebf2ed;
  color: var(--color-primary);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: all 0.2s ease;
}
.btn-icon:hover {
  background: #d8e8dc;
  transform: translateY(-1px);
}
.btn-icon.delete:hover {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}
.empty-watchlist {
  text-align: center;
  padding: 32px;
  background: #f7faf7;
  border: 1.5px dashed var(--color-line);
  border-radius: var(--radius-m);
  color: var(--color-muted);
  font-size: 13px;
}
.compare-bar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-primary);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  animation: rise 0.3s ease;
}
.compare-bar span {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-bar button {
  background: var(--color-lime);
  color: var(--color-primary-dark);
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 800;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s;
}
.compare-bar button:hover {
  transform: scale(1.04);
}

/* ═══════════════════════════════════════════════════════════════
   CONTENT SECTIONS (#vakalar, #sss)
   ═══════════════════════════════════════════════════════════════ */
.site-content {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(80px, 9vw, 130px) clamp(24px, 5vw, 80px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: #e8f3ec;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.site-content h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 20px;
}

.site-content p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  padding: 14px 28px;
  background: white;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: all 0.3s var(--ease-smooth);
}
.text-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 84, 61, 0.2);
}

/* Vakalar Section (Grid with image card - bulletproof Phamily style) */
#vakalar {
  border-bottom: 1px solid var(--color-line);
}
.vakalar-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.vakalar-content {
  max-width: 600px;
}
.vakalar-content h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 20px;
}
.vakalar-media {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.vakalar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .vakalar-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .vakalar-media {
    height: 280px;
  }
}

/* SSS Section (Clean Accordion) */
#sss {
  max-width: 960px;
}
#sss h2 {
  margin-bottom: 48px;
}
details {
  border: 0;
  border-bottom: 1.5px solid var(--color-line);
  padding: 26px 0;
  margin: 0;
  transition: all 0.25s ease;
}
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--color-primary);
  transition: color 0.25s;
}
summary:hover {
  color: #0d6b4f;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color-line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-smooth);
}
details[open] summary::after {
  content: '−';
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: rotate(180deg);
}
details p {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 15px !important;
  color: var(--color-muted);
  padding-top: 16px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER (Grand Phamily Style: Giant Curved Top, Rich Columns)
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 253, 247, 0.9);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: clamp(64px, 8vw, 100px) clamp(24px, 6vw, 90px) 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(9, 84, 61, 0.12);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(204, 243, 55, 0.08), transparent 70%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: clamp(40px, 6vw, 90px);
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand .brand {
  color: var(--color-cream);
}
.footer-brand .brandmark {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.footer-brand .brand-word {
  color: white;
}
.footer-brand .brand-word > span {
  color: var(--color-lime);
}
.footer-brand .brand-word small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-lead {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 24px;
  max-width: 360px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(204, 243, 55, 0.14);
  color: var(--color-lime);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Footer Columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: 22px;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
}
.footer-col nav a:hover {
  color: var(--color-lime);
  transform: translateX(4px);
}

.footer-col-cta p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--color-lime);
  color: var(--color-primary-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.footer-cta-btn:hover {
  background: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════════════════════════
   MODAL & DIALOG
   ═══════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 32, 23, 0.78);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
}
.modal-backdrop.show {
  display: grid;
  animation: rise 0.3s ease;
}
.modal-card {
  background: var(--color-cream);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--radius-l);
  overflow-y: auto;
  padding: 36px;
  box-shadow: var(--shadow-floating);
  position: relative;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--color-line);
}
.modal-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: var(--color-primary);
}
.modal-close {
  background: #e6eee8;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: all 0.2s;
}
.modal-close:hover {
  background: #d4e2d7;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
}
.compare-table th {
  background: #edf4ee;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare-table tr:hover td {
  background: #f7faf7;
}
.tag-best {
  display: inline-block;
  padding: 3px 8px;
  background: var(--color-green-light);
  color: var(--color-primary);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 6px;
}

dialog {
  width: min(560px, calc(100% - 32px));
  border: 0;
  border-radius: var(--radius-l);
  padding: 0;
  box-shadow: var(--shadow-floating);
  color: var(--color-ink);
}
dialog::backdrop {
  background: rgba(4, 32, 23, 0.75);
  backdrop-filter: blur(8px);
}
.dialog-head {
  padding: 26px 30px 18px;
  border-bottom: 1.5px solid var(--color-line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.dialog-head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 4px 0 0;
}
.close {
  background: #eaf1eb;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--color-ink);
  font-size: 20px;
  transition: all 0.2s;
}
.close:hover {
  background: #d8e6db;
}
.dialog-body {
  padding: 26px 30px;
}
.dialog-body p {
  margin: 0 0 18px;
  color: var(--color-muted);
  line-height: 1.6;
}
.official-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #ecf5ee;
  border-radius: var(--radius-s);
  padding: 14px 18px;
  margin-bottom: 20px;
  transition: all 0.25s ease;
}
.official-link:hover {
  background: #e0eee4;
}
.upload {
  border: 1.5px dashed #a5bda9;
  border-radius: var(--radius-s);
  padding: 18px;
  background: #fbfdfb;
}
.upload input {
  height: auto;
  border: 0;
  padding: 0;
  margin-top: 8px;
}
.privacy {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 8px;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  padding: 0 30px 28px;
}
.dialog-actions button {
  flex: 1;
  border-radius: var(--radius-pill);
  padding: 15px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cancel {
  background: white;
  border: 1.5px solid var(--color-line);
}
.cancel:hover {
  background: #f3f7f4;
}
.save {
  background: var(--color-primary);
  color: white;
}
.save:hover {
  background: #0d6b4f;
}
.file-name {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 8px;
  min-height: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   SUB-PAGES (page-body: gizlilik, iletisim, vaka-calismalari)
   ═══════════════════════════════════════════════════════════════ */
.page-body {
  background: var(--color-cream);
  color: var(--color-ink);
}
.page-body h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 24px 0 16px;
  line-height: 1.0;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 24px;
}
.breadcrumb a:hover {
  color: var(--color-primary);
}
.page-lead {
  font-size: 18px !important;
  max-width: 680px;
}
.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  border-top: 1.5px solid var(--color-line);
  padding-top: 36px;
  margin-top: 36px;
}
.info-card {
  border: 1.5px solid var(--color-line);
  background: white;
  border-radius: var(--radius-m);
  padding: 32px 28px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.info-card h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.info-card h3 {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  font-weight: 800;
  margin-top: 20px;
  margin-bottom: 6px;
}
.info-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 56px;
  border-top: 1.5px solid var(--color-line);
  padding-top: 48px;
}
.contact-card {
  border-right: 1.5px solid var(--color-line);
  padding-right: 40px;
}
.contact-card h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 20px;
}
.contact-note h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }
  .top-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--color-line);
    border-radius: 12px;
    padding: 10px;
    background: transparent;
  }
  .menu-toggle > span {
    height: 2px;
    background: var(--color-primary);
    width: 20px;
    border-radius: 2px;
    transition: transform 0.3s ease;
  }
  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] > span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .mobile-menu {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px;
    background: var(--color-cream);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: grid;
    align-content: start;
    z-index: 29;
    animation: rise 0.3s ease;
  }
  .mobile-menu a {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line);
  }
  .mobile-menu a span {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-lime);
    background: var(--color-primary);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-weight: 800;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .topbar {
    height: 74px;
    padding: 0 20px;
    gap: 10px;
  }
  .topbar .brand {
    min-width: 0;
    gap: 8px;
  }
  .topbar .brandmark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .topbar .stable-logo-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .topbar .stable-logo-word {
    font-size: .86rem;
    letter-spacing: .1em;
  }
  .topbar .brand-word {
    min-width: 0;
    font-size: 0.82rem;
  }
  .topbar .brand-word small,
  .topbar .header-action {
    display: none;
  }
  .top-actions {
    min-width: 0;
    gap: 8px;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
  .intro {
    min-height: auto;
    padding: 48px 20px 60px;
  }
  h1 {
    font-size: clamp(42px, 11vw, 68px) !important;
    line-height: 0.94;
  }
  .lead {
    font-size: 15px;
  }
  .hero-cta {
    width: 100%;
    padding: 18px 24px;
  }
  .proof {
    gap: 8px;
  }
  .proof span {
    font-size: 11px;
    padding: 8px 14px;
  }
  .intro-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .introfoot {
    flex-wrap: wrap;
    gap: 20px;
  }
  .introfoot div {
    border-right: none;
    padding-right: 0;
  }
  .panel {
    padding: 40px 16px;
  }
  .card {
    padding: 28px 20px;
    border-radius: var(--radius-m);
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric:last-child {
    grid-column: 1 / -1;
  }
  .result-buttons {
    grid-template-columns: 1fr;
  }
  .watchlist-item {
    grid-template-columns: auto 1fr auto;
  }
  .watchlist-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  
  
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .site-footer {
    border-radius: 2rem 2rem 0 0;
    padding: 48px 20px 28px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-card {
    border-right: none;
    padding-right: 0;
    border-bottom: 1.5px solid var(--color-line);
    padding-bottom: 32px;
  }
}

@media (max-width: 380px) {
  .global-theme-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  .watch-label {
    display: none;
  }
  .watchlist-btn {
    padding: 8px 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PRINT & ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media print {
  body {
    background: white !important;
    color: black !important;
  }
  .topbar, .intro, .wizard-nav, .form-wrapper, .result-buttons, .watchlist-section,
  .modal-backdrop, #restart, .verify-progress, .site-footer, .menu-toggle, .mobile-menu,
  .parcel-map-actions, .hero-cta, .site-content {
    display: none !important;
  }
  .workspace {
    display: block !important;
  }
  .panel {
    padding: 0 !important;
    background: white !important;
  }
  .card {
    max-width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .result {
    display: block !important;
  }
  .score {
    border: 3px solid var(--color-primary);
    background: white !important;
  }
}
