/* Rundevu sitesi — renkler uygulamayla aynı (src/lib/theme.ts) */
:root {
  --cream: #F4EFE4;
  --cream2: #ECE6D9;
  --line: #DCD5C5;
  --ink: #16181D;
  --ink-soft: #9297A1;
  --grey: #787C84;
  --blue: #0EA5E9;
  --blue-soft: #E8F4FC;
  --orange: #FF5A36;
  --green: #22A064;
  --white: #FFFFFF;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.stripe { display: flex; height: 6px; }
.stripe i { flex: 1; }
.stripe i:first-child { background: var(--blue); }
.stripe i:last-child { background: var(--orange); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── Üst çubuk ───────────────────────────── */
.top { position: sticky; top: 0; z-index: 10; background: rgba(244, 239, 228, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }
.word { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.word b:first-child { color: var(--blue); font-weight: 800; }
.word b:last-child { color: var(--orange); font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { background: var(--cream2); }
.nav a[aria-current="page"] { color: var(--blue); }
.top .cta { margin-left: 6px; }
@media (max-width: 640px) {
  .top .cta { display: none; }
  .nav a { padding: 8px 7px; font-size: 14.5px; }
  .nav a:first-child { display: none; }
  .word { font-size: 20px; }
  .brand img { width: 30px; height: 30px; }
}
@media (max-width: 360px) { .brand .word { display: none; } }

/* ── Düğmeler ───────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 800; font-size: 16px; border-radius: 30px; padding: 13px 22px; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { filter: brightness(.96); }
.btn-orange:disabled { opacity: .45; cursor: not-allowed; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }

/* ── Başlıklar ve metin ─────────────────── */
h1, h2, h3 { margin: 0; letter-spacing: -.8px; line-height: 1.12; }
h1 { font-size: clamp(36px, 7vw, 60px); font-weight: 900; letter-spacing: -1.6px; }
h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 900; }
h3 { font-size: 19px; font-weight: 800; letter-spacing: -.2px; }
.lede { font-size: 18px; color: #4A4E57; margin: 16px 0 0; max-width: 560px; }
.muted { color: var(--grey); }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 10px; }
.c-blue { color: var(--blue); }
.c-orange { color: var(--orange); }

section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
@media (max-width: 640px) { section { padding: 48px 0; } }

/* ── Anasayfa üst bölüm ─────────────────── */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-phone { justify-self: center; }
.hero h1 { font-size: clamp(44px, 9vw, 76px); }
.hero-sub { font-size: clamp(22px, 3.4vw, 30px); font-weight: 900; letter-spacing: -.6px; color: var(--ink, #16181D); margin: 14px 0 0; line-height: 1.2; }
@media (max-width: 880px) {
  .hero { padding: 36px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Telefon çerçevesi ──────────────────── */
.phone { width: 300px; max-width: 100%; border-radius: 40px; background: var(--ink); padding: 10px; box-shadow: 0 30px 60px -30px rgba(22, 24, 29, .45); }
.phone .screen { border-radius: 31px; overflow: hidden; background: var(--cream); aspect-ratio: 600 / 1301; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-sm { width: 260px; }

/* ── İndir kartı (iPhone · TestFlight) ──── */
.get-card { background: var(--white); border-radius: var(--r-lg); padding: 22px; margin-top: 28px; max-width: 480px; box-shadow: 0 1px 0 var(--line); border: 2px solid var(--orange); }
.btn-lg { font-size: 18px; padding: 16px 22px; }
.get-steps { margin: 16px 0 0; padding-left: 22px; font-size: 15px; color: #4A4E57; line-height: 1.5; }
.get-steps li { margin: 4px 0; }
.get-steps li::marker { color: var(--orange); font-weight: 900; }
.form-title { font-size: 20px; margin: 0; }
.form-sub { font-size: 14.5px; color: #4A4E57; margin: 4px 0 16px; }
.get-card + .form-card { margin-top: 16px; }

/* ── Bekleme listesi formu ──────────────── */
.form-card { background: var(--white); border-radius: var(--r-lg); padding: 22px; margin-top: 28px; max-width: 480px; box-shadow: 0 1px 0 var(--line); }
.form-card label.field { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.form-card input[type="email"] { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); }
.form-card input[type="email"]:focus { outline: none; border-color: var(--blue); background: var(--white); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; font-size: 14px; color: #4A4E57; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.ts { min-height: 65px; margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--grey); text-align: center; margin: 12px 0 0; }
.form-err { color: #C8341A; font-size: 14px; margin: 10px 0 0; min-height: 0; }
.form-done { text-align: left; }
.form-done h3 { font-size: 22px; margin-bottom: 6px; }
.form-done p { margin: 0; color: #4A4E57; }

/* ── Kartlar ───────────────────────────── */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--cream2); border-radius: var(--r-md); padding: 22px; }
.card p { margin: 8px 0 0; color: #4A4E57; font-size: 15px; }
.card .tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 10px; margin-bottom: 12px; }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-orange { background: #FFE9E3; color: var(--orange); }
.tag-ink { background: var(--ink); color: var(--white); }
.tag-green { background: #E3F4EB; color: var(--green); }
.card-white { background: var(--white); }

.steps { counter-reset: s; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 22px; width: 26px; height: 26px; border-radius: 13px; background: var(--orange); color: var(--white); font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; }

.head { max-width: 640px; margin-bottom: 30px; }
.head p { margin: 12px 0 0; color: #4A4E57; font-size: 17px; }

.list-safe { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-safe li { background: var(--white); border-radius: var(--r-sm); padding: 14px 16px 14px 46px; position: relative; font-size: 15.5px; }
.list-safe li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 9px; background: var(--green); }
.list-safe li::after { content: ""; position: absolute; left: 22px; top: 21px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.band { background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { color: var(--white); }
.band p { color: #AEB3BC; margin: 8px 0 0; }

/* ── Rehber ─────────────────────────────── */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { background: var(--white); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 20px; }
.toc a:hover { color: var(--blue); }
.guide-step { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.guide-step:nth-of-type(even) { grid-template-columns: 300px 1fr; }
.guide-step:nth-of-type(even) .phone { order: -1; }
.guide-step .num { display: inline-flex; width: 34px; height: 34px; border-radius: 17px; background: var(--orange); color: var(--white); font-weight: 900; align-items: center; justify-content: center; margin-bottom: 14px; }
.guide-step h2 { font-size: clamp(26px, 3.6vw, 34px); }
.guide-step p { font-size: 16.5px; color: #3D4149; margin: 14px 0 0; max-width: 560px; }
.guide-step ul { margin: 14px 0 0; padding-left: 20px; color: #3D4149; font-size: 16px; max-width: 560px; }
.guide-step li { margin: 6px 0; }
.tip { background: var(--blue-soft); border-radius: var(--r-sm); padding: 12px 14px; font-size: 14.5px !important; color: #24506A !important; }
@media (max-width: 880px) {
  .guide-step, .guide-step:nth-of-type(even) { grid-template-columns: 1fr; gap: 28px; }
  .guide-step:nth-of-type(even) .phone { order: 0; }
  .guide-step .phone { justify-self: center; }
}

/* ── Hakkımızda ─────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 26px 20px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.6px; color: var(--blue); }
.stats span { color: var(--grey); font-size: 14px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stats div + div { border-left: 0; border-top: 1px solid var(--line); } }
.prose { max-width: 680px; }
.prose p { font-size: 17.5px; color: #3D4149; margin: 0 0 18px; }

/* ── Yasal metinler ─────────────────────── */
.legal { max-width: 760px; padding: 48px 20px 72px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -1px; margin-bottom: 10px; }
.legal h2 { font-size: 26px; margin: 44px 0 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 16px; color: #2E3138; }
.legal li { margin: 6px 0; }
.legal .doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.legal .doc-nav a { background: var(--white); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 20px; }
.legal .doc-nav a[aria-current="page"] { background: var(--ink); color: var(--white); }

/* ── Tek mesajlı sayfalar ───────────────── */
.solo { max-width: 460px; margin: 0 auto; padding: 72px 20px 96px; text-align: center; }
.solo h1 { font-size: clamp(30px, 6vw, 40px); letter-spacing: -1px; }
.solo p { color: #4A4E57; font-size: 17px; margin: 14px 0 0; }
.solo .btn { margin-top: 26px; }
.bib { background: var(--white); border-radius: 22px; overflow: hidden; margin: 28px auto 0; width: 240px; padding-bottom: 22px; }
.bib small { display: block; color: var(--grey); font-size: 12px; font-weight: 700; letter-spacing: 2px; margin-top: 18px; }
.bib .no { font-size: 72px; font-weight: 900; letter-spacing: 2px; font-variant-numeric: tabular-nums; line-height: 1.1; }

/* ── Alt bölüm ──────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 44px 0 28px; margin-top: 0; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--grey); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 7px 0; }
.foot a { color: var(--ink); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--blue); }
.foot .about { color: var(--grey); font-size: 14.5px; margin: 12px 0 0; max-width: 300px; }
.foot .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 13px; color: var(--grey); }
.foot .slogan { font-weight: 800; color: var(--ink); }
@media (max-width: 640px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > div:first-child { grid-column: 1 / -1; } }

/* 3D giriş sahnesi: Turuncu ve Mavi, küçük İzmir Kordon gezegeni (23 Ekim) */
.hero-3d { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; justify-self: center; align-self: start; margin-top: 8px; border-radius: 32px; overflow: hidden;
  background: radial-gradient(120% 90% at 70% 8%, #FFE0C8 0%, #F9EADB 45%, var(--cream) 100%); }
.hero-3d canvas { position: absolute; inset: 0; }
.hero-3d-yedek { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8%; transition: opacity .4s; }
.hero-3d-yedek img { width: 100%; height: auto; }
.hero-3d.hazir .hero-3d-yedek { opacity: 0; pointer-events: none; }
.hero-3d-ipucu { position: absolute; z-index: 2; left: 0; right: 0; bottom: 10px; margin: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--grey); pointer-events: none; opacity: 0; transition: opacity .4s; }
.hero-3d.hazir .hero-3d-ipucu { opacity: 1; }
@media (max-width: 880px) { .hero-3d { order: -1; max-width: 520px; aspect-ratio: 1 / .92; } }
