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

:root {
  --bg-deep: #1a1a29;
  --bg-sky: #263d61;
  --bg-mint: #2e544f;
  --text-primary: #e6e2f0;
  --text-secondary: #9e99b8;
  --accent: #b894a8;
  --glow-pink: #eb9ec8;
  --glow-purple: #bd8cf2;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.08);
  --max-width: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(189, 140, 242, 0.14), transparent 55%),
    linear-gradient(145deg, var(--bg-deep) 0%, var(--bg-sky) 42%, var(--bg-mint) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 85%, rgba(235, 158, 200, 0.08), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(159, 212, 204, 0.07), transparent 35%);
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.brand-name {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--text-secondary);
}

.brand-name sup,
h1 sup,
footer sup {
  font-size: 0.55em;
  letter-spacing: 0;
  vertical-align: super;
  line-height: 0;
  opacity: 0.85;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.hero {
  text-align: center;
  padding: 2.5rem 0 4rem;
}

.hero-mandala {
  width: min(220px, 52vw);
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.hero-mandala svg {
  width: 100%;
  height: auto;
  display: block;
}

.mandala-spin {
  transform-origin: 120px 120px;
  animation: slow-spin 48s linear infinite;
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 0.5rem;
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.tagline {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.hero-copy {
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: rgba(230, 226, 240, 0.88);
  font-size: 1.05rem;
}

.cta-button {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(189, 140, 242, 0.35), rgba(235, 158, 200, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.cta-note {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.features {
  padding: 1rem 0 2rem;
}

.features h2 {
  margin: 0 0 1.75rem;
  text-align: center;
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  padding: 1.25rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(8px);
}

.feature-visual {
  position: relative;
  height: 120px;
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Breathing card */
.feature-visual--breathing {
  background: linear-gradient(145deg, #241f3d, #1a3040, #173530);
}

.shape {
  position: absolute;
  border: 1.5px solid rgba(235, 158, 200, 0.45);
}

.shape-square {
  inset: 22% 28%;
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(189, 140, 242, 0.2);
}

.shape-triangle {
  width: 0;
  height: 0;
  border: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -42%);
  border-left: 34px solid transparent;
  border-right: 34px solid transparent;
  border-bottom: 58px solid rgba(159, 212, 204, 0.12);
  outline: 1.5px solid rgba(159, 212, 204, 0.35);
  outline-offset: -1px;
}

/* Elemental card */
.feature-visual--elemental {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
}

.element {
  display: block;
}

.element.ocean {
  background: linear-gradient(160deg, #0d1a2e, #1a5285);
}

.element.forest {
  background: linear-gradient(160deg, #122018, #245a48);
}

.element.sunset {
  background: linear-gradient(160deg, #241812, #6b4028);
}

.element.rain {
  background: linear-gradient(160deg, #1a2028, #3a4450);
}

/* Resonance card */
.feature-visual--resonance {
  background: linear-gradient(160deg, #0f1a1e, #1f5560);
  display: grid;
  place-items: center;
}

.wave-ring {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(107, 209, 199, 0.45);
  animation: pulse-ring 3.6s ease-out infinite;
}

.wave-ring--2 {
  animation-delay: 1.2s;
}

.wave-ring--3 {
  animation-delay: 2.4s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.55);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Binaural card */
.feature-visual--playground {
  background:
    radial-gradient(circle at 50% 18%, rgba(159, 212, 204, 0.18), transparent 45%),
    linear-gradient(165deg, #0e1018, #141828);
  display: grid;
  place-items: center;
}

.binaural-ring {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1.5px solid rgba(159, 212, 204, 0.35);
}

.binaural-ring--inner {
  width: 56px;
  height: 56px;
  border-color: rgba(189, 140, 242, 0.35);
}

.binaural-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(235, 158, 200, 0.75);
  top: 50%;
  transform: translateY(-50%);
}

.binaural-dot--left { left: 28%; }
.binaural-dot--right { right: 28%; }

.preview {
  text-align: center;
  padding: 2.5rem 0 1rem;
}

.preview-icon {
  border-radius: 36px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 60px rgba(189, 140, 242, 0.15);
}

.preview-caption {
  max-width: 30rem;
  margin: 1.5rem auto 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  border-top: 1px solid var(--surface-border);
}

.site-footer p {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-note {
  margin-bottom: 0.75rem !important;
  font-size: 0.78rem !important;
  opacity: 0.85;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .hero {
    padding-top: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
