/* =========================================================
   Altacore Audio — flourish-v2.css
   Second additive layer: bigger color moves than flourish.css.
   Still touches NO class or attribute that editor.js, index.js,
   nav.js, or api.js read from. Uses CSS custom-property scoping
   to re-theme whole sections without editing the components
   that live inside them (they already use var(--ink), var(--card-bg),
   etc., so redefining those variables on a parent section re-skins
   everything inside it automatically).

   Include AFTER flourish.css:
     <link rel="stylesheet" href="css/flourish.css">
     <link rel="stylesheet" href="css/flourish-v2.css">  <-- add this
   ========================================================= */

/* ---------- 1. Full-bleed dark "Compare" section ---------- */
/* Biggest single move for breaking up an all-white page: one section
   in deep brand navy, everything inside it re-skins for free because
   .compare-card, .compare-card-label, h2, p etc. all read var(--ink),
   var(--card-bg), var(--line) rather than hardcoded colors. */

.compare-section {
  --ink: #FFFFFF;
  --ink-soft: rgba(255, 255, 255, 0.78);
  --ink-faint: rgba(255, 255, 255, 0.55);
  --card-bg: rgba(255, 255, 255, 0.07);
  --bg-raised: rgba(255, 255, 255, 0.12);
  --bg-side: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --accent-soft: rgba(255, 255, 255, 0.14);
  --accent: #7DD3FC;
  --accent-ink: #FFFFFF;
  background: linear-gradient(135deg, #0A3C6E, #1783C1);
  border-radius: 28px;
  margin: 0 auto 80px;
  max-width: 1120px;
  padding: 72px 32px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 700px) {
  .compare-section { border-radius: 0; margin-bottom: 60px; padding: 56px 20px; }
}

.compare-section::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}

.compare-section .compare-card {
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.compare-section .compare-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.compare-section .compare-arrow {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* ---------- 2. Bold gradient CTA section ---------- */

.cta-section {
  --ink: #FFFFFF;
  --ink-soft: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #1783C1, #0A3C6E);
  border-radius: 28px;
  max-width: 1120px;
  margin: 0 auto 60px;
  padding: 72px 32px;
  text-align: center;
}

@media (max-width: 700px) {
  .cta-section { border-radius: 0; margin-bottom: 0; padding: 56px 20px; }
}

.cta-section::before {
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.18), transparent 70%);
}

.cta-section .btn-primary {
  background: #FFFFFF;
  color: var(--accent-ink, #0A3C6E);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
  background: #F4F9FF;
  transform: translateY(-1px);
}

/* ---------- 3. Soft wash behind the steps section ---------- */

.how-section {
  background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 60%);
}

/* ---------- 4. Bolder, filled icon badges ---------- */
/* Replaces the pale tint squares with solid color circles so the
   feature/step grid reads with more punch at a glance. */

.feature-icon,
.step-icon {
  border-radius: 50%;
  background: var(--accent) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 10px rgba(23, 131, 193, 0.25);
}

.feature-card:nth-child(2) .feature-icon,
.step:nth-child(2) .step-icon {
  background: var(--accent-ink, #0A3C6E) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 10px rgba(10, 60, 110, 0.25);
}

.feature-card:nth-child(3) .feature-icon,
.step:nth-child(3) .step-icon {
  background: #38BDF8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 10px rgba(56, 189, 248, 0.3);
}

/* ---------- 5. Dark footer anchor ---------- */

footer {
  --ink: #FFFFFF;
  --ink-faint: rgba(255, 255, 255, 0.6);
  --ink-soft: rgba(255, 255, 255, 0.8);
  --line: rgba(255, 255, 255, 0.14);
  background: #0B1B2B;
  margin-top: 0;
}

footer .footer-links a:hover { color: #FFFFFF; }

/* ---------- 6. Editor: a little color on otherwise neutral UI ---------- */

.upload-card {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-side));
}

.panel {
  border-top: 3px solid var(--accent);
}

.sidebar {
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-side), #FFFFFF 85%);
}
