/* ==========================================================================
   Fizzclean Foaming Toilet Cleaner — Primary Stylesheet
   Design Archetype: Centered Single-Column Package-Anchored Editorial
   Domain: fizzcleans.com
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-violet: #2E1A47;
  --secondary-plum: #4A235A;
  --accent-magenta: #900C3F;
  --accent-magenta-hover: #730932;
  --background-cream: #FAF8F5;
  --surface-white: #FFFFFF;
  --surface-cream: #F3EFE9;
  --text-dark: #1D112B;
  --text-muted: #5C4D6E;
  --border-plum: rgba(74, 35, 90, 0.12);
  --border-plum-strong: rgba(74, 35, 90, 0.25);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(29, 17, 43, 0.05);
  --shadow-md: 0 8px 24px rgba(29, 17, 43, 0.08);
  --shadow-lg: 0 16px 36px rgba(29, 17, 43, 0.12);

  /* Spacing & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1080px;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-cream);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-magenta);
  color: var(--surface-white);
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-plum);
  padding: 1rem 0;
}

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

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-violet);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-badge {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: rgba(144, 12, 63, 0.1);
  color: var(--accent-magenta);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--accent-magenta);
}

/* CTA Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-magenta);
  color: var(--surface-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  text-align: center;
}

.cta-button:hover {
  background-color: var(--accent-magenta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button:focus-visible {
  outline: 3px solid var(--accent-magenta);
  outline-offset: 3px;
}

.cta-button.nav-cta {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  box-shadow: none;
}

.cta-button.large-cta {
  width: 100%;
  max-width: 440px;
  padding: 1.1rem 2rem;
  font-size: 1.125rem;
}

/* Section Styling */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--primary-violet);
  color: var(--surface-white);
}

.section-dark .section-heading,
.section-dark .section-intro {
  color: var(--surface-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.88);
}

.section-heading {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--primary-violet);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-align: center;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

/* Centered Editorial Hero Section (sec-hero) */
.hero-section {
  padding: 4rem 0 5rem 0;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(144, 12, 63, 0.06) 0%, rgba(250, 248, 245, 0) 70%);
}

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

.eyebrow-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-magenta);
  background-color: rgba(144, 12, 63, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-violet);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-intro {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-image-wrapper {
  margin: 1.5rem 0 2.5rem 0;
  width: 100%;
  max-width: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(46, 26, 71, 0.15));
  transition: transform var(--transition-normal);
}

.hero-image-wrapper img:hover {
  transform: scale(1.03);
}

.hero-proof {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

/* Section 2: Problem (sec-problem) */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.editorial-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-plum);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.editorial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.editorial-card h3 {
  font-size: 1.25rem;
  color: var(--primary-violet);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.editorial-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* Section 3: Mechanism (sec-mechanism) */
.mechanism-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mechanism-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mechanism-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.mechanism-text h3 {
  font-size: 1.5rem;
  color: var(--primary-violet);
  margin-bottom: 1rem;
  font-weight: 700;
}

.mechanism-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
}

/* Section 4: Steps (sec-steps) */
.steps-wrapper {
  margin-top: 2.5rem;
}

.steps-image-banner {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}

.steps-image-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-plum);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-magenta);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.2rem;
  color: var(--primary-violet);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mid-cta-wrapper {
  text-align: center;
  margin-top: 3rem;
}

/* Section 5: Surface Ribbon (sec-surfaces) */
.surface-ribbon-container {
  background-color: var(--surface-cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-plum);
}

.surface-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.surface-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.surface-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.surface-node {
  background: var(--surface-white);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-plum);
}

.surface-node h4 {
  color: var(--primary-violet);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.surface-node p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Section 6: Safety (sec-safety) */
.safety-banner {
  background: linear-gradient(135deg, var(--secondary-plum) 0%, var(--primary-violet) 100%);
  color: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.safety-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.safety-item h3 {
  color: #F5C6D6;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.safety-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Section 7: Expert Evaluation (sec-expert) */
.expert-card-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  background-color: var(--surface-white);
  border: 1px solid var(--border-plum);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.expert-portrait {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
}

.expert-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.expert-content h3 {
  font-size: 1.5rem;
  color: var(--primary-violet);
  margin-bottom: 0.25rem;
}

.expert-title {
  font-size: 0.95rem;
  color: var(--accent-magenta);
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.expert-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-magenta);
}

.expert-attribution {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Section 8: Reviews (sec-customer-reviews) */
.reviews-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.reviews-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.reviews-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-plum);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.review-card blockquote {
  font-size: 0.975rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.review-author {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-violet);
}

.review-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  text-align: center;
  grid-column: 1 / -1;
}

/* Section 9: Comparison Table (sec-comparison) */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
  background-color: var(--surface-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-plum);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-plum);
}

.comparison-table th {
  background-color: var(--surface-cream);
  color: var(--primary-violet);
  font-size: 1.05rem;
  font-weight: 700;
}

.comparison-table th:first-child {
  width: 30%;
}

.comparison-table th:nth-child(2) {
  background-color: rgba(144, 12, 63, 0.08);
  color: var(--accent-magenta);
  width: 35%;
}

.comparison-table td {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.comparison-table td strong {
  color: var(--text-dark);
}

/* Section 10: Care & Storage (sec-care-storage) */
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.care-card {
  background-color: var(--surface-cream);
  border: 1px solid var(--border-plum);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.care-card h3 {
  font-size: 1.2rem;
  color: var(--primary-violet);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.care-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Section 11: Commercial Offer (sec-commercial-offer) */
.commercial-card {
  background: var(--surface-white);
  border: 2px solid var(--accent-magenta);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
}

.commercial-badge {
  display: inline-block;
  background-color: var(--accent-magenta);
  color: var(--surface-white);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.commercial-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-violet);
  margin-bottom: 1rem;
}

.commercial-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem auto;
}

.commercial-visual-box {
  max-width: 240px;
  margin: 0 auto 2rem auto;
}

.commercial-visual-box img {
  width: 100%;
  height: auto;
  display: block;
}

.guarantee-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* Section 12: FAQ Hub (sec-faq-hub) */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--surface-white);
  border: 1px solid var(--border-plum);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--secondary-plum);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-violet);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
  font-family: inherit;
}

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--accent-magenta);
  background-color: rgba(144, 12, 63, 0.03);
}

.faq-icon {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform var(--transition-fast);
  color: var(--accent-magenta);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
  border-top-color: var(--border-plum);
  padding-top: 1rem;
}

.faq-source-binding {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-style: italic;
  display: block;
  opacity: 0.8;
}

.closing-cta-wrapper {
  text-align: center;
  margin-top: 3.5rem;
}

/* Legal Boundary / Disclaimer Banner */
.disclaimer-section {
  background-color: var(--surface-cream);
  border-top: 1px solid var(--border-plum);
  padding: 3rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.disclaimer-box h4 {
  color: var(--primary-violet);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

/* Site Footer */
.site-footer {
  background-color: var(--primary-violet);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem 0;
  margin-top: auto;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--surface-white);
}

.footer-copy {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-h1 {
    font-size: 2.25rem;
  }
  .mechanism-layout,
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .expert-card-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .expert-portrait {
    max-width: 240px;
    margin: 0 auto;
  }
  .expert-quote {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Can be toggled or simplified */
  }
  .nav-cta {
    display: none;
  }
  .section {
    padding: 3.5rem 0;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-h1 {
    font-size: 1.85rem;
  }
  .section-heading {
    font-size: 1.75rem;
  }
  .commercial-card {
    padding: 2.5rem 1.5rem;
  }
  .commercial-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 1rem;
  }
  .cta-button.large-cta {
    font-size: 1rem;
    padding: 0.9rem 1.2rem;
  }
}

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