/* Tanıtım sayfası (simulta.net kökü) — tek tema (koyu), kendi paleti.
 *
 * admin/dinleyici'nin ortak token dosyasına (frontend/shared/styles/tokens.css)
 * bağlı DEĞİL: tanıtım sayfası ayrı bir görsel dil taşıyor. Ürünün koyu temasıyla
 * akraba kalsın diye zemin/vurgu değerleri oradan türetildi (#070a10, #3b82f6).
 *
 * Derleme adımı yok; tüm animasyonlar CSS + küçük bir JS (main.js).
 * Hareketler @media (prefers-reduced-motion: no-preference) içinde.
 */

:root {
  color-scheme: dark;

  --bg: #05070d;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-solid: #0d131f;
  --line: rgba(148, 163, 184, 0.16);
  --line-soft: rgba(148, 163, 184, 0.09);

  --text: #e9edf5;
  --text-2: #a7b0c0;
  --text-3: #79839a;

  --accent: #3b82f6;
  --accent-2: #8b5cf6;
  --teal: #2dd4bf;
  --grad: linear-gradient(92deg, #60a5fa 0%, #818cf8 55%, #a78bfa 100%);

  --radius: 14px;
  --radius-lg: 20px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
}

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

/* ---------- Üst çubuk ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 13, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
}

.nav-links a {
  color: var(--text-2);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ---------- Düğmeler ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

.btn-lg {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.38);
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.35);
}

.btn-ghost {
  color: var(--text-2);
  font-size: 0.9rem;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 6rem 0 5.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
}

.blob-a {
  top: -220px;
  left: -140px;
  background: radial-gradient(circle, var(--accent), transparent 65%);
}

.blob-b {
  top: -80px;
  right: -220px;
  background: radial-gradient(circle, var(--accent-2), transparent 65%);
  opacity: 0.2;
}

.float-chip {
  position: absolute;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(13, 19, 31, 0.55);
  color: var(--text-3);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
}

.fc-1 { top: 16%; left: 4%; }
.fc-2 { top: 68%; left: 9%; }
.fc-3 { top: 34%; left: 46%; }
.fc-4 { top: 12%; right: 30%; }
.fc-5 { top: 78%; right: 6%; }
.fc-6 { top: 55%; left: 38%; }
.fc-7 { top: 22%; right: 8%; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 1.4rem;
  max-width: 34rem;
  color: var(--text-2);
  font-size: 1.13rem;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 0.9rem;
}

.hero-facts strong {
  color: var(--text);
  font-weight: 650;
}

.hero-facts .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

/* ---------- Telefon maketi ---------- */

.hero-phone {
  justify-self: center;
  text-align: center;
}

.phone {
  position: relative;
  width: min(320px, 82vw);
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1a2233, #0a0e18);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 90px rgba(99, 102, 241, 0.14);
}

.phone-screen {
  border-radius: 33px;
  background: #070b13;
  border: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1.1rem 1rem 1.2rem;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
  overflow: hidden;
}

.p-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.4rem;
}

.p-brand {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--grad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.p-title {
  font-size: 0.88rem;
  font-weight: 650;
}

.p-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.08);
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.p-live .pulse-dot {
  width: 6px;
  height: 6px;
}

.p-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.p-chip {
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.76rem;
  transition: all 0.3s;
}

.p-chip.active {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
}

.p-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 44px;
  padding: 0 0.2rem;
}

.p-wave span {
  flex: 1;
  height: 22%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--teal), var(--accent));
  opacity: 0.85;
}

.p-transcript {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 0.8rem;
  min-height: 0;
}

.t-line {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.45;
}

.t-line.current {
  color: var(--text);
}

.t-lang {
  color: var(--text-3);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.t-line .caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--teal);
}

.phone-caption {
  margin-top: 1rem;
  color: var(--text-3);
  font-size: 0.8rem;
}

/* ---------- Bölümler ---------- */

.sec {
  padding: 5.5rem 0;
}

.sec-alt {
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(59, 130, 246, 0.06), transparent),
    radial-gradient(600px 300px at 85% 100%, rgba(139, 92, 246, 0.05), transparent);
  border-block: 1px solid var(--line-soft);
}

.sec-eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sec h2 {
  margin: 0.6rem 0 2.4rem;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card {
  padding: 1.6rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-2);
  font-size: 0.94rem;
}

.steps,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.1rem;
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card.mini {
  padding: 1.3rem;
}

.card.mini p {
  font-size: 0.88rem;
}

.step-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(59, 130, 246, 0.08);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #93c5fd;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Fiyatlar ---------- */

.price-lede {
  max-width: 40rem;
  margin: -1.4rem 0 2.2rem;
  color: var(--text-2);
}

.price-grid {
  align-items: stretch;
}

.card.price {
  position: relative;
  display: flex;
  flex-direction: column;
}

.card.price h3 {
  font-size: 0.95rem;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.price-amount {
  margin: 0.2rem 0 0.1rem;
  font-size: 1.9rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-3);
}

.price-per {
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  color: var(--teal);
}

.card.price > p:last-child {
  margin-top: auto;
}

.card.featured {
  border-color: rgba(99, 102, 241, 0.5);
  background:
    radial-gradient(240px 140px at 50% 0%, rgba(99, 102, 241, 0.16), transparent),
    var(--surface);
}

.price-badge {
  position: absolute;
  top: -0.7rem;
  left: 1.2rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem 2rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}

.rule h3 {
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
  font-weight: 650;
}

.rule p {
  color: var(--text-2);
  font-size: 0.9rem;
}

.price-compare {
  margin-top: 2.6rem;
  padding: 1.8rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.price-compare h3 {
  font-size: 1.1rem;
  font-weight: 650;
}

.price-compare-lede {
  margin: 0.3rem 0 1.2rem;
  color: var(--text-2);
  font-size: 0.94rem;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
}

.compare-table th,
.compare-table td {
  padding: 0.65rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.compare-table th {
  color: var(--text-3);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.compare-total {
  color: var(--teal);
  font-weight: 700;
  font-size: 1.1rem;
}

.compare-total span {
  display: block;
  color: var(--text-3);
  font-size: 0.78rem;
  font-weight: 500;
}

.compare-table tfoot td {
  border-bottom: 0;
  font-weight: 700;
  color: var(--text);
}

.compare-table tfoot td:last-child {
  color: var(--teal);
}

.price-note {
  margin: 1rem 0 0;
  color: var(--text-3);
  font-size: 0.84rem;
}

.price-note a {
  color: var(--text-2);
  text-decoration: underline;
}

/* ---------- CTA ---------- */

.cta-card {
  position: relative;
  padding: 3.5rem 2rem;
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(99, 102, 241, 0.16), transparent),
    var(--surface-solid);
  border: 1px solid var(--line);
  overflow: hidden;
}

.cta-card h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  letter-spacing: -0.02em;
}

.cta-card p {
  max-width: 36rem;
  margin: 0 auto 1.8rem;
  color: var(--text-2);
}

/* ---------- Alt bilgi ---------- */

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footnav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.88rem;
}

.footnav a {
  color: var(--text-3);
  text-decoration: none;
}

.footnav a:hover {
  color: var(--text);
}

/* ---------- Animasyonlar ----------
   Kayarken belirme yalnız JS varken devreye girer (html.js): JS yoksa hiçbir
   şey gizli kalmaz. Hareketin tamamı reduced-motion tercihine saygılı. */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .js .reveal.in {
    opacity: 1;
    transform: none;
  }

  .js .reveal.d-1 { transition-delay: 0.1s; }
  .js .reveal.d-2 { transition-delay: 0.2s; }
  .js .reveal.d-3 { transition-delay: 0.3s; }
  .js .reveal.d-4 { transition-delay: 0.4s; }

  .pulse-dot {
    animation: pulse 1.6s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5); }
    55% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); }
  }

  .blob-a { animation: drift-a 18s ease-in-out infinite alternate; }
  .blob-b { animation: drift-b 22s ease-in-out infinite alternate; }

  @keyframes drift-a {
    from { transform: translate(0, 0); }
    to { transform: translate(70px, 40px); }
  }

  @keyframes drift-b {
    from { transform: translate(0, 0); }
    to { transform: translate(-60px, 30px); }
  }

  .float-chip {
    animation: floaty 12s ease-in-out infinite;
  }

  .fc-1 { animation-delay: 0s; }
  .fc-2 { animation-delay: -2s; }
  .fc-3 { animation-delay: -4s; }
  .fc-4 { animation-delay: -6s; }
  .fc-5 { animation-delay: -8s; }
  .fc-6 { animation-delay: -10s; }
  .fc-7 { animation-delay: -5s; }

  @keyframes floaty {
    0%, 100% { opacity: 0; transform: translateY(14px); }
    18%, 78% { opacity: 0.7; }
    50% { transform: translateY(-10px); }
  }

  .p-wave span {
    animation: wave 1.15s ease-in-out infinite alternate;
  }

  /* Bar yükseklikleri deterministik ama düzensiz görünsün diye elle serpiştirildi */
  .p-wave span:nth-child(1)  { animation-delay: -0.10s; }
  .p-wave span:nth-child(2)  { animation-delay: -0.45s; }
  .p-wave span:nth-child(3)  { animation-delay: -0.80s; }
  .p-wave span:nth-child(4)  { animation-delay: -0.25s; }
  .p-wave span:nth-child(5)  { animation-delay: -0.65s; }
  .p-wave span:nth-child(6)  { animation-delay: -1.00s; }
  .p-wave span:nth-child(7)  { animation-delay: -0.35s; }
  .p-wave span:nth-child(8)  { animation-delay: -0.75s; }
  .p-wave span:nth-child(9)  { animation-delay: -0.15s; }
  .p-wave span:nth-child(10) { animation-delay: -0.55s; }
  .p-wave span:nth-child(11) { animation-delay: -0.90s; }
  .p-wave span:nth-child(12) { animation-delay: -0.30s; }
  .p-wave span:nth-child(13) { animation-delay: -0.70s; }
  .p-wave span:nth-child(14) { animation-delay: -0.05s; }
  .p-wave span:nth-child(15) { animation-delay: -0.50s; }
  .p-wave span:nth-child(16) { animation-delay: -0.85s; }
  .p-wave span:nth-child(17) { animation-delay: -0.20s; }
  .p-wave span:nth-child(18) { animation-delay: -0.60s; }
  .p-wave span:nth-child(19) { animation-delay: -0.95s; }
  .p-wave span:nth-child(20) { animation-delay: -0.40s; }

  @keyframes wave {
    from { height: 14%; }
    to { height: 92%; }
  }

  .t-line .caret {
    animation: blink 0.9s steps(1) infinite;
  }

  @keyframes blink {
    50% { opacity: 0; }
  }
}

/* ---------- Dar ekran ---------- */

@media (max-width: 900px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .lede {
    margin-inline: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .hero-facts {
    justify-content: center;
  }

  .nav-links {
    display: none; /* dar ekranda bölüm bağlantıları yerine kaydırmak yeterli */
  }

  .float-chip {
    display: none; /* dar ekranda süs yerine yer açılıyor */
  }

  .sec {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .nav-cta .btn-primary {
    display: none; /* hero'daki büyük CTA zaten ilk ekranda */
  }
}
