/* AI Decky website. No external fonts or scripts, so the site makes no
   third-party requests and the "no tracking" promise holds here too. */

:root {
  --bg: #f6f5fb;
  --bg-soft: #efedfa;
  --surface: #ffffff;
  --text: #15142b;
  --muted: #5d5b78;
  --faint: #8c8aa6;
  --border: #e5e3f1;
  --brand: #5a48f5;
  --brand-2: #9a4dff;
  --accent: #22c3ee;
  --good: #1f9d63;
  --warn: #e0892b;
  --bad: #e5484d;
  --hard: #d9822b;
  --shadow: 0 1px 2px rgba(21, 20, 43, .05), 0 12px 32px rgba(56, 40, 160, .08);
  --radius: 20px;
  --grad: linear-gradient(135deg, #7b3cff 0%, #5a48f5 45%, #22c3ee 100%);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0b17;
    --bg-soft: #13122a;
    --surface: #17162c;
    --text: #f3f2ff;
    --muted: #aeacc9;
    --faint: #7d7b98;
    --border: #2a2846;
    --brand: #8a7bff;
    --brand-2: #b07bff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    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(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Bilingual content: both languages are in the page, one is shown. English is
   the default so the page still reads correctly without JavaScript. */
[data-l="tr"] { display: none; }
html[data-lang="tr"] [data-l="tr"] { display: revert; }
html[data-lang="tr"] [data-l="en"] { display: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 550; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--brand); color: #fff; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .lang-switch { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.store-btn .store-small { display: block; font-size: 11px; font-weight: 600; opacity: .8; line-height: 1.1; }
.store-btn .store-big { display: block; font-size: 18px; font-weight: 750; line-height: 1.15; }
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn.is-soon { cursor: default; }
.store-btn.is-soon:hover { transform: none; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 720px; z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(123, 60, 255, .20), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, rgba(34, 195, 238, .18), transparent 70%),
    radial-gradient(40% 40% at 60% 70%, rgba(90, 72, 245, .14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 14px; font-weight: 600;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.hero h1 {
  font-size: clamp(40px, 6vw, 66px); line-height: 1.04; letter-spacing: -.035em; margin: 20px 0 18px; font-weight: 800;
}
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; color: var(--faint); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: "✓ "; color: var(--good); font-weight: 800; }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone mockup */
.phone {
  width: min(320px, 82vw); aspect-ratio: 9 / 19; margin: 0 auto; position: relative;
  border-radius: 48px; padding: 12px; background: #0f0e1d;
  box-shadow: 0 40px 80px rgba(56, 40, 160, .28), inset 0 0 0 2px #2c2a45;
}
.phone-screen {
  height: 100%; border-radius: 38px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #f1eefe 0%, #f8f7ff 60%, #eef9fd 100%);
  display: flex; flex-direction: column; padding: 46px 16px 18px; color: #15142b;
}
.phone-island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #0f0e1d; }
.ph-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: #5d5b78; }
.ph-progress { height: 5px; border-radius: 5px; background: #e2def7; margin: 10px 0 18px; overflow: hidden; }
.ph-progress i { display: block; height: 100%; width: 62%; background: var(--grad); border-radius: 5px; }
.flip { flex: 1; perspective: 1000px; }
.flip-inner { position: relative; height: 100%; transform-style: preserve-3d; animation: flip 7s ease-in-out infinite; }
.face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #fff; border-radius: 22px; box-shadow: 0 10px 30px rgba(56, 40, 160, .14);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px;
}
.face.back { transform: rotateY(180deg); }
.face .tag { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #8c8aa6; text-transform: uppercase; }
.face .word { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.face .sub { margin-top: 8px; font-size: 13px; color: #5d5b78; }
.face .example { margin-top: 16px; font-size: 12px; color: #5d5b78; background: #f4f2ff; border-radius: 12px; padding: 10px 12px; }
.ph-rate { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.ph-rate span { text-align: center; font-size: 11px; font-weight: 800; color: #fff; border-radius: 12px; padding: 9px 0; }
.r-again { background: var(--bad); } .r-hard { background: var(--hard); } .r-good { background: var(--good); } .r-easy { background: #2f7ff0; }
@keyframes flip { 0%, 38% { transform: rotateY(0); } 48%, 88% { transform: rotateY(180deg); } 98%, 100% { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .flip-inner { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.kicker { color: var(--brand); font-weight: 750; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.soft { background: var(--bg-soft); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand);
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 650; font-size: 15px; }

@media (max-width: 900px) {
  .steps, .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .steps, .features { grid-template-columns: 1fr; }
}

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 30px; position: relative; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 15px; color: var(--muted); margin: 6px 0 20px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 16px; }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: color-mix(in srgb, var(--good) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231f9d63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.badge { position: absolute; top: -12px; right: 24px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em; }
.fine { text-align: center; color: var(--faint); font-size: 14px; max-width: 640px; margin: 24px auto 0; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* Privacy band */
.privacy-band {
  background: var(--grad); color: #fff; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.privacy-band h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -.02em; }
.privacy-band p { margin: 0; opacity: .92; }
.privacy-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.privacy-band li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; padding: 12px 16px; font-weight: 650; }
.privacy-band a { color: #fff; text-decoration: underline; }
@media (max-width: 800px) { .privacy-band { grid-template-columns: 1fr; padding: 30px 22px; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 14px 28px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 24px; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* CTA */
.final-cta { text-align: center; }
.final-cta img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 20px; box-shadow: var(--shadow); }
.final-cta h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; margin: 0 0 12px; line-height: 1.1; }
.final-cta p { color: var(--muted); margin: 0 0 26px; }
.final-cta .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 44px; color: var(--muted); font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--muted); }

/* Document pages (privacy, terms, support) */
.doc { padding: 56px 0 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 10px; }
.doc .updated { color: var(--faint); font-size: 14px; margin: 0 0 32px; }
.doc .summary { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px 24px; margin-bottom: 36px; }
.doc .summary p { margin: 0; }
.doc h2 { font-size: 22px; letter-spacing: -.01em; margin: 40px 0 10px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 82%, var(--muted)); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; min-width: 140px; }
.doc th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; margin: 8px 0 40px; }
.contact-card h2 { margin: 0; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card .btn { justify-self: start; }

.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.not-found .code { font-size: 96px; font-weight: 850; letter-spacing: -.05em; line-height: 1; }
