:root {
  --navy: #0d2577;
  --navy-2: #1a3aa8;
  --teal: #00bfa6;
  --teal-2: #14d8bd;
  --coral: #ff7a6b;
  --ink: #12183a;
  --text: #4a5170;
  --muted: #8a90a8;
  --bg: #ffffff;
  --soft: #f4f6fd;
  --soft-teal: #e8fbf8;
  --soft-coral: #fff3ef;
  --card: #ffffff;
  --line: #e6e9f4;
  --shadow: 0 20px 50px rgba(13, 37, 119, 0.12);
  --hero: linear-gradient(125deg, #0d2577 0%, #1a3aa8 45%, #0aa39a 100%);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef1fb;
    --text: #b7bfd6;
    --muted: #8a93ad;
    --bg: #0b1020;
    --soft: #111830;
    --soft-teal: #0c2226;
    --soft-coral: #24161a;
    --card: #141c36;
    --line: #232d4d;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eef1fb;
  --text: #b7bfd6;
  --muted: #8a93ad;
  --bg: #0b1020;
  --soft: #111830;
  --soft-teal: #0c2226;
  --soft-coral: #24161a;
  --card: #141c36;
  --line: #232d4d;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0; }
.container { max-width: 1170px; margin: 0 auto; padding: 0 20px; }

/* ── Header ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, box-shadow .25s, padding .25s;
  padding: 22px 0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav .logo img { height: 38px; width: auto; }
.nav .logo .on-light { display: none; }
.nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.nav ul a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; }
.nav .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.nav.scrolled { background: var(--card); box-shadow: 0 6px 30px rgba(13,37,119,.08); padding: 12px 0; }
.nav.scrolled .logo .on-dark { display: none; }
.nav.scrolled .logo .on-light { display: block; }
.nav.scrolled ul a { color: var(--ink); }
.nav.scrolled .btn-outline { color: var(--navy-2); border-color: var(--navy-2); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav.scrolled .logo .on-dark { display: block; }
  :root:not([data-theme="light"]) .nav.scrolled .logo .on-light { display: none; }
  :root:not([data-theme="light"]) .nav.scrolled .btn-outline { color: var(--teal-2); border-color: var(--teal-2); }
}
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.nav.scrolled .menu-toggle { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 13px 30px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: currentColor; padding: 9px 26px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 30px rgba(0,191,166,.35); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 12px 30px rgba(0,0,0,.15); }

/* ── Hero ── */
.hero {
  position: relative; background: var(--hero); color: #fff;
  padding: 170px 0 210px; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(255,255,255,.07); }
.hero::after { width: 260px; height: 260px; left: -90px; bottom: 120px; background: rgba(20,216,189,.18); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: 54px; font-weight: 700; letter-spacing: -.5px; }
.hero h1 span { font-weight: 300; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.85); margin: 22px 0 34px; max-width: 520px; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; background: #0a0f24; color: #fff;
  padding: 10px 22px 10px 16px; border-radius: 14px; text-decoration: none; min-width: 180px;
  border: 1px solid rgba(255,255,255,.18); transition: transform .2s;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn small { display: block; font-size: 11px; opacity: .75; line-height: 1.2; }
.store-btn strong { display: block; font-size: 17px; line-height: 1.2; font-weight: 600; }
.hero .note { margin-top: 26px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); font-size: 15px; }
.hero .note .dot { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .ring { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: rgba(255,255,255,.1); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.float-card {
  position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18); display: flex; gap: 12px; align-items: center; font-size: 13.5px; line-height: 1.35; z-index: 3;
  animation: bob 5s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14.5px; }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-card.a { left: -30px; top: 330px; }
.float-card.b { right: -24px; bottom: 30px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero-wave svg { width: 100%; height: 150px; }
.hero-wave path { fill: var(--bg); }

/* ── Phone mockup ── */
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 19.5; border-radius: 42px; background: #0b0f1f;
  padding: 11px; box-shadow: 0 40px 80px rgba(5, 12, 40, .35), inset 0 0 0 2px #2a3150; z-index: 2;
}
/* Ekran görüntülerinin kendi çentiği (Dynamic Island) var — çerçeve çentiği kapalı. */
.phone::before {
  display: none;
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; border-radius: 14px; background: #0b0f1f; z-index: 3;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.phone.sm { width: 220px; border-radius: 36px; padding: 9px; }
.phone.sm img { border-radius: 28px; }
.phone.sm::before { width: 70px; height: 20px; top: 17px; }

/* ── Section basics ── */
section { position: relative; }
.pad { padding: 110px 0; }
.eyebrow { display: inline-block; color: var(--teal); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 40px; font-weight: 700; letter-spacing: -.3px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head p { margin: 16px 0 0; font-size: 17px; }

/* ── Feature cards ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: -120px; position: relative; z-index: 3; }
.card {
  background: var(--card); border-radius: 22px; padding: 38px 32px; box-shadow: var(--shadow);
  transition: transform .25s;
}
.card:hover { transform: translateY(-6px); }
.card .ic { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 24px; }
.card .ic svg { width: 30px; height: 30px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { margin: 0; }
.ic-navy { background: rgba(26,58,168,.1); color: var(--navy-2); }
.ic-teal { background: rgba(0,191,166,.12); color: var(--teal); }
.ic-coral { background: rgba(255,122,107,.14); color: var(--coral); }
.solid-navy { background: var(--navy-2); }
.solid-teal { background: var(--teal); }
.solid-coral { background: var(--coral); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ic-navy { color: #8fa8ff; background: rgba(143,168,255,.12); }
}

/* ── Split feature sections ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse .split-visual { order: 2; }
.split-visual { position: relative; display: flex; justify-content: center; gap: 22px; min-height: 520px; align-items: center; }
.split-visual .blob { position: absolute; width: 470px; height: 470px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.blob.teal { background: var(--soft-teal); }
.blob.coral { background: var(--soft-coral); }
.blob.navy { background: var(--soft); }
.split-visual .phone:nth-child(3) { margin-top: 90px; }
.split p.lead { font-size: 17px; margin: 18px 0 30px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 26px; }
.feature-list .item { display: flex; gap: 16px; }
.feature-list .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.feature-list .ic svg { width: 24px; height: 24px; }
.feature-list h3 { font-size: 17px; margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.check-list { list-style: none; padding: 0; margin: 0 0 34px; }
.check-list li { position: relative; padding-left: 36px; margin: 12px 0; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat;
}
.dotted { position: absolute; pointer-events: none; z-index: 0; opacity: .7; }
.dotted path { fill: none; stroke: var(--coral); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.dot-accent { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); }

/* ── Steps ── */
.steps-wrap { background: var(--soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: s; }
.step { text-align: center; padding: 10px 24px; position: relative; }
.step .num {
  width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: var(--card);
  display: grid; place-items: center; font-size: 28px; font-weight: 700; color: var(--navy-2);
  box-shadow: var(--shadow); position: relative;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .step .num { color: var(--teal-2); } }
.step .num::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(0,191,166,.45); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { margin: 0; }

/* ── CTA band ── */
.cta {
  background: var(--hero); color: #fff; padding: 100px 0; text-align: center; overflow: hidden;
}
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta::before { width: 420px; height: 420px; left: -140px; top: -180px; }
.cta::after { width: 520px; height: 520px; right: -160px; bottom: -300px; }
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: 38px; font-weight: 700; }
.cta p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 620px; margin: 16px auto 34px; }

/* ── Download ── */
.download .split-visual { min-height: 560px; }
.download .store-row .store-btn { background: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .download .store-row .store-btn { background: #fff; color: #0a0f24; } }

/* ── Contact ── */
.contact { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.info-card { background: var(--card); border-radius: 22px; padding: 26px 28px; box-shadow: var(--shadow); display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.info-card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 16px; margin-bottom: 2px; }
.info-card a, .info-card span { color: var(--text); text-decoration: none; word-break: break-word; }
.form { background: var(--card); border-radius: 26px; padding: 40px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); background: var(--soft); color: var(--ink);
  border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 15px; margin-bottom: 18px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,191,166,.15); }
.form .btn { width: 100%; }
.form small { display: block; text-align: center; color: var(--muted); margin-top: 12px; }

/* ── Footer ── */
footer.site { background: #0a1033; color: #a9b1cf; padding: 70px 0 30px; }
footer.site .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
footer.site img { height: 36px; width: auto; margin-bottom: 18px; }
footer.site h4 { color: #fff; margin: 6px 0 16px; font-size: 16px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 8px 0; }
footer.site a { color: #a9b1cf; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; }

/* ── Reveal ── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .nav ul, .nav .btn-outline { display: none; }
  .menu-toggle { display: block; }
  .nav.open { background: var(--card); box-shadow: 0 6px 30px rgba(13,37,119,.1); }
  .nav.open .logo .on-dark { display: none; }
  .nav.open .logo .on-light { display: block; }
  .nav.open .menu-toggle { color: var(--ink); }
  .nav.open ul { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); padding: 8px 20px 20px; box-shadow: 0 16px 30px rgba(13,37,119,.1); }
  .nav.open ul a { color: var(--ink); display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero { padding: 130px 0 190px; }
  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .hero-visual { margin-top: 30px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .split.reverse .split-visual { order: 0; }
  .section-title { font-size: 32px; }
  footer.site .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .pad { padding: 80px 0; }
  .hero h1 { font-size: 33px; }
  .hero-visual .ring { width: 320px; height: 320px; }
  .phone { width: 230px; }
  .phone.sm { width: 160px; }
  .split-visual { min-height: 420px; gap: 12px; }
  .split-visual .blob { width: 340px; height: 340px; }
  .float-card { font-size: 12px; padding: 10px 12px; }
  .float-card.a { left: 0; top: 40px; }
  .float-card.b { right: 0; }
  .feature-list { grid-template-columns: 1fr; }
  .form { padding: 26px 20px; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .store-btn { min-width: 0; flex: 1 1 160px; }
  .cta h2 { font-size: 30px; }
  footer.site .top { grid-template-columns: 1fr; }
}

.store-btn strong { white-space: nowrap; }
@media (max-width: 575px) {
  .store-btn { flex: 1 1 0; min-width: 0; padding: 10px 14px 10px 12px; gap: 10px; }
  .store-btn strong { font-size: 15px; }
  .store-btn svg { width: 24px; height: 24px; }
  .info-card { padding: 20px; gap: 14px; }
  .info-card a { font-size: 14.5px; }
}

/* İletişim formu sonuç mesajı */
.form-alert { display: none; border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; font-size: 14.5px; }
.form-alert.show { display: block; }
.form-alert.ok { background: rgba(0,191,166,.12); color: #038a78; }
.form-alert.err { background: rgba(255,90,90,.12); color: #d33; }
.form .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.form { position: relative; }
