/* Calm Studios — one-page site
   Palette:
   #270f36 (deep purple)
   #632b6c (plum)
   #c76b98 (rose)
   #f09f9c (coral)
   #fcc3a3 (peach)
*/

:root {
  --bg: #270f36;
  --bg-2: #632b6c;
  --rose: #c76b98;
  --coral: #f09f9c;
  --peach: #fcc3a3;

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.6);

  --card: rgba(255, 255, 255, 0.06);
  --card-2: rgba(255, 255, 255, 0.085);
  --stroke: rgba(255, 255, 255, 0.12);

  --shadow: 0 14px 50px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.22);

  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 16px;

  --max: 1120px;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;

  /* ONE continuous background across the entire page */
  background:
    radial-gradient(1400px 1100px at 10% 10%, rgba(199, 107, 152, 0.30), transparent 68%),
    radial-gradient(1400px 1100px at 90% 18%, rgba(240, 159, 156, 0.24), transparent 70%),
    radial-gradient(1500px 1200px at 72% 95%, rgba(252, 195, 163, 0.18), transparent 68%),
    radial-gradient(1100px 900px at 35% 70%, rgba(99, 43, 108, 0.22), transparent 72%),
    linear-gradient(180deg, #270f36 0%, #210b30 52%, #180720 100%);

  /* Helps the gradient feel “continuous” while scrolling */
  background-attachment: fixed;
}

/* Mobile perf: fixed backgrounds can be janky */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

/* Subtle grain overlay to reduce banding */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.085;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* Soft vignette so ends don’t feel like “panels” */
body::after {
  content: "";
  position: fixed;
  inset: -2px;
  pointer-events: none;
  background:
    radial-gradient(1200px 900px at 50% 0%, rgba(0,0,0,0.00), rgba(0,0,0,0.18) 70%),
    radial-gradient(1200px 900px at 50% 100%, rgba(0,0,0,0.00), rgba(0,0,0,0.22) 72%);
  opacity: 0.55;
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 9999;
  background: var(--peach);
  color: #18051f;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(39, 15, 54, 0.50);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(199, 107, 152, 0.28), rgba(252, 195, 163, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-tag {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}
.nav-links a {
  padding: 10px 10px;
  border-radius: 12px;
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(199, 107, 152, 0.35), rgba(252, 195, 163, 0.18));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn:active {
  transform: translateY(0px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: none;
}
.btn-small {
  padding: 10px 14px;
  border-radius: 13px;
}
.btn-wide {
  width: 100%;
  margin-top: 14px;
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 26px;
}

.hero-inner {
  max-width: 860px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--peach), var(--rose));
  box-shadow: 0 0 0 6px rgba(199, 107, 152, 0.16);
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.accent {
  background: linear-gradient(135deg, var(--peach), var(--coral), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 68ch;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.stat {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
  display: block;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted-2);
}

/* Listen strip */
.listen-strip {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.listen-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.listen-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.listen-item strong {
  display: block;
  font-weight: 900;
  margin-bottom: 2px;
}

.listen-item p {
  margin: 0;
  color: var(--muted-2);
}

.listen-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-decor .blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.65;
  pointer-events: none;
}
.blob-1 {
  width: 360px;
  height: 360px;
  left: -140px;
  top: 60px;
  background: rgba(199, 107, 152, 0.42);
}
.blob-2 {
  width: 460px;
  height: 460px;
  right: -190px;
  top: -120px;
  background: rgba(240, 159, 156, 0.32);
}
.blob-3 {
  width: 460px;
  height: 460px;
  right: 120px;
  bottom: -210px;
  background: rgba(252, 195, 163, 0.20);
}

/* Sections — transparent so the background never “cuts” */
.section {
  padding: 54px 0;
  background: transparent;
  border: none;
}
.section-alt {
  padding: 64px 0;
  background: transparent;
  border: none;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 75ch;
  line-height: 1.7;
}

/* Cards grid */
.grid {
  display: grid;
  gap: 14px;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -60px -60px auto auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(252, 195, 163, 0.22), transparent 58%);
  transform: rotate(12deg);
}

.card h3 {
  margin: 10px 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.92);
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-2);
  line-height: 1.7;
}
.bullets li {
  margin: 4px 0;
}

/* Two column */
.two {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  background: var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.panel h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 10px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(240, 159, 156, 0.16), rgba(199, 107, 152, 0.10));
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.feature strong {
  display: block;
  font-weight: 900;
  margin-bottom: 3px;
}
.feature p {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.6;
}

.panel-cta {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.panel-cta::after {
  content: "";
  position: absolute;
  inset: auto -140px -160px auto;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle at 40% 40%, rgba(252, 195, 163, 0.18), transparent 62%);
  filter: blur(26px);
}

.panel-lead {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.mini-cards {
  display: grid;
  gap: 10px;
  margin: 14px 0 12px;
}

.mini {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(39, 15, 54, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mini strong {
  display: block;
  font-weight: 900;
  margin-bottom: 3px;
}
.mini p {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.6;
}

.small-note {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 0.92rem;
}

/* CTA — keep as a glass box, no “section slab” */
.cta {
  padding: 62px 0 74px;
  background: transparent;
  border: none;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding: 22px;
  border-radius: calc(var(--r-xl) + 6px);

  /* glass only (no strong gradient panel that reads like a new background) */
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -140px;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  filter: blur(34px);
  background: radial-gradient(circle at 35% 35%, rgba(252, 195, 163, 0.18), transparent 66%);
  opacity: 0.9;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.cta-points {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
}

.check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 8px;
  background: rgba(252, 195, 163, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cta-links {
  margin-top: 12px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.cta-panel {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.cta-panel h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.steps li {
  margin: 0;
  padding: 10px 10px;
  border-radius: 18px;
  background: rgba(39, 15, 54, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.10);
  list-style-position: inside;
}

.steps li > div {
  margin-top: 8px;
}

.steps strong {
  display: block;
  font-weight: 900;
  margin-bottom: 4px;
}

.steps p {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.55;
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Ghost links */
.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.86);
}
.ghost-link:hover {
  background: rgba(255, 255, 255, 0.07);
}

.mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--peach), var(--rose));
  box-shadow: 0 0 0 5px rgba(240, 159, 156, 0.10);
}

/* Footer — transparent so it doesn’t look like a new section background */
.site-footer {
  padding: 34px 0 44px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr;
  gap: 14px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-note {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.footer-links a {
  padding: 8px 10px;
  border-radius: 12px;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.footer-meta {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-meta {
    justify-content: flex-start;
  }
  .listen-strip {
    grid-template-columns: 1fr;
  }
  .listen-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 8px;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .two {
    grid-template-columns: 1fr;
  }
}
