/*
  Chatmail — site stil dosyası (assets/css/style.css)
  index.html (ana sayfa) ve giris.php / kayit.php (giriş, kayıt) tarafından ortak kullanılır.
  Yapı:
    1. Tasarım değişkenleri (:root) — renkler, yazı tipleri, hareket (easing/süre)
    2. Sıfırlama, temel öğeler, klavye odak halkası
    3. Yardımcı sınıflar (.container, .btn, .pill ...)
    4. Üst menü (.site-header; mobilde yumuşak açılan panel, hamburger → X)
    5. Hero + kampanya oluşturucu mockup (.hero, .mock, .toast)
    6. Bölümler: kanallar, özellikler, adımlar, senaryolar, KVKK bandı
    7. Fiyatlandırma (.plans, .billing-toggle, .rate-table, .addons)
    8. SSS (<details>; JS varsa yükseklik animasyonlu)
    9. CTA bandı ve footer
   10. Giriş sayfası (.auth, form öğeleri)
   11. Hareket: giriş sekansı, kaydırınca belirme (.reveal), hover/active, reduced-motion
   12. Mobil kırılımlar (@media)
  Hareket dili: tek easing (--ease), 0,5–0,7 s süreler, yalnızca transform/opacity; sürekli dönen dekor yok.
  Yazı tipleri Google Fonts'tan: Bricolage Grotesque (başlık), Manrope (metin).
*/

/* 1. Değişkenler */
:root {
  --ink: #0B1220;
  --paper: #FFFFFF;
  --soft: #F4F6F9;
  --line: #E5E7EB;
  --line-soft: #F3F4F6;
  --muted: #4B5563;
  --text2: #1F2937;
  --green: #0F7A44;
  --green-dark: #0B5C33;
  --green-bright: #3DDC84;
  --green-tint: #E6F6EE;
  --blue: #1F5FD6;
  --blue-tint: #E8EFFC;
  --amber: #92400E;
  --amber-tint: #FEF3C7;
  --font-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .6s;
  --dur-fast: .25s;
}

/* 2. Sıfırlama */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input { font-family: inherit; }
strong { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Klavye odak halkası: açık zeminde yeşil, koyu zeminde parlak yeşil */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .hero :focus-visible, .section-dark :focus-visible, .site-footer :focus-visible, .auth-aside :focus-visible { outline-color: var(--green-bright); }
.cta :focus-visible { outline-color: #fff; }
.btn:focus-visible, .channel-tab:focus-visible, .btn-mock:focus-visible, .nav-toggle:focus-visible { border-radius: var(--radius-sm); }

/* 3. Yardımcılar */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(15,122,68,.25); }
.btn-primary:hover { background: var(--green-dark); color: #fff; box-shadow: 0 10px 24px rgba(15,122,68,.32); }
.btn-primary::after { content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: translateX(-140%); pointer-events: none; }
.btn-primary:hover::after { animation: shimmer .9s var(--ease); }
.btn-ghost-light { border-color: rgba(255,255,255,.24); color: #fff; background: transparent; }
.btn-ghost-light:hover { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); }
.btn-outline { border-color: #D1D5DB; color: var(--ink); background: #fff; }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.btn-light:hover { color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn svg { transition: transform .2s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; transition: background var(--dur-fast) ease, color var(--dur-fast) ease; }
.pill-green { background: var(--green-tint); color: var(--green); }
.pill-blue { background: var(--blue-tint); color: var(--blue); }
.pill-amber { background: var(--amber-tint); color: var(--amber); }
.nowrap { white-space: nowrap; }

/* 4. Üst menü */
.site-header { background: var(--ink); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); position: sticky; top: 0; z-index: 50; transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-scrolled { background: rgba(11,18,32,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand em { font-style: normal; color: var(--green-bright); }
.brand svg { flex: none; transition: transform .35s var(--ease); }
.brand:hover svg { transform: rotate(-6deg) scale(1.06); }
.brand-name { white-space: nowrap; }
.nav-panel, .nav-panel-inner { display: contents; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.nav-links a { position: relative; color: #CBD5E1; text-decoration: none; padding: 6px 0; transition: color var(--dur-fast) ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--green-bright); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.is-current { color: #fff; }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nav-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 10px; transition: background var(--dur-fast) ease; }
.nav-login:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s ease; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 5. Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 80px 0 104px; }
.hero .container { position: relative; z-index: 1; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-glow span { position: absolute; border-radius: 50%; opacity: 0; animation: glowIn 1.6s var(--ease) .2s forwards; will-change: transform; }
.hero-glow .g1 { width: 720px; height: 720px; top: -300px; left: -220px; background: radial-gradient(closest-side, rgba(15,122,68,.55), rgba(15,122,68,0)); }
.hero-glow .g2 { width: 620px; height: 620px; bottom: -300px; right: 4%; background: radial-gradient(closest-side, rgba(31,95,214,.42), rgba(31,95,214,0)); animation-delay: .5s; }
.hero-glow .grid { inset: 0; width: auto; height: auto; border-radius: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.5px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); animation-delay: 0s; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-visual { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 72px; perspective: 1400px; }
.badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; color: #CBD5E1; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); animation: pulseRing 2.4s ease-out 3; }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--green-bright); }
.lead { font-size: 19px; line-height: 1.6; color: #CBD5E1; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { font-size: 14px; color: #94A3B8; }

/* Kampanya oluşturucu mockup */
.mock-wrap { position: relative; }
.mock { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .25s ease-out; will-change: transform; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.mock-head > span { display: flex; align-items: center; gap: 10px; }
.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.channel-tabs { display: flex; gap: 8px; }
.channel-tab { flex: 1 1 0; min-height: 44px; border-radius: 10px; border: 2px solid #D1D5DB; background: #fff; color: var(--muted); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform .12s ease; }
.channel-tab:hover { border-color: #9CA3AF; }
.channel-tab:active { transform: scale(.97); }
.channel-tab.is-active { border-color: var(--green); background: var(--green-tint); color: var(--green); font-weight: 700; }
.recipients { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.recipients strong { color: var(--ink); }
.chip { padding: 5px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 600; }
.chip-green { background: var(--green-tint); color: var(--green); border-color: transparent; font-weight: 700; }
/* Önizlemeler aynı grid hücresinde üst üste durur: kart yüksekliği her zaman uzun olana göre sabit kalır,
   sekme geçişinde yalnızca opaklık/transform değişir → hero yüksekliği zıplamaz */
.preview-stack { display: grid; }
.preview-stack > .preview { grid-area: 1 / 1; }
.preview { background: var(--soft); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear 0s; }
.preview[hidden] { display: flex; opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
.preview-label { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.bubble { align-self: flex-start; max-width: 88%; min-height: 66px; background: #fff; border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.typing-cursor { display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--green); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.quick-replies { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-reply { font-size: 13px; padding: 8px 12px; border-radius: 10px; border: 1px solid #D1D5DB; background: #fff; font-weight: 600; color: var(--muted); }
.quick-reply.is-primary { color: var(--blue); }
.email-card { background: #fff; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.06); font-size: 14px; }
.email-row { display: flex; align-items: center; gap: 10px; }
.email-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.email-from { display: flex; flex-direction: column; min-width: 0; flex: 1 1 0; }
.email-from small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.email-time { font-size: 12px; color: var(--muted); }
.email-subject { font-weight: 700; }
.email-body { font-size: 13px; line-height: 1.5; color: var(--muted); }
.email-cta { align-self: flex-start; padding: 8px 14px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.mock-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.schedule { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.btn-mock { position: relative; overflow: hidden; min-height: 44px; padding: 0 18px; border-radius: 10px; border: none; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; cursor: pointer; transition: background var(--dur-fast) ease, transform .12s ease; }
.btn-mock:hover { background: var(--green-dark); }
.btn-mock:active { transform: scale(.97); }
.btn-mock.is-done { background: var(--ink); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.trust { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: 13px; font-weight: 600; color: #CBD5E1; }
.trust svg { color: var(--green-bright); }
/* Bildirim kartları: JS .is-on verince belirir, sonra kaldırır (tek seferlik) */
.toast { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 18px 44px rgba(0,0,0,.4); font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }
.toast small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.toast .ico { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: none; }
.toast .ico.green { background: var(--green-tint); color: var(--green); }
.toast .ico.blue { background: var(--blue-tint); color: var(--blue); }
.toast-delivered { top: -60px; right: 0; }
.toast-reply { bottom: -60px; left: 0; }

/* 6. Bölümler */
.section { position: relative; padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #fff; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.5px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 20% 50%, #000 10%, transparent 70%); pointer-events: none; }
.section-dark .container { position: relative; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { position: relative; display: inline-block; padding-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.eyebrow::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 28px; height: 2px; margin-left: -14px; border-radius: 2px; background: var(--green); transform: scaleX(0); transition: transform .6s var(--ease) .35s; }
.is-visible .eyebrow::after, .no-reveal .eyebrow::after { transform: scaleX(1); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.card:hover, .card:focus-within { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(11,18,32,.09); border-color: #D1D5DB; }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.icon-tile { width: 46px; height: 46px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .35s var(--ease); }
.card:hover .icon-tile, .card:focus-within .icon-tile { transform: scale(1.08) rotate(-4deg); }
.icon-tile.blue { background: var(--blue-tint); color: var(--blue); }
.icon-tile.solid { width: 52px; height: 52px; border-radius: 14px; background: var(--green); color: #fff; }
.icon-tile.solid.blue { background: var(--blue); }
.icon-tile.glow { width: 52px; height: 52px; border-radius: 14px; background: rgba(61,220,132,.14); color: var(--green-bright); }

/* Kanal kartları */
.channel-cards { gap: 24px; }
.channel-card { flex: 1 1 440px; gap: 22px; padding: 36px; border-radius: var(--radius-lg); background: var(--soft); }
.channel-card:hover, .channel-card:focus-within { background: #fff; }
.card-title { display: flex; align-items: center; gap: 14px; }
.channel-card h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.channel-card > p { font-size: 16px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--text2); }
.check-list svg { flex: none; margin-top: 3px; color: var(--green); }
.check-list.blue svg { color: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; align-self: flex-start; }
.text-link svg { transition: transform .25s var(--ease); }
.text-link:hover svg, .text-link:focus-visible svg { transform: translateX(5px); }
.text-link.blue { color: var(--blue); }
.text-link.blue:hover { color: #1549A8; }

/* Adımlar */
.steps { gap: 24px; }
.step { position: relative; flex: 1 1 300px; gap: 18px; padding: 32px; overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) calc(var(--i, 0) * 180ms + .3s); }
.step.is-visible::after, .no-reveal .step::after { transform: scaleX(1); }
.step-num { font-family: var(--font-display); font-size: 48px; font-weight: 800; line-height: 1; color: var(--green); letter-spacing: -0.04em; transition: transform .35s var(--ease); }
.step:hover .step-num, .step:focus-within .step-num { transform: translateX(6px); }
.step h3 { font-size: 22px; }

/* Senaryolar */
.usecase { flex: 1 1 260px; gap: 14px; }
.usecase .icon { color: var(--green); transition: transform .35s var(--ease); }
.usecase:hover .icon { transform: translateY(-3px); }
.usecase ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* KVKK bandı */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.split-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-copy h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
.split-copy p { font-size: 17px; line-height: 1.65; color: #CBD5E1; }
.tiles { flex: 1 1 460px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.tile { flex: 1 1 210px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .3s var(--ease), background .3s ease, border-color .3s ease; }
.tile:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: rgba(61,220,132,.35); }
.tile h3 { font-size: 17px; font-weight: 700; color: #fff; }
.tile p { font-size: 14px; line-height: 1.55; color: #CBD5E1; }

/* 7. Fiyatlandırma */
.billing-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-top: 6px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.billing-toggle::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px); border-radius: 999px; background: var(--ink); transition: transform .4s var(--ease); }
.billing-toggle[data-mode="yearly"]::before { transform: translateX(calc(100% + 4px)); }
.billing-toggle button { position: relative; z-index: 1; min-height: 40px; padding: 0 18px; border-radius: 999px; border: none; background: transparent; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: color .3s ease; }
.billing-toggle button.is-active { color: #fff; }
.billing-toggle .save { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--green-tint); color: var(--green); transition: background .3s ease, color .3s ease; }
.billing-toggle button.is-active .save { background: var(--green-bright); color: var(--ink); }
.plans { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.plan { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; position: relative; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.plan:hover, .plan:focus-within { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(11,18,32,.09); border-color: #D1D5DB; }
.plan.is-featured { border: 2px solid var(--green); box-shadow: 0 20px 50px rgba(15,122,68,.14); }
.plan.is-featured:hover, .plan.is-featured:focus-within { border-color: var(--green); box-shadow: 0 28px 60px rgba(15,122,68,.2); }
.plan-badge { position: absolute; top: -14px; left: 36px; padding: 5px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { font-size: 22px; font-weight: 700; }
.plan-head { display: flex; flex-direction: column; gap: 6px; }
.plan-desc { font-size: 15px; line-height: 1.5; color: var(--muted); }
.price { display: flex; flex-direction: column; gap: 6px; }
.price-main { display: flex; align-items: baseline; gap: 6px; }
.price-amount { display: inline-block; font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; transition: color .25s ease; }
.price-amount.is-updating { animation: bump .45s var(--ease); color: var(--green); }
.price-unit { color: var(--muted); font-size: 15px; font-weight: 600; }
.price-note { font-size: 13px; color: var(--muted); }
.plan .check-list { gap: 11px; }
.plan .btn { margin-top: auto; min-height: 50px; }
.rate-wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; margin-top: 20px; }
.rate-card { flex: 2 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.rate-card h3, .addons h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.rate-card > p, .addons > p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.rate-head { display: flex; align-items: center; gap: 12px; }
.rate-head .icon-tile { width: 40px; height: 40px; border-radius: 11px; background: var(--green); color: #fff; }
.rate-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rate-table { min-width: 560px; width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; font-size: 14px; }
.rate-table th { padding: 12px 16px; background: var(--ink); color: #fff; font-weight: 700; text-align: right; }
.rate-table th:first-child { text-align: left; }
.rate-table td { padding: 14px 16px; border-top: 1px solid var(--line); text-align: right; font-weight: 700; transition: background .2s ease; }
.rate-table tbody tr:hover td { background: var(--soft); }
.rate-table td:first-child { text-align: left; font-weight: 400; color: var(--text2); }
.rate-table td:first-child strong { display: block; }
.rate-table td small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.rate-table .hl { color: var(--green); }
.addons { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.addon-list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text2); }
.addon-list li:last-child { border-bottom: 1px solid var(--line); }
.addon-list strong { white-space: nowrap; color: var(--ink); }
.note { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* 8. SSS */
.faq { display: flex; flex-wrap: wrap; gap: 20px; }
.faq details { flex: 1 1 460px; min-width: 0; border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 0 28px; transition: border-color .25s ease, box-shadow .25s ease; }
.faq details[open] { border-color: #D1D5DB; box-shadow: 0 10px 30px rgba(11,18,32,.06); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.35; transition: color .2s ease; }
.faq summary:hover { color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--green); flex: none; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { overflow: hidden; }
.faq details p { padding: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* 9. CTA ve footer */
.cta { position: relative; overflow: hidden; background: var(--green); color: #fff; padding: 96px 0; }
.cta::before { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; top: -380px; right: -220px; background: radial-gradient(closest-side, rgba(255,255,255,.18), rgba(255,255,255,0)); pointer-events: none; }
.cta .container { position: relative; }
.cta .split { justify-content: space-between; gap: 32px 48px; }
.cta h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; font-weight: 800; letter-spacing: -0.025em; }
.cta p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.86); }
.cta .btn-ghost-light { border-color: rgba(255,255,255,.5); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: var(--ink); color: #CBD5E1; padding: 72px 0 36px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.footer-brand { flex: 2 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { font-size: 15px; line-height: 1.6; max-width: 360px; }
.footer-col { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 { font-family: var(--font-body); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer-col a, .footer-col p { color: #CBD5E1; text-decoration: none; font-size: 15px; line-height: 1.6; }
.footer-col a { align-self: flex-start; transition: color .2s ease, transform .25s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #94A3B8; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { color: #94A3B8; text-decoration: none; transition: color .2s ease; }
.footer-bottom a:hover { color: #fff; }

/* 10. Giriş sayfası */
.auth { display: flex; flex-wrap: wrap; min-height: 100vh; }
.auth-aside { position: relative; overflow: hidden; flex: 1 1 420px; min-width: 0; background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.auth-aside::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; top: -260px; left: -260px; background: radial-gradient(closest-side, rgba(15,122,68,.5), rgba(15,122,68,0)); pointer-events: none; }
.auth-aside > * { position: relative; }
.auth-aside .brand { align-self: flex-start; }
.auth-pitch { display: flex; flex-direction: column; gap: 24px; max-width: 480px; }
.auth-pitch > * { animation: fadeUp .7s var(--ease) both; }
.auth-pitch > :nth-child(1) { animation-delay: .1s; }
.auth-pitch > :nth-child(2) { animation-delay: .2s; }
.auth-pitch > :nth-child(3) { animation-delay: .3s; }
.auth-pitch h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
.auth-pitch p { font-size: 17px; line-height: 1.6; color: #CBD5E1; }
.auth-pitch .check-list li { color: #E2E8F0; }
.auth-pitch .check-list svg { color: var(--green-bright); }
.auth-aside .fineprint { font-size: 13px; }
.auth-main { flex: 1.2 1 480px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
.auth-box { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 28px; animation: fadeUp .7s var(--ease) .15s both; }
.auth-box h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.auth-box .subtitle { font-size: 15px; color: var(--muted); }
.auth-box .subtitle a { font-weight: 700; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 14px; font-weight: 700; }
.form-field .label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.form-field .label-row a { font-size: 13px; font-weight: 600; }
.input { min-height: 48px; padding: 0 14px; border: 1px solid #D1D5DB; border-radius: 10px; font-size: 15px; color: var(--ink); background: #fff; width: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.input:hover { border-color: #9CA3AF; }
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(15,122,68,.15); }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text2); cursor: pointer; min-height: 24px; }
.checkbox input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 600; }
.divider::before, .divider::after { content: ""; flex: 1 1 0; height: 1px; background: var(--line); }
.legal { font-size: 13px; color: var(--muted); line-height: 1.55; text-align: center; }

/* 11. Hareket */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floatIn { from { opacity: 0; transform: translate(26px, 20px) rotate(1deg); } to { opacity: 1; transform: none; } }
@keyframes glowIn { to { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 100% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes shimmer { 0% { transform: translateX(-140%); } 100% { transform: translateX(240%); } }

/* Hero giriş sekansı: rozet → başlık → metin → butonlar → not (toplam ≈ 1,2 s) */
.hero-copy > * { animation: fadeUp .75s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .27s; }
.hero-copy > :nth-child(4) { animation-delay: .38s; }
.hero-copy > :nth-child(5) { animation-delay: .48s; }
.hero-visual > .mock-wrap { animation: floatIn .9s var(--ease) .3s both; }
.trust-row .trust { animation: fadeUp .55s var(--ease) both; }
.trust-row .trust:nth-child(1) { animation-delay: .7s; }
.trust-row .trust:nth-child(2) { animation-delay: .8s; }
.trust-row .trust:nth-child(3) { animation-delay: .9s; }

/* Kaydırınca belirme: .reveal main.js tarafından eklenir; JS yoksa her şey görünür kalır */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

/* Mobil menü paneli (≤900px'de aktif; 12. bölüm) */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .toast { display: none; }
  .hero-glow span { opacity: 1; }
}

/* 12. Mobil */
@media (max-width: 900px) {
  .nav { gap: 12px 0; }
  .nav-toggle { display: flex; }
  .nav-panel { display: grid; width: 100%; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .3s ease; }
  .nav-panel-inner { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: hidden; }
  .nav.is-open .nav-panel { grid-template-rows: 1fr; opacity: 1; }
  .nav-links { flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-links a { display: block; padding: 12px 0; font-size: 16px; opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .3s var(--ease), color .2s ease; }
  .nav.is-open .nav-links a { opacity: 1; transform: none; }
  .nav.is-open .nav-links a:nth-child(1) { transition-delay: .05s; }
  .nav.is-open .nav-links a:nth-child(2) { transition-delay: .09s; }
  .nav.is-open .nav-links a:nth-child(3) { transition-delay: .13s; }
  .nav.is-open .nav-links a:nth-child(4) { transition-delay: .17s; }
  .nav.is-open .nav-links a:nth-child(5) { transition-delay: .21s; }
  .nav-links a::after { display: none; }
  .nav-actions { padding-bottom: 6px; }
  .nav-actions .btn { flex: 1 1 0; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-visual { gap: 40px; perspective: none; }
  .hero-glow .g1 { width: 480px; height: 480px; top: -220px; left: -200px; }
  .hero-glow .g2 { display: none; }
  .toast { display: none; }
  .cta { padding: 64px 0; }
  .plan, .channel-card, .rate-card, .addons { padding: 28px; }
  .card:hover, .plan:hover, .tile:hover { transform: none; }
  .auth-aside { padding: 32px 24px; }
  .auth-main { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .btn { width: 100%; }
  .btn-mock { width: 100%; justify-content: center; }
  .plan-badge { left: 24px; }
  .billing-toggle button { padding: 0 12px; font-size: 13px; }
}
