/* Faturala tanıtım sitesi — renkler uygulamanın tasarım token'larıyla aynıdır
   (faturala-app/src/theme/tokens.ts). */

:root {
  --brand: #10514B;
  --brand-dark: #0B3B37;
  --brand-mid: #14675F;
  --brand-light: #E4EFEC;
  --brand-tint: #F1F7F5;
  --gold: #E3A438;
  --gold-light: #F6D27A;
  --gold-tint: #FBF0DB;
  --gold-ink: #5A3B07;
  --bg: #F6F6F3;
  --surface: #FFFFFF;
  --surface-alt: #EFEFEA;
  --text: #16211F;
  --muted: #66716E;
  --faint: #9BA39F;
  --border: #E4E5E0;
  --success: #2F9E6E;
  --success-bg: #E7F5EE;
  --warning: #C77800;
  --warning-bg: #FBF0DF;
  --error: #D6473F;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(16, 33, 31, .04), 0 8px 24px rgba(16, 33, 31, .06);
  --shadow-lg: 0 30px 60px -20px rgba(11, 59, 55, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #3FA294;
    --brand-light: #123230;
    --brand-tint: #0F2624;
    --gold: #F0B655;
    --gold-tint: #2A2114;
    --bg: #0E1412;
    --surface: #161D1B;
    --surface-alt: #1C2422;
    --text: #EDF2F0;
    --muted: #9AA6A2;
    --faint: #647069;
    --border: #293230;
    --success: #4CBE8F;
    --success-bg: #13322A;
    --warning: #E3A438;
    --warning-bg: #332711;
    --error: #E56E67;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container.narrow { width: min(100% - 32px, 820px); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--brand-dark); color: #fff; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* svg ikonlar: çizgi stili */
.hero-points svg, .f-icon svg, .fc-icon svg, .c-icon svg, .app-voice-icon svg, .btn svg {
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand-dark); color: #fff; box-shadow: 0 6px 16px -6px rgba(11, 59, 55, .6); }
.btn-primary:hover { background: var(--brand-mid); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--gold-ink); box-shadow: 0 8px 20px -8px rgba(227, 164, 56, .8); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-alt); }
@media (prefers-color-scheme: dark) {
  .btn-primary { background: var(--brand); color: #04201D; }
  .btn-primary:hover { background: #52b5a7; }
}

/* Mağaza düğmeleri */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-width: 184px; padding: 10px 20px 10px 16px; border-radius: 14px;
  background: #0D1513; color: #fff; border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .15s, box-shadow .15s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn span { display: flex; flex-direction: column; white-space: nowrap; font-size: 18px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.store-btn small { font-size: 10px; font-weight: 600; letter-spacing: .08em; opacity: .75; }
.store-btn.light { background: #fff; color: #0D1513; border-color: transparent; }
.store-btn.is-soon { cursor: default; opacity: .62; }
.store-btn.is-soon:hover { transform: none; box-shadow: none; }
.store-btn.is-soon::after {
  content: "Yakında"; position: absolute; top: -9px; right: -8px;
  padding: 2px 9px; border-radius: 999px; background: var(--gold); color: var(--gold-ink);
  font-size: 11px; font-weight: 800;
}
@media (prefers-color-scheme: dark) {
  .hero .store-btn { background: #fff; color: #0D1513; }
}

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand img { border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .15s, background .15s; }
.nav a:not(.btn):hover { color: var(--text); background: var(--surface-alt); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; padding: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Koyu hero'nun üstündeyken (main.js) saydam menü, beyaz yazı. */
.site-header.on-dark { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.site-header.on-dark .brand { color: #fff; }
.site-header.on-dark .nav-toggle span { background: #fff; }
.site-header.on-dark .nav-cta { background: linear-gradient(135deg, #F6D27A, #E3A438); color: #3A2A07; box-shadow: none; }
@media (min-width: 861px) {
  .site-header.on-dark .nav a:not(.btn) { color: rgba(255, 255, 255, .8); }
  .site-header.on-dark .nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .1); }
}

/* ---------- Marka zemini (uygulamanın açılış/tanıtım ekranları: gradyan + süzülen ışık haleleri) ---------- */
.brand-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(135deg, #0B3B37, #14675F); }
.halo { position: absolute; border-radius: 50%; pointer-events: none; animation: halo-drift 8s ease-in-out infinite alternate; }
.halo-light { width: 680px; height: 680px; top: -180px; right: -220px; background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent); }
.halo-gold { width: 620px; height: 620px; bottom: -220px; left: -240px; background: radial-gradient(closest-side, rgba(227, 164, 56, .16), transparent); animation-direction: alternate-reverse; }
@keyframes halo-drift { from { transform: translate(0, 0); } to { transform: translate(48px, 36px); } }
@keyframes ring-pulse { 0% { opacity: 0; transform: scale(.75); } 20% { opacity: .45; } 100% { opacity: 0; transform: scale(1.45); } }

/* ---------- Hero ---------- */
/* Menünün arkasına uzanır: üst menü koyu zeminde saydamdır (.site-header.on-dark). */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -68px; padding: 124px 0 96px; color: #fff; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; margin-bottom: 22px;
  border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 13px; font-weight: 700;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #9FE3C9; box-shadow: 0 0 0 4px rgba(159, 227, 201, .22); }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.hl {
  background: linear-gradient(100deg, #F6D27A, #E3A438);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 22px 0 32px; max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, .78); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 18px; height: 18px; color: #F0C56A; stroke-width: 2.6; }
.hero-ring {
  position: absolute; top: 50%; left: 50%; width: 400px; height: 400px; margin: -200px 0 0 -200px;
  border-radius: 50%; border: 2px solid #F0C56A; opacity: 0; animation: ring-pulse 2.6s ease-out infinite; pointer-events: none;
}

/* Telefon */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone {
  position: relative; width: 300px; aspect-ratio: 300 / 610; padding: 12px;
  border-radius: 46px; background: #0D1513;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), inset 0 0 0 2px #26302D;
  transform: rotate(2.5deg);
}
.phone-notch { position: absolute; top: 22px; left: 50%; z-index: 2; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #0D1513; }
.screen {
  position: relative; height: 100%; overflow: hidden; padding: 52px 16px 16px;
  border-radius: 35px; background: #F6F6F3; color: #16211F; font-size: 11px; line-height: 1.35;
}
.screen p { margin: 0; }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; }
.app-eyebrow { color: #9BA39F; font-weight: 700; font-size: 10px; }
.app-hello { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.app-company { color: #66716E; font-weight: 600; }
.app-avatar { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: #10514B; color: #fff; font-weight: 800; }
.app-voice { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 10px; border-radius: 14px; background: #FBF0DB; }
.app-voice-icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #F6D27A, #E3A438); color: #5A3B07; }
.app-voice-icon svg { width: 17px; height: 17px; stroke-width: 2.2; }
.app-voice-title { font-weight: 800; font-size: 12px; }
.app-voice-sub { color: #66716E; font-size: 10px; }
.app-revenue { margin-top: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #0B3B37, #14675F); color: #fff; }
.app-label { font-size: 10px; opacity: .75; font-weight: 600; }
.app-amount { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px !important; }
.app-bars { display: flex; align-items: flex-end; gap: 7px; height: 52px; margin-top: 10px; }
.app-bars span { flex: 1; height: var(--h); border-radius: 5px; background: rgba(255, 255, 255, .22); }
.app-bars span.on { background: linear-gradient(180deg, #F6D27A, #E3A438); }
.app-section { margin: 14px 0 8px !important; font-weight: 800; font-size: 13px; }
.app-inv { display: flex; align-items: center; gap: 9px; padding: 9px; margin-bottom: 7px; border-radius: 13px; background: #fff; border: 1px solid #EDEDE8; }
.app-inv-icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #E4EFEC; color: #10514B; font-weight: 800; }
.app-inv-icon.b { background: #FBF0DB; color: #B9822A; }
.app-inv .grow { flex: 1; min-width: 0; }
.app-inv .grow p, .app-inv .right p { font-weight: 700; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-inv small { color: #9BA39F; font-size: 9px; }
.app-inv .right { text-align: right; }
.pill { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 9px; font-weight: 800; }
.pill.ok { background: #E7F5EE; color: #2F9E6E; }
.pill.wait { background: #FBF0DF; color: #C77800; }
.app-fab { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px; border-radius: 999px; text-align: center; background: #0B3B37; color: #fff; font-weight: 800; font-size: 13px; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.3; color: var(--text); animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-weight: 800; }
.float-card small { color: var(--muted); }
.fc-1 { left: 0; bottom: 18%; }
.fc-2 { right: -6px; top: 14%; animation-delay: -3s; }
.fc-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--brand-light); color: var(--brand); }
.fc-icon.gold { background: linear-gradient(135deg, #F6D27A, #E3A438); color: #0B3B37; }
.fc-icon.wa { background: #25D366; color: #fff; }
.fc-icon svg { width: 19px; height: 19px; stroke-width: 2.4; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Rakamlar ---------- */
.stats { padding-bottom: 24px; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--border); border: 1px solid var(--border);
}
.stats-inner > div { padding: 24px; background: var(--surface); }
.stats strong { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--brand); }
.stats span { font-size: 14px; color: var(--muted); }

/* ---------- Bölümler ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.section-head > p:last-child { margin-top: 14px; font-size: 17px; color: var(--muted); }
.kicker { margin-bottom: 12px !important; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.gold-k { color: var(--gold); }

/* Özellikler */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); }
.f-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; background: var(--brand-light); color: var(--brand); }
.f-icon.gold { background: var(--gold-tint); color: var(--gold); }
.f-icon.wa { background: #E3F7EA; color: #1FA855; }
@media (prefers-color-scheme: dark) { .f-icon.wa { background: #10301E; color: #3DD07A; } }
.f-icon svg { width: 24px; height: 24px; }
.feature h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 17px; font-weight: 800; }
.feature p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.tag-pro { padding: 2px 7px; border-radius: 6px; background: linear-gradient(135deg, #F6D27A, #E3A438); color: #5A3B07; font-size: 10px; font-weight: 800; letter-spacing: .06em; }

/* Onay işaretli liste */
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--success-bg) center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F9E6E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Fiyatlar */
.pricing-section { background: var(--brand-tint); }
.billing-toggle { display: flex; width: max-content; margin: -16px auto 36px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.billing-toggle button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.billing-toggle button.active { background: var(--brand-dark); color: #fff; }
.save { padding: 2px 8px; border-radius: 999px; background: var(--gold-tint); color: var(--gold); font-size: 11px; font-weight: 800; }
.billing-toggle button.active .save { background: var(--gold); color: var(--gold-ink); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 24px; }
.plans-single { grid-template-columns: minmax(0, 440px); }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; }
.plan-desc { margin-top: 4px !important; color: var(--muted); font-size: 14.5px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 4px !important; }
.price strong { font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price-note { min-height: 22px; font-size: 13.5px; font-weight: 600; color: var(--gold); }
.plan .checks { margin: 24px 0 32px; flex: 1; }
.plan-pro { border: 2px solid var(--gold); box-shadow: 0 30px 60px -30px rgba(227, 164, 56, .55); }
.plan-badge { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, #F6D27A, #E3A438); color: #5A3B07; font-size: 12px; font-weight: 800; }
.fine { margin-top: 24px !important; text-align: center; font-size: 13px; color: var(--faint); }

/* SSS */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--brand-light); color: var(--brand); font-size: 20px; font-weight: 500; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; }

/* İndir bandı */
.download { padding: 0 0 24px; }
.download-inner {
  display: flex; align-items: center; gap: 28px; padding: 40px 44px; border-radius: 32px;
  background: radial-gradient(circle at 100% 0%, rgba(246, 210, 122, .28), transparent 40%), linear-gradient(135deg, #0B3B37, #14675F);
  color: #fff; box-shadow: var(--shadow-lg);
}
.download-icon { flex: none; border-radius: 20px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.download-copy { flex: 1; }
.download-copy h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.download-copy p { margin-top: 8px; color: rgba(255, 255, 255, .78); }

/* İletişim */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transition: transform .15s, border-color .15s;
}
a.contact-card:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.contact-card small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.contact-card b { display: block; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.c-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--brand-light); color: var(--brand); }
.c-icon.wa { background: #E3F7EA; color: #1FA855; }
@media (prefers-color-scheme: dark) { .c-icon.wa { background: #10301E; color: #3DD07A; } }
.c-icon svg { width: 22px; height: 22px; }

.contact-form { display: grid; gap: 16px; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.contact-form h3 { font-size: 20px; font-weight: 800; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .row-one { grid-template-columns: 1fr; position: relative; }
.contact-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border); color: var(--text); font-size: 15px; font-weight: 500;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}
.contact-form [aria-invalid="true"] { border-color: var(--error); }
.contact-form .btn { justify-self: start; }
.form-error { color: var(--error); font-size: 14px; font-weight: 600; }
.form-hint { font-size: 13px; color: var(--faint); }

/* ---------- Alt bilgi ---------- */
.site-footer { margin-top: 40px; padding: 64px 0 32px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-alt); color: var(--muted); }
.socials a:hover { color: var(--brand); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links h4 { margin-bottom: 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.footer-links a { display: block; padding: 4px 0; color: var(--muted); font-size: 15px; font-weight: 500; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--faint); }

/* ---------- "Nasıl çalışır" animasyonu ----------
   Zamanlama: data-at → --at / --anim, data-out → --out (assets/js/demo.js). Sahne etkinleşince
   (.is-active) animasyonlar baştan başlar; .is-paused tümünü dondurur. */
.demo {
  position: relative; overflow: hidden; border-radius: 28px;
  background: #082824; color: #fff; box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.demo-stage { position: relative; height: 640px; overflow: hidden; }
.demo-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(246, 210, 122, .16), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(63, 162, 148, .35), transparent 42%),
    linear-gradient(135deg, #0B3B37, #10514B 55%, #0E4741);
}
.demo-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%);
}

/* Zaman çizelgesi */
.is-active[data-at], .is-active [data-at], .is-active[data-out], .is-active [data-out] {
  animation:
    var(--anim, none) var(--dur, .5s) cubic-bezier(.2, .8, .2, 1) var(--at, 0s) both,
    var(--anim-out, none) .3s ease var(--out, 0s) forwards;
}
[data-a="ch"] { --dur: .04s; }
.demo.is-paused [data-at], .demo.is-paused [data-out], .demo.is-paused .spin::after { animation-play-state: paused !important; }
@keyframes d-in { from { opacity: 0; } }
@keyframes d-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes d-ch { from { opacity: 0; } }
@keyframes d-pop { 0% { opacity: 0; transform: scale(.5); } 70% { opacity: 1; transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes d-press { 0%, 100% { transform: none; } 45% { transform: scale(.93); filter: brightness(.88); } }
@keyframes d-tap { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 30% { opacity: .9; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.7); } }
@keyframes d-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes d-drop { from { opacity: 0; transform: translateY(-120%); } }
@keyframes d-slide { from { transform: translateY(105%); } }
@keyframes d-out { to { opacity: 0; visibility: hidden; } }
@keyframes d-fly { from { opacity: 0; transform: translateY(40px) rotate(8deg); } }
@keyframes d-stamp { from { opacity: 0; transform: rotate(-12deg) scale(2.2); } }
@keyframes d-left { from { opacity: 0; transform: translateX(-30px); } }
@keyframes d-right { from { opacity: 0; transform: translateX(80px); } }
@keyframes d-plane { from { opacity: 0; transform: translate(-60px, 40px); } }
@keyframes d-dropin { from { opacity: 0; transform: translateY(-24px); } }
@keyframes d-grow { from { opacity: 0; transform: scale(.6); } }

.demo .scene, .demo-side .side-item, .demo-badges .badge-set {
  position: absolute; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.demo .scene.is-active, .demo-side .side-item.is-active, .demo-badges .badge-set.is-active { opacity: 1; visibility: visible; }

/* Sol başlık, sağ rozetler */
.demo-side { position: absolute; left: 6%; top: 50%; width: 30%; height: 220px; transform: translateY(-58%); }
.side-item { inset: 0; }
.side-no { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(246, 210, 122, .16); color: #F6D27A; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.side-item strong { display: block; margin-top: 14px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.side-item p { margin-top: 12px; max-width: 300px; color: rgba(255, 255, 255, .72); font-size: 16px; }
.demo-badges { position: absolute; right: 6%; top: 50%; width: 26%; height: 200px; transform: translateY(-58%); }
.badge-set { inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.badge-set span { padding: 10px 16px; border-radius: 14px; background: #fff; color: #0B3B37; font-weight: 800; font-size: 14.5px; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); }

/* Telefon */
.dphone {
  position: absolute; left: 50%; top: 28px; width: 256px; height: 520px; margin-left: -128px; padding: 10px;
  border-radius: 42px; background: #0D1513; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px #26302D;
}
.dphone-notch { position: absolute; top: 18px; left: 50%; z-index: 5; width: 72px; height: 20px; margin-left: -36px; border-radius: 20px; background: #0D1513; }
.dscreen {
  position: relative; height: 100%; overflow: hidden; border-radius: 33px;
  background: #F6F6F3; color: #16211F; font-size: 11px; line-height: 1.35;
}
.dscreen p { margin: 0; }
.dscreen .scene { inset: 0; padding: 44px 14px 14px; }
.dscreen .panel { position: absolute; inset: 0; padding: 44px 14px 14px; }
.dscreen b { font-weight: 800; }
.dscreen small { display: block; color: #66716E; font-size: 9.5px; }
.t-title { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.t-title.sm { font-size: 14px; }
.t-sub { margin-top: 2px !important; color: #66716E; font-size: 10.5px; }
.d-bar { margin-bottom: 12px !important; font-weight: 800; font-size: 13px; }
.d-label { margin: 4px 0 6px !important; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9BA39F; }
.d-btn { margin-top: 12px; padding: 11px; border-radius: 999px; background: #0B3B37; color: #fff; text-align: center; font-weight: 800; font-size: 12px; }
.d-btn.gold { background: linear-gradient(135deg, #F6D27A, #E3A438); color: #5A3B07; }
.av { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #E4EFEC; color: #10514B; font-weight: 800; font-size: 12px; }
.av.sm { width: 20px; height: 20px; border-radius: 7px; font-size: 10px; }
.field { margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid #E4E5E0; }
.field p { min-height: 18px; font-size: 13px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 6px; }
.field.big { border-color: #10514B; box-shadow: 0 0 0 3px rgba(16, 81, 75, .12); }
.field.big p { font-size: 16px; }

/* 0 · açılış (SplashScreen.tsx: işaret yerine oturur, halka yayılır, parıltı, harf harf yazı, ilerleme çubuğu) */
.sc-splash { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: linear-gradient(135deg, #0B3B37, #14675F); }
.sp-halo { position: absolute; border-radius: 50%; animation: halo-drift 4s ease-in-out infinite alternate; }
.sp-halo.a { width: 260px; height: 260px; top: -60px; right: -120px; background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent); }
.sp-halo.b { width: 240px; height: 240px; bottom: 30px; left: -120px; background: radial-gradient(closest-side, rgba(227, 164, 56, .16), transparent); animation-direction: alternate-reverse; }
.sp-mark { position: relative; width: 112px; height: 112px; }
.sp-glyph { position: relative; width: 112px; height: 112px; }
.sp-ring { position: absolute; inset: -10px; }
.sp-ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #F0C56A; opacity: 0; animation: ring-pulse 1.8s ease-out infinite; }
.sp-shine { stroke-dasharray: 10 100; stroke-dashoffset: 12; animation: sp-shine 2.9s ease-in-out .55s infinite; }
@keyframes sp-shine { 0% { stroke-dashoffset: 12; } 26%, 100% { stroke-dashoffset: -50; } }
.sp-word { display: flex; justify-content: center; margin-top: 4px !important; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.sp-word span { display: inline-block; }
.sp-tag { margin-top: 6px !important; color: rgba(255, 255, 255, .72); font-size: 11px; }
.sp-track { position: relative; width: 112px; height: 3px; margin-top: 26px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.sp-track i { position: absolute; top: 0; width: 40px; height: 3px; border-radius: 2px; background: #F0C56A; animation: sp-track 1.3s ease-in-out infinite; }
@keyframes sp-track { from { transform: translateX(-40px); } to { transform: translateX(112px); } }
@keyframes d-settle { from { transform: translateY(46px) scale(1.6); } }
@keyframes d-rise { from { opacity: 0; transform: translateY(16px); } }
.demo.is-paused .sp-halo, .demo.is-paused .sp-ring i, .demo.is-paused .sp-shine, .demo.is-paused .sp-track i { animation-play-state: paused; }

/* 1 · mağaza + giriş */
.store-top { font-weight: 800; font-size: 13px; color: #5f6368; }
.store-app { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.store-app img { border-radius: 16px; }
.store-app b { font-size: 16px; }
.install { position: relative; display: grid; height: 38px; margin-top: 16px; overflow: hidden; border-radius: 999px; background: #01875F; color: #fff; font-weight: 800; font-size: 12px; }
.install-fill { position: absolute; inset: 0; background: #0B3B37; transform-origin: left; transform: scaleX(0); }
.install .lbl { grid-area: 1 / 1; position: relative; display: grid; place-items: center; }
.tap { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .55); opacity: 0; pointer-events: none; }
.store-shots { display: flex; gap: 8px; margin-top: 18px; }
.store-shots span { flex: 1; height: 190px; border-radius: 12px; background: linear-gradient(160deg, #E4EFEC, #F1F7F5); border: 1px solid #E4E5E0; }
.store-shots span:nth-child(2) { background: linear-gradient(160deg, #0B3B37, #14675F); }
.sc-login { display: flex; flex-direction: column; }
.sc-login img { border-radius: 13px; margin: 8px 0 12px; }
/* Giriş ekranı (LoginScreen.tsx): koyu marka başlığı + üstüne binen beyaz kart */
.dscreen .panel.sc-login { padding: 0; background: #F6F6F3; }
.login-hero { display: flex; flex-direction: column; align-items: center; padding: 42px 16px 32px; text-align: center; color: #fff; background: linear-gradient(135deg, #0B3B37, #14675F); }
.sc-login .login-hero img { margin: 0; border-radius: 11px; }
.lh-brand { margin-top: 6px !important; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.lh-tag { margin-top: 2px !important; color: rgba(255, 255, 255, .75); font-size: 9.5px; }
.lh-pills { display: flex; gap: 5px; margin-top: 10px; }
.lh-pills span { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: 8.5px; font-weight: 800; }
.login-card { position: relative; margin: -16px 10px 0; padding: 14px 12px; border-radius: 18px; background: #fff; box-shadow: 0 12px 26px -14px rgba(16, 33, 31, .45); }
.login-ok { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-weight: 800; font-size: 13px; color: #2F9E6E; }
.ok-dot { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #E7F5EE; }

/* 2 · alıcı */
.spin { position: relative; width: 14px; height: 14px; margin-left: auto; }
.spin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #E4EFEC; border-top-color: #10514B; animation: d-rot .7s linear infinite; }
@keyframes d-rot { to { transform: rotate(360deg); } }
.buyer { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px; border-radius: 13px; background: #fff; border: 1px solid #EDEDE8; box-shadow: 0 10px 20px -14px rgba(16, 33, 31, .4); }
.buyer > div { flex: 1; min-width: 0; }
.buyer b { font-size: 11.5px; }
.buyer b, .buyer small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hint-ok { margin-top: 10px !important; font-weight: 800; color: #2F9E6E; }
.dscreen .pill { font-size: 8.5px; }

/* 3 · kalem */
.chip-buyer { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #fff; border: 1px solid #EDEDE8; font-weight: 800; }
.catalog { position: absolute; left: 10px; right: 10px; top: 128px; z-index: 2; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -16px rgba(16, 33, 31, .45); }
.cat-head { margin-bottom: 6px !important; font-weight: 800; }
.cat-row { padding: 8px 10px; border-radius: 10px; }
.cat-row.hot { background: #E4EFEC; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; border-radius: 13px; background: #fff; border: 1px solid #EDEDE8; }
.amt { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.totals { margin-top: 12px; padding: 10px 12px; border-radius: 13px; background: #fff; border: 1px solid #EDEDE8; }
.totals p { display: flex; justify-content: space-between; padding: 4px 0; color: #66716E; }
.totals b { color: #16211F; }
.totals .neg { color: #C77800; }
.totals .grand { margin-top: 4px !important; padding-top: 8px; border-top: 1px dashed #E4E5E0; color: #16211F; font-weight: 800; }
.totals .grand b { font-size: 15px; color: #10514B; }

/* 4 · SMS onayı */
.sms { position: absolute; left: 8px; right: 8px; top: 34px; z-index: 4; display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 14px; background: rgba(30, 36, 34, .94); color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
.sms small { color: rgba(255, 255, 255, .6); }
.sms b { font-size: 10.5px; }
.sms-ic { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; background: #2F9E6E; font-size: 13px; }
.sum { display: flex; justify-content: space-between; align-items: center; padding: 12px; border-radius: 13px; background: #fff; border: 1px solid #EDEDE8; }
.sum > p { font-size: 14px; font-weight: 800; }
.create { margin-top: 4px; }
.otp { margin-top: 14px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid #EDEDE8; }
.otp-boxes { display: flex; gap: 5px; margin-top: 10px; }
.otp-boxes span { flex: 1; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #F6F6F3; border: 1px solid #E4E5E0; font-size: 15px; font-weight: 800; }
.otp-boxes i { font-style: normal; }
.otp-auto, .pdf-loading { display: flex; align-items: center; gap: 6px; margin-top: 12px !important; font-weight: 800; color: #10514B; }
.otp-auto .spin, .pdf-loading .spin { margin-left: 0; }
.success { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; background: #F6F6F3; }
.seal { width: 84px; height: 84px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 50%; background: linear-gradient(135deg, #F6D27A, #E3A438); color: #0B3B37; font-size: 40px; font-weight: 800; box-shadow: 0 0 0 8px #FBF0DB, 0 18px 30px -12px rgba(227, 164, 56, .8); }

/* 5 · paylaş */
.share-wrap { position: absolute; inset: 0; padding: 44px 14px 14px; }
.pdf { padding: 12px; border-radius: 13px; background: #fff; border: 1px solid #EDEDE8; display: grid; gap: 7px; }
.pdf-top { display: flex; align-items: center; gap: 7px; }
.pdf-top img { border-radius: 6px; }
.pdf-top b { flex: 1; }
.ln { display: block; height: 6px; border-radius: 3px; background: #EFEFEA; }
.w80 { width: 80%; } .w60 { width: 60%; } .w70 { width: 70%; }
.pdf-total { display: flex; justify-content: space-between; padding-top: 6px; border-top: 1px dashed #E4E5E0; }
.detail-actions { display: flex; gap: 8px; margin-top: 12px; }
.detail-actions .act { flex: 1; padding: 10px; border-radius: 999px; border: 1px solid #E4E5E0; background: #fff; text-align: center; font-weight: 800; font-size: 11.5px; color: #10514B; }
.detail-actions .act.wa { background: #25D366; border-color: #25D366; color: #fff; }
.chat { position: absolute; inset: 0; z-index: 4; padding: 40px 10px 10px; background: #ECE5DD; }
.chat-head { display: flex; align-items: center; gap: 7px; margin: 0 -10px 12px !important; padding: 8px 12px; background: #075E54; color: #fff; font-weight: 800; font-size: 12px; }
.msg { max-width: 86%; margin-bottom: 8px; padding: 8px 10px; border-radius: 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.msg.me { position: relative; display: flex; gap: 8px; align-items: center; margin-left: auto; padding-bottom: 14px; background: #DCF8C6; }
.msg.me > div { min-width: 0; }
.msg.me b { display: block; font-size: 9.5px; line-height: 1.3; overflow-wrap: anywhere; }
.msg.me em { position: absolute; right: 8px; bottom: 2px; color: #34B7F1; font-style: normal; font-size: 10px; font-weight: 800; }
.msg.them { background: #fff; font-weight: 600; }
.file { width: 30px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 6px; background: #D6473F; color: #fff; font-size: 8px; font-weight: 800; }
.endcard { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; background: linear-gradient(160deg, #0B3B37, #14675F); color: #fff; }
.endcard img { margin-bottom: 14px; border-radius: 20px; }
.endcard .t-sub { color: rgba(255, 255, 255, .72); }
.endcard .d-btn { padding: 11px 18px; background: #fff; color: #0B3B37; }

/* Altyazı, başlat ve bitiş katmanları */
.demo-caption {
  position: absolute; left: 50%; bottom: 22px; z-index: 6; width: min(92%, 680px); transform: translateX(-50%);
  padding: 10px 18px; border-radius: 14px; background: rgba(4, 18, 16, .72); backdrop-filter: blur(6px);
  color: #fff; text-align: center; font-size: 15.5px; font-weight: 600; line-height: 1.45;
}
.demo:not(.is-started) .demo-caption, .demo.no-cc .demo-caption, .demo-caption:empty { display: none; }
.demo-start {
  position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; gap: 16px;
  border: 0; cursor: pointer; color: #fff; text-align: left;
  background: radial-gradient(circle at 50% 50%, rgba(4, 18, 16, .62), rgba(4, 18, 16, .8));
}
.demo-start[hidden] { display: none; }
/* Başlamadan önce telefon soluk: "Animasyonu izle" yazısı arkadaki açılış sahnesiyle karışmasın. */
.demo .dphone { transition: opacity .4s; }
.demo:not(.is-started) .dphone { opacity: .35; }
.demo-start b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.demo-start small { color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 600; }
.play-ic { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #F6D27A, #E3A438); color: #0B3B37; box-shadow: 0 0 0 10px rgba(246, 210, 122, .18), 0 20px 40px -12px rgba(0, 0, 0, .6); transition: transform .2s; }
.play-ic svg { width: 32px; height: 32px; margin-left: 4px; fill: currentColor; }
.demo-start:hover .play-ic { transform: scale(1.07); }
.demo-end { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; display: flex; justify-content: center; gap: 12px; padding: 60px 16px 26px; background: linear-gradient(transparent, rgba(4, 18, 16, .85)); }
.demo-end[hidden] { display: none; }
.demo.is-ended .demo-caption { display: none; }
.btn-ghost-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); }

/* Kontrol çubuğu */
.demo-controls { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #061F1C; border-top: 1px solid rgba(255, 255, 255, .08); }
.ctl { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: #fff; cursor: pointer; font-weight: 800; font-size: 12px; }
.ctl:hover { background: rgba(255, 255, 255, .1); }
.ctl svg { width: 20px; height: 20px; fill: currentColor; }
.ctl .i-pause, .ctl.playing .i-play { display: none; }
.ctl.playing .i-pause { display: block; }
.ctl .w, .ctl .x { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ctl .x { display: none; }
.demo.is-muted .ctl .w { display: none; }
.demo.is-muted .ctl .x { display: block; }
.ctl-cc[aria-pressed="false"] { opacity: .45; }
.demo-track { flex: 1; display: flex; gap: 4px; height: 20px; align-items: center; cursor: pointer; }
.demo-track .seg { position: relative; height: 5px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .18); transition: height .15s; }
.demo-track:hover .seg { height: 8px; }
.demo-track .seg i { position: absolute; inset: 0; background: #F6D27A; transform-origin: left; transform: scaleX(0); }
.demo-time { min-width: 86px; text-align: right; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .75); }

/* Bölümler */
.chapters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.chapters button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 6px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-weight: 700; font-size: 14.5px; cursor: pointer; transition: border-color .15s, background .15s;
}
.chapters button span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-light); color: var(--brand); font-weight: 800; }
.chapters button:hover { border-color: var(--brand); }
.chapters button.active { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.chapters button.active span { background: #F6D27A; color: #0B3B37; }

@media (max-width: 960px) {
  .demo-side, .demo-badges { display: none; }
}
@media (max-width: 560px) {
  .demo { border-radius: 22px; margin-inline: -4px; }
  .demo-stage { height: auto; display: flex; flex-direction: column; align-items: center; padding: 22px 12px 14px; }
  .dphone { position: relative; left: auto; top: auto; margin: 0; }
  .demo-caption { position: static; transform: none; width: 100%; min-height: 70px; margin-top: 14px; font-size: 14px; display: flex; align-items: center; justify-content: center; }
  .demo:not(.is-started) .demo-caption { display: flex; visibility: hidden; }
  .demo-start { flex-direction: column; text-align: center; }
  .demo-time { min-width: 0; font-size: 12px; }
  .chapters button { font-size: 13.5px; }
}

/* ---------- "Uygulamadan": uygulamanın 5 tanıtım ekranı (OnboardingScreen.tsx) ---------- */
.tour { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0; color: #fff; }
.tour-head { margin-bottom: 36px; text-align: center; }
.tour-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.tour-body { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tour-stage { position: relative; height: 380px; touch-action: pan-y; }
.tour .art { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.tour .art.is-active { opacity: 1; visibility: visible; }
.tour-copy { position: relative; min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.slide-text { display: none; }
.slide-text.is-active { display: block; }
.t-kicker { color: #F0C56A; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; }
.slide-text h3 { margin-top: 10px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.slide-text ul { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.slide-text li { position: relative; padding-left: 38px; color: rgba(255, 255, 255, .86); font-size: 17px; }
.slide-text li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(240, 197, 106, .18); color: #F0C56A; font-size: 13px; font-weight: 900;
}
.tour-nav { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.tour-count { min-width: 44px; color: rgba(255, 255, 255, .55); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.tour-count b { color: #fff; }
.tour-dots { display: flex; align-items: center; gap: 7px; }
.tour-dots button { position: relative; width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: #fff; opacity: .35; cursor: pointer; transition: width .35s, opacity .35s, background .35s; }
.tour-dots button::after { content: ""; position: absolute; inset: -10px -4px; }
.tour-dots button.active { width: 26px; opacity: 1; background: #F0C56A; }
.tour-next { width: 52px; height: 52px; margin-left: auto; border: 0; border-radius: 50%; background: linear-gradient(135deg, #F6D27A, #E3A438); color: #3A2A07; font-size: 20px; font-weight: 800; cursor: pointer; transition: transform .15s; }
.tour-next:hover { transform: translateX(3px); }

/* 1 · fatura kartı + mühür */
.inv-card { position: relative; width: 270px; padding: 18px; border-radius: 18px; background: #fff; color: #16211F; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55); transform: rotate(-3deg); }
.inv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.inv-logo { width: 34px; height: 34px; border-radius: 10px; background: #14675F; }
.inv-head b { display: block; font-size: 14px; font-weight: 800; }
.inv-head small { display: block; color: #6B7B78; font-size: 11px; }
.inv-line { display: block; height: 8px; margin-bottom: 9px; border-radius: 4px; background: #E7EDEB; transform-origin: left; }
.inv-line.w82 { width: 82%; } .inv-line.w60 { width: 60%; } .inv-line.w72 { width: 72%; }
.inv-total { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px solid #EEF2F1; }
.inv-total span { color: #6B7B78; font-size: 11.5px; font-weight: 700; }
.inv-total b { color: #0B3B37; font-size: 16px; font-weight: 900; }
.seal-stamp {
  position: absolute; top: calc(50% - 132px); left: calc(50% + 62px); width: 92px; height: 92px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; border: 3px solid #F0C56A; background: rgba(11, 59, 55, .92); color: #F0C56A; transform: rotate(-12deg);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5);
}
.seal-stamp b { font-size: 24px; font-weight: 900; line-height: 1; }
.seal-stamp span { margin-top: 2px; font-size: 9.5px; font-weight: 900; text-align: center; letter-spacing: .04em; line-height: 1.15; }

/* 2 · form */
.form-card { display: grid; gap: 10px; width: 320px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.f-field { padding: 9px 12px; border-radius: 12px; background: #fff; }
.f-field small { display: block; color: #6B7B78; font-size: 10.5px; font-weight: 700; }
.f-field b { display: block; min-height: 22px; margin-top: 2px; color: #16211F; font-size: 16px; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.f-auto { display: flex; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(159, 227, 201, .16); color: #9FE3C9; font-size: 12.5px; font-weight: 800; }
.f-auto span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.f-item { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 700; }
.f-item b { font-weight: 900; }
.f-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.f-chips span { padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); font-size: 11px; font-weight: 800; }
.f-chips .gold { background: #F0C56A; color: #3A2A07; }

/* 3 · sohbette PDF */
.chat-card { width: 300px; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.chat-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 14px; }
.chat-top .av { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #F0C56A; color: #3A2A07; font-weight: 900; }
.pdf-bubble { display: flex; align-items: center; gap: 10px; margin-left: 24px; padding: 10px; border-radius: 14px 14px 4px 14px; background: #DCF8C6; color: #16211F; }
.pdf-ic { width: 34px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 6px; background: #D6473F; color: #fff; font-size: 9px; font-weight: 900; }
.pdf-bubble > div { min-width: 0; }
.pdf-bubble b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 800; }
.pdf-bubble small { color: #5d6b68; font-size: 10.5px; }
.pdf-caption { margin-top: 10px !important; text-align: right; color: rgba(255, 255, 255, .8); font-size: 12.5px; font-weight: 600; }
.pdf-caption em { color: #9FE3C9; font-style: normal; font-weight: 900; }
.plane { position: absolute; top: calc(50% - 124px); left: calc(50% - 178px); width: 40px; height: 40px; fill: #F0C56A; }

/* ---------- Kaydırınca beliren ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Yasal sayfa ---------- */
.legal { padding: 64px 0 40px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.legal .updated { margin-top: 8px; color: var(--faint); font-size: 14px; }
.legal h2 { margin: 40px 0 12px; font-size: 22px; font-weight: 800; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal .card { margin-top: 24px; padding: 20px 22px; border-radius: var(--radius); background: var(--brand-tint); border: 1px solid var(--border); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero { padding-top: 100px; }
  .tour-body { grid-template-columns: 1fr; gap: 20px; }
  .tour-head { margin-bottom: 16px; }
  .tour-stage { height: 340px; }
  .tour-copy { min-height: 290px; justify-content: flex-start; }
  .hero-inner, .contact { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .store-buttons, .hero-points { justify-content: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .download-inner { flex-direction: column; text-align: center; padding: 40px 24px; }
  .download .store-buttons { justify-content: center; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; }
  .plans { grid-template-columns: minmax(0, 460px); }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .features { grid-template-columns: 1fr; }
  .float-card { font-size: 12px; padding: 10px 12px 10px 10px; }
  .fc-1 { left: -4px; bottom: 12%; }
  .fc-2 { right: -4px; top: 8%; }
  .stats-inner > div { padding: 18px; }
  .stats strong { font-size: 22px; }
  .contact-form { padding: 22px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
  .hero { padding-bottom: 72px; }
  .hero-ring { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .tour { padding: 72px 0; }
  .tour-stage { height: 320px; }
  .inv-card { width: 240px; }
  .seal-stamp { left: calc(50% + 40px); width: 82px; height: 82px; }
  .form-card, .chat-card { width: min(100%, 300px); }
  .plane { left: calc(50% - 150px); }
  .slide-text li { font-size: 15.5px; }
  .tour-copy { min-height: 340px; }
  .plan { padding: 26px 22px; }
  .store-btn { min-width: 0; flex: 1 1 150px; gap: 10px; padding: 10px 14px 10px 12px; }
  .store-btn span { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* "Nasıl çalışır" animasyonu ziyaretçi başlattığında oynar; kapatılırsa sahneler üst üste biner. */
  :where(:not(.demo, .demo *)), :where(:not(.demo, .demo *))::before, :where(:not(.demo, .demo *))::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Mali müşavirler bölümü */
.accountant-section { background: var(--brand-tint); }
.accountant-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; margin-top: 26px; text-align: center; }
.accountant-cta span { color: var(--muted); font-size: 15px; }
.efatura-note { margin: 20px auto 0; max-width: 720px; text-align: center; color: var(--muted); font-size: 14px; }

/* İletişim formu: bot tuzağı alanı ve gönderildi kutusu */
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--brand-tint, #F1F7F5); color: var(--brand, #10514B); }
.form-success[hidden], .contact-card[hidden], .contact-form [hidden] { display: none; }
.form-success span { color: var(--muted); font-size: 14px; }

/* ============ Videolar ============ */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.video-card:disabled { cursor: default; }
.video-thumb, .video-card iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-alt); }
.video-card iframe { border: 0; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-play { position: absolute; left: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 50%; background: rgba(11, 59, 55, .88); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.video-play svg { width: 24px; height: 24px; fill: #fff; margin-left: 4px; }
.video-duration { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.video-title { font-size: 16px; font-weight: 700; }
.video-more { text-align: center; margin-top: 32px; }
@media (max-width: 860px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }
