/* ==========================================================================
   Sovmedya (sovmedya.com) — Design Tokens, Typography & Core Scaffolding
   Inspired by Korusec architectural precision · Expressing Sovmedya identity:
   Deep Midnight Navy (#02021D) · Electric Cobalt Phosphor (#3B6EFF) · Warm Broken-White (#F6F4EE)
   Zero inline styles · Strict CSP ('self') compatible · WCAG AA/AAA verified
   ========================================================================== */

@font-face { font-family:'Koru Sans'; src:url('/fonts/KoruSans-Light.woff2') format('woff2'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Koru Sans'; src:url('/fonts/KoruSans-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Koru Sans'; src:url('/fonts/KoruSans-Medium.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Koru Sans'; src:url('/fonts/KoruSans-SemiBold.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Koru Sans'; src:url('/fonts/KoruSans-Bold.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Koru Sans'; src:url('/fonts/KoruSans-Italic.woff2') format('woff2'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Koru Display'; src:url('/fonts/KoruDisplay-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Koru Display'; src:url('/fonts/KoruDisplay-Medium.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Koru Display'; src:url('/fonts/KoruDisplay-SemiBold.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Koru Display'; src:url('/fonts/KoruDisplay-Bold.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }

:root {
  --sov-cobalt: #3B6EFF;
  --sov-cobalt-bright: #6690FF;
  --sov-cobalt-deep: #1E44C8;
  --sov-cream: #F6F4EE;
  --bg: #02021D;
  --bg-deep: #010112;
  --bg-1: #070A26;
  --bg-2: #0D133A;
  --bg-glass: rgba(3, 5, 28, 0.78);
  --line: #1A2352;
  --line-soft: #101638;
  --text: var(--sov-cream);
  --text-soft: #B8C0DC;
  --text-mute: #828CB2;
  --signal-ok: #3DDC97;
  --signal-warn: #F4B860;
  --signal-drop: #FF5A67;
  --font-display: 'Koru Display', 'Koru Sans', system-ui, -apple-system, sans-serif;
  --font-sans: 'Koru Sans', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  --maxw: 1220px;
  --maxw-wide: 1420px;
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--sov-cobalt-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--sov-cobalt);
  color: #FFFFFF;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-wide { width: 100%; max-width: var(--maxw-wide); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--font-mono); }
.accent { color: var(--sov-cobalt-bright); }
.ok { color: var(--signal-ok); }
.drop { color: var(--signal-drop); }
.soft { color: var(--text-soft); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sov-cobalt-bright);
  font-weight: 600;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.03;
}
.h-xl { font-size: clamp(40px, 6.8vw, 92px); font-weight: 700; }
.h-lg { font-size: clamp(34px, 5.4vw, 76px); font-weight: 700; }
.h-md { font-size: clamp(28px, 4.2vw, 54px); }
.h-sm { font-size: clamp(22px, 2.8vw, 34px); }
.lede { font-size: clamp(18px, 2.05vw, 23px); line-height: 1.54; color: var(--text-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.1;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn-primary {
  background: var(--sov-cobalt);
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(59, 110, 255, .32);
}
.btn-primary:hover {
  background: var(--sov-cobalt-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(59, 110, 255, .48);
}
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(7, 10, 38, .65);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--sov-cobalt-bright);
  color: #FFFFFF;
  background: rgba(59, 110, 255, .12);
  transform: translateY(-2px);
}
.btn-wa {
  border: 1px solid rgba(61, 220, 151, .42);
  background: rgba(61, 220, 151, .10);
  color: var(--sov-cream);
}
.btn-wa:hover {
  border-color: var(--signal-ok);
  background: rgba(61, 220, 151, .20);
  transform: translateY(-2px);
}
.btn-wa .wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-ok);
  box-shadow: 0 0 10px var(--signal-ok);
}
.btn-lg { padding: 18px 34px; font-size: 17.5px; }

/* Sticky Frosted Midnight Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--nav-h);
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
  view-transition-name: site-nav;
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color .2s, opacity .2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}
.nav-links a[aria-current="page"] {
  position: relative;
}
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--sov-cobalt-bright);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(7, 10, 38, .8);
  flex-shrink: 0;
}
.lang-switch a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 100px;
  color: var(--text-mute);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active {
  background: var(--sov-cobalt);
  color: #FFFFFF;
}
.nav-cta {
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--sov-cobalt);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 14.5px !important;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(59, 110, 255, .32);
}
.nav-cta:hover {
  background: var(--sov-cobalt-bright);
  color: #FFFFFF !important;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--sov-cream);
  position: relative;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Section Scaffolding */
.section { padding: 92px 0; border-top: 1px solid var(--line-soft); position: relative; }
.section-tall { padding: 120px 0; border-top: 1px solid var(--line-soft); position: relative; }
.section-mid { padding: 72px 0 112px; border-top: 1px solid var(--line-soft); position: relative; }
.section-head { max-width: 780px; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 18px; font-size: clamp(17.5px, 1.9vw, 21px); color: var(--text-soft); }
.section-head.center { margin-inline: auto; }

/* Rotating Conic Border Spec Box (Korusec .install homage) */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.spec-bar {
  position: relative;
  margin: 40px auto 0;
  max-width: 820px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 10, 38, .82);
  backdrop-filter: blur(12px);
}
.spec-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 56%, rgba(59, 110, 255, .85) 72%, rgba(102, 144, 255, 1) 80%, transparent 90% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spinBorder 5.5s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes spinBorder { to { --angle: 360deg; } }
.spec-bar-top {
  padding: 11px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--sov-cobalt-bright);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.spec-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-radius: 0 0 15px 15px;
  overflow: hidden;
}
.spec-cell {
  background: rgba(4, 6, 30, .92);
  padding: 16px 18px;
  text-align: left;
}
.spec-cell .k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-mute);
}
.spec-cell .v {
  margin-top: 5px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--sov-cream);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 76px 0 46px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 44px;
}
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { margin-top: 18px; color: var(--text-soft); font-size: 15px; max-width: 34ch; }
.footer-meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sov-cobalt-bright);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-soft);
  font-size: 15px;
  padding: 5.5px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--sov-cobalt-bright); }
.footer-bottom {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 14px;
}
.footer-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
}
.footer-badges span {
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
}

/* Progressive Reveal & Cross-Document View Transitions */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(28px); }
.reveal-on [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease) .05s, transform .8s var(--ease) .05s;
}

@view-transition { navigation: auto; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(20px); } }
::view-transition-old(root) { animation: vt-out .18s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .36s var(--ease) both; }
::view-transition-group(site-nav),
::view-transition-old(site-nav),
::view-transition-new(site-nav) { animation: none; }
::view-transition-old(site-nav) { display: none; }

@media (max-width: 1160px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(4, 6, 30, .98);
    border-bottom: 1px solid var(--line);
    padding: 24px 28px 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .7);
  }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 78px; }
  .wrap, .wrap-wide, .nav-inner { padding: 0 20px; }
  .section, .section-tall, .section-mid { padding: 64px 0; }
  .spec-bar-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  @view-transition { navigation: none; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Sovmedya — Homepage Interactive Storytelling & Visual Engines
   1. CRT Phosphor Dot-Matrix Hero Beacon
   2. 3D Perspective Decision Telemetry Terminal (#telemetry)
   3. Scroll-Driven Signal Funnel Canvas + 4-Step Engineering Story (#signalFunnel)
   4. Zero-Shoot Creative Before/After + Live Panel Approval Studio (#studio)
   5. Cobalt Signal Thread + 6 Alternating Architecture Rows (#architecture)
   6. Global & Turkish Industrial Corridors Selector (#corridors)
   ========================================================================== */

/* 1. Hero + Phosphor Beacon */
.hero-home {
  position: relative;
  padding: 78px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(64% 58% at 50% 24%, rgba(59, 110, 255, .17), transparent 72%),
    linear-gradient(180deg, #030426 0%, var(--bg) 100%);
}
.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .72;
}
.hero-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-home-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(59, 110, 255, .42);
  background: rgba(7, 10, 38, .78);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sov-cobalt-bright);
}
.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sov-cobalt-bright);
  box-shadow: 0 0 12px var(--sov-cobalt);
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .32; } }

.hero-home h1 { margin-top: 24px; }
.hero-home .lede { margin: 24px auto 0; max-width: 64ch; }
.hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* 2. 3D Perspective Decision Telemetry Terminal */
.stage {
  perspective: 1600px;
  margin: 54px auto 0;
  max-width: 1040px;
}
.device {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #090D30 0%, #03041A 100%);
  border: 1px solid var(--line);
  box-shadow: 0 50px 130px rgba(0, 0, 0, .78), 0 0 90px rgba(59, 110, 255, .15);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .025);
}
.device-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #1D2554; }
.device-bar .dot:nth-child(1) { background: var(--sov-cobalt); }
.device-bar .dot:nth-child(2) { background: #2D4596; }
.device-bar .dot:nth-child(3) { background: #1A275E; }
.device-bar .title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-mute);
}
.device-bar .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--signal-ok);
}
.device-bar .live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-ok);
  box-shadow: 0 0 10px var(--signal-ok);
  animation: livePulse 1.6s infinite;
}
.device-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(2, 3, 22, .6);
  overflow-x: auto;
}
.device-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--text-mute);
  white-space: nowrap;
  transition: all .2s;
}
.device-tab:hover { color: var(--text); }
.device-tab.active {
  border-color: rgba(59, 110, 255, .5);
  background: rgba(59, 110, 255, .14);
  color: var(--sov-cream);
}
.device-screen {
  position: relative;
  padding: 26px 28px 32px;
  font-family: var(--font-mono);
  font-size: 14.5px;
  line-height: 1.95;
  min-height: 340px;
}
.device-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px);
}
.tline { white-space: pre-wrap; word-break: break-word; }
.t-cobalt { color: var(--sov-cobalt-bright); }
.t-cream { color: var(--sov-cream); }
.t-dim { color: var(--text-soft); }
.t-mute { color: var(--text-mute); }
.t-ok { color: var(--signal-ok); }
.t-drop { color: var(--signal-drop); }
.t-warn { color: var(--signal-warn); }
.cursor {
  display: inline-block;
  width: 8px;
  height: 17px;
  background: var(--sov-cobalt-bright);
  vertical-align: -3px;
  margin-left: 4px;
  animation: blinkCursor 1s steps(1) infinite;
}
@keyframes blinkCursor { 50% { opacity: 0; } }

/* 3. Signal Funnel Pinned 2D Canvas + 4-Step Engineering Story */
.funnel-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 52px;
  align-items: start;
  margin-top: 56px;
}
.funnel-story {
  display: grid;
  gap: 68px;
  padding: 8px 0 36px;
}
.f-step {
  border-left: 2px solid rgba(59, 110, 255, .34);
  padding: 6px 0 6px 26px;
  transition: border-color .3s;
}
.f-step.active,
.f-step:hover {
  border-left-color: var(--sov-cobalt-bright);
}
.f-step .f-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--sov-cobalt-bright);
  margin-bottom: 10px;
  font-weight: 600;
}
.f-step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -.02em;
  line-height: 1.12;
}
.f-step p {
  margin-top: 14px;
  font-size: clamp(16.5px, 1.65vw, 19px);
  color: var(--text-soft);
}
.f-step code {
  font-family: var(--font-mono);
  color: var(--sov-cobalt-bright);
  background: rgba(59, 110, 255, .13);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .88em;
}
.funnel-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
}
.funnel-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #080C2E 0%, #03051B 100%);
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .6);
}
.funnel-card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.funnel-card canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  display: block;
}
.funnel-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-soft);
}
.funnel-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lg-raw { background: #6E789E; }
.lg-drop { background: var(--signal-drop); }
.lg-ok { background: var(--signal-ok); }

/* 4. Zero-Shoot Studio (Before/After Slider + Live Approval Portal Preview) */
.studio-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  margin-top: 52px;
  align-items: stretch;
}
.ba-card, .portal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-deep));
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ba-stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: #050720;
  margin: 18px 0;
  user-select: none;
}
.ba-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.ba-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-soft);
}
.ba-slider {
  flex: 1;
  accent-color: var(--sov-cobalt-bright);
  cursor: ew-resize;
}
.portal-mock {
  margin: 18px 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: #101014;
  padding: 18px;
}
.portal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9b9ba4;
}
.portal-status {
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(61, 220, 151, .15);
  color: var(--signal-ok);
  font-weight: 600;
}
.portal-item {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: center;
}
.portal-thumb {
  height: 96px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 25%, rgba(59, 110, 255, .45), #050722 75%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sov-cream);
}
.portal-meta h4 { font-size: 16px; font-weight: 600; color: var(--sov-cream); }
.portal-meta p { margin-top: 4px; font-size: 13.5px; color: var(--text-soft); }
.portal-btns {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}
.pbtn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  transition: all .2s;
}
.pbtn-approve { background: var(--signal-ok); color: #04150E; border-color: transparent; }
.pbtn-revise { background: rgba(255, 255, 255, .05); color: var(--sov-cream); }
.pbtn.selected { box-shadow: 0 0 0 2px var(--sov-cobalt-bright); }
.portal-feedback {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--sov-cobalt-bright);
  min-height: 20px;
}

/* 5. Cobalt Signal Thread + Alternating Feature Rows */
.feature-rows {
  display: grid;
  gap: 88px;
  margin-top: 64px;
  position: relative;
}
.thread {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.feature-row.reverse .fvisual { order: -1; }
.feature-row .ftext h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: -.025em;
  line-height: 1.07;
}
.feature-row .ftext p {
  margin-top: 16px;
  font-size: clamp(17px, 1.85vw, 20.5px);
  color: var(--text-soft);
  max-width: 46ch;
}
.feature-row .ftext .link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--sov-cobalt-bright);
  font-weight: 600;
}
.feature-row .ftext .link-more:hover { text-decoration: underline; }
.fvisual {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #080C2E 0%, #03051A 100%);
  box-shadow: 0 28px 75px rgba(0, 0, 0, .55);
}
.fbar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .02);
}
.fbar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sov-cobalt-bright);
  box-shadow: 0 0 10px rgba(59, 110, 255, .65);
}
.fbar .fname {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.fvisual pre {
  margin: 0;
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
  overflow-x: auto;
  color: var(--text-soft);
}

/* 6. Global & Turkish Industrial Corridors Matrix */
.corridor-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.corridor-tab {
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-soft);
  transition: all .2s;
}
.corridor-tab:hover { border-color: var(--sov-cobalt-bright); color: var(--text); }
.corridor-tab.active {
  background: var(--sov-cobalt);
  border-color: var(--sov-cobalt);
  color: #FFFFFF;
}
.corridor-panel {
  display: none;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-deep));
  padding: 34px;
}
.corridor-panel.active {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: start;
}
.corridor-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
}
.corridor-panel p { margin-top: 14px; color: var(--text-soft); }
.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.city-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(59, 110, 255, .08);
  color: var(--sov-cream);
}
.corridor-aside {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(2, 4, 24, .7);
  padding: 22px;
}
.corridor-aside h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sov-cobalt-bright);
}
.corridor-aside ul {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--text-soft);
}
.corridor-aside ul li {
  padding-left: 16px;
  position: relative;
}
.corridor-aside ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sov-cobalt-bright);
}

/* Comparison Table (GEO Citation Magnet) */
.comp-wrap {
  margin-top: 44px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}
.comp-table th,
.comp-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px;
}
.comp-table th {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: rgba(2, 3, 22, .65);
}
.comp-table th.hl,
.comp-table td.hl {
  background: rgba(59, 110, 255, .10);
  color: var(--sov-cream);
  font-weight: 600;
}
.comp-table tr:last-child td { border-bottom: none; }

/* Stats & Trust Callout & FAQ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-deep));
  padding: 34px 28px;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  font-size: clamp(44px, 6.2vw, 80px);
  color: var(--sov-cobalt-bright);
}
.stat .num .u { font-size: .46em; color: var(--sov-cream); margin-left: 3px; }
.stat .label { margin-top: 16px; font-size: 17px; color: var(--text-soft); }

.callout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 88% -15%, rgba(59, 110, 255, .18), transparent 58%),
    linear-gradient(180deg, var(--bg-1), var(--bg-deep));
  padding: 52px;
}
.trust-eyebrow-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pulse-line { width: 160px; height: 24px; overflow: visible; }
.pulse-line path {
  fill: none;
  stroke: var(--sov-cobalt-bright);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.callout h2 { margin-top: 16px; max-width: 26ch; }
.callout p { margin-top: 16px; color: var(--text-soft); font-size: 18.5px; max-width: 68ch; }

.faq { max-width: 920px; margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 2.2vw, 25px);
  color: var(--sov-cream);
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .plus {
  color: var(--sov-cobalt-bright);
  font-family: var(--font-mono);
  font-size: 26px;
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  padding: 0 4px 28px;
  color: var(--text-soft);
  font-size: 17.5px;
  max-width: 76ch;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .funnel-grid,
  .studio-grid,
  .corridor-panel.active,
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .funnel-sticky { position: relative; top: 0; }
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .feature-row.reverse .fvisual { order: 0; }
  .thread { display: none; }
}
@media (max-width: 760px) {
  .hero-home { padding: 52px 0 64px; }
  .callout, .corridor-panel { padding: 28px 22px; }
  .device-screen { font-size: 12.5px; padding: 18px 16px; }
}

/* ==========================================================================
   Sovmedya — Subpages, Answer-First GEO Blocks, Pricing Cards & Hardened Intake Form
   ========================================================================== */

.page-hero {
  padding: 78px 0 64px;
  position: relative;
  background: radial-gradient(58% 60% at 24% 18%, rgba(59, 110, 255, .15), transparent 72%);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--sov-cobalt-bright); }
.page-hero h1 { margin-top: 14px; max-width: 22ch; }
.page-hero .lede { margin-top: 22px; max-width: 66ch; }
.cta-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* GEO Answer-First Summary Box (Engineered for AI Overviews / Perplexity / ChatGPT citation) */
.geo-summary {
  margin-top: 36px;
  max-width: 860px;
  border: 1px solid rgba(59, 110, 255, .38);
  border-left: 4px solid var(--sov-cobalt-bright);
  border-radius: 12px;
  background: rgba(7, 11, 42, .86);
  padding: 22px 26px;
}
.geo-summary .geo-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sov-cobalt-bright);
  margin-bottom: 8px;
}
.geo-summary p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--sov-cream);
}

/* Cards & Grids (Korusec pages.css evolved) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-deep));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  transition: border-color .25s, transform .25s var(--ease);
}
.card:hover { border-color: rgba(102, 144, 255, .55); }
.card.featured {
  border-color: var(--sov-cobalt);
  box-shadow: 0 20px 60px rgba(59, 110, 255, .14);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -.015em;
}
.card p { color: var(--text-soft); font-size: 16px; }
.card .msg {
  color: var(--text);
  font-size: 15.5px;
  border-left: 2px solid var(--sov-cobalt-bright);
  padding-left: 14px;
}
.card ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--text-soft);
  font-size: 15.5px;
}
.card ul li { padding-left: 18px; position: relative; }
.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .68em;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: var(--sov-cobalt-bright);
}
.tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--text-mute);
}
.tag.primary {
  border-color: rgba(59, 110, 255, .6);
  background: rgba(59, 110, 255, .14);
  color: var(--sov-cobalt-bright);
}
.price-line {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.price-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--sov-cream);
}
.price-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.card-link {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--sov-cobalt-bright);
}
.card-link:hover { text-decoration: underline; }

/* Turnstile-Protected Audit Intake & Contact Module (#intake) */
.intake-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 44px;
  align-items: start;
}
.intake-channels {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.channel-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-1);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.channel-card .ck {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-mute);
}
.channel-card .cv {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--sov-cobalt-bright);
  font-weight: 600;
}
.intake-form-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #080C2E 0%, #03051B 100%);
  padding: 34px 32px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .55);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(2, 4, 24, .85);
  color: var(--sov-cream);
  font-size: 15.5px;
  transition: border-color .2s, box-shadow .2s;
}
.field select option { background: #050824; color: var(--sov-cream); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sov-cobalt-bright);
  box-shadow: 0 0 0 3px rgba(59, 110, 255, .20);
}
.field textarea { min-height: 108px; resize: vertical; }

/* Honeypot trap — strictly external CSS (zero inline style) */
.hp-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.turnstile-slot {
  margin: 10px 0 18px;
  min-height: 66px;
}
.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  min-height: 22px;
}
.form-status.ok { color: var(--signal-ok); }
.form-status.err { color: var(--signal-drop); }
.form-privacy {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-mute);
}
.form-privacy a { color: var(--sov-cobalt-bright); text-decoration: underline; }

.wa-banner {
  display: none;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(61, 220, 151, .45);
  background: rgba(61, 220, 151, .10);
  color: var(--sov-cream);
  font-size: 14.5px;
}
.wa-banner.visible { display: block; }

.prose-block { max-width: 76ch; color: var(--text-soft); display: grid; gap: 18px; }
.prose-block h2 { font-family: var(--font-display); color: var(--sov-cream); font-size: 28px; margin-top: 18px; }
.prose-block h3 { font-family: var(--font-display); color: var(--sov-cream); font-size: 21px; margin-top: 10px; }

.nf {
  min-height: calc(100vh - var(--nav-h) - 280px);
  display: flex;
  align-items: center;
  padding: 96px 0;
}

@media (max-width: 980px) {
  .card-grid, .card-grid.four, .intake-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 52px 0 44px; }
  .card-grid.two, .form-row { grid-template-columns: 1fr; }
  .intake-form-box { padding: 24px 20px; }
}
