/* ─────────────────────────────────────────────────────────────
   landing-hero.css — CTA Banner Redesign port (Anthropic design handoff)
   Source: r10/project/CTA Banner - Redesign.html (BannerV1 + BannerV2)
   Scope: .bn / .bn-v1 / .bn-v2 only (banner shell isolated)
   Tokens: scoped to .bn (banner içi koyu; sayfa açık tema bozulmaz)
   ───────────────────────────────────────────────────────────── */

/* ── banner shell (kendi içine isolated dark theme) ────────── */
.bn {
  --bn-bg:     #0E0E0C;
  --bn-accent: #E8623D;
  --bn-fg:     #F4F1EA;
  --bn-fg-mut: rgba(244,241,234,0.62);
  --bn-fg-2:   rgba(244,241,234,0.78);
  --bn-line:   rgba(244,241,234,0.12);
  position: relative; width: 100%; min-height: 380px;
  background: var(--bn-bg); border-radius: 26px; overflow: hidden;
  color: var(--bn-fg); display: flex; isolation: isolate;
  font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
.bn *, .bn *::before, .bn *::after { box-sizing: border-box; }
.bn .serif-it { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.bn .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.bn .acc { color: var(--bn-accent); }

.bn .glow {
  position: absolute; inset: auto; pointer-events: none; z-index: 0;
  filter: blur(46px); opacity: 0.9;
}
.bn .g-orange {
  width: 70%; height: 150%; right: -8%; bottom: -55%;
  background: radial-gradient(circle, rgba(232,98,61,0.55), rgba(232,98,61,0) 68%);
  animation: bn-drift 9s ease-in-out infinite alternate;
}
@keyframes bn-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-7%,-6%) scale(1.12); }
}

/* ── entrance motion ─────────────────────────────────────── */
.bn .rise { opacity: 0; transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms); }
.bn.played .rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .bn .rise { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bn .glow, .bn .v2-mock, .bn .spark-line { animation: none !important; }
}

/* ── CTA buttons ─────────────────────────────────────────── */
.bn .cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 26px; border-radius: 999px; cursor: pointer;
  font: 600 16px/1 'Geist', sans-serif; letter-spacing: -0.01em;
  text-decoration: none; border: none; position: relative; overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.bn .cta-accent { background: var(--bn-accent); color: #fff; box-shadow: 0 8px 22px -8px rgba(232,98,61,0.7); }
.bn .cta-accent::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-130%);
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.42) 50%, transparent 65%);
}
.bn .cta-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(232,98,61,0.85); }
.bn .cta-accent:hover::after { animation: bn-shine .85s ease forwards; }
@keyframes bn-shine { to { transform: translateX(130%); } }
.bn .cta .cta-arrow { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.bn .cta:hover .cta-arrow { transform: translateX(4px); }
.bn .cta-ghost {
  display: inline-flex; align-items: center; padding: 15px 6px; cursor: pointer;
  font: 500 15px/1 'Geist', sans-serif; color: rgba(244,241,234,0.62);
  text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.bn .cta-ghost:hover { color: #F4F1EA; border-color: rgba(244,241,234,0.5); }

.bn .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 'JetBrains Mono', monospace; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--bn-fg-mut);
}
.bn .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bn-accent); box-shadow: 0 0 0 4px rgba(232,98,61,0.18); }

/* ── 1 · V1 ──────────────────────────────────────────────── */
.bn-v1 { align-items: center; padding: 56px 60px; justify-content: space-between; }
.bn-v1 .v1-wrap { position: relative; z-index: 2; max-width: 820px; }
.bn-v1 .v1-h { font: 500 54px/1.04 'Geist', sans-serif; letter-spacing: -0.032em; margin: 18px 0 0; color: var(--bn-fg); }
.bn-v1 .v1-h .line { display: block; overflow: hidden; white-space: nowrap; }
.bn-v1 .v1-h em { font-size: 56px; }
.bn-v1 .v1-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.bn-v1 .v1-trust span { display: inline-flex; align-items: center; gap: 8px; font: 500 14.5px/1 'Geist', sans-serif; color: var(--bn-fg-2); }
.bn-v1 .v1-actions { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }

/* ── 2 · V2 ──────────────────────────────────────────────── */
.bn-v2 { align-items: center; padding: 48px 56px; justify-content: space-between; gap: 40px; }
.bn-v2 .v2-glow { right: 28%; bottom: -60%; opacity: 0.7; }
.bn-v2 .v2-left { position: relative; z-index: 2; max-width: 460px; flex: 1 1 460px; min-width: 0; }
.bn-v2 .v2-h { font: 500 46px/1.02 'Geist', sans-serif; letter-spacing: -0.03em; margin: 16px 0 0; color: var(--bn-fg); }
.bn-v2 .v2-h em { font-size: 48px; }
.bn-v2 .v2-sub { font: 400 16px/1.5 'Geist', sans-serif; color: var(--bn-fg-mut); margin: 16px 0 0; max-width: 400px; }
.bn-v2 .v2-actions { margin-top: 26px; }
.bn-v2 .v2-proof { display: flex; align-items: center; gap: 12px; margin-top: 24px; font: 400 13.5px/1.4 'Geist', sans-serif; color: rgba(244,241,234,0.6); flex-wrap: wrap; }
.bn-v2 .v2-proof b { color: var(--bn-fg); font-weight: 600; }
.bn-v2 .av-stack { display: flex; }
.bn-v2 .av { width: 30px; height: 30px; border-radius: 50%; background: #2a2925; border: 2px solid var(--bn-bg); color: var(--bn-fg); font: 600 11px/26px 'Geist', sans-serif; text-align: center; }
.bn-v2 .v2-mock {
  position: relative; z-index: 2; width: 300px; flex-shrink: 0;
  background: rgba(255,255,255,0.045); border: 1px solid var(--bn-line);
  border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.7);
  animation: bn-float 6s ease-in-out infinite;
}
@keyframes bn-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.bn-v2 .mk-head { display: flex; align-items: center; gap: 8px; }
.bn-v2 .mk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bn-accent); }
.bn-v2 .mk-title { font-size: 12px; color: rgba(244,241,234,0.7); }
.bn-v2 .mk-live { margin-left: auto; font-size: 10px; color: #5fcf86; letter-spacing: 0.06em; }
.bn-v2 .mk-kw { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; }
.bn-v2 .mk-kw .mono { font-size: 14px; color: var(--bn-fg); }
.bn-v2 .mk-rank { font: 500 17px/1 'Geist', sans-serif; color: rgba(244,241,234,0.55); }
.bn-v2 .mk-rnum { display: inline-block; color: var(--bn-accent); font-weight: 600; animation: bn-pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes bn-pop { 0% { transform: translateY(8px) scale(0.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.bn-v2 .mk-spark { width: 100%; height: 56px; margin-top: 8px; display: block; }
.bn-v2 .spark-line { stroke-dasharray: 320; stroke-dashoffset: 0; }
.bn.played .bn-v2 .spark-line, .bn-v2.played-init .spark-line { animation: bn-draw 1.6s .3s ease; }
@keyframes bn-draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
.bn-v2 .mk-row { display: flex; gap: 7px; margin-top: 12px; }
.bn-v2 .mk-chip { font-size: 10.5px; padding: 5px 10px; border-radius: 999px; background: rgba(244,241,234,0.07); color: rgba(244,241,234,0.66); opacity: 0; transition: opacity .5s; transition-delay: var(--d); }
.bn.played .bn-v2 .mk-chip { opacity: 1; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .bn-v1 { padding: 44px 36px; }
  .bn-v1 .v1-h { font-size: 40px; }
  .bn-v1 .v1-h em { font-size: 42px; }
  .bn-v2 { padding: 40px 32px; flex-direction: column; align-items: flex-start; }
  .bn-v2 .v2-mock { width: 100%; max-width: 360px; align-self: center; }
  .bn-v2 .v2-h { font-size: 36px; }
  .bn-v2 .v2-h em { font-size: 38px; }
}
@media (max-width: 540px) {
  .bn { border-radius: 18px; min-height: 0; }
  .bn-v1 { padding: 36px 24px; }
  .bn-v1 .v1-h { font-size: 32px; line-height: 1.08; }
  .bn-v1 .v1-h em { font-size: 34px; }
  .bn-v1 .v1-trust { gap: 8px 14px; }
  .bn-v1 .v1-actions { gap: 12px; }
  .bn-v2 { padding: 32px 22px; }
  .bn-v2 .v2-h { font-size: 30px; }
  .bn-v2 .v2-h em { font-size: 32px; }
  .bn-v2 .v2-mock { display: none; }
  .bn .cta { padding: 13px 22px; font-size: 15px; }
}
