/* Mecra — pazarlama sitesi. Statik HTML/CSS/JS, derleme adımı yok; Hostinger'a doğrudan yüklenir.
   Renkler uygulamanın kendi tema dosyasıyla (app/v2/Ui/Theme.cs) birebir aynıdır. */

:root {
  --bg0: #08090f;
  --bg1: #0c0f17;
  --surface: #131722;
  --surface2: #1a1f2d;
  --surface3: #232a3c;
  --border: rgba(255, 255, 255, 0.09);
  --border-hi: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --text-soft: #b2bacd;
  --text-dim: #80899e;
  --text-faint: #58618046;
  --accent-a: #5b6cf3;
  --accent-b: #8f63f5;
  --accent-text: #93a0ff;
  --success: #3fdda0;
  --warning: #ffc24d;
  --danger: #ff6e7a;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg0);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 650; line-height: 1.15; text-wrap: balance; margin: 0 0 0.5em; }
p { margin: 0 0 1em; color: var(--text-soft); }
.container { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
section { padding-block: 96px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); }

/* ---- zemin: yumuşak aurora, koddan (app'in Backdrop.cs'iyle aynı ruh) ---- */
.aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg0);
}
.aurora::before, .aurora::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  filter: blur(90px); opacity: 0.28;
}
.aurora::before { top: -20vw; left: -15vw; background: radial-gradient(circle, var(--accent-a), transparent 70%); }
.aurora::after { bottom: -25vw; right: -10vw; background: radial-gradient(circle, var(--accent-b), transparent 70%); opacity: 0.22; }

/* ---- üst çubuk ---- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8, 9, 15, 0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; color: var(--text-soft); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* ---- düğmeler ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); color: #fff; box-shadow: 0 10px 30px -10px rgba(91, 108, 243, 0.65); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(91, 108, 243, 0.8); }
.btn-secondary { background: var(--surface2); border-color: var(--border-hi); color: var(--text); }
.btn-secondary:hover { background: var(--surface3); }
.btn-ghost { color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---- hero ---- */
.hero { padding-top: 88px; padding-bottom: 48px; text-align: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); max-width: 900px; margin-inline: auto 0.5em; }
.hero h1 span { background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 640px; margin: 0 auto 32px; font-size: 18px; color: var(--text-soft); }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 13.5px; color: var(--text-dim); }
.hero-shot {
  margin-top: 56px; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); border-radius: inherit; pointer-events: none; }

/* ---- logo şeridi ---- */
.strip { padding-block: 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; color: var(--text-dim); font-size: 14px; }
.strip-row b { color: var(--text-soft); }

/* ---- kart ızgarası ---- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg1));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 14.5px; }
.icon-tile {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(91, 108, 243, 0.22), rgba(143, 99, 245, 0.22));
  color: var(--accent-text);
}
.icon-tile svg { width: 20px; height: 20px; }

/* ---- nasıl çalışır: adım listesi ---- */
.steps { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.step-list { display: flex; flex-direction: column; gap: 4px; }
.step {
  display: flex; gap: 16px; padding: 18px 16px; border-radius: 14px; cursor: default;
  border: 1px solid transparent; transition: background 0.15s ease, border-color 0.15s ease;
}
.step:hover, .step.active { background: var(--surface); border-color: var(--border); }
.step-num {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}
.step h4 { font-size: 16px; margin-bottom: 4px; color: var(--text); }
.step p { margin: 0; font-size: 14px; }
.step-shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--border-hi); box-shadow: var(--shadow-lg); }

/* ---- fiyatlandırma ---- */
.price-card {
  background: linear-gradient(180deg, var(--surface), var(--bg1)); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; position: relative;
}
.price-card.pop { border-color: rgba(91, 108, 243, 0.55); box-shadow: 0 0 0 1px rgba(91, 108, 243, 0.35), var(--shadow-lg); }
.price-card.best { border-color: rgba(63, 221, 160, 0.5); box-shadow: 0 0 0 1px rgba(63, 221, 160, 0.32), var(--shadow-lg); }
.price-pill {
  align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: rgba(91, 108, 243, 0.18); color: var(--accent-text);
}
.price-card.best .price-pill { background: rgba(63, 221, 160, 0.18); color: var(--success); }
.price-card h3 { font-size: 20px; margin: 4px 0 0; }
.price-card .sub { font-size: 13.5px; color: var(--text-dim); margin-bottom: 4px; }
.price-amount { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--text); }
.price-amount small { font-size: 14px; font-weight: 500; color: var(--text-dim); }
.price-feats { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 9px; }
.price-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--text-soft); }
.price-feats svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--success); }
.price-note { text-align: center; color: var(--text-dim); font-size: 14px; margin-top: 28px; }

/* ---- deneme şeridi ---- */
.trial-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(91, 108, 243, 0.14), rgba(143, 99, 245, 0.08));
  border: 1px solid var(--border-hi); border-radius: 20px; padding: 26px 30px; margin-bottom: 44px;
}
.trial-strip h3 { margin: 0 0 4px; font-size: 18px; }
.trial-strip p { margin: 0; font-size: 14px; }

/* ---- SSS ---- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-family: var(--font-text); font-size: 16px; font-weight: 600; padding: 20px 4px;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 16px;
}
.faq-q svg { flex: none; width: 18px; height: 18px; color: var(--text-dim); transition: transform 0.2s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--accent-text); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 4px 20px; font-size: 14.5px; }

/* ---- son CTA ---- */
.cta-band {
  text-align: center; border-radius: 28px; padding: 72px 32px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(91, 108, 243, 0.22), transparent 60%), var(--surface);
  border: 1px solid var(--border-hi);
}
.cta-band h2 { font-size: clamp(28px, 4vw, 38px); }

/* ---- altbilgi ---- */
footer.site { border-top: 1px solid var(--border); padding-block: 48px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); margin-bottom: 14px; }
.footer-grid a, .footer-grid p { font-size: 14px; color: var(--text-soft); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-dim); flex-wrap: wrap; gap: 12px; }

/* ---- kimlik dogrulama (kayit/giris/hesap) ---- */
.auth-wrap { min-height: 78vh; display: flex; align-items: center; justify-content: center; padding-block: 48px; }
.auth-card { width: 100%; max-width: 400px; background: linear-gradient(180deg, var(--surface), var(--bg1)); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.auth-card h1 { font-size: 22px; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-dim); font-size: 13.5px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--text-soft); margin-bottom: 6px; font-weight: 500; }
.field input {
  width: 100%; background: var(--surface2); border: 1px solid var(--border-hi); border-radius: 10px;
  padding: 11px 13px; color: var(--text); font-size: 14.5px; font-family: var(--font-text);
}
.field input:focus { outline: none; border-color: var(--accent-a); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-google {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: #1f1f1f; border-radius: 12px; padding: 11px; font-weight: 600; font-size: 14px; margin-bottom: 18px;
}
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 12.5px; margin: 4px 0 18px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-hi); }
.auth-msg { border-radius: 12px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 18px; }
.auth-msg.ok { background: rgba(63, 221, 160, 0.12); border: 1px solid rgba(63, 221, 160, 0.35); color: var(--success); }
.auth-msg.err { background: rgba(255, 110, 122, 0.12); border: 1px solid rgba(255, 110, 122, 0.35); color: var(--danger); }
.auth-foot { text-align: center; font-size: 13.5px; color: var(--text-dim); margin-top: 18px; }
.auth-foot a { font-weight: 600; }
.plan-buy { background: var(--surface); border: 1px solid var(--border-hi); border-radius: 18px; padding: 24px; margin-bottom: 20px; }
.plan-buy .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acct-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.acct-row:last-child { border-bottom: none; }

/* ---- yasal sayfalar ---- */
.legal { padding-top: 64px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: 32px; }
.legal .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 20px; margin-top: 40px; }
.legal p, .legal li { color: var(--text-soft); font-size: 15px; }
.legal .draft-note {
  background: rgba(255, 194, 77, 0.1); border: 1px solid rgba(255, 194, 77, 0.35);
  color: #ffd27a; border-radius: 14px; padding: 16px 18px; font-size: 14px; margin-bottom: 36px;
}

/* ---- hero: canlı Panel maketi ("program gibi") — gerçek DOM/CSS/SVG, ekran görüntüsü değil ---- */
.pm-window { display: flex; background: var(--bg1); min-height: 540px; }
.pm-side { width: 208px; flex: none; background: var(--surface); border-right: 1px solid var(--border); padding: 20px 14px; display: flex; flex-direction: column; gap: 20px; }
.pm-brand { display: flex; align-items: center; gap: 9px; padding: 0 6px; }
.pm-brand img { width: 26px; height: 26px; }
.pm-brand b { display: block; font-family: var(--font-display); font-size: 14px; }
.pm-brand span { display: block; font-size: 10.5px; color: var(--text-dim); }
.pm-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pm-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; color: var(--text-soft); }
.pm-nav a svg { width: 15px; height: 15px; flex: none; }
.pm-nav a.on { background: linear-gradient(135deg, rgba(91, 108, 243, 0.18), rgba(143, 99, 245, 0.18)); color: var(--text); box-shadow: inset 0 0 0 1px rgba(91, 108, 243, 0.32); font-weight: 600; }
.pm-trial { background: var(--surface2); border: 1px solid var(--border-hi); border-radius: 12px; padding: 12px; }
.pm-trial-head { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--text-soft); margin-bottom: 8px; }
.pm-trial-head svg { width: 13px; height: 13px; color: var(--accent-text); flex: none; }
.pm-bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-bottom: 6px; }
.pm-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-a), var(--accent-b)); }
.pm-trial span { font-size: 10.5px; color: var(--text-dim); }

.pm-main { flex: 1; min-width: 0; padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 16px; }
.pm-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); }
.pm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(63, 221, 160, 0.18); animation: pmPulse 2.2s ease-in-out infinite; }
.pm-pill { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--accent-text); background: rgba(91, 108, 243, 0.14); border: 1px solid rgba(91, 108, 243, 0.3); padding: 4px 10px; border-radius: 99px; }
.pm-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.pm-headrow h4 { font-size: 21px; margin: 0; }
.pm-headrow p { margin: 2px 0 0; font-size: 12px; color: var(--text-dim); }
.pm-btn { font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); padding: 9px 15px; border-radius: 10px; white-space: nowrap; box-shadow: 0 8px 22px -8px rgba(91, 108, 243, 0.6); }

.pm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pm-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 13px 14px; opacity: 0; animation: pmUp 0.5s ease forwards; }
.pm-kpi:nth-child(1) { animation-delay: 0.05s; } .pm-kpi:nth-child(2) { animation-delay: 0.1s; } .pm-kpi:nth-child(3) { animation-delay: 0.15s; }
.pm-kpi:nth-child(4) { animation-delay: 0.2s; } .pm-kpi:nth-child(5) { animation-delay: 0.25s; } .pm-kpi:nth-child(6) { animation-delay: 0.3s; }
.pm-kpi .icon-tile { width: 28px; height: 28px; border-radius: 9px; margin-bottom: 9px; }
.pm-kpi .icon-tile svg { width: 14px; height: 14px; }
.pm-kpi b { display: block; font-family: var(--font-display); font-size: 19px; color: var(--text); }
.pm-kpi label { display: block; font-size: 11px; color: var(--text-dim); margin: 1px 0 7px; }
.pm-kpi i { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--success); display: inline-block; }
.pm-kpi i.dim { color: var(--text-dim); font-weight: 500; }
.pm-kpi .spark { display: block; width: 100%; height: 20px; margin-top: 6px; }

.pm-row2 { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; flex: 1; }
.pm-chart, .pm-money { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 15px 17px; }
.pm-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.pm-chart-head b { font-size: 12.5px; }
.pm-legend { display: flex; gap: 10px; font-size: 10.5px; color: var(--text-dim); flex-wrap: wrap; }
.pm-legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pm-legend i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.pm-linechart { display: block; width: 100%; height: 108px; overflow: visible; }
.pm-xaxis { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-faint); margin-top: 2px; }
.pm-line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: pmDraw 1.1s ease forwards 0.2s; }
.pm-money-head b { font-size: 12.5px; display: block; }
.pm-money-head span { font-size: 10.5px; color: var(--text-dim); }
.pm-money p { font-size: 11px; color: var(--text-dim); margin: 12px 0 0; }
.pm-rings { display: flex; gap: 14px; margin-top: 14px; }
.pm-ring { text-align: center; font-size: 10px; color: var(--text-dim); flex: 1; }
.pm-ring-svg { position: relative; max-width: 76px; margin: 0 auto; }
.pm-ring-svg svg { display: block; width: 100%; height: auto; }
.pm-ring-svg b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text); font-family: var(--font-display); }
.pm-ring span { display: block; margin-top: 8px; line-height: 1.4; }
.pm-ringpath { stroke-dasharray: var(--circ); stroke-dashoffset: var(--circ); animation: pmRing 1.1s ease forwards 0.25s; }

@keyframes pmUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pmDraw { to { stroke-dashoffset: 0; } }
@keyframes pmRing { to { stroke-dashoffset: var(--off); } }
@keyframes pmPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .pm-kpi, .pm-line, .pm-ringpath, .pm-dot { animation: none !important; opacity: 1 !important; } .pm-line { stroke-dashoffset: 0 !important; } .pm-ringpath { stroke-dashoffset: var(--off) !important; } }

@media (max-width: 900px) {
  .pm-side { width: 168px; }
  .pm-brand span, .pm-nav a span, .pm-trial { display: none; }
  .pm-nav a { justify-content: center; }
  .pm-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pm-window { flex-direction: column; }
  .pm-side { width: auto; flex-direction: row; align-items: center; border-right: none; border-bottom: 1px solid var(--border); padding: 12px 14px; }
  .pm-nav { flex-direction: row; flex: none; gap: 4px; overflow-x: auto; }
  .pm-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding-block: 64px; }
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trial-strip { flex-direction: column; align-items: flex-start; }
}
