/* Fogical · tanıtım sitesi v2
   Palet uygulamanın fogical_pack.dart tokenlarından; tipografi Funnel Display + Funnel Sans. */

@font-face { font-family: "Funnel Display"; font-style: normal; font-display: swap; font-weight: 300 800;
  src: url(/fonts/funnel-display-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Funnel Display"; font-style: normal; font-display: swap; font-weight: 300 800;
  src: url(/fonts/funnel-display-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Funnel Sans"; font-style: normal; font-display: swap; font-weight: 300 800;
  src: url(/fonts/funnel-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Funnel Sans"; font-style: normal; font-display: swap; font-weight: 300 800;
  src: url(/fonts/funnel-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #060B17;
  --bg2: #0C1730;
  --surface: #0F1C36;
  --line: rgba(163, 179, 209, .16);
  --text: #F2F6FF;
  --dim: #A3B3D1;
  --accent: #1F6FEB;
  --accent2: #4C9BFF;
  --ok: #34C78A;
  --amber: #E8923D;
  --light: #EEF3FB;
  --ink: #0D1626;
  --ink-dim: #4A5A78;
  --ink-accent: #1A5FD0;

  --f-display: "Funnel Display", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Funnel Sans", ui-sans-serif, system-ui, sans-serif;

  --t-display: clamp(3rem, 7.4vw, 7.25rem);
  --t-h2: clamp(2.25rem, 5vw, 4.5rem);
  --t-h3: clamp(1.375rem, 1.8vw, 1.75rem);
  --t-lead: 1.1875rem;
  --t-body: 1.0625rem;
  --t-small: .875rem;
  --t-eyebrow: .8125rem;

  --pad: clamp(20px, 4vw, 48px);
  --sec: clamp(64px, 7vw, 112px);
  --r: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
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: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--t-body)/1.6 var(--f-body);
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
svg { flex-shrink: 0; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* tipografi */
.display { font: 700 var(--t-display)/.94 var(--f-display); letter-spacing: -.035em; text-wrap: balance; }
.display em { font-style: normal; color: var(--accent2); }
.h2 { font: 650 var(--t-h2)/1.02 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
.h3, .feats h3 { font: 600 var(--t-h3)/1.2 var(--f-display); letter-spacing: -.012em; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--dim); max-width: 34em; }
.body { color: var(--dim); max-width: 36em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--t-eyebrow)/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 199, 138, .6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(52, 199, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 138, 0); } }

/* düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 1rem/1 var(--f-body); text-decoration: none; transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #1A5FD0; }
.btn--ghost { border: 1.5px solid rgba(242, 246, 255, .3); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 1.125rem; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background-color .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(6, 11, 23, .78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 10px 12px; border-radius: 10px; font-size: .9375rem; color: #C4D0E8; text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--text); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 64px; isolation: isolate; overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform-origin: 30% 60%; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 11, 23, .95) 0%, rgba(6, 11, 23, .86) 40%, rgba(6, 11, 23, .5) 70%, rgba(6, 11, 23, .7) 100%),
    linear-gradient(180deg, rgba(6, 11, 23, .55) 0%, rgba(6, 11, 23, 0) 30%, rgba(6, 11, 23, 0) 62%, var(--bg) 100%); }
.hero__in { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 24px; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero .display { font-size: clamp(3rem, 6.2vw, 6rem); }
.hero .display em { white-space: nowrap; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(15, 28, 54, .55); font-size: var(--t-small); color: var(--dim); }
.hero__stage { position: relative; height: clamp(520px, 80svh, 860px); }
.hero__canvas { position: absolute; inset: -8% -12% -4% -14%; width: 126%; height: 112%; max-width: none; opacity: 0; transition: opacity .8s var(--ease); touch-action: pan-y; }
.is-3d .hero__canvas { opacity: 1; }
.duo { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .5s var(--ease); }
.is-3d .duo { opacity: 0; visibility: hidden; }
.duo .tab { position: absolute; width: 96%; transform: translate(-3%, -6%) rotate(-2deg); }
.duo .phone { position: absolute; width: min(124px, 21%); transform: translate(185%, 50%) rotate(5deg); }
.stage__cap { position: absolute; inset: auto 0 0; display: flex; justify-content: center; gap: 28px; font-size: var(--t-small); color: var(--dim); }
.stage__cap span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--accent2); }
.hero__scroll { position: absolute; left: 50%; bottom: 20px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border-radius: 50%; }
.hero__scroll span { width: 2px; height: 26px; border-radius: 2px; background: linear-gradient(var(--accent2), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- tablet çerçevesi (yatay Samsung; 3D yoksa ve içerik bölümlerinde) ---------- */
.tab { position: relative; padding: 3.2% 3.4%; border-radius: 5.2% / 8.4%; background: #03050a;
  box-shadow: 0 0 0 2px #7d8899, 0 0 0 4px #2b3446, 0 0 0 5px rgba(255, 255, 255, .08), 0 70px 110px -50px rgba(0, 0, 0, .85), 0 30px 50px -30px rgba(31, 111, 235, .4); }
.tab > img, .tab__stack { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 955; border-radius: 1.2% / 2%; }
.tab::after { content: ""; position: absolute; top: 1.4%; left: 50%; width: .9%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #0d121c; }
.tab__stack { position: relative; overflow: hidden; }
.tab__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.tab__stack img.is-on { opacity: 1; }

/* ---------- telefon çerçeveleri (CSS; 3D yoksa ve içerik bölümlerinde) ---------- */
.phone { position: relative; aspect-ratio: 440 / 956; padding: 2.4%; border-radius: 15.5% / 7.2%; background: #03050a;
  box-shadow: 0 0 0 2px #5b6f92, 0 0 0 4px #23314b, 0 0 0 5px rgba(255, 255, 255, .08), 0 60px 90px -40px rgba(0, 0, 0, .8), 0 24px 40px -24px rgba(31, 111, 235, .35); }
.phone > img, .phone__stack { width: 100%; height: 100%; object-fit: cover; border-radius: 13.4% / 6.2%; }
.phone--iphone::after { content: ""; position: absolute; z-index: 2; top: 3.3%; left: 50%; width: 27%; height: 3.1%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone--galaxy { aspect-ratio: 412 / 915; padding: 2%; border-radius: 9% / 4.1%;
  box-shadow: 0 0 0 2px #9aa6b8, 0 0 0 4px #3d4655, 0 0 0 5px rgba(255, 255, 255, .1), 0 60px 90px -40px rgba(0, 0, 0, .8); }
.phone--galaxy > img { border-radius: 7.6% / 3.4%; }
.phone--galaxy::after { content: ""; position: absolute; z-index: 2; top: 2.4%; left: 50%; width: 3.4%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #0b0f18; }
.phone__stack { position: relative; overflow: hidden; }
.phone__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.phone__stack img.is-on { opacity: 1; }

/* ---------- bölümler ---------- */
.sec { padding-block: var(--sec); position: relative; }
.head { display: grid; gap: 20px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }

/* yapı tipleri: genişleyen paneller */
.acc { display: flex; gap: 12px; height: min(74svh, 660px); max-width: 1320px; margin-inline: auto; padding-inline: var(--pad); }
.acc__item { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r); cursor: pointer; isolation: isolate; transition: flex-grow .7s var(--ease); outline-offset: 4px; }
.acc__item.is-open { flex-grow: 3.6; cursor: default; }
.acc__item img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.acc__item.is-open img { transform: scale(1); }
.acc__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 11, 23, .05) 25%, rgba(6, 11, 23, .6) 58%, rgba(6, 11, 23, .94) 100%); }
.acc__item:not(.is-open)::after { background: linear-gradient(180deg, rgba(6, 11, 23, .35), rgba(6, 11, 23, .9)); }
.acc__body { position: absolute; inset: auto 0 0 0; padding: clamp(20px, 2.4vw, 36px); display: grid; gap: 12px; }
.acc__body p { width: min(460px, 52vw); color: #D5DEEE; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease); }
@media (min-width: 821px) { .acc__item:not(.is-open) .acc__body p { position: absolute; } }
.acc__item.is-open .acc__body p { opacity: 1; transform: none; transition-delay: .28s; }
.acc__body .acc__meta { font-size: var(--t-small); color: var(--accent2); }
.acc__title { font: 650 var(--t-h3)/1.15 var(--f-display); letter-spacing: -.015em; }
.acc__item:not(.is-open) .acc__title { font-size: clamp(1.0625rem, 1.35vw, 1.375rem); }
.acc__item.is-open .acc__title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }

/* eski → yeni */
.sec--retro { background: #F3EEE4; color: var(--ink); }
.sec--retro .eyebrow { color: #A4521C; }
.sec--retro .body, .sec--retro .flow span { color: #56483A; }
.sec--retro .flow { border-left-color: rgba(86, 72, 58, .28); }
.sec--retro .flow li::before { background: #F3EEE4; border-color: #A4521C; }
.retro { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.retro__copy { display: grid; gap: 24px; justify-items: start; }
.flow { display: grid; gap: 0; margin-top: 12px; border-left: 1.5px solid var(--line); }
.flow li { position: relative; display: grid; gap: 4px; padding: 0 0 22px 24px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent2); }
.flow strong { font: 600 1.0625rem/1.3 var(--f-display); }
.flow span { color: var(--dim); font-size: .9375rem; }
.compare { --x: 50%; color: #fff; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare__a { filter: sepia(.25) saturate(.8); }
.compare__b { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.compare__bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 24px rgba(76, 155, 255, .8); }
.compare__bar::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18-6-6 6-6'/%3E%3Cpath d='m15 6 6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.compare__tag { position: absolute; top: 16px; padding: 7px 12px; border-radius: 999px; font-size: var(--t-small); font-weight: 600; background: rgba(6, 11, 23, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.compare__tag--a { left: 16px; }
.compare__tag--b { right: 16px; color: var(--ok); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare__range:focus-visible) .compare__bar::after { outline: 3px solid #fff; outline-offset: 3px; }

/* daire tableti: yapışkan geniş tablet + dar adımlar */
.sec--story { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%); }
.story { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 72px); }
.story__stick { position: sticky; top: calc(var(--nav-h) + 4svh); height: calc(100svh - var(--nav-h) - 8svh); display: grid; place-items: center; perspective: 1600px; }
.story__tab { width: min(100%, 118svh); transform-style: preserve-3d; will-change: transform; }
.story__steps { display: grid; }
.step { min-height: 44svh; display: grid; align-content: center; gap: 16px; padding-block: 24px; }
.step h3 { color: #8191B0; transition: color .4s var(--ease); }
.step p { color: #7C8CAC; max-width: 30em; transition: color .4s var(--ease); }
.step.is-on h3 { color: var(--text); }
.step.is-on p { color: var(--dim); }
.step__media { display: none; }

/* sistem zinciri */
.chain { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.chain::before { content: ""; position: absolute; left: 12%; right: 12%; top: 170px; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--accent2) 0 10px, transparent 10px 22px); background-size: 44px 2px; animation: flow 1.2s linear infinite; opacity: .7; }
@keyframes flow { to { background-position: 44px 0; } }
.chain__node { position: relative; z-index: 1; display: grid; gap: 12px; align-content: start; }
.chain__node img { width: 100%; height: 340px; object-fit: contain; padding: 22px; border-radius: var(--r); background: radial-gradient(120% 90% at 50% 0%, #15284d 0%, var(--surface) 60%); border: 1px solid var(--line); }
.chain__node .chain__phone { object-fit: contain; padding: 22px 0; }
.chain__node h3 { margin-top: 8px; }
.chain__node p { color: var(--dim); }

/* uygulama: açık bölüm */
.sec--app { background: var(--light); color: var(--ink); }
.sec--app .eyebrow { color: var(--ink-accent); }
.sec--app p { color: var(--ink-dim); }
.app { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.app__copy { display: grid; gap: 28px; }
.app__os { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 28px; border-top: 1px solid rgba(13, 22, 38, .14); }
.app__os div { display: grid; gap: 8px; }
.note { font-size: var(--t-small); }
.app__phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 560px; }
.dev { display: grid; gap: 16px; justify-items: center; }
.dev figcaption { font-size: var(--t-small); font-weight: 600; color: var(--ink); }
.dev--iphone { width: min(300px, 46%); z-index: 2; margin-right: -6%; }
.dev--galaxy { width: min(276px, 42%); transform: translateY(-8%); }
.sec--app .phone { box-shadow: 0 0 0 2px #5b6f92, 0 0 0 4px #23314b, 0 50px 80px -40px rgba(13, 22, 38, .55), 0 20px 30px -20px rgba(26, 95, 208, .35); }
.sec--app .phone--galaxy { box-shadow: 0 0 0 2px #b8c2d1, 0 0 0 4px #6b7585, 0 50px 80px -40px rgba(13, 22, 38, .5); }

/* özellikler */
.feats { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); }
.feats li { position: relative; display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.feats li::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--accent2); transition: width .5s var(--ease); }
.feats li:hover::before { width: 100%; }
.feats p { color: var(--dim); }

/* kapı açma yolları */
.sec--open { background: radial-gradient(70% 60% at 18% 45%, #10224A 0%, var(--bg) 72%); overflow: clip; }
.open { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.open__dev { perspective: 1200px; }
.open__dev img { display: block; width: min(100%, 400px); margin-inline: auto; border-radius: var(--r); box-shadow: 0 60px 90px -50px rgba(0, 0, 0, .85), 0 0 90px -24px rgba(76, 155, 255, .4); }
.open__copy { display: grid; gap: 24px; justify-items: start; }
.ways { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); width: 100%; margin-top: 8px; }
.ways li { display: grid; gap: 10px; align-content: start; padding: 24px 0; border-top: 1px solid var(--line); }
.ways img { width: 40px; height: 40px; }
.ways h3 { font: 650 var(--t-h3)/1.15 var(--f-display); letter-spacing: -.015em; }
.ways p { color: var(--dim); }

/* akıllı eve geçiş */
.sec--smart { background: var(--light); color: var(--ink); }
.sec--smart .eyebrow, .path__when { color: var(--ink-accent); }
.sec--smart .lead, .path p { color: var(--ink-dim); }
.smart__title { display: grid; gap: 20px; justify-items: start; }
.smart__screen { perspective: 1400px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.smart__screen img { width: 100%; height: auto; border: 10px solid #0B1220; border-radius: 22px; box-shadow: 0 0 0 1px #33415e, 0 60px 90px -50px rgba(13, 22, 38, .6), 0 24px 40px -24px rgba(26, 95, 208, .35); transform-origin: 50% 100%; }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.path li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 2px solid rgba(13, 22, 38, .16); }
.path li:first-child { border-top-color: var(--ink-accent); }
.path__when { font: 600 var(--t-eyebrow)/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.path h3 { font: 650 var(--t-h3)/1.15 var(--f-display); letter-spacing: -.015em; }

/* donanım */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.specs div { padding-top: 20px; border-top: 1px solid var(--line); }
.specs dt { font: 650 var(--t-h2)/1 var(--f-display); letter-spacing: -.03em; color: var(--text); }
.specs dd { margin-top: 10px; color: var(--dim); font-size: var(--t-small); }
.rail { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 0 max(var(--pad), calc((100vw - 1320px) / 2 + var(--pad))) 16px; scrollbar-width: thin; scrollbar-color: var(--surface) transparent; }
.rail figure { flex: 0 0 auto; scroll-snap-align: start; display: grid; gap: 10px; }
.rail img { height: clamp(240px, 30vw, 380px); width: auto; border-radius: 18px; background: var(--surface); }
.rail figcaption { font-size: var(--t-small); color: var(--dim); }

/* CTA */
.cta { position: relative; isolation: isolate; padding-block: clamp(96px, 12vw, 176px); text-align: center; overflow: clip; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(6, 11, 23, .72), rgba(6, 11, 23, .95)), linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.cta__in { display: grid; justify-items: center; gap: 28px; }
.cta .lead { color: #C9D4E8; }

.foot { border-top: 1px solid var(--line); padding-block: 32px; }
.foot__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: var(--t-small); color: var(--dim); }
.foot__in img { height: 22px; width: auto; }
.foot__in a { margin-left: auto; padding: 13px 0; color: var(--dim); }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__in .btn { margin-left: auto; }
  .head--split, .retro, .app, .open { grid-template-columns: 1fr; }
  .open__dev img { width: min(60%, 300px); }
  .feats { grid-template-columns: 1fr; }
  .app__phones { min-height: 0; }
}

/* ---------- mobil: yapışkan/pin yok, doğal kaydırma ---------- */
@media (max-width: 820px) {
  :root { --nav-h: 64px; --r: 20px; }
  .nav__logo img { height: 26px; }
  .hero { min-height: 0; padding-bottom: 40px; }
  .hero__in { grid-template-columns: 1fr; gap: 8px; }
  .hero__copy { gap: 22px; }
  .tags { flex-wrap: nowrap; width: calc(100% + 2 * var(--pad)); margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); overflow-x: auto; scrollbar-width: none; }
  .tags::-webkit-scrollbar { display: none; }
  .tags li { flex: 0 0 auto; white-space: nowrap; }
  .hero__stage { height: min(96vw, 500px); }
  .hero__canvas { inset: -4% -10% 0; width: 120%; height: 104%; }
  .hero__bg img { object-position: 22% 50%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(6, 11, 23, .9) 0%, rgba(6, 11, 23, .8) 45%, rgba(6, 11, 23, .55) 70%, var(--bg) 100%); }
  .hero__scroll { display: none; }
  .duo .phone { width: 22%; }

  .acc { height: auto; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; scrollbar-width: none; }
  .acc::-webkit-scrollbar { display: none; }
  .acc__item, .acc__item.is-open { flex: 0 0 84%; height: min(120vw, 540px); scroll-snap-align: center; cursor: default; }
  .acc__item img { transform: none; }
  .acc__item::after, .acc__item:not(.is-open)::after { background: linear-gradient(180deg, rgba(6, 11, 23, 0) 30%, rgba(6, 11, 23, .92) 100%); }
  .acc__body p { width: auto; opacity: 1; transform: none; }
  .acc__title, .acc__item.is-open .acc__title { font-size: 1.75rem; }

  .compare__range { display: none; }

  .story { grid-template-columns: 1fr; }
  .story__stick { display: none; }
  .story__steps { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 8px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .story__steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 min(78%, 340px); min-height: 0; align-content: start; gap: 10px; padding: 20px 20px 24px; scroll-snap-align: start; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
  .step { flex-basis: min(86%, 400px); }
  .step__media { display: block; width: 100%; margin: 0 0 10px; }
  .step h3, .step.is-on h3 { color: var(--text); }
  .step p, .step.is-on p { color: var(--dim); font-size: .9375rem; }

  .chain { grid-template-columns: 1fr; gap: 40px; }
  .chain::before { display: none; }
  .chain__node img { height: 240px; }

  .app__os { grid-template-columns: 1fr; }
  .feats li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .open__dev { display: none; }
  .ways { grid-template-columns: 1fr; }
  .ways li { grid-template-columns: 36px 1fr; column-gap: 14px; row-gap: 6px; padding: 20px 0; }
  .ways img { grid-row: span 2; width: 36px; height: 36px; }
  .ways h3 { font-size: 1.25rem; }
  .smart__screen img { aspect-ratio: 664 / 540; object-fit: cover; object-position: 0 0; border-width: 8px; border-radius: 18px; }
  .path { grid-template-columns: 1fr; gap: 24px; }
  .specs { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .foot__in a { margin-left: 0; }
}

@media (hover: none) {
  .compare__range { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* YAPAY ZEKÂ ASİSTAN */
.sec--ai { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.ai { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ai__chat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.ai__bar { display: flex; align-items: center; gap: 10px; padding: 4px 4px 16px; border-bottom: 1px solid var(--line); }
.ai__bar b { font: 600 1rem/1.2 var(--f-display); }
.ai__bar span:last-child { margin-left: auto; font-size: var(--t-small); color: var(--dim); }
.ai__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 199, 138, .18); }
.ai__log { display: grid; gap: 12px; padding-top: 16px; }
.ai__log > li { max-width: 88%; padding: 14px 16px; border-radius: 18px; line-height: 1.5; }
.ai__me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.ai__bot { justify-self: start; background: var(--bg2); border: 1px solid var(--line); border-bottom-left-radius: 6px; display: grid; gap: 10px; }
.ai__bot p { color: var(--dim); }
.ai__wx { display: flex; align-items: center; gap: 16px; }
.ai__wx > span:last-child { color: var(--dim); font-size: var(--t-small); }
.ai__wx b { color: var(--text); font-weight: 600; }
.ai__deg { font: 650 2.5rem/1 var(--f-display); letter-spacing: -.02em; }
.ai__deg small { font-size: 1.125rem; color: var(--dim); font-weight: 500; }
.ai__alert { justify-self: stretch; max-width: none !important; background: rgba(232, 146, 61, .12); border: 1px solid rgba(232, 146, 61, .45); color: var(--text); }
.ai__alert b { display: block; color: var(--amber); font: 600 var(--t-eyebrow)/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.ai__news { display: grid; gap: 8px; }
.ai__news li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 10px; font-size: var(--t-small); line-height: 1.45; }
.ai__news span { color: var(--accent2); font-weight: 600; }
.ai__chat figcaption { margin-top: 14px; font-size: var(--t-small); color: var(--dim); }
.ai__list li { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.ai__list li:first-child { border-top-color: var(--accent2); }
.ai__list p { color: var(--dim); }
.ai__list h3 { font: 600 var(--t-h3)/1.2 var(--f-display); letter-spacing: -.012em; }
.ai__note { margin-top: clamp(28px, 3vw, 44px); font-size: var(--t-small); color: var(--dim); max-width: 60em; }
@media (max-width: 1080px) { .ai { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .ai__chat { padding: 14px; }
  .ai__log > li { max-width: 100%; }
  .ai__bar span:last-child { display: none; }
  .ai__news li { grid-template-columns: 1fr; gap: 2px; }
  .ai__deg { font-size: 2rem; }
}
