/**
 * Sound Trip — shared dark theme for static subpages
 * Matches the visual language of public/index.html
 */

:root {
  --bg: #05070d;
  --bg-2: #0a0d17;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.54);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --purple: #a66cff;
  --purple-2: #7c3cff;
  --magenta: #e052ff;
  --orange: #ff7b53;
  --card: rgba(14, 16, 25, 0.72);
  --card-strong: rgba(24, 25, 34, 0.88);
  --radius: 28px;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  --max: 1180px;
  /* Legacy aliases used by existing subpages */
  --maxw: 1180px;
  --accent: #a66cff;
  --accent-2: #7c3cff;
  --ring: rgba(166, 108, 255, 0.45);
  --bg-soft: #0a0d17;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top right, rgba(166, 108, 255, 0.17), transparent 30rem),
    radial-gradient(circle at 10% 20%, rgba(224, 82, 255, 0.12), transparent 24rem),
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::selection {
  color: #fff;
  background: rgba(166, 108, 255, 0.65);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 5vw, 2.5rem);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
  flex: 0 0 auto;
}

.logo-wave {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
  opacity: 0.9;
}

.logo-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple);
  border: 1.5px solid var(--purple);
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  margin-left: -4px;
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1.5rem;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.5rem);
  margin: 0 0 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  color: var(--text);
  font-weight: 650;
}

p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--muted);
  max-width: 800px;
  line-height: 1.6;
}

.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(105deg, #8e55ff 0%, #b781ff 40%, #d36cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(166, 108, 255, 0.18));
}

/* Hero */
.hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
  text-align: center;
}

.hero .lead {
  margin: 0 auto;
}

/* Content sections */
.content {
  padding: 2.5rem 0;
}

.section {
  margin-bottom: 5rem;
}

.section-center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5rem;
}

.large-text {
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Cards */
.highlight-box,
.cta-section {
  background: linear-gradient(135deg, rgba(124, 60, 255, 0.18), rgba(224, 82, 255, 0.1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.value-card,
.contact-card,
.proof-card,
.feature-card,
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.value-card:hover,
.contact-card:hover,
.proof-card:hover,
.feature-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 55px rgba(123, 60, 255, 0.18);
}

/* Buttons */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
  text-decoration: none;
}

.btn:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.btn-primary,
.button.primary {
  border: 0;
  background: linear-gradient(135deg, var(--purple-2), var(--purple) 55%, var(--magenta));
  box-shadow: 0 22px 55px rgba(123, 60, 255, 0.34);
}

.btn-secondary,
.button.secondary {
  backdrop-filter: blur(16px);
}

/* Stats */
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(105deg, var(--purple), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  color: var(--muted);
  font-size: 1rem;
}

/* Footer */
footer {
  padding: 2.5rem clamp(1.1rem, 5vw, 4.4rem);
  color: rgba(255, 255, 255, 0.48);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 4rem;
}

.footer-inner,
.foot {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

.footer-links,
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.footer-links a,
.links a {
  color: rgba(255, 255, 255, 0.48);
  transition: color 160ms ease;
}

.footer-links a:hover,
.links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.footer-social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.footer-social svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

/* Form inputs */
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='number'],
textarea,
select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(166, 108, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(166, 108, 255, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: var(--soft);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
