/* publictabs — site. Renkler ve yazi tipleri brand/design.json ile ayni. */
:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --panel: #121215;
  --line: #1c1c1f;
  --line-2: #26262a;
  --text: #e4e2dd;
  --text-hi: #f0eee9;
  --muted: #8a8780;
  --dim: #6e6b65;
  --gold: #c9a564;
  --gold-dim: #a89068;
  --gold-soft: rgba(201, 165, 100, .12);
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --sans: "Inter", system-ui, "Segoe UI", sans-serif;
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--text-hi); letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 600; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
em { font-style: normal; color: var(--gold); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font: 600 13px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font: 600 15px/1 var(--sans);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn-gold { background: var(--gold); color: #141109; }
.btn-gold:hover { background: #d8b675; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }
.btn-lg { padding: 16px 28px; font-size: 17px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  background: linear-gradient(to bottom, rgba(10, 10, 11, .92), rgba(10, 10, 11, .6));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 28, 31, .8);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font: 700 21px/1 var(--mono); color: var(--text-hi); letter-spacing: -0.02em; }
.wordmark span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; margin-right: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text-hi); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font: 500 13px/1 var(--mono); color: var(--muted); background: none;
  border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; cursor: pointer;
}
.lang:hover { color: var(--text-hi); border-color: var(--muted); }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 940px); display: flex; align-items: center;
  overflow: hidden; padding: 120px 0 90px; isolation: isolate;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.04);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, .985) 0%, rgba(10, 10, 11, .97) 44%, rgba(10, 10, 11, .55) 66%, rgba(10, 10, 11, .4) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 11, 0) 30%);
}
.hero-inner { position: relative; }
.hero h1 {
  font-size: clamp(44px, 7vw, 88px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em;
  max-width: 13ch; margin-bottom: 24px;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #c9c6bf; max-width: 560px; margin-bottom: 34px; }

.paste {
  display: flex; align-items: center; gap: 10px; max-width: 600px;
  background: rgba(14, 14, 16, .85); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 7px 7px 7px 20px; backdrop-filter: blur(6px);
  transition: border-color .2s, box-shadow .2s;
}
.paste:focus-within { border-color: var(--gold-dim); box-shadow: 0 0 0 4px var(--gold-soft); }
.paste-icon { color: var(--gold); font-size: 13px; }
.paste input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text-hi);
  font: 400 16px/1 var(--mono); padding: 10px 4px;
}
.paste input::placeholder { color: var(--dim); }
.paste-note { min-height: 24px; margin-top: 12px; color: var(--gold-dim); font: 400 14px/1.5 var(--mono); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 10px 0 0; color: var(--muted); font: 400 14px/1 var(--mono); }
.hero-facts li::before { content: "— "; color: var(--gold); }

.staff { position: absolute; inset: auto 0 0; height: 110px; display: grid; gap: 0; pointer-events: none; opacity: .5; }
.staff i { display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); align-self: center; }

/* ---------- stems strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-inner { display: flex; align-items: center; gap: 28px; padding: 22px 0; flex-wrap: wrap; }
.strip-title { font: 600 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font: 500 14px/1 var(--mono); color: var(--text);
}
.chips .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.chips .off { color: var(--dim); text-decoration: line-through; border-style: dashed; }
.chips .off .dot { background: var(--dim); }

/* ---------- sections ---------- */
section { position: relative; }
.features, .cards-section, .how, .gallery, .pricing, .faq { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.link { color: var(--gold); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; }

/* feature blocks */
.feature {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line);
}
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; margin-bottom: 18px; }
.feature-copy p { color: #b8b5ae; max-width: 460px; }
.num { font: 500 14px/1 var(--mono); color: var(--gold); margin-bottom: 18px !important; }

.mock {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
  font-family: var(--mono);
}
.mock-head {
  display: flex; justify-content: space-between; font: 600 12px/1 var(--sans);
  letter-spacing: .2em; color: var(--dim); margin-bottom: 20px;
}
.mock-head span:last-child { letter-spacing: 0; font-weight: 400; }

.mixer .row { display: grid; grid-template-columns: 72px 1fr 48px; gap: 14px; align-items: center; padding: 9px 0; font-size: 14px; }
.mixer b { font-weight: 500; color: var(--text); }
.mixer em { color: var(--muted); text-align: right; font-size: 13px; }
.mixer .bar { height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.mixer .bar i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--gold); border-radius: 6px; }
.mixer .muted b, .mixer .muted em { color: var(--dim); text-decoration: line-through; }

.tab pre, .tab-next { margin: 0; font: 400 clamp(11px, 1.15vw, 14px)/1.55 var(--mono); color: #d6d3cc; white-space: pre; overflow: hidden; }
.tab .ch { color: var(--gold); }
.tab-box { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 16px 18px; overflow: hidden; }
.tab-cursor {
  position: absolute; top: 34px; bottom: 14px; width: 9px; left: 30px;
  background: rgba(201, 165, 100, .16); border-left: 2px solid var(--gold);
  animation: cursor 6s linear infinite;
}
@keyframes cursor { from { left: 30px; } to { left: calc(100% - 22px); } }
.tab-next { margin-top: 18px !important; padding: 0 18px; opacity: .4; color: #a8a59e !important; }
.tab-next .ch { color: var(--gold-dim); }

.lyrics { padding: 34px 32px; }
.lyrics p { white-space: pre; overflow: hidden; }
.lyrics .label { font: 600 12px/1 var(--sans); letter-spacing: .24em; color: var(--gold); margin-bottom: 26px; }
.lyrics .c { display: block; color: var(--gold-dim); }
.lyrics .side { color: #b8b5ae; opacity: .38; font-size: clamp(14px, 1.5vw, 19px); margin: 0 0 26px; }
.lyrics .side .c { font-size: .72em; }
.lyrics .now { font-size: clamp(18px, 2.1vw, 27px); font-weight: 500; color: var(--text-hi); margin: 0 0 26px; }
.lyrics .now .c { color: var(--gold); font-size: .68em; margin-bottom: 4px; }
.lyrics .line { position: relative; display: inline-block; }
.lyrics .sung { position: absolute; inset: 0 auto 0 0; width: 0; overflow: hidden; color: var(--gold); animation: sing 5s steps(26) infinite; }
@keyframes sing { 0% { width: 0; } 80%, 100% { width: 100%; } }

.meter-bars { display: grid; grid-template-columns: repeat(16, 1fr); gap: 6px; height: 160px; align-items: end; }
.meter-bars span { height: calc(var(--h) * 100%); border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--gold-dim), var(--gold)); animation: pulse 2.4s ease-in-out infinite alternate; transform-origin: bottom; }
.meter-bars span:nth-child(odd) { background: var(--line-2); animation-delay: -.6s; }
@keyframes pulse { from { transform: scaleY(.82); } to { transform: scaleY(1); } }
.meter-legend { display: flex; gap: 22px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.meter-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--line-2); margin-right: 8px; vertical-align: -1px; }
.meter-legend .gold::before { background: var(--gold); }

/* cards */
.cards-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card .icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 22px;
  background: var(--gold-soft); color: var(--gold); font: 700 20px/1 var(--mono);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 0 32px 0 0; border-top: 1px solid var(--line-2); padding-top: 28px; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.step-n { display: block; font: 500 44px/1 var(--mono); color: var(--gold); margin-bottom: 22px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); }

/* band */
.band { background: linear-gradient(110deg, #17140e, #0e0e10 60%); border-block: 1px solid #2a2418; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 56px 0; flex-wrap: wrap; }
.band h2 { font-size: clamp(26px, 3.2vw, 38px); }

/* gallery */
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; text-decoration: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .6)),
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(255, 255, 255, .045) 13px 14px),
    radial-gradient(120% 90% at 20% 30%, #17171a, #0b0b0c);
  border: 1px solid var(--line); padding: 14px 16px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color .25s, transform .25s;
}
.thumb:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.thumb::before { content: "▶"; position: absolute; top: 50%; left: 50%; translate: -50% -60%; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(201, 165, 100, .9); color: #141109; font-size: 15px; padding-left: 3px; opacity: 0; transition: opacity .25s; }
.thumb:hover::before { opacity: 1; }
.t-title { font: 600 16px/1.2 var(--sans); color: var(--text-hi); }
.t-sub { font: 400 12.5px/1.4 var(--mono); color: var(--muted); margin-top: 4px; }
.t-tag { position: absolute; top: 12px; left: 14px; font: 700 11px/1 var(--mono); letter-spacing: .12em; color: #141109; background: var(--gold); padding: 5px 8px; border-radius: 6px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.plan.featured { border-color: var(--gold-dim); background: linear-gradient(180deg, #16130d, var(--bg-2) 45%); }
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 500; }
.price { font: 700 48px/1 var(--sans); color: var(--text-hi); letter-spacing: -0.03em; }
.price span { font: 400 16px/1 var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 auto; display: grid; gap: 10px; color: #c9c6bf; font-size: 15.5px; }
.plan li::before { content: "✓"; color: var(--gold); margin-right: 10px; font-weight: 700; }
.badge { position: absolute; top: -12px; left: 30px; background: var(--gold); color: #141109; font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font: 500 19px/1.4 var(--sans); color: var(--text-hi);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 400 26px/1 var(--mono); color: var(--gold); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; }

/* final */
.final { padding: clamp(100px, 13vw, 170px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.final .staff { inset: 50% 0 auto; translate: 0 -50%; height: 220px; opacity: .7; }
.final-inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.final img { border-radius: 50%; }
.final h2 { font-size: clamp(40px, 6vw, 72px); font-family: var(--mono); font-weight: 700; letter-spacing: -0.04em; }
.final p { color: var(--muted); max-width: 460px; margin-bottom: 8px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand p { color: var(--dim); font: 400 14px/1.6 var(--mono); margin-top: 14px; }
.footer-cols { display: flex; gap: clamp(36px, 7vw, 96px); flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 14px; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.footer-cols a { display: block; text-decoration: none; color: var(--muted); font-size: 15px; padding: 4px 0; }
.footer-cols a:hover { color: var(--text-hi); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font: 400 13px/1 var(--mono); flex-wrap: wrap; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--text); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(10, 10, 11, .98); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu { display: block; }
  .hide-sm { display: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .cards, .plans { grid-template-columns: 1fr 1fr; }
  .thumbs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li, .steps li + li { padding: 28px 0 0; border-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-actions .btn-gold { display: none; }
  .hero { padding-top: 100px; }
  .hero-shade { background: linear-gradient(180deg, rgba(10, 10, 11, .86), rgba(10, 10, 11, .95) 55%, var(--bg)); }
  .paste { flex-wrap: wrap; border-radius: 18px; padding: 10px; }
  .paste .btn { width: 100%; }
  .paste-icon { display: none; }
  .cards, .plans, .thumbs { grid-template-columns: 1fr; }
  .mock { padding: 20px 18px; }
  .tab-box { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .lyrics .sung { width: 52%; }
}
