/* Inter — kendi sunucumuzdan (Google Fonts'a istek YOK; çerez politikası bunu
   söylüyor). Dosyalar static/fonts altında, latin + latin-ext alt kümeleri. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ─────────────────────────────────────────────────────────────────
   Tipografi ölçeği ve hairline dili ayarux.com ile ortak; renk paleti
   Dilinga'nın kendi markasından (uygulama ikonu ve mağaza afişi).            */
:root {
  --bg: #04060d;
  --bg-2: #070b16;

  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.62);
  --ink-3: rgba(255, 255, 255, 0.4);

  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);

  --accent: #4fb0f7;
  --accent-2: #a855f7;
  --cyan: #22cdf0;

  --page-x: clamp(20px, 5vw, 80px);
  --max-w: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(79, 176, 247, 0.28);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: var(--max-w);
  padding-inline: var(--page-x);
  margin-inline: auto;
}

.shell-narrow {
  width: 100%;
  max-width: 820px;
  padding-inline: var(--page-x);
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 11vw, 152px);
}

/* Sabit başlık, çapaya atlanan bölümün üstünü kapatmasın. */
main [id] {
  scroll-margin-top: 88px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #000;
  padding: 12px 18px;
  z-index: 100;
  border-radius: 999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
}

/* ── Tipografi ──────────────────────────────────────────────────────────── */
.t-hero {
  font-size: clamp(44px, 7.4vw, 104px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
}

.t-h2 {
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.032em;
  margin: 0;
}

.t-lead {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  margin: 0;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

/* ── Butonlar ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--ink);
  color: #000;
}
.btn-primary:hover {
  background: #e6e9f2;
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Üst çubuk ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 6, 13, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a {
  transition: color 0.25s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px;
}
.lang a,
.lang span {
  padding: 2px 9px;
  border-radius: 999px;
  line-height: 1.5;
}
.lang [aria-current="true"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(64px, 10vw, 128px);
  padding-bottom: clamp(40px, 6vw, 72px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 900px;
  background: radial-gradient(
      58% 46% at 22% 34%,
      rgba(34, 205, 240, 0.16),
      transparent 62%
    ),
    radial-gradient(52% 42% at 82% 18%, rgba(168, 85, 247, 0.16), transparent 60%);
  pointer-events: none;
  filter: blur(6px);
}

.hero .shell {
  position: relative;
}

.hero-copy {
  max-width: 20ch;
}

.hero .t-lead {
  max-width: 58ch;
  margin-top: 26px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.cta-note {
  font-size: 13px;
  color: var(--ink-3);
  margin: 14px 0 0;
}

/* Hero cihaz ikilisi */
.device-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.6vw, 30px);
  align-items: start;
  max-width: 560px;
  margin: clamp(52px, 7vw, 84px) auto 0;
}
.device-pair .device {
  margin: 0;
}
.device-pair .device:nth-child(2) {
  transform: translateY(clamp(20px, 4vw, 52px));
}

/* Dar ekranda iki telefon çok küçülüyor: tek ekran görüntüsü, daha büyük. */
@media (max-width: 640px) {
  .device-pair {
    grid-template-columns: 1fr;
    max-width: 268px;
  }
  .device-pair .device:nth-child(2) {
    display: none;
  }
}

@media (min-width: 1060px) {
  .hero .shell:first-of-type {
    max-width: min(var(--max-w), 100%);
  }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
  }
  .device-pair {
    margin: 0;
    max-width: 470px;
  }
  /* İki sütunlu düzende başlık, tek sütundakinden daha küçük olmalı:
     sol sütun ~700px ve 100px'lik bir puntoda satır başına 7 harf düşüyor. */
  .hero .t-hero {
    font-size: clamp(50px, 5.4vw, 80px);
  }
  .hero-copy {
    max-width: 14ch;
  }
  .hero .t-lead {
    max-width: 44ch;
  }
}

.device {
  position: relative;
}
.device::after {
  content: "";
  position: absolute;
  inset: 12% 8% -6%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(79, 176, 247, 0.22), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.device img {
  width: 100%;
  border-radius: clamp(18px, 3vw, 34px);
}

/* ── Özellik rayları (ayarux ürün kartı dili) ───────────────────────────── */
.rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.rail-item {
  padding: 26px 24px 30px 0;
  border-left: 1px solid var(--line-soft);
  padding-left: 24px;
  position: relative;
}
.rail-item:first-child {
  border-left: 0;
  padding-left: 0;
}
.rail-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--accent-2));
  transition: width 0.9s var(--ease);
}
.rail-item[data-visible="true"]::before {
  width: 100%;
}
.rail-item h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.rail-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
@media (max-width: 900px) {
  .rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rail-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 560px) {
  .rail {
    grid-template-columns: 1fr;
  }
  .rail-item {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-soft);
  }
  .rail-item:first-child {
    border-top: 0;
  }
}

/* ── Özellik blokları ───────────────────────────────────────────────────── */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--line-soft);
}
.feature:first-of-type {
  border-top: 0;
}
.feature.reverse .feature-media {
  order: -1;
}
.feature-media {
  display: flex;
  justify-content: center;
}
.feature-media .device {
  max-width: 306px;
  width: 100%;
}
.feature .t-h2 {
  font-size: clamp(28px, 3.4vw, 46px);
}
.feature-body {
  max-width: 46ch;
}
.feature-body .eyebrow {
  margin-bottom: 16px;
}
.feature-body p {
  color: var(--ink-2);
  margin: 20px 0 0;
}
.checks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--cyan), var(--accent-2));
}
@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature.reverse .feature-media {
    order: 0;
  }
}

/* ── Adımlar ────────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
.step {
  padding: 28px 26px 8px 0;
  border-left: 1px solid var(--line-soft);
  padding-left: 26px;
}
.step:first-child {
  border-left: 0;
  padding-left: 0;
}
.step .num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.step p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-soft);
    padding-top: 26px;
  }
  .step:first-child {
    border-top: 0;
  }
}

/* ── Gizlilik şeridi ────────────────────────────────────────────────────── */
.band {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 56px);
}
.privacy-grid h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.privacy-grid p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.62;
}
@media (max-width: 800px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

/* Ortalanmış bant başlığı: iki satırlık kırılma korunsun diye biraz küçük. */
#voice .t-h2 {
  font-size: clamp(28px, 3.6vw, 48px);
}

/* ── Kapanış çağrısı ────────────────────────────────────────────────────── */
.closing {
  text-align: center;
  padding-block: clamp(80px, 12vw, 168px);
}
.closing .t-lead {
  margin: 22px auto 0;
  max-width: 54ch;
}
.closing .cta-row {
  justify-content: center;
}

/* ── Alt bilgi ──────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 76px) 40px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand p {
  color: var(--ink-3);
  font-size: 14px;
  margin: 14px 0 0;
  max-width: 34ch;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.25s var(--ease);
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-3);
}
.footer-bottom a:hover {
  color: var(--ink);
}
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Yasal / metin sayfaları ────────────────────────────────────────────── */
.doc {
  padding-block: clamp(56px, 8vw, 104px) clamp(72px, 10vw, 128px);
}
.doc header {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.doc h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.04;
  margin: 12px 0 0;
}
.doc .updated {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-3);
}
.doc section {
  border-top: 1px solid var(--line-soft);
  padding-top: 30px;
  margin-top: 30px;
}
.doc h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.25;
  margin: 0 0 14px;
}
.doc h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 26px 0 8px;
}
.doc p,
.doc li {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.72;
}
.doc p {
  margin: 0 0 14px;
}
.doc ul,
.doc ol {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(79, 176, 247, 0.4);
}
.doc a:hover {
  text-decoration-color: var(--accent);
}
.doc strong {
  color: var(--ink);
  font-weight: 600;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 18px;
  font-size: 15px;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px 12px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-2);
}
.doc th {
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.doc .table-wrap {
  overflow-x: auto;
}

.faq {
  margin-top: 8px;
}
.faq details {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0;
}
.faq details[open] summary {
  color: var(--ink);
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--ink-3);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin: 14px 0 0;
  max-width: 68ch;
}

.callout {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.02);
  margin: 4px 0 22px;
}
.callout p:last-child {
  margin-bottom: 0;
}

/* ── Görünürlük animasyonu ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal[data-visible="true"] {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .rail-item::before {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .rail-item::before {
    width: 100%;
  }
  .btn:hover {
    transform: none;
  }
}
