/* Soundpitch Developers® — shared styles. Dark glass, like the apps. */
:root {
  --bg: #070b16;
  --bg-2: #0d1426;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --text-2: rgba(245, 247, 251, 0.72);
  --text-3: rgba(245, 247, 251, 0.5);
  --brand: #3d7bff;
  --brand-2: #8b5cf6;
  --brand-soft: #8ab0ff;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --violet: #c4b5fd;
  --radius: 22px;
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-soft); text-decoration: none; }
a:hover { color: #fff; }

/* Soft colour glows behind everything */
.aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% -10%, rgba(61, 123, 255, 0.28), transparent 60%),
    radial-gradient(50vw 50vh at -10% 20%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(60vw 60vh at 50% 110%, rgba(20, 184, 166, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
/* Grid and flex children may shrink below their images' natural width. */
.hero-grid > *, .showcase > *, .apps > *, .features > *, .foot > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  background: rgba(7, 11, 22, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.2px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--text-3); letter-spacing: 0.3px; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { color: var(--text-2); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--surface-2); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: 10px 16px 18px; background: rgba(7, 11, 22, 0.96); border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  color: #fff;
}
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 30px rgba(61, 123, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 38px rgba(61, 123, 255, 0.5); }
.btn-ghost { background: var(--surface); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-play { background: #000; border-color: rgba(255,255,255,0.25); padding: 9px 18px; }
.btn-play svg { width: 22px; height: 22px; }
.btn-play span { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.btn-play small { font-size: 10px; font-weight: 600; opacity: .8; text-transform: uppercase; letter-spacing: .5px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Type */
.eyebrow svg { width: 16px; height: 16px; flex: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--brand-soft);
  font-size: 13px; font-weight: 700; letter-spacing: .2px;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(38px, 6.2vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.grad { background: linear-gradient(120deg, #fff 10%, var(--brand-soft) 45%, #c4b5fd 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 640px; }
.muted { color: var(--text-3); }

section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--text-2); font-size: 17px; margin: 14px 0 0; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { margin: 18px 0 18px; }
.hero .btns { margin-top: 30px; }
.hero-art { position: relative; height: 560px; }
.hero-art .phone { position: absolute; width: 250px; }
.hero-art .phone:nth-child(1) { left: 4%; top: 40px; transform: rotate(-7deg); z-index: 1; }
.hero-art .phone:nth-child(2) { right: 4%; top: 0; transform: rotate(6deg); z-index: 2; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 470px; max-width: 460px; margin: 10px auto 0; width: 100%; }
  .hero-art .phone { width: 210px; }
}
@media (max-width: 480px) {
  .hero-art { height: 420px; }
  .hero-art .phone { width: 180px; }
  .hero-art .phone:nth-child(1) { left: 8%; }
  .hero-art .phone:nth-child(2) { right: 8%; }
}

/* Phone frame */
.phone {
  border-radius: 38px; padding: 9px; background: linear-gradient(160deg, #2a3350, #0b1020);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.phone img { border-radius: 30px; width: 100%; height: auto; }

/* Glass cards */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; backdrop-filter: blur(10px);
}

/* Apps */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr; } }
.app-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px; transition: transform .3s ease, border-color .3s ease; }
.app-card:hover { transform: translateY(-4px); border-color: rgba(138, 176, 255, 0.4); }
.app-card::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 80%;
  background: radial-gradient(closest-side, var(--glow, rgba(61,123,255,.35)), transparent); pointer-events: none;
}
.app-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-top img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.app-top .tag { font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.app-card p { color: var(--text-2); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(52, 211, 153, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.app-card .btns { margin-top: auto; }
.app-shots { display: flex; gap: 12px; margin: 4px 0 26px; align-items: flex-start; }
/* The top of each screen, full width, cut to the same height. */
.app-shots .shot { flex: 1 1 0; min-width: 0; height: 300px; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); }
.app-shots .shot img { width: 100%; height: auto; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--c, var(--brand)) 16%, transparent); color: var(--c, var(--brand));
}
.feature .ico svg { width: 24px; height: 24px; }
.feature p { color: var(--text-2); margin: 8px 0 0; font-size: 15px; }

/* Showcase rows (app pages) */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: 90px; }
.showcase.flip .showcase-art { order: -1; }
.showcase-art { display: flex; justify-content: center; }
.showcase-art .phone { width: min(300px, 80%); }
.showcase-art .poster { width: min(440px, 100%); border-radius: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.5); border: 1px solid var(--border); }
.showcase h2 { margin: 14px 0 16px; }
.showcase p { color: var(--text-2); font-size: 17px; }
@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; gap: 30px; }
  .showcase.flip .showcase-art { order: 0; }
}

/* Gallery strip */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 20px; }
.gallery img { flex: none; width: 260px; scroll-snap-align: center; border-radius: 22px; border: 1px solid var(--border); }

/* Promise band */
.promise { text-align: center; padding: 48px 28px; background: linear-gradient(135deg, rgba(61,123,255,.16), rgba(139,92,246,.14)); border: 1px solid rgba(138,176,255,.25); border-radius: 28px; }
.promise h2 { margin-bottom: 14px; }
.promise p { color: var(--text-2); max-width: 640px; margin: 0 auto; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; margin: 0 auto; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: block; color: var(--text); transition: transform .3s ease, border-color .3s ease; }
.contact-card:hover { transform: translateY(-4px); border-color: rgba(138, 176, 255, 0.4); color: var(--text); }
.contact-card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card p { color: var(--text-2); margin: 8px 0 16px; font-size: 15px; }
.contact-card .addr { font-weight: 700; color: var(--brand-soft); word-break: break-all; }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 0 90px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text-2); font-size: 16.5px; }
.legal ul { padding-inline-start: 22px; }
.legal .meta { color: var(--text-3); font-size: 14px; margin-bottom: 30px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.06); padding: 46px 0 40px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--text-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--text-2); font-size: 15px; }
.foot a:hover { color: #fff; }
.copyright { margin-top: 36px; color: var(--text-3); font-size: 13.5px; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .app-card { transition: none; }
}
