/* 
  Deep Neural Acoustic Editorial System
  Design Archetype for The Brain Song (en-brainsongprogram.com)
  Zero external dependencies. System font stack only.
*/

:root {
  --primary-dark: #0a0f1d;
  --secondary-dark: #141c2e;
  --surface-card: #141c2e;
  --accent-cyan: #00d2ff;
  --accent-blue: #0077ff;
  --accent-violet: #8a2be2;
  --border-color: #1e293b;
  --border-highlight: #2a3b5c;
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-glow: rgba(0, 210, 255, 0.15);
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --max-width: 1080px;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--primary-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, rgba(138, 43, 226, 0.08), transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.06), transparent 50%),
              var(--primary-dark);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Typography Details */
h1, h2, h3, h4 {
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw + 1rem, 2.25rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.15rem, 1.5vw + 1rem, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #66e3ff;
  text-decoration: underline;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Minimal Non-Sticky Masthead */
.site-header {
  width: 100%;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 15, 29, 0.85);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main);
}

.brand-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent-cyan);
  text-decoration: none;
}

/* Buttons & CTA Styling */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #0a0f1d !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  box-shadow: 0 4px 20px var(--accent-glow), 0 0 0 1px rgba(0, 210, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.35), 0 0 0 2px var(--accent-cyan);
  filter: brightness(1.08);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-large {
  padding: 1.125rem 2.25rem;
  font-size: 1.05rem;
  width: 100%;
  max-width: 480px;
}

.cta-wrapper {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Header CTA Rule */
.header-cta {
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
}

/* Section Common Structure */
.editorial-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.editorial-section:nth-child(even) {
  background: rgba(20, 28, 46, 0.4);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 210, 255, 0.2);
  margin-bottom: 1rem;
}

/* Centered Album-Liner-Note Hero Section */
.sec-hero {
  padding: 4rem 0 5rem 0;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-intro {
  font-size: 1.2rem;
  color: var(--text-main);
  max-width: 760px;
  margin: 1.5rem auto;
  line-height: 1.65;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 2rem 0;
  text-align: left;
}

.hero-bullet-item {
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-card);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-bullet-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.hero-bullet-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-bullet-text strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 0.15rem;
}

.offer-value-card {
  background: linear-gradient(180deg, rgba(20, 28, 46, 0.9), rgba(10, 15, 29, 0.9));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-card);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  max-width: 720px;
  width: 100%;
}

.offer-value-card p {
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.proof-microcopy {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

/* Product Visual Framing */
.product-visual-wrapper {
  margin: 2rem 0;
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-visual-picture {
  display: block;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-highlight);
  background: #050811;
}

.product-visual-picture img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.visual-caption {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
}

/* Waveform / Vector Visual Containers */
.visual-container {
  width: 100%;
  margin: 2rem 0;
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.visual-svg {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

/* Cards & Editorial Panels */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.editorial-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.editorial-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.caveat-panel {
  background: linear-gradient(135deg, rgba(20, 28, 46, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-left: 4px solid var(--accent-violet);
  border-radius: var(--radius-card);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.caveat-panel h3 {
  color: #d8b4fe;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.caveat-panel p {
  color: #cbd5e1;
}

/* Numbered FAQ Disclosure Index */
.faq-section {
  padding: 5rem 0;
}

.faq-intro {
  margin-bottom: 2.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-highlight);
}

.faq-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.2);
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.faq-body {
  flex-grow: 1;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-badge-unknown {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* Pricing Section Special Panel */
.pricing-panel {
  background: linear-gradient(180deg, var(--secondary-dark), #0d1424);
  border: 2px solid var(--accent-blue);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 680px;
  margin: 2rem auto;
  box-shadow: 0 12px 48px rgba(0, 119, 255, 0.15);
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 1rem 0;
}

.price-tag span {
  color: var(--accent-cyan);
}

/* Site Footer */
.site-footer {
  background: #050811;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem 0;
  margin-top: auto;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

.footer-nav a {
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--accent-cyan);
}

.affiliate-disclosure-box {
  background: rgba(20, 28, 46, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.affiliate-disclosure-box p {
  font-size: 0.825rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Generic Handoff Order Placeholder Styling */
.order-placeholder-container {
  max-width: 600px;
  margin: 5rem auto;
  padding: 3rem 2rem;
  background: var(--secondary-dark);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* Legal Pages Styling */
.legal-content {
  max-width: 800px;
  margin: 3rem auto 5rem auto;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 1.5rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .header-nav-container {
    display: none;
  }
  
  .header-cta {
    display: none !important;
  }

  .site-header {
    padding: 1rem 0;
  }

  .editorial-section {
    padding: 3.5rem 0;
  }

  .sec-hero {
    padding: 2.5rem 0 3.5rem 0;
  }

  /* Strict Mobile Hero Order: H1 -> Product Visual -> Primary CTA */
  .hero-content {
    display: flex;
    flex-direction: column;
  }

  .hero-content h1 {
    order: 1;
  }

  .hero-content .product-visual-wrapper {
    order: 2;
    margin: 1.5rem 0;
  }

  .hero-content .cta-wrapper {
    order: 3;
    width: 100%;
    margin: 1rem 0;
  }

  .hero-content .hero-intro {
    order: 4;
    font-size: 1.05rem;
  }

  .hero-content .hero-bullets {
    order: 5;
    grid-template-columns: 1fr;
  }

  .hero-content .offer-value-card {
    order: 6;
  }

  .hero-content .proof-microcopy {
    order: 7;
  }

  .faq-item {
    padding: 1.25rem;
    gap: 0.85rem;
  }

  .faq-number {
    min-width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }

  .faq-question {
    font-size: 1.05rem;
  }

  .cta-large {
    width: 100%;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }
}
