/* SurfLexAI landing — Surf · Derin Okyanus (home page). Subpages use styles.css + surf-skin.css. */

@font-face { font-family: 'Geist'; font-weight: 400; font-display: swap; src: url('fonts/geist-regular.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 500; font-display: swap; src: url('fonts/geist-medium.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 600; font-display: swap; src: url('fonts/geist-semibold.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 700 800; font-display: swap; src: url('fonts/geist-bold.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('fonts/nunito-bold.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('fonts/nunito-extrabold.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 900; font-display: swap; src: url('fonts/nunito-black.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 400 600; font-display: swap; src: url('fonts/geist-mono-medium.woff2') format('woff2'); }

:root {
  --bg: #050a14;
  --bg-2: #07101f;
  --card: #0c1626;
  --card-2: #0f1c2e;
  --line: #1a2d47;
  --line-2: #24406a;
  --aqua: #3fe0d0;
  --aqua-2: #7af5ea;
  --teal: #1fa7b8;
  --ocean: #1f8fd6;
  --deep: #0b3a66;
  --sunset: #ffb547;
  --foam: #eaf6f8;
  --muted: #8fa6b8;
  --dim: #5a7085;
  --ink: #04121a;
  --grad: linear-gradient(120deg, #7af5ea 0%, #3fe0d0 35%, #1f8fd6 100%);
  --font-ui: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Nunito', 'Geist', -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace;
  --radius: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--bg); }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foam);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua); text-decoration: none; }
a:hover { color: var(--aqua-2); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(63, 224, 208, .35); color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.i18n-pending body { opacity: 0; }
body { transition: opacity .25s ease; }

/* ---------- Overline / eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--aqua);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 8px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M1 5c3 0 3-3 6-3s3 3 6 3 3-3 6-3 3 3 6 3' fill='none' stroke='%233fe0d0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  white-space: nowrap;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease), box-shadow .3s ease, background .3s ease, color .2s ease;
  isolation: isolate;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--aqua); color: var(--ink); box-shadow: 0 10px 34px -10px rgba(63, 224, 208, .7); }
.btn-primary:hover { color: var(--ink); box-shadow: 0 16px 44px -10px rgba(63, 224, 208, .9); }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 170%;
  z-index: -1;
  border-radius: 45% 55% 0 0 / 24% 28% 0 0;
  background: linear-gradient(180deg, var(--aqua-2), #36c9e0);
  transform: translateY(100%);
  transition: transform .6s var(--ease);
}
.btn-primary:hover::after { transform: translateY(12%); }
.btn-ghost { background: rgba(234, 246, 248, .04); border-color: var(--line-2); color: var(--foam); }
.btn-ghost:hover { background: rgba(63, 224, 208, .08); border-color: rgba(63, 224, 208, .5); color: var(--foam); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 60px; padding: 0 34px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(5, 10, 20, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: rgba(36, 64, 106, .5); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--foam); font-family: var(--font-display); font-weight: 900; font-size: 21px; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand img { width: 44px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand b { color: var(--aqua); font-weight: 900; }
.brand-name { display: inline; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav-link { display: inline-block; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 14.5px; transition: color .2s, background .2s; }
.nav-link:hover { color: var(--foam); background: rgba(234, 246, 248, .06); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
nav.open .nav-toggle .icon-open { display: none; }
nav.open .nav-toggle .icon-close { display: block; }

.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-family: var(--font-mono); font-size: 13px; color: var(--foam); }
.lang-btn:hover { border-color: rgba(63, 224, 208, .5); }
.lang-btn svg { width: 16px; height: 16px; color: var(--aqua); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; list-style: none; margin: 0; padding: 6px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s var(--ease); display: block !important; }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { width: 100%; text-align: left; display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; font-size: 14px; }
.lang-menu button:hover, .lang-menu button[aria-current="true"] { background: rgba(63, 224, 208, .1); color: var(--aqua); }
.lang-code { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); width: 22px; }

/* ---------- Scroll progress (a surf line) ---------- */
.surf-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.surf-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); box-shadow: 0 0 12px rgba(63, 224, 208, .8); }

/* ---------- Foam cursor ---------- */
.foam-layer { position: fixed; inset: 0; pointer-events: none; z-index: 70; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 108px 0 120px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
#ocean { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero-glow { position: absolute; width: 720px; height: 720px; left: 50%; top: 40%; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(circle, rgba(31, 143, 214, .18), transparent 60%); transform: translate(-50%, -50%); transition: transform .8s var(--ease); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(12, 22, 38, .7); border: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); backdrop-filter: blur(6px); }
.hero-badge i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(63, 224, 208, .14); }
.hero-badge i::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(63, 224, 208, .6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(63, 224, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 224, 208, 0); } }
.hero h1 { font-size: clamp(42px, 4.9vw, 72px); margin: 22px 0 22px; letter-spacing: -.025em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero .lede { font-size: clamp(17px, 1.5vw, 19.5px); color: #b7c8d6; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ''; width: 14px; height: 14px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fe0d0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; }
.d1 { animation-delay: .25s; } .d2 { animation-delay: .38s; } .d3 { animation-delay: .5s; } .d4 { animation-delay: .62s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
/* Hero: kısa başlık üstte, iki demo (çeviri + canlı avatar) yan yana — açılışta kaydırmadan görünsün */
.hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 64px; }
.hero .wrap > *, .hero-demos > * { min-width: 0; }
.hero-copy { text-align: center; max-width: 920px; margin: 0 auto; }
.hero h1 { font-size: clamp(42px, 4.6vw, 68px); margin: 18px 0 18px; }
.hero-plat { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px; border-radius: 999px;
  background: rgba(12, 22, 38, .72); border: 1px solid var(--line-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 14px; }
.plat { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; height: 34px; padding: 0 14px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--foam); font-weight: 600; }
.plat-logo { width: 22px; height: 22px; flex: 0 0 22px; }
.plat-sync { display: inline-grid; place-items: center; width: 26px; height: 26px; color: var(--aqua); }
.plat-sync svg { width: 18px; height: 18px; }
.plat-langs { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; color: var(--muted); }
.plat-short { display: none; }
.plat-soon { font-size: 11.5px; font-weight: 700; color: var(--sunset); padding: 2px 8px; border-radius: 999px; background: rgba(255, 181, 71, .13); border: 1px solid rgba(255, 181, 71, .3); }
.flags { display: inline-flex; align-items: center; gap: 5px; }
.flag { display: inline-block; width: 20px; height: 20px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.flag svg { display: block; width: 100%; height: 100%; }
.lang-menu .lang-flag { width: 20px; height: 14px; border-radius: 3px; margin-right: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.demo-tabs { display: none; }
.hero-caps { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-caps li { display: flex; align-items: center; gap: 11px; text-align: left; padding: 9px 18px 9px 9px; border-radius: 16px;
  background: rgba(12, 22, 38, .66); border: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-caps b { display: block; font-size: 15px; line-height: 1.25; color: var(--foam); }
.hero-caps small { display: block; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.cap-ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.cap-ico svg { width: 20px; height: 20px; }
.cap-ico.c1 { color: var(--aqua); background: rgba(63, 224, 208, .13); }
.cap-ico.c2 { color: var(--sunset); background: rgba(255, 181, 71, .13); }
.cap-ico.c3 { color: #7cc4ff; background: rgba(31, 143, 214, .18); }
.hero h1 .line { display: inline-block; }
.hero h1 .line:first-child { margin-right: .26em; }
.hero .lede { margin: 0 auto; max-width: 720px; }
.hero-actions { justify-content: center; margin-top: 24px; }
.hero-meta { justify-content: center; margin-top: 16px; }
.hero-demos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hero-demos .try-page { min-height: 0; padding-bottom: 204px; overflow: hidden; scroll-behavior: smooth; }
.hero-demos .try-hint { bottom: 170px; }
/* Hero'da "Kelimelerim" sayacı tarayıcı çubuğuna taşınır: metne yer kalsın, iki demo açılışta sığsın */
.hero-demos .try-tray { position: absolute; z-index: 3; top: 0; right: 12px; height: 40px; min-height: 0; margin: 0; padding: 0; gap: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-demos .try-tray-list { display: none; }
.hero-demos .try-tray-label { font-size: 12.5px; color: #cfe0ea; }
.hero-demos .try-tray-count { min-width: 22px; height: 22px; font-size: 11.5px; }
.hero-demos .browser-bar .url { margin-right: 150px; }
.hero-demos .try-done { display: none; }
.hero-demos .try-surfi { left: 168px; right: auto; top: -66px; width: 84px; height: 84px; }
.hero-demos .talk-stage { aspect-ratio: 16 / 9.6; }
.hero-demos .talk-log { height: 150px; }
@media (min-width: 1101px) {
  .hero { align-items: flex-start; padding-top: 96px; }
  .hero .lede { max-width: 860px; }
  /* Üç demo yan yana: çeviri · avatar · flashcard (en sağda) */
  .hero .wrap { width: min(1500px, 100% - 48px); }
  .hero-demos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  /* Wikipedia metni uzun: tarayıcı sabit yükseklikte, çubuk açılınca başlık gizlenir → metin yukarı kayar */
  .hero-demos .try-browser { height: 468px; }
  .hero-demos .try-page { height: calc(100% - 40px); padding-bottom: 240px; overflow: hidden; }
  .hero-demos .try-browser:has(.try-bar.open) .try-from,
  .hero-demos .try-browser:has(.try-bar.open) .try-title { display: none; }
  .hero-demos .try-hint { top: auto; bottom: 16px; }
}
/* Dar üç sütun (≤1519): çeviri sütunu biraz geniş, çubukta kelime kendi satırında */
@media (min-width: 1101px) and (max-width: 1519px) {
  .hero-demos { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .hero-demos .try-bar { grid-template-areas: 'word word' 'actions actions' 'chips chips' 'sent sent' 'ask ask'; padding: 12px 14px; }
  .hero-demos .tb-word { white-space: normal; }
  .hero-demos .tb-btn { height: 32px; padding: 0 11px; font-size: 13px; }
  .hero-demos .tb-btn.close { width: 32px; padding: 0; margin-left: auto; }
  .hero-demos .fc-r { font-size: 12px; }
  .hero-demos .fc-r svg { display: none; }
  .hero-demos .talk-pick b { display: none; }
  .hero-demos .talk-pick button { padding-right: 3px; }
  .hero-demos .talk-scn, .hero-demos .talk-sound span { display: none; }
  .hero-demos .talk-sound { padding: 0 9px; }
}
@media (max-height: 1120px) and (min-width: 1101px) {
  .hero { padding-top: 80px; }
  .hero .wrap { gap: 46px; }
  .hero h1 { font-size: clamp(36px, 3.5vw, 52px); margin: 10px 0 12px; }
  .hero-caps li { padding-top: 7px; padding-bottom: 7px; }
  .cap-ico { width: 34px; height: 34px; flex-basis: 34px; }
  .hero-actions { margin-top: 16px; }
  .hero-actions .btn-lg { height: 52px; font-size: 16px; }
  .hero-demos .try-page { padding-top: 18px; }
  .hero-demos .talk-log { height: 104px; }
}
@media (max-height: 880px) and (min-width: 1101px) {
  .hero { padding-top: 76px; }
  .hero .wrap { gap: 44px; }
  .hero-demos .talk-stage { aspect-ratio: 16 / 9; }
  .hero-demos .talk-log { height: 96px; }
}
@media (max-height: 800px) and (min-width: 1101px) {
  .hero { padding-top: 72px; }
  .hero .wrap { gap: 42px; }
  .hero-plat { font-size: 13px; }
  .plat { height: 30px; }
  .hero h1 { font-size: clamp(30px, 3vw, 40px); margin: 8px 0 8px; }
  .hero-caps small { display: none; }
  .hero-caps li { padding: 6px 14px 6px 6px; }
  .cap-ico { width: 30px; height: 30px; flex-basis: 30px; border-radius: 10px; }
  .hero-actions { margin-top: 12px; }
  .hero-actions .btn-lg { height: 46px; }
  .hero-demos .talk-stage { aspect-ratio: 16 / 8.2; }
  .hero-demos .talk-log { height: 84px; }
}
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(234, 246, 248, .75); z-index: 2; }
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; border: 2px solid rgba(234, 246, 248, .6); position: relative; }
.scroll-cue i::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--foam); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Try-it demo ---------- */
.try { position: relative; perspective: 1400px; }
.try-label { position: absolute; top: -34px; left: 6px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sunset); }
.try-label svg { width: 34px; height: 22px; }
.browser { position: relative; border-radius: 18px; background: #0a1322; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(63, 224, 208, .04) inset; overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #0d1829; border-bottom: 1px solid var(--line); }
.browser-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #24324a; }
.browser-bar > i:nth-child(1) { background: #ff6b6b; } .browser-bar > i:nth-child(2) { background: #ffb547; } .browser-bar > i:nth-child(3) { background: #3fe0a0; }
.browser-bar .url { flex: 1; margin: 0 8px 0 10px; height: 24px; line-height: 24px; padding: 0 12px; border-radius: 8px; background: rgba(5, 10, 20, .6); font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.try-browser { z-index: 1; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.try-page { position: relative; padding: 26px 28px 214px; min-height: 380px; background: linear-gradient(180deg, #f7fbfc, #eef5f8); color: #0e1b2b; }
.try-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #1f8fd6; }
.try-title { font-family: 'Linux Libertine', Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 30px; margin: 0; padding-bottom: 4px; color: #101418; border-bottom: 1px solid #a2a9b1; }
/* Wikipedia görünümü: serif başlık + alt çizgi, gri kaynak satırı, sans-serif gövde */
.try-from { margin: 6px 0 12px; font-size: 12.5px; color: #54595d; }
.try-credit { margin: 8px 6px 0; font-size: 11.5px; color: var(--dim); }
.try-credit a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(143, 166, 184, .4); text-underline-offset: 2px; }
.try-credit a:hover { color: var(--aqua); }
.try-text { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-size: 15.5px; line-height: 1.62; color: #202122; }
.tw { position: relative; cursor: pointer; border-radius: 4px; padding: 0 1px; background: linear-gradient(transparent 62%, rgba(63, 224, 208, .38) 62%); transition: background .25s ease, color .2s; -webkit-user-select: none; user-select: none; }
.tw:hover { background: linear-gradient(transparent 0, rgba(63, 224, 208, .3) 0); }
.tw.active { background: #1f6fd0; color: #fff; }
.tw.saved { background: rgba(63, 224, 208, .22); box-shadow: inset 0 -2px 0 #1fa7b8; }
/* Kaydedilen kelimenin metinde başka geçtiği yer: farklı renk (amber) */
.tw.echo { background: rgba(255, 181, 71, .26); box-shadow: inset 0 -2px 0 #e69a1f; }
.tw.echo.flash { animation: twecho 1.6s var(--ease) 1; }
.tw.rep { background: none; }
@keyframes twecho { 0% { box-shadow: inset 0 -2px 0 #e69a1f, 0 0 0 0 rgba(255, 181, 71, .7); } 40% { box-shadow: inset 0 -2px 0 #e69a1f, 0 0 0 7px rgba(255, 181, 71, 0); background: rgba(255, 181, 71, .5); } 100% { box-shadow: inset 0 -2px 0 #e69a1f; } }
.tw.active.echo { background: #1f6fd0; color: #fff; box-shadow: none; }
.tw.active.saved { background: #1f6fd0; color: #fff; box-shadow: none; }
.tw.pulse::after { content: ''; position: absolute; inset: -4px -6px; border-radius: 8px; border: 2px solid #1fa7b8; animation: twpulse 1.8s ease-out infinite; pointer-events: none; }
@keyframes twpulse { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }
.try-hint { position: absolute; left: 28px; bottom: 178px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #58708a; transition: opacity .3s; }
.try-hint svg { width: 16px; height: 16px; color: #1f8fd6; animation: tap 1.6s ease-in-out infinite; }
@keyframes tap { 50% { transform: translate(2px, 2px) scale(.9); } }
.try.touched .try-hint { opacity: 0; }

.hero-demos .try-bar { grid-template-areas: 'word word' 'actions actions' 'chips chips' 'sent sent' 'ask ask'; }
.hero-demos .tb-btn.close { margin-left: auto; }
.try-bar { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(12, 22, 38, .96); border: 1px solid rgba(63, 224, 208, .35); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .85); color: var(--foam); transform: translateY(calc(100% + 30px)); transition: transform .55s var(--ease); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'word actions' 'chips chips' 'sent sent' 'ask ask'; gap: 8px 14px; align-items: start; }
.try-bar.open { transform: none; }
.tb-word { font-family: var(--font-display); font-weight: 900; font-size: 19px; color: var(--aqua); white-space: nowrap; padding-top: 2px; }
.tb-chips { grid-area: chips; display: flex; flex-wrap: wrap; gap: 6px; }
.tb-chip { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; padding: 4px 10px; border-radius: 999px; border: 1px dashed rgba(143, 166, 184, .45); font-size: 13.5px; }
.tb-chip b { font-weight: 600; }
.tb-chip i { font-style: normal; font-size: 10.5px; color: var(--muted); }
.tb-chip.ctx { border-style: solid; border-color: rgba(63, 224, 208, .55); background: rgba(63, 224, 208, .08); }
.tb-chip.ctx i { color: var(--aqua); }
/* Cümle bağlamı — eklentideki gibi: orijinal (italik, turkuaz) ve çeviri (düz, mavi) ayrı kutularda */
.tb-sent { grid-area: sent; display: grid; gap: 6px; padding: 9px 10px; border-radius: 10px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); }
.tb-sent-label { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.tb-sent-label svg { width: 13px; height: 13px; }
.tb-line { position: relative; padding: 7px 30px 7px 11px; border-radius: 8px; font-size: 13px; line-height: 1.55; }
.tb-line.src { background: rgba(63, 224, 208, .07); border: 1px solid rgba(63, 224, 208, .22); border-left: 3px solid rgba(63, 224, 208, .85); color: rgba(240, 253, 250, .95); font-style: italic; }
.tb-line.tr { background: rgba(42, 155, 216, .08); border: 1px solid rgba(90, 200, 232, .22); border-left: 3px solid rgba(90, 200, 232, .9); color: rgba(205, 239, 247, .92); }
.tb-line mark { padding: 1px 5px; margin: 0 1px; border-radius: 5px; font-weight: 650; font-style: inherit; color: #ecfeff; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tb-line.src mark { background: rgba(63, 224, 208, .38); }
.tb-line.tr mark { background: rgba(90, 200, 232, .42); color: #eef9fb; }
.tb-spk { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: rgba(63, 224, 208, .75); cursor: pointer; transition: background .2s, color .2s; }
.tb-spk svg { width: 15px; height: 15px; }
.tb-spk:hover { background: rgba(63, 224, 208, .14); color: var(--aqua); }
.tb-spk:focus-visible { outline: 2px solid var(--aqua); outline-offset: 1px; }
.tb-line .tb-spk { position: absolute; right: 4px; bottom: 4px; }
.tb-line.tr .tb-spk { color: rgba(90, 200, 232, .8); }
.tb-actions { grid-area: actions; display: flex; gap: 6px; }
.tb-btn { height: 36px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; position: relative; overflow: hidden; isolation: isolate; }
.tb-btn svg { width: 15px; height: 15px; }
.tb-btn.save { background: linear-gradient(120deg, #3fe0d0, #1f8fd6); border: 0; color: var(--ink); }
.tb-btn.save.done { background: rgba(34, 197, 94, .18); color: #4ade80; border: 1px solid rgba(74, 222, 128, .4); }
.tb-btn.close { width: 36px; padding: 0; justify-content: center; color: var(--muted); }
.tb-btn.sweep::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: 0; height: 160%; z-index: -1; border-radius: 45% 55% 0 0 / 22% 26% 0 0; background: linear-gradient(180deg, rgba(122, 245, 234, .6), rgba(31, 143, 214, .4)); transform: translateY(100%); animation: tide .9s var(--ease) forwards; }
@keyframes tide { 55% { transform: translateY(8%); } 100% { transform: translateY(100%); opacity: 0; } }

.try-tray { margin-top: 16px; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: 16px; background: rgba(12, 22, 38, .75); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.try-tray-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--foam); white-space: nowrap; }
.try-tray-label svg { width: 18px; height: 18px; color: var(--aqua); }
.try-tray-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--aqua); color: var(--ink); font-family: var(--font-mono); font-size: 12px; font-weight: 700; transition: transform .3s var(--ease); }
.try-tray-count.bump { transform: scale(1.35); }
.try-tray-list { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.try-tray-list .empty { font-size: 13px; color: var(--dim); }
.tray-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(63, 224, 208, .1); border: 1px solid rgba(63, 224, 208, .3); font-size: 13px; font-weight: 600; animation: pop .5s var(--ease); }
.tray-chip small { font-weight: 400; color: var(--muted); font-size: 12px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
.fly-chip { position: fixed; z-index: 80; pointer-events: none; padding: 4px 12px; border-radius: 999px; background: var(--aqua); color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px -6px rgba(63, 224, 208, .8); transition: transform .8s cubic-bezier(.5, -0.3, .3, 1), opacity .8s ease; }
.try-done { margin-top: 10px; font-size: 13.5px; color: var(--aqua-2); min-height: 1.4em; }
.try-surfi { position: absolute; width: 112px; height: 112px; right: 26px; top: -84px; z-index: 0; pointer-events: none; transition: transform .6s var(--ease); filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5)); }
.try-surfi.cheer { animation: cheer .9s var(--ease); }
@keyframes cheer { 30% { transform: translateY(-26px) rotate(-8deg); } 60% { transform: translateY(-6px) rotate(4deg); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 130px 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); margin: 18px 0 18px; letter-spacing: -.02em; }
.section-head p { font-size: 18px; color: #a9bccb; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .07s; } .stagger.in > *:nth-child(3) { transition-delay: .14s; }
.stagger.in > *:nth-child(4) { transition-delay: .21s; } .stagger.in > *:nth-child(5) { transition-delay: .28s; }
.stagger.in > *:nth-child(6) { transition-delay: .35s; } .stagger.in > *:nth-child(7) { transition-delay: .42s; }
.stagger.in > *:nth-child(8) { transition-delay: .49s; }

/* Wave divider between the hero and the next section */
.wave-sep { display: block; width: 100%; height: 90px; margin-top: -1px; }

/* ---------- Word river (text on a wave path) ---------- */
.river { padding: 20px 0 30px; overflow: hidden; }
.river svg { display: block; width: 100%; height: 150px; overflow: visible; }
.river text { font-family: var(--font-display); font-weight: 900; font-size: 38px; fill: rgba(234, 246, 248, .9); letter-spacing: .01em; }
.river text .l { font-family: var(--font-mono); font-size: 14px; font-weight: 500; fill: var(--aqua); letter-spacing: .1em; }
.river text .s { fill: var(--dim); }
.river .river-line { fill: none; stroke: url(#riverGrad); stroke-width: 1.5; opacity: .35; }

/* ---------- How it works: sticky scroll story ---------- */
.how { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.story { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 56px; align-items: start; }
.story-steps { display: flex; flex-direction: column; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .32; transition: opacity .5s ease; }
.step.active { opacity: 1; }
.step-num { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--aqua); letter-spacing: .12em; }
.step-num b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(63, 224, 208, .1); border: 1px solid rgba(63, 224, 208, .35); font-size: 15px; color: var(--aqua); }
.step h3 { font-size: clamp(34px, 3.8vw, 50px); margin: 16px 0 14px; }
.step p { font-size: 17.5px; color: #a9bccb; max-width: 440px; }
.step .step-img { display: none; }
.story-stage { position: sticky; top: calc(50vh - 230px); }
.stage-frame { position: relative; aspect-ratio: 1400 / 857; }
.stage-frame .browser { position: absolute; inset: 0; opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .7s var(--ease), transform .7s var(--ease); display: flex; flex-direction: column; }
.stage-frame .browser.active { opacity: 1; transform: none; }
.stage-frame .browser img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: center bottom; }
.stage-cap { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.stage-meter { position: absolute; left: -32px; top: 10%; bottom: 10%; width: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.stage-meter span { position: absolute; left: 0; right: 0; top: 0; height: 33.4%; background: var(--grad); border-radius: 3px; transition: transform .6s var(--ease); }

/* ---------- Feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  --x: 50%; --y: 50%;
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 28, 46, .9), rgba(10, 19, 34, .9));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .3s ease, transform .5s var(--ease);
}
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease; background: radial-gradient(420px circle at var(--x) var(--y), rgba(63, 224, 208, .13), transparent 45%); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .35s ease; background: radial-gradient(260px circle at var(--x) var(--y), rgba(63, 224, 208, .7), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 21px; margin: 18px 0 8px; font-weight: 800; }
.card p { font-size: 15px; color: #9fb3c4; }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(63, 224, 208, .1); border: 1px solid rgba(63, 224, 208, .25); color: var(--aqua); }
.card .ico svg { width: 24px; height: 24px; }
.card:hover .ico svg { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-2px); } }
.card .pro { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; vertical-align: 3px; color: var(--sunset); background: rgba(255, 181, 71, .12); border: 1px solid rgba(255, 181, 71, .3); }
.card.wide { grid-column: span 2; }
.card.tall { grid-row: span 2; display: flex; flex-direction: column; }
.hl-demo { margin-top: 22px; padding: 18px; border-radius: 14px; background: #f3f8fa; color: #1d2c3e; font-family: Georgia, serif; font-size: 16px; line-height: 1.8; }
.hl-demo span { background: rgba(63, 224, 208, .25); box-shadow: inset 0 -2px 0 #1fa7b8; border-radius: 3px; padding: 0 2px; animation: hlglow 3s ease-in-out infinite; }
.hl-demo span:nth-of-type(2) { animation-delay: 1s; } .hl-demo span:nth-of-type(3) { animation-delay: 2s; }
@keyframes hlglow { 50% { background: rgba(63, 224, 208, .5); } }
.lang-pair { flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px 0 8px; font-family: var(--font-display); font-weight: 900; font-size: 58px; line-height: 1; }
.lang-pair b { min-width: 1.6em; text-align: center; transition: opacity .35s ease, transform .35s var(--ease); }
.lang-pair b.swap { opacity: 0; transform: translateY(12px); }
.lang-pair b:last-child { color: var(--aqua); }
.lang-pair svg { flex: none; width: 52px; height: 28px; color: var(--aqua); opacity: .8; }
.lang-flow { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.lang-flow span { font-family: var(--font-mono); font-size: 13px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--foam); transition: all .3s ease; }
.card:hover .lang-flow span { border-color: rgba(63, 224, 208, .4); }
.lang-flow span.on { background: var(--aqua); color: var(--ink); border-color: var(--aqua); }
.forms-demo { margin-top: 18px; display: grid; gap: 6px; }
.forms-demo div { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(5, 10, 20, .5); border-left: 3px solid var(--aqua); font-size: 14px; }
.forms-demo div:nth-child(2) { border-color: #ff8fa3; } .forms-demo div:nth-child(3) { border-color: var(--sunset); }
.forms-demo em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted); width: 44px; }
.forms-demo b { font-weight: 600; }
.forms-demo span { margin-left: auto; color: var(--aqua); font-size: 13px; }

/* ---------- Practice ---------- */
.practice { background: radial-gradient(700px 420px at 78% 42%, rgba(31, 143, 214, .12), transparent 70%); }
.modes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.mode { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(12, 22, 38, .8); border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; transition: all .3s var(--ease); }
.mode:hover { border-color: rgba(63, 224, 208, .5); transform: translateY(-2px); }
.mode svg { width: 16px; height: 16px; color: var(--aqua); }
.mode .pro { font-family: var(--font-mono); font-size: 10px; color: var(--sunset); }
.practice-grid { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
.ptabs { display: flex; flex-direction: column; gap: 10px; }
.ptab { position: relative; text-align: left; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: all .35s var(--ease); overflow: hidden; }
.ptab h4 { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.ptab h4 small { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--sunset); letter-spacing: .08em; }
.ptab p { font-size: 14.5px; color: var(--muted); margin-top: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s ease; }
.ptab.active { border-color: rgba(63, 224, 208, .45); background: rgba(63, 224, 208, .06); }
.ptab.active p { max-height: 160px; opacity: 1; }
.ptab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }
.ptab.active .bar { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.pstage { position: relative; aspect-ratio: 16 / 10; }
.pstage .browser { position: absolute; inset: 0; opacity: 0; transform: scale(.96) translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); display: flex; flex-direction: column; }
.pstage .browser.active { opacity: 1; transform: none; }
.pstage .browser .shot { flex: 1; min-height: 0; display: grid; place-items: center; background: #060d18; padding: 16px; }
.pstage .browser .shot { position: relative; }
.pstage .browser .shot img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; border-radius: 10px; }

/* ---------- Mobile ---------- */
.mobile { overflow: hidden; background: linear-gradient(180deg, var(--bg), #061426 60%, var(--bg)); }
.mobile .badge .play-logo { width: 16px; height: 16px; flex: none; }
.mobile .badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255, 181, 71, .12); color: var(--sunset); border: 1px solid rgba(255, 181, 71, .3); }
.phones { position: relative; height: 620px; margin: 20px auto 0; perspective: 1600px; display: flex; justify-content: center; align-items: center; }
.phones-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.phone { position: absolute; left: 50%; top: 50%; width: 270px; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #1d2d44, #0a1424); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(122, 245, 234, .12); transition: transform .9s var(--ease), filter .5s ease; }
.phone::before { content: ''; position: absolute; top: 17px; left: 50%; width: 64px; height: 17px; margin-left: -32px; border-radius: 12px; background: #04080f; z-index: 2; }
.phone .scr { position: relative; width: 100%; aspect-ratio: 1080 / 1920; border-radius: 31px; overflow: hidden; background: #060d18; }
.phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone.p1 { transform: translate(-50%, -50%) translateX(-560px) translateZ(-260px) rotateY(26deg) scale(.86); filter: brightness(.55); }
.phone.p2 { transform: translate(-50%, -50%) translateX(-290px) translateZ(-120px) rotateY(16deg) scale(.93); filter: brightness(.78); }
.phone.p3 { transform: translate(-50%, -50%) translateZ(40px); z-index: 3; }
.phone.p4 { transform: translate(-50%, -50%) translateX(290px) translateZ(-120px) rotateY(-16deg) scale(.93); filter: brightness(.78); }
.phone.p5 { transform: translate(-50%, -50%) translateX(560px) translateZ(-260px) rotateY(-26deg) scale(.86); filter: brightness(.55); }
.phones:not(.ready) .phone { transform: translate(-50%, -50%) translateY(120px) scale(.8); opacity: 0; }
.phones.ready .phone { opacity: 1; transition: transform 1.1s var(--ease), opacity .8s ease, filter .5s ease; }
.phone:hover { filter: brightness(1); }
.phone-cap { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
.mfeat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 90px; }
.mfeat .card { padding: 22px; }
.mfeat .card h3 { font-size: 18px; margin-top: 14px; }
.mfeat .card p { font-size: 14.5px; }
.beta-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14.5px; }

/* ---------- Goal (interactive tide) + sync ---------- */
.goal-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.goal-card { position: relative; min-height: 530px; border-radius: 28px; overflow: hidden; background: var(--card); border: 1px solid rgba(63, 224, 208, .2); isolation: isolate; }
.goal-water { position: absolute; inset: 0; width: 100%; height: 100%; }
.goal-water path { transition: d 1.2s var(--ease); }
.goal-back { animation: drift 7s linear infinite; }
.goal-front { animation: drift-rev 4.2s linear infinite; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-180px); } }
@keyframes drift-rev { from { transform: translateX(-180px); } to { transform: translateX(0); } }
.goal-mascot { position: absolute; right: 7%; bottom: 6px; width: 190px; height: 190px; transition: transform 1.2s var(--ease); }
.goal-text { position: relative; z-index: 2; padding: 30px 32px; max-width: 330px; }
.goal-top { display: flex; align-items: center; gap: 10px; }
.goal-top .ov { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.goal-badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 8px; background: rgba(251, 191, 36, .16); color: #fbbf24; transition: all .3s; }
.goal-badge.ok { background: rgba(34, 197, 94, .16); color: #4ade80; }
.goal-count { font-family: var(--font-display); font-weight: 900; font-size: 104px; line-height: 1; margin-top: 12px; color: var(--aqua); text-shadow: 0 0 40px rgba(63, 224, 208, .45); font-variant-numeric: tabular-nums; }
.goal-count small { font-size: 36px; color: var(--dim); text-shadow: none; }
.goal-card.done .goal-count { color: #4ade80; text-shadow: 0 0 40px rgba(74, 222, 128, .5); }
.goal-msg { margin-top: 10px; font-weight: 600; font-size: 16px; min-height: 3em; }
.goal-tasks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.goal-tasks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .4s var(--ease); }
.goal-tasks i { width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(63, 224, 208, .45); position: relative; flex: none; transition: background .3s var(--ease), border-color .3s var(--ease); }
.goal-tasks i::after { content: ""; position: absolute; left: 6px; top: 1px; width: 6px; height: 11px; border: solid #04222b; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.goal-tasks li.on { color: var(--foam); }
.goal-tasks li.on i { background: var(--aqua); border-color: var(--aqua); }
.goal-tasks li.on i::after { transform: rotate(45deg) scale(1); }
.goal-streak { position: absolute; top: 24px; right: 24px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: #0c1f30; border: 1px solid rgba(63, 224, 208, .3); color: var(--aqua); font-family: var(--font-display); font-weight: 900; font-size: 17px; }
.goal-streak svg { width: 20px; height: 20px; }
.goal-control { position: absolute; left: 32px; right: 32px; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(5, 10, 20, .55); border: 1px solid rgba(234, 246, 248, .12); backdrop-filter: blur(8px); }
.goal-control label { font-size: 13px; color: var(--foam); white-space: nowrap; }
.goal-control input[type="range"] { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--aqua) var(--p, 30%), rgba(234, 246, 248, .18) var(--p, 30%)); cursor: pointer; }
.goal-control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--aqua); box-shadow: 0 0 0 6px rgba(63, 224, 208, .2); }
.goal-control input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--aqua); }
.sync-card { display: flex; flex-direction: column; padding: 30px; }
.sync-card h3 { font-size: 28px; margin: 0 0 10px; }
.sync-viz { position: relative; flex: 1; min-height: 210px; margin-top: 18px; }
.sync-viz svg { width: 100%; height: 100%; overflow: visible; }
.sync-dev { font-family: var(--font-mono); font-size: 11px; fill: var(--muted); letter-spacing: .1em; }
.sync-path { fill: none; stroke: rgba(63, 224, 208, .35); stroke-width: 2; stroke-dasharray: 5 7; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.sync-word rect { fill: var(--aqua); }
.sync-word text { font-family: var(--font-ui); font-weight: 700; font-size: 13px; fill: var(--ink); }
.sync-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sync-list span { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }

/* ---------- Pricing teaser ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.plan { padding: 34px; display: flex; flex-direction: column; }
.plan > .btn { margin-top: auto; }
.plan h3 { font-size: 24px; margin: 0; }
.plan .price { font-family: var(--font-display); font-weight: 900; font-size: 54px; margin: 12px 0 4px; line-height: 1; }
.plan .price small { font-size: 18px; color: var(--muted); font-weight: 700; }
.plan .pnote { font-size: 13.5px; color: var(--muted); min-height: 2.8em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: #c9d7e2; }
.plan li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fe0d0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 15c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/%3E%3C/svg%3E"); }
.plan.featured { border-color: rgba(63, 224, 208, .45); background: linear-gradient(180deg, rgba(20, 58, 80, .55), rgba(10, 19, 34, .95)); box-shadow: 0 40px 90px -40px rgba(63, 224, 208, .45); }
.plan-tag { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; background: rgba(255, 181, 71, .14); color: var(--sunset); border: 1px solid rgba(255, 181, 71, .35); }
.plan .btn { width: 100%; }
.plans-foot { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: rgba(12, 22, 38, .6); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(63, 224, 208, .35); background: rgba(12, 22, 38, .95); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fe0d0' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 24px 22px; color: #a9bccb; font-size: 15.5px; }

/* ---------- Final CTA ---------- */
.final { position: relative; padding: 150px 0 0; text-align: center; overflow: hidden; }
.final h2 { font-size: clamp(38px, 5.6vw, 72px); letter-spacing: -.025em; max-width: 900px; margin: 18px auto 18px; }
.final p { color: #a9bccb; font-size: 18px; max-width: 560px; margin: 0 auto 34px; }
.final-sea { position: relative; height: 300px; margin: 40px 0 -2px; }
.final-sea [data-surfi] { position: absolute; left: 50%; bottom: 0; width: 100%; height: 300px; transform: translateX(-50%); }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; background: #0e4e8a; background: linear-gradient(180deg, #0e4e8a 0%, #072a4c 38%, #04101f 100%); padding: 36px 0 44px; color: rgba(234, 246, 248, .8); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand { font-size: 18px; }
.site-footer .brand img { width: 36px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer a { color: rgba(234, 246, 248, .8); }
.site-footer a:hover { color: #fff; }
.foot-note { width: 100%; color: rgba(234, 246, 248, .5); font-size: 13px; }


/* ---------- Try-it: live phrase selection + ask ---------- */
.try-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 24px; height: 24px; pointer-events: none; opacity: 0; transition: transform .75s cubic-bezier(.45, 0, .2, 1), opacity .3s ease; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); }
.try-cursor svg { width: 100%; height: 100%; transition: transform .15s ease; transform-origin: 20% 15%; }
.try-cursor.on { opacity: 1; }
.try-cursor.press svg { transform: scale(.8); }
.try-cursor::after { content: ''; position: absolute; left: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #3fe0d0; opacity: 0; }
.try-cursor.press::after { animation: clickring .5s ease-out; }
@keyframes clickring { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
.tw.sel { background: linear-gradient(#1f6fd0, #1f6fd0) no-repeat left center / 0% 100%; color: inherit; transition: background-size .9s linear, color .9s steps(1, end); }
.tw.sel.sweep { background-size: 100% 100%; color: #fff; }
.tb-word { grid-area: word; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.tb-word strong { font-weight: 900; }
.tb-phrase { display: none; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--sunset); padding: 2px 7px; border-radius: 6px; background: rgba(255, 181, 71, .12); border: 1px solid rgba(255, 181, 71, .3); }
.try-bar.phrase .tb-phrase { display: inline-block; }
.tb-btn.ask { display: none; color: var(--aqua); border-color: rgba(63, 224, 208, .45); }
.try-bar.phrase .tb-btn.ask { display: inline-flex; }
.tb-btn.ask.flash { background: rgba(63, 224, 208, .16); }
.tb-askbox { grid-area: ask; display: grid; gap: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .3s ease; }
.try-bar.asking .tb-askbox { max-height: 220px; opacity: 1; }
.try-bar.asking .tb-sent, .try-bar.asking .tb-chips { display: none; }
.tb-q { justify-self: end; max-width: 85%; padding: 7px 12px; border-radius: 14px 14px 4px 14px; background: linear-gradient(120deg, #3fe0d0, #1f8fd6); color: var(--ink); font-size: 13.5px; font-weight: 600; }
.tb-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: caret .8s steps(1) infinite; }
.tb-q.typed .tb-caret { display: none; }
/* Yazarken: giriş kutusu gibi; bitince gönderilmiş mesaja dönüşür */
.tb-q { transition: background .3s, border-color .3s; border: 1px solid transparent; }
.tb-q.composing { justify-self: stretch; max-width: 100%; min-height: 36px; border-radius: 12px; background: rgba(5, 10, 20, .75); border-color: var(--aqua); color: var(--foam); font-weight: 500; box-shadow: 0 0 0 3px rgba(63, 224, 208, .12); }
.tb-q.composing .tb-caret { background: var(--aqua); }
@keyframes caret { 50% { opacity: 0; } }
.tb-a { max-width: 92%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: rgba(234, 246, 248, .06); border: 1px solid var(--line-2); font-size: 13.5px; line-height: 1.5; color: #d6e4ee; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s var(--ease); }
.tb-a.show { opacity: 1; transform: none; }
.tb-a::before { content: 'AI'; display: inline-block; margin-right: 8px; padding: 0 6px; border-radius: 6px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: var(--ink); background: var(--aqua); vertical-align: 1px; }

/* ---------- How it works: flashcard + avatar stage ---------- */
.stage-frame .fc-browser { right: 30%; }
.fc-browser img { object-fit: contain !important; background: #07101c; }
.stage-phone { left: auto; top: auto; right: 2%; bottom: -34px; width: 30%; max-width: 220px; z-index: 3; opacity: 0; transform: translateY(40px) rotate(4deg); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.stage-phone.active { opacity: 1; transform: rotate(3deg); }
.step-img.duo { position: relative; padding-bottom: 30px; }
.step-img.duo .fc-browser { width: 68%; }
.step-img.duo .stage-phone { position: absolute; right: 0; bottom: 0; width: 33%; opacity: 1; transform: rotate(3deg); }

/* ---------- Zoom lens over real screenshots ---------- */
[data-zoom] { cursor: zoom-in; }
.zoom-lens { position: fixed; z-index: 75; width: 260px; height: 180px; border-radius: 18px; pointer-events: none; background-repeat: no-repeat; border: 2px solid rgba(63, 224, 208, .75); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .9), 0 0 0 6px rgba(63, 224, 208, .12); opacity: 0; transform: scale(.85); transition: opacity .2s ease, transform .25s var(--ease); background-color: #060d18; }
.zoom-lens.on { opacity: 1; transform: none; }

/* ---------- Pricing: term switch, later price, countdown ---------- */
.term-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 16px 0 6px; border-radius: 999px; background: rgba(5, 10, 20, .55); border: 1px solid var(--line-2); }
.term-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 8px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .25s, color .25s; }
.term-btn:hover { color: var(--foam); }
.term-btn.active { background: var(--foam); color: var(--ink); }
.term-save { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; color: var(--ink); background: var(--aqua); white-space: nowrap; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-row .price { margin-bottom: 0; }
.price-was { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 14px; }
.price-was del { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #8fa6b8; text-decoration: line-through 2.5px; text-decoration-color: #ff6b6b; }
.price-was + .price-row .price { margin-top: 2px; }
.limited-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--sunset); background: rgba(255, 181, 71, .12); border: 1px solid rgba(255, 181, 71, .32); }
.limited-pill svg { width: 13px; height: 13px; }
.coffee-line { display: inline-flex; align-items: center; gap: 10px; margin: 14px auto 0; padding: 8px 18px 8px 12px; border-radius: 999px; font-size: 16px; font-weight: 600; color: var(--foam);
  background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .28); }
.coffee-line svg { width: 24px; height: 24px; flex: none; color: var(--sunset); }
.coffee-line .steam { animation: steam 2.4s ease-in-out infinite; }
@keyframes steam { 0%, 100% { opacity: .35; transform: translateY(1px); } 50% { opacity: 1; transform: translateY(-1px); } }
.price-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 12px 0 0; min-height: 26px; }
.save-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #4ade80; background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .3); }
.price-eq { font-size: 13px; color: var(--muted); }
.countdown { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 14px 0 8px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 181, 71, .07); border: 1px solid rgba(255, 181, 71, .25); }
.cd-label { font-size: 12.5px; color: var(--sunset); font-weight: 600; }
.cd-units { display: flex; gap: 8px; font-family: var(--font-mono); }
.cd-units span { display: inline-flex; align-items: baseline; gap: 2px; }
.cd-units b { font-size: 17px; color: var(--foam); font-variant-numeric: tabular-nums; }
.cd-units i { font-style: normal; font-size: 11px; color: var(--muted); }
.plan.expired .founding { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero { padding-top: 120px; }
  .hero-demos { grid-template-columns: minmax(0, 1fr); gap: 84px; max-width: 640px; margin: 0 auto; width: 100%; }
  .try { max-width: 640px; }
  .try-surfi { right: -12px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .mfeat { grid-template-columns: 1fr 1fr; }
  .phone.p1, .phone.p5 { opacity: 0 !important; pointer-events: none; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .site-header nav ul { position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: 20px; background: rgba(12, 22, 38, .97); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s var(--ease); }
  .site-header nav.open ul { opacity: 1; visibility: visible; transform: none; }
  .site-header nav { display: flex; align-items: center; }
  .nav-link { display: block; padding: 12px 14px; font-size: 16px; }
  .lang-menu { position: static; box-shadow: none; margin-top: 6px; display: none !important; opacity: 1; visibility: visible; transform: none; }
  .lang-switch.open .lang-menu { display: block !important; }
  .site-header .btn-sm { width: 100%; height: 46px; }
}
@media (max-width: 900px) {
  .section { padding: 96px 0; }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 0 0 56px; }
  .step .step-img { display: block; margin-top: 24px; }
  .step .step-img .browser img { width: 100%; }
  .practice-grid { grid-template-columns: 1fr; }
  .ptabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .ptab { flex: 0 0 78%; scroll-snap-align: start; }
  .pstage { aspect-ratio: 4 / 3; }
  .goal-grid, .plans { grid-template-columns: 1fr; }
  .phones { height: auto; perspective: none; margin-top: 10px; }
  .phones-inner { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 16px 50px; margin: 0 -16px; transform: none !important; }
  .phone, .phones:not(.ready) .phone, .phone.p1, .phone.p2, .phone.p3, .phone.p4, .phone.p5 { position: relative; left: auto; top: auto; transform: none; opacity: 1 !important; filter: none; flex: 0 0 240px; width: 240px; scroll-snap-align: center; pointer-events: auto; }
  .phone-cap { bottom: -30px; }
  .mfeat { margin-top: 40px; }
  .step-img.duo .stage-phone { position: absolute; left: auto; top: auto; right: 0; bottom: 0; width: 33%; flex: none; }
}
@media (max-width: 640px) {
  .hero { padding: 110px 0 150px; min-height: 0; }
  .hero h1 { font-size: 42px; }
  .hero h1 .line:first-child { margin-right: 0; }
  .hero h1 .line { display: block; }
  .hero-plat { border-radius: 20px; font-size: 13px; }
  .plat { height: 30px; padding: 0 10px 0 6px; }
  .plat-logo { width: 18px; height: 18px; flex-basis: 18px; }
  .plat-langs, .plat-sync { display: none; }
  .hero-plat { gap: 6px; padding: 5px; }
  .plat { font-size: 12.5px; padding: 0 10px 0 5px; gap: 6px; }
  .hero-demos .try-page { padding-bottom: 56px; }
  .hero-demos .try-hint { bottom: 20px; }
  .hero-caps { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .try-page { padding: 20px 18px 56px; min-height: 0; }
  .try-text { font-size: 16.5px; }
  .try-hint { left: 18px; bottom: 20px; }
  .try-bar { position: relative; left: auto; right: auto; bottom: auto; margin: 0 10px 10px; transform: none; display: none; }
  .try-bar.open { display: grid; animation: fadeUp .45s var(--ease); }
  .try-bar { grid-template-columns: 1fr; grid-template-areas: 'word' 'actions' 'chips' 'sent' 'ask'; }
  .tb-word { white-space: normal; }
  .tb-actions .tb-btn { padding: 0 12px; }
  .try-surfi { width: 84px; height: 84px; right: 12px; top: -64px; }
  .bento, .mfeat { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .goal-count { font-size: 84px; }
  .goal-mascot { width: 150px; height: 150px; right: 0; bottom: 6px; }
  .goal-control { left: 14px; right: 14px; bottom: 14px; flex-wrap: wrap; }
  .goal-control label { width: 100%; }
  .scroll-cue { display: none; }
  .river svg { height: 110px; }
  .river text { font-size: 30px; }
  .plan { padding: 26px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- Live avatar demo (hero, next to the try-it demo) ---------- */
.talk-hero { position: relative; }
.talk-head { position: absolute; top: -40px; left: 6px; right: 2px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.talk-head .talk-label { position: static; color: var(--aqua); }
.talk-head .talk-label svg { width: 18px; height: 18px; }
.talk-pick { display: flex; gap: 6px; }
.talk-pick button {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 3px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--foam); background: rgba(12, 22, 38, .75); border: 1px solid var(--line);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.talk-pick button:hover { border-color: var(--line-2); }
.talk-pick button.active { border-color: var(--aqua); background: rgba(63, 224, 208, .12); }
.talk-pick img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--card-2); }
.talk-pick b { font-weight: 600; }

.talk-call {
  position: relative; padding: 14px; border-radius: 30px;
  background: linear-gradient(160deg, rgba(15, 28, 46, .92), rgba(7, 16, 31, .96));
  border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(63, 224, 208, .05) inset;
}
.talk-call::before {
  content: ''; position: absolute; inset: -40px -30px auto auto; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 224, 208, .22), transparent 70%); filter: blur(10px); pointer-events: none; z-index: -1;
}
.talk-stage {
  position: relative; aspect-ratio: 16 / 10.5; border-radius: 20px; overflow: hidden;
  background: url('assets/avatars/tutor-bg-lounge.webp') center 38% / cover no-repeat, #1b2a33;
}
.talk-stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 18, 26, .35) 0%, transparent 22%, transparent 55%, rgba(4, 18, 26, .7) 100%);
}
.talk-canvas, .talk-poster { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.talk-poster { object-fit: contain; object-position: center bottom; transition: opacity .6s var(--ease); }
.talk-stage[data-mode="3d"] .talk-poster { opacity: 0; }
.talk-stage .chat-tutor-svg { display: none; }
.talk-top { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; }
.talk-live, .talk-scn, .talk-sound {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #fff; background: rgba(4, 18, 26, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.talk-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff5d6c; box-shadow: 0 0 0 0 rgba(255, 93, 108, .6); animation: ping 2s infinite; }
.talk-scn { font-weight: 500; color: #dbe9f1; }
.talk-sound { margin-left: auto; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; transition: background .2s, border-color .2s; }
.talk-sound:hover { border-color: var(--aqua); }
.talk-sound svg { width: 16px; height: 16px; }
.talk-sound .on, .talk-sound[aria-pressed="true"] .off { display: none; }
.talk-sound[aria-pressed="true"] .on { display: block; }
.talk-sound[aria-pressed="true"] { background: rgba(63, 224, 208, .9); color: var(--ink); border-color: transparent; }
.talk-caption {
  position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(560px, calc(100% - 28px));
  padding: 10px 16px; border-radius: 16px; text-align: center; font-size: 16px; line-height: 1.5; color: #f3fafc;
  background: rgba(4, 18, 26, .62); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: opacity .3s var(--ease);
}
.talk-caption:empty { opacity: 0; }
.talk-caption .tw { background: none; cursor: default; user-select: text; -webkit-user-select: text; border-radius: 5px; padding: 0 1px; transition: background .12s, color .12s; }
.talk-caption .tw:hover { background: none; }
.talk-caption .tw.active { background: none; color: inherit; }
.talk-caption.speaking .tw.active { background: var(--aqua); color: var(--ink); }

.talk-status { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 10px 6px 6px; font-size: 14px; color: var(--muted); }
.talk-wave { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.talk-wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--dim); transition: background .3s; }
.talk-status.listening { color: var(--aqua-2); }
.talk-status.listening .talk-wave i { background: var(--aqua); animation: talkwave 1s ease-in-out infinite; }
.talk-status.speaking .talk-wave i { background: var(--ocean); animation: talkwave 1.3s ease-in-out infinite; }
.talk-wave i:nth-child(2) { animation-delay: .15s !important; } .talk-wave i:nth-child(3) { animation-delay: .3s !important; }
.talk-wave i:nth-child(4) { animation-delay: .45s !important; } .talk-wave i:nth-child(5) { animation-delay: .6s !important; }
@keyframes talkwave { 0%, 100% { height: 4px; } 50% { height: 18px; } }

.talk-log { display: flex; flex-direction: column; gap: 8px; height: 214px; overflow: hidden; padding: 4px 4px 2px; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 46px); mask-image: linear-gradient(180deg, transparent 0, #000 46px); }
.tl-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; animation: tlin .45s var(--ease) both; }
.tl-msg.me { align-self: flex-end; flex-direction: column; align-items: flex-end; }
.tl-msg img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 28px; background: var(--card-2); }
.tl-bubble { padding: 9px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; }
.tl-msg.ai .tl-bubble { background: var(--card-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: #e3eef4; }
.tl-msg.me .tl-bubble { background: linear-gradient(120deg, #3fe0d0, #1f8fd6); color: var(--ink); font-weight: 500; border-bottom-right-radius: 6px; }
/* Sesli cevap → canlı transkripsiyon: dalga balonun içinde oynar, kelimeler netleşerek akar */
.tl-msg.me .tl-bubble { position: relative; isolation: isolate; transition: box-shadow .4s; }
.tl-msg.me .tl-bubble.live { animation: tlrec 1.5s ease-out infinite; }
.tl-voice { position: absolute; inset: 0; z-index: -1; display: flex; align-items: center; justify-content: space-between; padding: 0 14px;
  clip-path: inset(0 0 0 var(--p, 0%)); transition: clip-path .45s var(--ease), opacity .4s; }
.tl-voice i { width: 3px; height: var(--h); max-height: 70%; border-radius: 2px; background: rgba(6, 32, 48, .32); transform-origin: center;
  animation: tlvoice .9s var(--d) ease-in-out infinite alternate; }
.tl-bubble:not(.live) .tl-voice { opacity: 0; }
.tl-w { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(5px) scale(.94);
  transition: opacity .3s, filter .45s var(--ease), transform .45s var(--ease); }
.tl-w.on { opacity: 1; filter: none; transform: none; }
@keyframes tlvoice { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes tlrec { 0% { box-shadow: 0 0 0 0 rgba(63, 224, 208, .5); } 100% { box-shadow: 0 0 0 10px rgba(63, 224, 208, 0); } }
@media (prefers-reduced-motion: reduce) {
  .tl-msg.me .tl-bubble.live, .tl-voice i { animation: none; }
  .tl-w { filter: none; transform: none; }
}
.tl-fix { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; max-width: 100%; font-size: 13.5px; padding: 8px 12px; border-radius: 14px;
  background: rgba(255, 181, 71, .07); border: 1px solid rgba(255, 181, 71, .26); color: #e3eef4; animation: tlin .45s var(--ease) both; }
.tl-fix b { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sunset); }
.tl-diff { margin: 0; line-height: 1.55; }
.tl-diff del { color: #fca5a5; text-decoration: line-through 2px; text-decoration-color: transparent; animation: tlstrike .45s .35s forwards; }
.tl-diff ins { text-decoration: none; color: #86efac; font-weight: 600; padding: 1px 5px; border-radius: 6px; background: rgba(74, 222, 128, .16);
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .3); opacity: 0; display: inline-block; transform: translateY(4px); animation: tlins .4s .9s var(--ease) forwards; }
.tl-fix small { font-size: 12px; color: #ffd79a; opacity: 0; animation: tlins .4s 1.4s var(--ease) forwards; }
@keyframes tlstrike { to { text-decoration-color: #fca5a5; } }
@keyframes tlins { to { opacity: 1; transform: none; } }
.tl-fix.good { background: rgba(74, 222, 128, .08); border-color: rgba(74, 222, 128, .28); color: #a7f3c4; }
.tl-fix.good b { color: #4ade80; }
.tl-fix:not(.open) { display: none; }
/* Dokunulabilir hata: dalgalı alt çizgi; dokununca düzeltme kartı açılır */
.tl-err { position: relative; font: inherit; color: inherit; padding: 0 3px; margin: 0 -1px; border: 0; border-radius: 6px; cursor: pointer;
  background: rgba(255, 255, 255, .32); text-decoration: underline wavy #c0262d; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: background .2s; }
.tl-err:hover, .tl-msg.open .tl-err { background: rgba(255, 255, 255, .55); }
.tl-err:focus-visible, .tl-bulb:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
.tl-tap { font-size: 12px; color: var(--muted); animation: tlin .45s var(--ease) both; }
.tl-msg.open .tl-tap { display: none; }
/* Demo'nun kendi "dokunuşu": parmak halkası */
.tl-err.tap::after, .tl-bulb.tap::after { content: ''; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: 2px solid #fff; background: rgba(255, 255, 255, .25); pointer-events: none; animation: tltap 1s var(--ease) both; }
@keyframes tltap { 0% { opacity: 0; transform: scale(1.6); } 35% { opacity: 1; transform: scale(.8); } 60% { transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
/* Ampul: tutor'un sorusuna önerilen cevap */
.tl-msg.ai { align-items: flex-start; }
.tl-msg.ai img { margin-top: 4px; }
.tl-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.tl-bulb { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -3px -6px -4px 6px; vertical-align: middle;
  padding: 0; border: 1px solid rgba(255, 215, 120, .35); border-radius: 50%; background: rgba(255, 196, 71, .12); color: #ffd36b; cursor: pointer;
  transition: background .2s, box-shadow .2s; animation: tlbulb 2.6s ease-in-out infinite; }
.tl-bulb svg { width: 14px; height: 14px; }
.tl-bulb:hover, .tl-msg.open .tl-bulb { background: rgba(255, 196, 71, .3); animation: none; box-shadow: 0 0 12px rgba(255, 196, 71, .45); }
@keyframes tlbulb { 0%, 100% { box-shadow: 0 0 0 rgba(255, 196, 71, 0); } 50% { box-shadow: 0 0 10px rgba(255, 196, 71, .4); } }
.tl-hint { display: none; max-width: 100%; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; color: #e3eef4;
  background: rgba(255, 196, 71, .08); border: 1px dashed rgba(255, 196, 71, .4); animation: tlin .45s var(--ease) both; }
.tl-msg.open .tl-hint { display: block; }
.tl-hint b { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffd36b; }
.tl-hint b svg { width: 13px; height: 13px; }
.tl-hint p { margin: 3px 0 0; line-height: 1.45; font-style: italic; }
@media (prefers-reduced-motion: reduce) { .tl-bulb { animation: none; } }

/* ---------- Flashcard demo (hero, en sağda / telefonda 3. sekme) ---------- */
.cards-hero { position: relative; }
.cards-hero .cards-label { position: static; color: #7cc4ff; }
.cards-hero .cards-label svg { width: 18px; height: 18px; }
.fc-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(12, 22, 38, .75); }
.fc-card { position: relative; height: 140px; perspective: 1100px; cursor: pointer; border-radius: 20px; outline: none; }
.fc-card:focus-visible { box-shadow: 0 0 0 2px var(--aqua); }
.fc-inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.fc-card.flipped .fc-inner { transform: rotateY(180deg); }
.fc-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; text-align: center;
  border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, #13233a, #0b1729); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.fc-back { transform: rotateY(180deg); background: linear-gradient(160deg, #0f2a33, #0a1a26); border-color: rgba(63, 224, 208, .3); }
.fc-word { font-size: 30px; font-weight: 700; color: var(--foam); letter-spacing: -.01em; }
.fc-tr { font-size: 23px; font-weight: 700; color: var(--aqua-2, var(--aqua)); }
.fc-ex { margin: 0; font-size: 14px; line-height: 1.45; color: #b7c8d6; }
.fc-ex mark { color: #ffd79a; background: rgba(255, 181, 71, .16); padding: 0 5px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .35); font-weight: 600; }
.fc-tip { position: absolute; bottom: 9px; left: 0; right: 0; font-size: 11.5px; color: var(--dim); }
.fc-rate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.fc-r { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 6px; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: background .2s, border-color .2s, transform .2s; white-space: nowrap; overflow: hidden; }
.fc-r svg { width: 14px; height: 14px; flex: none; }
.fc-r span { overflow: hidden; text-overflow: ellipsis; }
.fc-r.again { color: #fca5a5; } .fc-r.good { color: #86efac; } .fc-r.learned { color: #ffd36b; }
.fc-r.again.on { background: rgba(252, 165, 165, .14); border-color: rgba(252, 165, 165, .5); }
.fc-r.good.on { background: rgba(74, 222, 128, .15); border-color: rgba(74, 222, 128, .5); }
.fc-r.learned.on { background: rgba(255, 211, 107, .14); border-color: rgba(255, 211, 107, .5); }
.fc-write { padding: 10px; border-radius: 20px; border: 1px solid var(--line); background: rgba(5, 12, 24, .55); }
.fc-task { padding: 8px 12px; border-radius: 14px; background: rgba(74, 222, 128, .06); border: 1px solid rgba(74, 222, 128, .22); }
.fc-task-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; }
.fc-task-label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #4ade80; }
.fc-help { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 11.5px; font-weight: 600; color: var(--aqua); }
.fc-help i { position: relative; width: 24px; height: 14px; border-radius: 999px; background: var(--aqua); }
.fc-help i::after { content: ''; position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.fc-task p { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--foam); }
.fc-slots { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 6px; min-height: 26px; }
.fc-slots span { padding: 2px 8px; border-radius: 8px; font-size: 13px; line-height: 20px; color: var(--muted); border: 1px dashed var(--line-2); transition: background .25s, border-color .25s, color .25s; }
.fc-slots span i { font-style: normal; letter-spacing: 1px; opacity: .55; }
.fc-slots .cur { border-color: var(--aqua); color: var(--foam); }
.fc-slots .ok { border-style: solid; border-color: rgba(74, 222, 128, .45); background: rgba(74, 222, 128, .14); color: #86efac; animation: tlin .3s var(--ease) both; }
.fc-slots .bad { border-style: solid; border-color: rgba(252, 165, 165, .5); background: rgba(252, 165, 165, .1); color: #fca5a5; }
.fc-input { min-height: 42px; padding: 10px 12px; border-radius: 12px; font-size: 15px; color: var(--foam); border: 1px solid var(--line); background: rgba(5, 10, 20, .6); transition: border-color .25s, box-shadow .25s; }
.fc-write.typing .fc-input { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(63, 224, 208, .12); }
.fc-input .caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--aqua); animation: blink 1s steps(1) infinite; }
.fc-write:not(.typing) .caret, .fc-write.checked .caret { display: none; }
.fc-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 8px; min-height: 72px; }
.fc-result { flex: 1 1 auto; min-width: 0; }
.fc-result.fix, .fc-result.good { display: flex; flex-direction: column; gap: 2px; padding: 7px 11px; border-radius: 12px; font-size: 13.5px; animation: tlin .4s var(--ease) both; }
.fc-result.fix { background: rgba(255, 181, 71, .07); border: 1px solid rgba(255, 181, 71, .26); color: #e3eef4; }
.fc-result.fix b { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sunset); }
.fc-result.fix small { font-size: 12px; color: #ffd79a; }
.fc-result.good { align-self: center; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .3); color: #4ade80; }
.fc-check { position: relative; flex: none; height: 36px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 700;
  color: var(--ink); background: linear-gradient(120deg, #3fe0d0, #1f8fd6); }
.fc-card.tap::after, .fc-r.tap::after, .fc-check.tap::after { content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; z-index: 3;
  border: 2px solid #fff; background: rgba(255, 255, 255, .25); pointer-events: none; animation: tltap 1s var(--ease) both; }
@keyframes tlin { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 560px) {
  .talk-call { padding: 10px; border-radius: 24px; }
  .talk-stage { aspect-ratio: 4 / 3.6; }
  .talk-scn { display: none; }
  .talk-pick b { display: none; }
  .talk-pick button { padding-right: 3px; }
  .talk-caption { font-size: 14.5px; }
  .talk-log { height: 230px; }
}

/* ---------- Phones: whole hero in the first screen, demos rotate (no scrolling needed) ---------- */
@media (max-width: 760px) {
  .hero { padding: 78px 0 40px; min-height: 0; }
  .hero .wrap { gap: 16px; }
  .hero-plat { flex-wrap: nowrap; gap: 6px; padding: 5px; border-radius: 999px; }
  .plat { height: 30px; font-size: 12.5px; padding: 0 10px 0 5px; gap: 6px; }
  .plat-long, .plat-sync, .plat-langs [data-i18n] { display: none; }
  .plat-short { display: inline; }
  .plat-soon:not(.plat-soon-ios) { display: none; }
  .plat-soon-ios { font-size: 10px; padding: 1px 6px; }
  .plat-langs { display: inline-flex; padding: 0 6px 0 4px; }
  .flag { width: 15px; height: 15px; }
  .flags { gap: 3px; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 38px); margin: 10px 0 10px; }
  .hero h1 .line { display: inline-block; }
  .hero h1 .line:first-child { margin-right: .26em; }
  .hero-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-caps li { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 9px 6px 10px; border-radius: 14px; }
  .hero-caps b { font-size: 12px; line-height: 1.25; }
  .hero-caps small { display: none; }
  .cap-ico { width: 30px; height: 30px; flex-basis: 30px; border-radius: 10px; }
  .cap-ico svg { width: 17px; height: 17px; }
  .hero-actions { margin-top: 12px; }
  .hero-actions .btn-ghost { display: none; }
  .hero-actions .btn-lg { height: 48px; font-size: 16px; }

  .hero-demos { display: block; max-width: none; }
  .demo-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 10px; border-radius: 999px; background: rgba(12, 22, 38, .78); border: 1px solid var(--line); }
  .demo-tabs button {
    position: relative; flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border: 0; border-radius: 999px;
    font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); background: transparent; cursor: pointer; overflow: hidden;
  }
  .demo-tabs button svg { width: 16px; height: 16px; }
  .demo-tabs button.active { color: var(--foam); background: rgba(63, 224, 208, .14); box-shadow: inset 0 0 0 1px rgba(63, 224, 208, .45); }
  .demo-tabs-bar { position: absolute; left: 18px; right: 18px; bottom: 3px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; opacity: 0; }
  .demo-tabs button.active .demo-tabs-bar { opacity: 1; }
  .demo-tabs-bar::after { content: ''; position: absolute; inset: 0; background: var(--aqua); transform: scaleX(0); transform-origin: left; }
  .demo-tabs button.active.run .demo-tabs-bar::after { animation: tabfill var(--dur, 15s) linear forwards; }
  .hero-demos > .try, .hero-demos > .talk-hero, .hero-demos > .cards-hero { display: none; }
  .hero-demos[data-show="try"] > .try, .hero-demos[data-show="talk"] > .talk-hero, .hero-demos[data-show="cards"] > .cards-hero { display: block; animation: fadeUp .45s var(--ease) both; }
  .demo-tabs button { gap: 5px; font-size: 12.5px; }

  /* Flashcard: çeviri demosuyla aynı yükseklik */
  .hero-demos .fc-demo { padding: 8px; border-radius: 22px; }
  .hero-demos .fc-word { font-size: 24px; }
  .hero-demos .fc-tr { font-size: 20px; }
  .hero-demos .fc-ex { font-size: 13px; }
  .hero-demos .fc-tip { display: none; }
  .hero-demos .fc-task p { font-size: 14px; }
  .hero-demos .fc-input { min-height: 36px; padding: 7px 11px; font-size: 14px; }
  .hero-demos .fc-card { height: 108px; }
  .hero-demos .fc-face { gap: 5px; padding: 10px 14px; }
  .hero-demos .fc-rate { gap: 6px; margin: 6px 0; }
  .hero-demos .fc-r { height: 30px; font-size: 11.5px; }
  .hero-demos .fc-r svg { display: none; }
  .hero-demos .fc-write { padding: 8px; border-radius: 16px; }
  .hero-demos .fc-task { padding: 6px 10px; }
  .hero-demos .fc-help span { display: none; }
  .hero-demos .fc-slots { margin: 6px 0 5px; }
  .hero-demos .fc-slots span { font-size: 12px; line-height: 18px; padding: 1px 7px; }
  .hero-demos .fc-foot { margin-top: 6px; min-height: 62px; }
  .hero-demos .fc-result.fix, .hero-demos .fc-result.good { padding: 5px 9px; font-size: 12.5px; }
  .hero-demos .fc-check { height: 32px; padding: 0 13px; font-size: 13px; }
  .demo-tabs button { white-space: nowrap; }
  .hero-demos .try-label, .hero-demos .try-surfi, .hero-demos .talk-head { display: none; }

  /* Çeviri: sabit yükseklik, çubuk metnin altına biner */
  .hero-demos .try-browser { height: 380px; }
  .hero-demos .try-page { padding: 14px 16px 240px; min-height: 0; height: calc(100% - 40px); }
  .hero-demos .try-title { font-size: 23px; }
  .hero-demos .try-from { margin: 4px 0 8px; font-size: 11.5px; }
  .hero-demos .try-text { font-size: 14.5px; line-height: 1.6; }
  .hero-demos .try-hint { bottom: auto; top: 316px; left: 16px; }
  .hero-demos .try-browser:has(.try-bar.open) .try-from,
  .hero-demos .try-browser:has(.try-bar.open) .try-title { display: none; }
  .hero-demos .try-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; margin: 0; display: grid; transform: translateY(calc(100% + 20px)); padding: 12px; gap: 8px; }
  .hero-demos .try-bar.open { transform: none; animation: none; }
  .hero-demos .tb-sent, .hero-demos .tb-phrase { display: none; }
  .hero-demos .tb-chip:not(.ctx) { display: none; }
  /* Kelime + düğmeler tek satır; soru-cevapta çeviri çipi gizlenir → çubuk kısa kalır, cümle görünür */
  .hero-demos .try-bar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'word word' 'actions actions' 'chips chips' 'ask ask'; gap: 8px 8px; }
  .hero-demos .try-bar .tb-phrase { display: none !important; }
  .hero-demos .tb-word { font-size: 15px; padding-top: 2px; }
  .hero-demos .tb-actions { gap: 5px; }
  .hero-demos .tb-actions .tb-btn { height: 32px; padding: 0 9px; font-size: 12.5px; gap: 4px; border-radius: 10px; }
  .hero-demos .tb-btn svg { width: 14px; height: 14px; }
  .hero-demos .tb-actions .tb-btn.close { width: 32px; padding: 0; justify-content: center; }
  .hero-demos .try-hint { display: none; }
  .hero-demos .try-bar.asking .tb-chips { display: none; }
  .hero-demos .tb-q, .hero-demos .tb-a { font-size: 13px; }
  .hero-demos .tb-a { padding: 7px 10px; }

  /* Avatar: aynı yükseklikte kart */
  .hero-demos .talk-call { padding: 8px; border-radius: 22px; }
  .hero-demos .talk-stage { aspect-ratio: 16 / 10.6; border-radius: 16px; }
  .hero-demos .talk-scn { display: none; }
  .hero-demos .talk-sound span { display: none; }
  .hero-demos .talk-sound { padding: 0 9px; }
  .hero-demos .talk-status { min-height: 32px; padding: 6px 4px 2px; font-size: 13px; }
  .hero-demos .talk-log { height: 98px; }
  .hero-demos .tl-bubble { font-size: 13.5px; padding: 7px 12px; }
  .hero-demos .talk-caption { font-size: 14px; padding: 8px 12px; bottom: 10px; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .hero { padding-top: 70px; }
  .hero .wrap { gap: 12px; }
  .hero h1 { margin: 8px 0 8px; font-size: clamp(26px, 7.6vw, 32px); }
  .hero-caps li { padding: 7px 4px; gap: 4px; }
  .cap-ico { display: none; }
  .hero-caps b { font-size: 11.5px; }
  .hero-actions { margin-top: 10px; }
  .hero-actions .btn-lg { height: 44px; font-size: 15px; }
  .demo-tabs { margin-bottom: 8px; }
  .demo-tabs button { height: 34px; }
  .hero-demos .try-browser { height: 316px; }
  .hero-demos .try-hint { top: 254px; }
  .hero-demos .try-text { font-size: 15px; line-height: 1.65; }
  .hero-demos .tb-a { font-size: 12.5px; padding: 6px 9px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-demos .try-bar { padding: 9px 10px; gap: 6px 8px; }
  .hero-demos .tb-askbox { gap: 6px; }
  .hero-demos .tb-q { padding: 5px 10px; font-size: 12.5px; }
  .hero-demos .talk-stage { aspect-ratio: 16 / 9; }
  .hero-demos .talk-log { height: 64px; }
  .hero-demos .fc-card { height: 96px; }
  .hero-demos .fc-ex { display: none; }
  .hero-demos .fc-foot { min-height: 64px; }
}
@media (max-width: 430px) { .demo-tabs button svg { display: none; } }
@keyframes tabfill { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .stagger > *, .fade-up, .hero h1 .line > span { opacity: 1 !important; transform: none !important; }
}
.stage-frame .browser:not(.active), .stage-phone:not(.active), .pstage .browser:not(.active) { pointer-events: none; }


/* ---- Mağaza butonları (orijinal logo renkleri) ---- */
.btn-chrome, .btn-play-ea { gap: 12px; }
.btn-logo { flex: none; }
.btn-chrome, .btn-play-ea { background: #0c1626; border: 1px solid rgba(63, 224, 208, .6); color: var(--foam); }
.btn-play-ea { animation: ea-glow 2.4s ease-in-out infinite; }
.btn-chrome:hover, .btn-play-ea:hover { background: #10223a; border-color: var(--aqua); color: var(--foam); }
.ea-chip { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; margin-left: 4px; border-radius: 999px; background: var(--aqua); color: #04121c; font-weight: 700; vertical-align: middle; }
a.badge-play { text-decoration: none; cursor: pointer; animation: ea-glow 2.4s ease-in-out infinite; }
@keyframes ea-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(63, 224, 208, 0); } 50% { box-shadow: 0 0 22px 2px rgba(63, 224, 208, .38); } }

/* ---- Android erken erişim penceresi ---- */
.ea-modal { width: min(440px, calc(100vw - 32px)); padding: 28px 24px 22px; border-radius: 24px; border: 1px solid rgba(63, 224, 208, .4); background: var(--card); color: var(--foam); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .85); text-align: center; }
.ea-modal::backdrop { background: rgba(2, 6, 14, .7); backdrop-filter: blur(4px); }
.ea-modal[open] { animation: ea-in .28s var(--ease); }
.ea-close { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--foam); font-size: 26px; line-height: 1; cursor: pointer; opacity: .7; }
.ea-close:hover { opacity: 1; }
.ea-head { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ea-badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--aqua); color: #04121c; font-weight: 700; animation: ea-pulse 2s ease-out infinite; }
.ea-text { margin: 14px 0 18px; font-size: 16px; line-height: 1.45; }
.ea-form { display: flex; flex-direction: column; gap: 10px; }
.ea-form input[type="email"] { height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5, 10, 20, .7); color: var(--foam); font: inherit; }
.ea-form input[type="email"]:focus { outline: 2px solid var(--aqua); outline-offset: 1px; }
.ea-form .btn { height: 48px; }
.ea-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ea-hint { margin: 0; font-size: 12px; opacity: .75; }
.ea-msg { margin: 0; font-weight: 600; }
.ea-msg:empty { display: none; }
.ea-msg.ok { color: var(--aqua-2); }
.ea-msg.err { color: #ffb4a8; }
@keyframes ea-pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 224, 208, .75); } 70% { box-shadow: 0 0 0 11px rgba(63, 224, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 224, 208, 0); } }
@keyframes ea-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .btn-play-ea, a.badge-play, .ea-badge, .ea-modal[open] { animation: none; }
}
