/* cvTunes website. One stylesheet for every page (Spiral styles kept for website-drafts). */
:root {
  --bg: #0b0c10;
  --bg-2: #12141a;
  --card: #161922;
  --line: #262a36;
  --text: #eef1f6;
  --muted: #9aa3b5;
  --cv: #5ec8f2;       /* cvTunes cyan (kiosk labels) */
  --spiral: #38bdf8;   /* Spiral panel blue */
  --accent: #5ec8f2;
  --pro: #f5b94a;
  --radius: 14px;
  --max: 1120px;
  --font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .8em;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 12, 16, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav .btn { color: #071018; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 6px 10px; font: inherit; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  background: var(--accent); color: #071018; border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(94, 200, 242, .25); }
.btn.small { padding: 8px 16px; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Hero */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 700px; z-index: -1;
  background: radial-gradient(ellipse at 30% 40%, rgba(94, 200, 242, .18), transparent 60%),
              radial-gradient(ellipse at 75% 30%, rgba(56, 189, 248, .10), transparent 60%);
}
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

/* Product split on the home page */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 36px; display: flex; flex-direction: column;
}
.product .logo { width: 56px; height: 56px; margin-bottom: 20px; }
.product ul { padding-left: 1.1em; color: var(--muted); margin: 0 0 1.5em; }
.product ul li { margin-bottom: .35em; }
.product .btn-row { margin-top: auto; }
.product.spiral { --accent: var(--spiral); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .icon {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(94, 200, 242, .12); color: var(--accent); margin-bottom: 14px; font-size: 1.3rem;
}
.feature .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.pro-tag {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pro); border: 1px solid rgba(245, 185, 74, .4); border-radius: 999px; padding: 1px 8px;
  vertical-align: middle; margin-left: 6px;
}

/* Two-column text + visual */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .7em; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(94, 200, 242, .12); }
.plan .price { font-size: 2.6rem; font-weight: 700; line-height: 1; margin: 10px 0 4px; }
.plan .price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan .note { color: var(--muted); font-size: .9rem; min-height: 1.5em; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 28px; }
.plan li { padding: 7px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.plan li:first-child { border-top: 0; }
.plan .btn { margin-top: auto; justify-content: center; }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 110px; }
.compare thead th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: #4a5062; }
.table-scroll { overflow-x: auto; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #071018; background: var(--accent);
}
.step p { color: var(--muted); font-size: .97rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA band */
.cta {
  background: linear-gradient(135deg, rgba(94, 200, 242, .14), rgba(56, 189, 248, .04));
  border: 1px solid var(--line); border-radius: 24px; padding: 56px; text-align: center;
}
.cta p { color: var(--muted); max-width: 600px; margin: 0 auto 1.6em; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: var(--text); font-size: .9rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.legal { font-size: .8rem; border-top: 1px solid var(--line); padding-top: 24px; }

/* ---------- Mockups (drawn in CSS, no screenshots needed) ---------- */
.device {
  background: #050608; border: 1px solid #2b2f3b; border-radius: 22px; padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 6px #14161d;
}
.screen { border-radius: 12px; overflow: hidden; background: #0e0f13; aspect-ratio: 16 / 10; display: flex; flex-direction: column; }

/* cvTunes kiosk mockup */
.kiosk-top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.kiosk-top .search { flex: 1; height: 18px; border-radius: 9px; background: #1d2029; }
.kiosk-top .pill { width: 34px; height: 18px; border-radius: 9px; background: #1d2029; }
.kiosk-top .pill.on { background: rgba(94, 200, 242, .35); }
.kiosk-body { flex: 1; display: grid; grid-template-columns: 1fr 34%; gap: 10px; padding: 0 12px 10px; min-height: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; align-content: start; }
.tile { aspect-ratio: 1; border-radius: 8px; position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; left: 6px; right: 30%; bottom: 6px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .75); }
.t1 { background: linear-gradient(135deg, #f97316, #7c2d12); }
.t2 { background: linear-gradient(135deg, #22d3ee, #1e3a8a); }
.t3 { background: linear-gradient(135deg, #a78bfa, #4c1d95); }
.t4 { background: linear-gradient(135deg, #f43f5e, #4c0519); }
.t5 { background: linear-gradient(135deg, #84cc16, #1a2e05); }
.t6 { background: linear-gradient(135deg, #eab308, #713f12); }
.t7 { background: linear-gradient(135deg, #64748b, #0f172a); }
.t8 { background: linear-gradient(135deg, #ec4899, #500724); }
.nowplaying { background: #151821; border-radius: 10px; padding: 9px; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.np-art { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #22d3ee, #6d28d9 70%, #f43f5e); }
.np-label { height: 5px; width: 50%; border-radius: 3px; background: var(--cv); }
.np-line { height: 5px; border-radius: 3px; background: #3a3f4d; }
.np-line.short { width: 60%; }
.np-bar { height: 3px; border-radius: 2px; background: #2a2e3a; position: relative; margin-top: 2px; }
.np-bar::before { content: ""; position: absolute; inset: 0 55% 0 0; background: var(--cv); border-radius: 2px; }

/* Phone mockups */
.phone {
  width: 150px; background: #050608; border: 1px solid #2b2f3b; border-radius: 26px; padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}
.phone .screen { aspect-ratio: 9 / 19; border-radius: 19px; padding: 14px 10px; gap: 8px; }
.phone .row { display: flex; gap: 7px; align-items: center; }
.phone .sq { width: 26px; height: 26px; border-radius: 6px; flex: none; }
.phone .ln { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.phone .ln i { display: block; height: 4px; border-radius: 2px; background: #3a3f4d; }
.phone .ln i:last-child { width: 60%; background: #2a2e3a; }
.phone .head { height: 6px; width: 45%; border-radius: 3px; background: var(--accent); margin: 2px 0 6px; }
.phone .btnbar { margin-top: auto; height: 22px; border-radius: 11px; background: var(--accent); opacity: .85; }

/* Real phone screenshots in a frame */
.phones { display: flex; justify-content: center; align-items: center; gap: 18px; }
.phones .phone { width: 31%; max-width: 190px; padding: 7px; border-radius: 24px; }
.phones .phone img { width: 100%; height: auto; border-radius: 18px; }
.phones .phone:nth-child(2) { transform: translateY(-28px); max-width: 200px; }

.hero-visual { position: relative; }
.device .shot { width: 100%; height: auto; border-radius: 12px; }

/* Screenshot gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45); transition: transform .2s;
}
.gallery a:hover img { transform: translateY(-3px); }
.gallery figcaption { color: var(--muted); font-size: .95rem; margin-top: 12px; }
.gallery figcaption strong { color: var(--text); display: block; font-size: 1.05rem; margin-bottom: 2px; }
.hero-visual .phone { position: absolute; right: -18px; bottom: -36px; }

/* Spiral panel mockup */
.spiral-screen { padding: 12px; gap: 10px; background: #0a0a0c; }
.sp-head { display: flex; align-items: center; gap: 8px; }
.sp-head .dot { width: 18px; height: 18px; border-radius: 6px; border: 3px solid var(--spiral); }
.sp-head .t { height: 7px; width: 30%; border-radius: 4px; background: #e5e7eb; opacity: .85; }
.sp-head .off { margin-left: auto; height: 18px; width: 60px; border-radius: 9px; background: rgba(239, 68, 68, .25); }
.rooms { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.room { border-radius: 10px; background: #15171d; border: 1px solid #23262f; padding: 9px; display: flex; flex-direction: column; gap: 6px; }
.room.on { border-color: rgba(56, 189, 248, .55); background: linear-gradient(160deg, rgba(56, 189, 248, .14), #15171d 70%); }
.room b { display: block; height: 6px; width: 60%; border-radius: 3px; background: #d1d5db; opacity: .8; }
.room i { display: block; height: 4px; width: 80%; border-radius: 2px; background: #3a3f4d; }
.room .vol { margin-top: auto; height: 4px; border-radius: 2px; background: #2a2e3a; position: relative; }
.room.on .vol::before { content: ""; position: absolute; inset: 0 40% 0 0; border-radius: 2px; background: var(--spiral); }
.room .src { display: flex; gap: 4px; }
.room .src span { flex: 1; height: 14px; border-radius: 4px; background: #20232c; }
.room.on .src span:first-child { background: rgba(56, 189, 248, .45); }

/* Appearance settings mockup */
.appearance {
  background: #12141a; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); font-size: .92rem; max-width: 440px; justify-self: center; width: 100%;
}
.ap-head { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.ap-group { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 16px 0 4px; }
.ap-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #1f2230; color: var(--muted); }
.ap-row .dot { display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #2b2f3b; margin-left: 6px; vertical-align: middle; }
.ap-row .pills { display: flex; gap: 4px; }
.ap-row .pills b { font-weight: 500; font-size: .78rem; padding: 3px 9px; border-radius: 999px; background: #1d2029; }
.ap-row .pills b.on { background: rgba(94, 200, 242, .25); color: var(--text); }
.ap-row .switch { width: 36px; height: 20px; border-radius: 10px; background: var(--accent); position: relative; }
.ap-row .switch::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.ap-row .slider { width: 45%; height: 4px; border-radius: 2px; background: #2a2e3a; position: relative; }
.ap-row .slider::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); background: var(--accent); border-radius: 2px; }
.ap-row .slider::after { content: ""; position: absolute; left: var(--v); top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; }

/* Together diagram */
.together { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.together .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.together .box img { width: 40px; height: 40px; margin-bottom: 12px; }
.together .plus { font-size: 2rem; color: var(--muted); text-align: center; }

/* Simple page (thanks / cancel) */
.simple { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.simple .badge {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px;
  background: rgba(94, 200, 242, .14); color: var(--accent); font-size: 2rem;
}
.simple p { color: var(--muted); max-width: 520px; margin-left: auto; margin-right: auto; }
.simple .btn-row { justify-content: center; margin-top: 1.5em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.contact-card dt { color: var(--muted); }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }
.contact-grid > *, .split > *, .hero-grid > * { min-width: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .products, .contact-grid { grid-template-columns: 1fr; }
  .features, .pricing { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual:has(.phone) { margin-right: 30px; }
  .brand small { display: none; }
  .nav { gap: 16px; }
  .split .visual-first { order: -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .btn { justify-content: center; margin-top: 8px; }
  .features, .pricing, .steps, .footer-grid, .gallery { grid-template-columns: 1fr; }
  .together { grid-template-columns: 1fr; }
  .product, .plan, .cta { padding: 26px; }
  .hero-visual .phone { width: 110px; right: -14px; bottom: -28px; }
  .phones { gap: 10px; padding-top: 20px; }
  .phones .phone { padding: 4px; border-radius: 16px; }
  .phones .phone img { border-radius: 12px; }
  .phones .phone:nth-child(2) { transform: translateY(-16px); }
  .brand small { display: none; }
}
