/* Voxie — tanıtım sitesi.
   Yön: uygulamanın kendisiyle aynı sahne — kömür zemin, nane yeşili vurgu.
   Ekran görüntüleri sayfanın en güçlü varlığı; sayfa onların paletinde
   yaşar ki siteden mağazaya geçiş tek bir dünya gibi okunsun.
   İmza öğe hero'nun altındaki konuşma ritimli dalga formu — sayfanın
   ufuk çizgisi. Başka yerde tekrar edilmiyor. */

/* Fontlar self-host (KVKK: Google'a IP aktarımı yok).
   unicode-range değerleri Google Fonts css2 çıktısından birebir. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-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;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/instrument-sans-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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/instrument-sans-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;
}

:root {
  --bg: #0c1110;
  --surface: #131a18;
  --surface-2: #182320;
  --line: #243230;
  --text: #eef5f2;
  --muted: #8fa39b;
  --mint: #2ee59d;
  --mint-hi: #8ff0c9;
  --mint-ink: #071912; /* mint zemin üstü metin */
  --gold: #ffc14d;     /* yalnızca premium/taç bahsi */

  --max: 68rem;
  --pad: clamp(1.25rem, 5vw, 3rem);

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

*,
*::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: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--mint);
  color: var(--mint-ink);
}

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

section[id] {
  scroll-margin-top: 5.5rem;
}

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* --- üst bar ------------------------------------------------------ */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 17, 16, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.top .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark svg {
  display: block;
  width: 28px;
  height: 28px;
}

.mark span::after {
  content: ".";
  color: var(--mint);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang {
  display: flex;
  gap: 0.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang a {
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.lang a[aria-current="true"] {
  color: var(--mint-ink);
  background: var(--text);
}

.top-cta {
  display: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.top-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

@media (min-width: 48rem) {
  .top-cta {
    display: inline-block;
  }
}

/* sticky bar kenarlığı kaydırınca belirir — JS'siz */
@supports (animation-timeline: scroll()) {
  .top {
    animation: topbar linear both;
    animation-timeline: scroll();
    animation-range: 0 120px;
  }
  @keyframes topbar {
    to {
      border-color: var(--line);
      background: rgba(12, 17, 16, 0.88);
    }
  }
}

/* --- hero --------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) 0;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 1.5rem + 4.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--mint-hi), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__copy > p:not(.eyebrow):not(.trust-line) {
  margin: 1.5rem 0 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
}

.trust-line {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

/* --- telefon çerçevesi -------------------------------------------- */

.phone {
  width: clamp(240px, 26vw, 320px);
  padding: 10px;
  background: #191f1d;
  border: 1px solid #2a3833;
  border-radius: 48px;
  box-shadow:
    0 40px 80px -24px rgba(0, 0, 0, 0.65),
    0 0 120px rgba(46, 229, 157, 0.14);
  position: relative;
  margin: 0; /* figure UA stili yan boşluk bırakıyor */
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
}

.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  translate: -50% 0;
  width: 88px;
  height: 26px;
  border-radius: 999px;
  background: #000;
  z-index: 1;
}

.phone--tilt {
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}

.phone--tilt:hover {
  transform: rotate(0deg);
}

@media (max-width: 63.9375rem) {
  .phone--tilt {
    transform: none;
  }
  .phone {
    width: min(72vw, 300px);
  }
}

/* --- imza: konuşma ritimli dalga formu ---------------------------- */
/* Hero'nun alt kenarı: sayfanın ufuk çizgisi. Tek imza, tekrar yok. */

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 45%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(46, 229, 157, 0.1), transparent 70%);
  pointer-events: none;
}

.wave {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.55vw, 6px);
  height: clamp(64px, 10vw, 120px);
  margin-block: clamp(2.5rem, 6vw, 4rem) 0;
  position: relative;
  z-index: 1;
}

.wave span {
  flex: 1;
  min-width: 2px;
  height: calc(var(--h) * 1%);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mint-hi), var(--mint));
  animation: speak 1.7s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.05s);
}

@keyframes speak {
  0%,
  100% {
    transform: scaleY(0.32);
    opacity: 0.75;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* --- mağaza rozetleri --------------------------------------------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.55rem 1.25rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.store:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 229, 157, 0.5);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
}

.store:active {
  transform: translateY(0) scale(0.98);
}

.store__icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.store__label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store__label small {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.store__label strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* --- bölümler ----------------------------------------------------- */

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(3.5rem, 9vw, 6rem);
  background: linear-gradient(
    90deg,
    var(--mint) 0%,
    rgba(46, 229, 157, 0.35) 12%,
    var(--line) 32%,
    var(--line) 100%
  );
}

.section-lead {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
  max-width: 20ch;
}

/* zigzag özellik blokları */

.feature {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.feature + .feature {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

@media (min-width: 64rem) {
  .feature {
    grid-template-columns: 1fr 1fr;
  }
  .feature:nth-of-type(even) .feature__visual {
    order: -1;
  }
}

.feature__visual {
  display: flex;
  justify-content: center;
}

.feature__visual .phone {
  width: clamp(220px, 22vw, 280px);
}

.feature .eyebrow {
  color: var(--mint);
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.feature__copy > p {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
}

.checks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.checks li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.checks svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--mint);
  translate: 0 3px;
}

/* mesajlar bölümü: ekran görüntüsü yerine CSS DM maketi */

.dm {
  width: min(100%, 340px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  display: grid;
  gap: 0.6rem;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}

.dm__bubble {
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.dm__bubble--in {
  background: var(--surface-2);
  border-bottom-left-radius: 4px;
  justify-self: start;
}

.dm__bubble--out {
  background: rgba(46, 229, 157, 0.16);
  border: 1px solid rgba(46, 229, 157, 0.3);
  border-bottom-right-radius: 4px;
  justify-self: end;
}

.dm__voice {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.dm__voice svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
  flex: none;
}

.dm__bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.dm__bars i {
  width: 3px;
  border-radius: 999px;
  background: var(--mint);
  display: inline-block;
}

.dm__time {
  font-size: 0.75rem;
  color: var(--muted);
}

/* --- güven / güvenlik --------------------------------------------- */

.panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.panel > h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.panel > p {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 56ch;
}

.safety-grid {
  display: grid;
  gap: 1.5rem 2rem;
}

@media (min-width: 48rem) {
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.safety-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.safety-item svg {
  width: 22px;
  height: 22px;
  color: var(--mint);
  translate: 0 3px;
}

.safety-item h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem;
}

.safety-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- SSS ---------------------------------------------------------- */

.faq {
  max-width: 44rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding-block: 1.1rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--muted);
  transition: rotate 0.2s ease;
}

.faq details[open] summary svg {
  rotate: 180deg;
}

.faq details p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 60ch;
}

.faq details a {
  color: var(--mint);
}

/* --- kapanış ------------------------------------------------------ */

.closing {
  text-align: center;
  padding-block: clamp(4rem, 10vw, 7rem);
  position: relative;
}

.closing::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 80%;
  background: radial-gradient(50% 80% at 50% 100%, rgba(46, 229, 157, 0.12), transparent 70%);
  pointer-events: none;
}

.closing h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.closing > p {
  margin: 0;
  color: var(--muted);
}

.closing .cta-row {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --- alt bilgi ---------------------------------------------------- */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 3.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--muted);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.foot a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

.foot a:hover {
  color: var(--text);
  text-decoration-color: var(--mint);
}

/* --- görünürlük animasyonları (saf CSS, desteksizde zarif düşüş) -- */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .feature,
    .panel,
    .faq details {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    @keyframes rise {
      from {
        opacity: 0;
        translate: 0 24px;
      }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .wave span {
    animation: none;
  }
  .phone--tilt {
    transform: none;
    transition: none;
  }
}

/* --- metin sayfaları (gizlilik, şartlar, destek) ------------------ */

.doc {
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 8vw, 5rem);
  max-width: 44rem;
}

.doc h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.5rem;
}

.doc .updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 2.5rem;
}

.doc h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 0.75rem;
}

.doc p,
.doc li {
  color: var(--muted);
}

.doc a {
  color: var(--mint);
}

.doc ul {
  padding-inline-start: 1.25rem;
}

.doc li {
  margin-bottom: 0.5rem;
}

.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  margin: 2rem 0;
}

.notice p {
  margin: 0;
}
