/* playdjai.com — "Sahne Işığı" (Figma: Web v2 — Sahne Işığı, 00 Temel 398:37).
   Tokens mirror the Figma "Sahne" variables and text styles; the desktop
   layout follows the 1440 frames, narrower widths scale down. */

:root {
  color-scheme: dark;

  --bg: #020203;
  --bg-2: #0a0b12;
  --text: #f5f5f7;
  --text-2: rgba(245, 245, 247, 0.62);
  --text-3: rgba(245, 245, 247, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --cyan: #00d9f5;
  --blue: #4a5bff;
  --purple: #a64bff;
  --magenta: #ff3df2;
  --success: #30d158;
  --error: #ff4d6d;

  --radius-md: 14px;
  --radius-pill: 999px;

  --brand-gradient: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 55%, var(--purple) 100%);
  --text-gradient: linear-gradient(90deg, var(--cyan) 0%, var(--purple) 50%, var(--magenta) 100%);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, monospace;

  --page: 1440px;
  --gutter: 80px;

  --duration-fast: 150ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: none;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Text styles (Figma "Sahne/…"). Letter spacing in Figma is a percentage. */
.t-hud {
  font: 400 10px/1.2 var(--font-mono);
  letter-spacing: 0.1em;
}
.t-button,
.t-mono {
  font: 500 12px/1.2 var(--font-mono);
  letter-spacing: 0.06em;
}
.t-mono {
  line-height: 1.3;
  letter-spacing: 0;
}
.t-stat {
  font: 300 28px/1.1 var(--font-display);
}
.t-display-xxl {
  font: 700 92px/0.96 var(--font-display);
  letter-spacing: -0.02em;
}
.t-display {
  font: 700 56px/1.04 var(--font-display);
  letter-spacing: -0.02em;
}
.t-title {
  font: 600 32px/1.15 var(--font-display);
  letter-spacing: -0.01em;
}
.t-h3 {
  font: 600 20px/1.3 var(--font-body);
  letter-spacing: -0.005em;
}
.t-body-l {
  font: 400 18px/1.5 var(--font-body);
}
.t-body {
  font: 400 15px/1.5 var(--font-body);
}
.t-label {
  font: 600 14px/1.3 var(--font-body);
}
.t-small {
  font: 500 13px/1.4 var(--font-body);
}
.t-caption {
  font: 400 12px/1.4 var(--font-body);
}
.gradient-text {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons (Figma Button/Primary 398:38, Button/Ghost 398:40). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font: 500 12px/1.2 var(--font-mono);
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--duration-fast) var(--ease-out-expo),
    box-shadow var(--duration-fast) var(--ease-out-expo),
    border-color var(--duration-fast) var(--ease-out-expo);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  padding: 14px 24px;
  border: 0;
  background: var(--brand-gradient);
  color: var(--bg);
  filter: drop-shadow(0 0 12px rgba(74, 91, 255, 0.45));
}
.btn-primary:hover {
  filter: drop-shadow(0 0 18px rgba(74, 91, 255, 0.7));
}
.btn-ghost {
  padding: 13px 22px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--cyan);
}

/* Brand (Figma Brand 398:96). */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 20px/1.3 var(--font-display);
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

/* Top navigation (Figma Nav 399:83). */
.nav {
  position: absolute;
  z-index: 10;
  top: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 32px));
  height: 44px;
  transform: translateX(-50%);
}
.nav-links {
  display: flex;
  gap: 36px;
  color: var(--text-2);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Hero / sahne (Figma 399:4): a 1440×1000 stage, cropped at the sides on
   narrower screens and scaled down on phones. */
.hero {
  position: relative;
  height: 1000px;
  overflow: hidden;
  background: var(--bg);
}
.hero-stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 1000px;
  margin-left: -720px;
}
.beam {
  position: absolute;
  width: 180px;
  height: 900px;
  filter: blur(30px);
}
.beam-1 {
  left: 434.65px;
  top: -169.83px;
  transform: rotate(-18deg);
  background: linear-gradient(180deg, rgba(0, 217, 245, 0.75), rgba(0, 217, 245, 0));
}
.beam-2 {
  left: 651.17px;
  top: -127.38px;
  transform: rotate(-4deg);
  background: linear-gradient(180deg, rgba(74, 91, 255, 0.75), rgba(74, 91, 255, 0));
}
.beam-3 {
  left: 772.47px;
  top: -113.06px;
  transform: rotate(6deg);
  background: linear-gradient(180deg, rgba(166, 75, 255, 0.75), rgba(166, 75, 255, 0));
}
.beam-4 {
  left: 940.66px;
  top: -116.36px;
  transform: rotate(20deg);
  background: linear-gradient(180deg, rgba(255, 61, 242, 0.75), rgba(255, 61, 242, 0));
}
.orb-layer {
  position: absolute;
}
.ticks {
  position: absolute;
  left: 568px;
  top: 278px;
}
.hud {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
}
.hud .t-hud {
  color: var(--cyan);
}
.hud-right {
  align-items: flex-end;
}
.hero-title {
  position: absolute;
  z-index: 1;
  top: 690px;
  left: 50%;
  width: min(1100px, calc(100% - 32px));
  font-size: clamp(38px, 7.2vw, 92px);
  text-align: center;
  transform: translateX(-50%);
}
.prompt {
  position: absolute;
  top: 900px;
  left: 50%;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 8px 8px 8px 28px;
  border: 1.5px solid var(--cyan);
  border-radius: var(--radius-pill);
  background: rgba(10, 11, 18, 0.85);
  box-shadow: 0 0 50px rgba(166, 75, 255, 0.45);
  transform: translateX(-50%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.prompt {
  z-index: 1;
  width: min(561px, calc(100% - 32px));
}
.prompt input {
  flex: 1 0 0;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 400 18px/1.5 var(--font-body);
  outline: none;
}
.prompt input::placeholder {
  color: var(--text-3);
}
.prompt:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 217, 245, 0.35), 0 0 50px rgba(166, 75, 255, 0.45);
}

.muted {
  color: var(--text-2);
}
.dim {
  color: var(--text-3);
}
.cyan {
  color: var(--cyan);
}

/* Sections share the 1440 page with 80 px gutters. */
.section {
  width: min(var(--page), 100%);
  margin: 0 auto;
  padding: 120px var(--gutter);
}
.section-head {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
}
.section-head h2 {
  max-width: var(--head-width, 620px);
}
.section-head p {
  max-width: 420px;
}

/* Nasıl çalışır (Figma 399:116): heading, then a 1280×360 timeline. */
.how .timeline {
  position: relative;
  height: 360px;
  margin-top: 56px;
}
.timeline-curve,
.timeline-dot {
  position: absolute;
}
.timeline-curve {
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
}
.how .steps {
  position: absolute;
  top: 140px;
  left: 0;
  display: grid;
  width: 100%;
  /* 430 of 1280 per step, so the steps stay under their dots as the page narrows. */
  grid-template-columns: repeat(3, 33.59%);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.step p {
  max-width: min(360px, 90%);
}

/* Kaynaklar strip (Figma 399:141). */
.sources {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--page), 100%);
  margin: 0 auto;
  padding: 36px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.source-list {
  display: contents;
}
.source-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
.source-list .soon {
  color: var(--text-3);
}

.magenta {
  color: var(--magenta);
}

/* Müzik DNA (Figma 399:174): text column and a 420 px map card. */
.dna {
  display: flex;
  gap: 64px;
  align-items: center;
}
.dna-text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 20px;
  align-items: flex-start;
  width: 520px;
}
.dna-text p.t-body-l {
  max-width: 480px;
}
.dna-map {
  position: relative;
  flex: 1 0 0;
  min-width: 0;
  height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(155.65deg, #0c0e16 0%, #07080d 71.43%);
}
/* The map keeps its 696×420 drawing; narrow screens see it scaled and centred. */
.dna-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 696px;
  height: 420px;
}
.dna-layer > img,
.dna-layer > span {
  position: absolute;
}
.dna-layer > span {
  white-space: nowrap;
}
.dna-huds {
  position: absolute;
  top: 23px;
  left: 27px;
  display: flex;
  gap: 24px;
}
.hud-inline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
}

/* Ürün bento (Figma 422:2248): row 1 is 2:1, row 2 three equal cards. */
.product {
  --head-width: 720px;
  padding-top: 0;
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  gap: 12px;
  height: 300px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(152deg, #0c0e16 0%, #07080d 71.43%);
}
.bento > .card:nth-child(1) {
  grid-column: span 4;
  background: linear-gradient(164.7deg, #0c0e16 0%, #07080d 71.43%);
}
.bento > .card:nth-child(2) {
  grid-column: span 2;
}
.card-art,
.card-logos {
  position: absolute;
}
.card-logos {
  display: flex;
  gap: 6px;
}
.chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chart li {
  display: flex;
  gap: 12px;
  align-items: center;
}
.chart .t-small {
  flex: 1;
}
.up {
  color: var(--success);
}
.down {
  color: var(--error);
}

/* Hazır anlar (Figma 422:2309): showcase photo + sample list, then a strip. */
.moments {
  padding-top: 0;
}
.moments .section-head h2 {
  max-width: none;
  white-space: nowrap;
}
.moments-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  text-align: right;
}
.showcase {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}
.moment-hero,
.moment-strip li {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.moment-hero {
  flex: 0 0 620px;
  width: 620px;
  min-height: 440px;
  border-radius: 28px;
}
.moment-hero img,
.moment-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.moment-hero::after,
.moment-strip li::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(2, 2, 3, 0.05) 0%, rgba(2, 2, 3, 0.35) 55%, rgba(2, 2, 3, 0.92) 100%);
}
.moment-hero figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sample {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  min-width: 0;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(155.7deg, #0c0e16 0%, #07080d 71.43%);
}
.sample-head,
.sample-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 8px;
  white-space: nowrap;
}
.sample-foot {
  padding: 12px 8px 0;
}
.tracks {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Figma Track row 398:62. */
.tracks li {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 56px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
}
.tracks .art {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}
.tracks .who {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.tracks .who b,
.tracks .who small {
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracks .who b {
  font: 600 14px/1.3 var(--font-body);
}
.tracks .who small {
  color: var(--text-2);
  font: 400 12px/1.4 var(--font-body);
}
.moment-strip {
  display: flex;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.moment-strip li {
  flex: 1 0 0;
  min-width: 0;
  height: 240px;
  border-radius: 20px;
}
.moment-hero picture,
.moment-strip picture {
  display: contents;
}
.moment-strip a {
  display: block;
  height: 100%;
  color: inherit;
}
.moment-strip a:focus-visible {
  outline-offset: -3px;
}
.moment-strip img {
  transition: transform 400ms var(--ease-out-expo);
}
.moment-strip a:hover img,
.moment-strip a:focus-visible img {
  transform: scale(1.05);
}
.moment-strip span {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  left: 16px;
}
/* The moment on show: a cyan ring over the photo. */
.moment-strip a[aria-current="true"]::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 2px solid var(--cyan);
  border-radius: 20px;
  pointer-events: none;
  content: "";
}

/* Length, tempo range and energy of the set on show. */
.sample-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 8px 14px;
}
.sample-stats div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.sample-stats dd {
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* BPM flow: tempo per song in play order, one series, values on hover. */
.bpm-flow {
  margin: 0 8px 10px;
}
.bpm-flow figcaption {
  margin-bottom: 6px;
}
.bpm-plot {
  position: relative;
  height: 72px;
}
.bpm-plot svg {
  display: block;
  width: 100%;
  height: 72px;
  overflow: visible;
}
.bpm-guide {
  stroke: var(--line);
  stroke-dasharray: 2 4;
}
.bpm-guide-label {
  fill: var(--text-3);
  font: 400 10px/1 var(--font-mono);
}
.bpm-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linejoin: round;
}
.bpm-dot {
  fill: var(--cyan);
  stroke: #0a0b11;
  stroke-width: 2;
}
.bpm-hit {
  fill: transparent;
  cursor: crosshair;
}
.bpm-tip {
  position: absolute;
  z-index: 3;
  top: -34px;
  max-width: 260px;
  overflow: hidden;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #12141d;
  color: var(--text);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

/* Twelve songs: six on show, the rest a scroll away under a soft fade. */
.sample .tracks {
  max-height: 336px;
  overflow-y: auto;
  scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
  mask-image: linear-gradient(180deg, #000 82%, transparent);
}
.sample .tracks.at-end {
  -webkit-mask-image: none;
  mask-image: none;
}
.tracks li.is-active {
  background: rgba(255, 255, 255, 0.05);
}
.tracks .bpm-cell,
.tracks .time-cell {
  flex-shrink: 0;
  text-align: right;
}
.tracks .bpm-cell {
  width: 36px;
}
.tracks .time-cell {
  width: 40px;
}
/* A cover drawn from the song: two brand hues and the artist's initial. */
.tracks .art.cover {
  display: grid;
  place-items: center;
  background: linear-gradient(var(--angle, 135deg), hsl(var(--h1) 88% 58%), hsl(var(--h2) 78% 36%));
  color: rgba(255, 255, 255, 0.92);
  font: 600 16px/1 var(--font-display);
}
.tracks li.is-skeleton .art,
.tracks li.is-skeleton b,
.tracks li.is-skeleton small {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.tracks li.is-skeleton b {
  width: 55%;
  height: 12px;
  border-radius: 4px;
}
.tracks li.is-skeleton small {
  width: 35%;
  height: 10px;
  border-radius: 4px;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.sample-failed {
  margin: 8px 8px 0;
}

@media (max-width: 1100px) {
  .showcase {
    flex-direction: column;
  }
  .moment-hero {
    flex: none;
    width: 100%;
    height: 440px;
  }
  .moments-note {
    align-items: flex-start;
    text-align: left;
  }
  .moment-strip {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .moment-strip li {
    flex: 0 0 200px;
    scroll-snap-align: start;
  }
  .sample-head {
    flex-wrap: wrap;
  }
}

/* Inner pages: the nav sits in the flow instead of over a hero. */
.nav-wrap {
  position: relative;
  z-index: 10;
  height: 72px;
}
.page-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding: 72px var(--gutter) 48px;
  text-align: center;
}
.page-head h1 {
  max-width: 900px;
}
.page-head > p.t-body-l {
  max-width: 640px;
}

/* Chips (Figma Chip 398:44, Chip/Active 398:47). */
.chip {
  position: relative;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  color: var(--text-2);
  font: 500 13px/1.4 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
}
.chip::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}
.chip-active,
.chip:has(input:checked) {
  border-color: rgba(0, 217, 245, 0.6);
  background: rgba(0, 217, 245, 0.12);
  color: var(--cyan);
}
.chip-active::before,
.chip:has(input:checked)::before {
  display: none;
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip:has(input:focus-visible) {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.badge {
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(215, 180, 106, 0.16);
  color: #d7b46a;
  font: 400 10px/1.2 var(--font-mono);
  letter-spacing: 0.1em;
}

/* Fiyatlar (Figma 401:479). */
.pricing {
  position: relative;
  width: min(var(--page), 100%);
  margin: 0 auto;
  overflow-x: clip;
}
.pricing-glow {
  position: absolute;
  top: -272px;
  left: 300px;
  pointer-events: none;
}
.period {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.period .chip {
  border-color: var(--line);
}
.plans {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0 var(--gutter) 64px;
}
.plan,
.pack {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(149deg, #0c0e16 0%, #07080d 71.43%);
}
.plan-featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(144deg, #0c0e16 0%, #07080d 71.43%) padding-box,
    linear-gradient(135deg, var(--cyan), var(--purple) 60%, var(--magenta)) border-box;
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  color: var(--text-2);
  list-style: none;
}
.bullets li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.compare-wrap {
  padding: 0 var(--gutter) 96px;
}
.compare {
  width: 100%;
  padding: 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(167.8deg, #0c0e16 0%, #07080d 71.43%);
  border-spacing: 0;
  table-layout: fixed;
}
.compare th,
.compare td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: inherit;
}
.compare tbody th {
  color: var(--text);
}
.compare tbody tr:last-child > * {
  border-bottom: 0;
}
.packs-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 var(--gutter) 96px;
}
.packs-head {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}
.packs {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pack {
  gap: 14px;
  padding: 24px;
}
.pack-top {
  display: flex;
  gap: 0;
  align-items: center;
}
.pack-top img {
  margin: -10px 0 -10px -10px;
}
.tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}
.tiers legend {
  width: 100%;
  margin-bottom: 14px;
  padding: 0;
}

@media (max-width: 1100px) {
  .plans,
  .packs {
    flex-direction: column;
    align-items: stretch;
  }
  .packs-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .compare-wrap {
    overflow-x: auto;
  }
  .compare {
    min-width: 640px;
  }
}

/* Legal and contact pages (Figma 401:648, 424:2643, 424:2696). */
.legal {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  width: min(var(--page), 100%);
  margin: 0 auto;
  padding: 64px var(--gutter) 96px;
}
.toc {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 4px;
  width: 260px;
}
.toc a {
  padding: 4px 0;
  color: var(--text-2);
}
.toc a:hover,
.toc a.is-current {
  color: var(--cyan);
}
.legal-body {
  overflow-wrap: anywhere;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.legal-body > p,
.legal-body > ul {
  max-width: 760px;
}
.legal-body a {
  color: var(--cyan);
}
.legal-body h2 {
  scroll-margin-top: 24px;
}
.warning {
  color: #fbbf24;
}

@media (max-width: 1100px) {
  .legal {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .toc {
    position: static;
    width: auto;
  }
}

/* The legal texts moved over unchanged: style their plain markup. */
.legal-doc h2 {
  margin-top: 12px;
  font: 600 32px/1.15 var(--font-display);
  letter-spacing: -0.01em;
}
.legal-doc h3 {
  font: 600 20px/1.3 var(--font-body);
  letter-spacing: -0.005em;
}
.legal-doc > p,
.legal-doc li {
  color: var(--text-2);
  font: 400 18px/1.5 var(--font-body);
}
.legal-doc strong {
  color: var(--text);
  font-weight: 600;
}
.legal-doc ul,
.legal-doc ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 760px;
  margin: 0;
  padding-left: 22px;
}
.legal-doc .lead {
  color: var(--text);
}
.legal-doc .steps {
  max-width: 760px;
  padding: 20px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--bg-2);
}
.legal-doc .note {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.legal-doc .btn {
  align-self: flex-start;
}

/* 404 (Figma 401:629). */
.page-404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.not-found {
  position: relative;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 80px var(--gutter);
  overflow: hidden;
  text-align: center;
}
.not-found > :not(.not-found-glow) {
  position: relative;
}
.not-found .t-body-l {
  max-width: 520px;
}
.not-found-glow {
  position: absolute;
  top: 48px;
  left: 50%;
  margin-left: -300px;
  pointer-events: none;
}
.not-found .code {
  font: 700 clamp(96px, 28vw, 200px)/0.96 var(--font-display);
  letter-spacing: -0.02em;
}

/* Uygulama (Figma 399:248) and Alt bilgi (Figma 399:369). */
.get-app {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 64px max(var(--gutter), calc((100% - var(--page)) / 2 + var(--gutter)));
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, #07080d, #0c0e16);
}
.get-app {
  position: relative;
  scroll-margin-top: 24px;
}
.get-app::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(60% 140% at 25% 50%, rgba(0, 217, 245, 0.16), transparent 70%);
  opacity: 0;
}
.get-app.is-called::before {
  animation: get-app-called 1.8s var(--ease-out-expo) forwards;
}
@keyframes get-app-called {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0.45;
  }
}
.get-app:focus {
  outline: none;
}
.get-app h2 {
  max-width: 560px;
}
.get-app-text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.get-app-note {
  max-width: 560px;
  margin: 0;
  color: var(--text-2);
  transition: color var(--duration-fast);
}
.get-app.is-called .get-app-note {
  color: var(--text);
}
.get-app-page {
  min-height: 100vh;
}
.get-app-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.store-btn {
  display: flex;
  flex-direction: column;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-out-expo);
}
.store-btn:hover {
  transform: translateY(-2px);
}
.store-btn.is-soon {
  opacity: 0.45;
  cursor: default;
}
.store-btn.is-soon:hover {
  transform: none;
}
.qr {
  padding: 12px;
  border-radius: 18px;
  background: var(--text);
}
.qr img {
  width: 104px;
  height: 104px;
}
.footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  width: min(var(--page), 100%);
  margin: 0 auto;
  padding: 28px var(--gutter);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  color: var(--text-3);
}
.footer-links a {
  display: inline-block;
  padding: 6px 0;
}
.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 1100px) {
  .get-app,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .t-display {
    font-size: 40px;
  }
  .t-title {
    font-size: 26px;
  }
  .qr {
    display: none;
  }
  .card {
    height: auto;
    min-height: 300px;
  }
}

@media (max-width: 1100px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento > .card,
  .bento > .card:nth-child(1),
  .bento > .card:nth-child(2) {
    grid-column: auto;
  }
}

@media (max-width: 1100px) {
  .dna {
    flex-direction: column;
    align-items: stretch;
  }
  .dna-text {
    width: auto;
  }
  .dna-map {
    flex: none;
    width: 100%;
  }
  .dna-layer {
    left: 50%;
    margin-left: -348px;
  }
}

@media (max-width: 1100px) {
  :root {
    --gutter: 40px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .how .timeline {
    height: auto;
  }
  .timeline-curve,
  .timeline-dot {
    display: none;
  }
  .how .steps {
    position: static;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sources {
    flex-wrap: wrap;
    gap: 24px 32px;
    justify-content: flex-start;
  }
  .sources > p {
    width: 100%;
  }
  .hud {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    height: 720px;
  }
  .hero-stage {
    transform: scale(0.62);
    transform-origin: 50% 0;
  }
  .hero-title {
    top: 420px;
  }
  .prompt {
    top: 590px;
    padding-left: 20px;
  }
  .prompt input {
    font-size: 15px;
  }
  .nav-actions .btn {
    padding: 11px 14px;
  }
}

/* The narrowest phones keep the brand and one button. */
@media (max-width: 374px) {
  .nav-actions .btn-ghost {
    display: none;
  }
}

/* Sorular: questions open in place. */
.faq-list {
  max-width: 960px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  transition: color var(--duration-fast);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  flex-shrink: 0;
  color: var(--cyan);
  font: 300 28px/1 var(--font-display);
  content: "+";
  transition: transform var(--duration-fast) var(--ease-out-expo);
}
.faq summary:hover {
  color: var(--cyan);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  max-width: 760px;
  margin: 0 0 24px;
}
.faq details a {
  color: var(--cyan);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .get-app.is-called::before {
    animation: none;
    opacity: 0.45;
  }
  .moment-strip img,
  .faq summary::after {
    transition: none;
  }
  .tracks li.is-skeleton .art,
  .tracks li.is-skeleton b,
  .tracks li.is-skeleton small {
    animation: none;
  }
  .btn {
    transition: none;
  }
}

.pack-price {
  font-size: 24px;
}

/* Cookie consent (Figma 401:685): a bar at the bottom and a preferences dialog. */
.consent-bar {
  position: fixed;
  z-index: 50;
  bottom: 24px;
  left: 50%;
  display: flex;
  gap: 24px;
  align-items: center;
  width: min(1040px, calc(100% - 32px));
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(175.9deg, #0c0e16 0%, #07080d 71.43%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
}
.consent-bar[hidden] {
  display: none;
}
.consent-text {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.consent-text p.t-small {
  max-width: 560px;
}
.consent-text a {
  color: var(--cyan);
}
.consent-actions,
.consent-prefs-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn-text {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cyan);
  cursor: pointer;
}
.consent-prefs {
  width: min(480px, calc(100% - 32px));
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(152.8deg, #0c0e16 0%, #07080d 71.43%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  color: var(--text);
}
.consent-prefs::backdrop {
  background: rgba(2, 2, 3, 0.6);
}
.consent-prefs form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.consent-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.consent-row > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.consent-row.is-locked {
  opacity: 0.7;
  cursor: default;
}
.consent-prefs-actions {
  justify-content: flex-end;
}
/* 44×26 switch (Figma "Anahtar"). */
.switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  cursor: pointer;
  appearance: none;
  transition: background var(--duration-fast) var(--ease-out-expo);
}
.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
  content: "";
  transition: transform var(--duration-fast) var(--ease-out-expo);
}
.switch:checked {
  border-color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--purple) 60%, var(--magenta));
}
.switch:checked::after {
  transform: translateX(18px);
}
.switch:disabled {
  cursor: default;
}

@media (max-width: 760px) {
  .consent-bar {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    padding: 18px;
  }
  .consent-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

/* Phones: 20 px gutters, smaller display type, wrapping rows. */
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }
  .t-display {
    font-size: clamp(30px, 9vw, 40px);
  }
  .moments .section-head h2,
  .sample-head,
  .sample-foot {
    white-space: normal;
  }
  .sample-foot {
    flex-wrap: wrap;
  }
  .tracks li {
    gap: 10px;
    padding: 8px 6px;
  }
  .moment-hero {
    height: 340px;
  }
  .sample-stats {
    margin: 4px 0 12px;
  }
  .sample-stats div {
    padding: 8px;
  }
  .sample-stats dd {
    font-size: 11px;
    white-space: normal;
  }
  .bpm-flow {
    margin: 0 0 10px;
  }
}

@media (max-width: 640px) {
  .dna-map {
    height: 300px;
  }
  .dna-layer {
    top: 24px;
    transform: scale(0.58);
    transform-origin: 50% 0;
  }
}

/* A shared set (s.php, Figma 401:163): the set and the way to the phone. */
.shared-narrow {
  display: none;
}
.shared {
  display: grid;
  grid-template-columns: minmax(0, 640px) 340px;
  gap: 32px;
  align-items: center;
  justify-content: center;
  max-width: var(--page);
  margin: 0 auto;
  padding: 120px var(--gutter) 160px;
}
.shared-card,
.shared-phone {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: linear-gradient(152deg, #0c0e16 0%, #07080d 71.43%);
}
.shared-card {
  padding: 32px;
}
.shared-owner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--text);
}
.shared-dot {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--text-gradient);
}
.shared-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
}
.shared-cover {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: 18px;
}
.shared-title {
  margin: 8px 0 6px;
  font: 700 34px/1.1 var(--font-display);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.shared-songs {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.shared-song {
  display: grid;
  grid-template-columns: 30px 40px minmax(0, 1fr) auto 44px;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
}
.shared-num,
.shared-bpm,
.shared-time {
  font: 500 12px/1.3 var(--font-mono);
  color: var(--text-3);
}
.shared-bpm,
.shared-time {
  color: var(--text-2);
  text-align: right;
}
.shared-art {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.shared-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.shared-name b,
.shared-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shared-name b {
  font-weight: 600;
  font-size: 14px;
}
.shared-name span {
  font-size: 12px;
  color: var(--text-3);
}
.shared-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 12px;
}
.shared-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 28px;
  text-align: center;
}
.shared-qr {
  width: 196px;
  height: 196px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
}
.shared-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}
.shared-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.shared-link {
  text-transform: none;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .shared {
    grid-template-columns: minmax(0, 640px);
    padding: 48px 20px 96px;
  }
  /* On a phone the page is the phone: no QR to scan, just the stores. */
  .shared-qr,
  .shared-link,
  .shared-wide {
    display: none;
  }
  .shared-narrow {
    display: block;
  }
}
@media (max-width: 640px) {
  .shared-card {
    padding: 22px;
  }
  .shared-head {
    align-items: flex-start;
    gap: 16px;
  }
  .shared-cover {
    width: 84px;
    height: 84px;
  }
  .shared-title {
    font-size: 26px;
  }
  .shared-song {
    grid-template-columns: 26px 36px minmax(0, 1fr) 40px;
    gap: 10px;
  }
  .shared-bpm {
    display: none;
  }
}
