/* 1. SECTION: Custom Properties & Base Reset */
:root {
  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f7f8fa;
  --bg-feature: #f0f4ff;

  /* Brand colours */
  --brand-primary: #4a6cf7;
  --brand-primary-dark: #3a56d4;
  --brand-primary-light: #e8edfe;
  --brand-accent: #f59e0b;

  /* Warm palette */
  --warm-sand: #f5f0e8;
  --warm-sand-dark: #e8dfd2;
  --accent-orange: #e8722a;
  --accent-amber-light: #fef3c7;

  /* Text */
  --text-dark: #1a1a2e;
  --text-body: #4a5568;
  --text-muted: #9ca3af;

  /* Cards & borders */
  --card-bg: #ffffff;
  --card-border: #e5e7eb;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);

  /* Backward compat — remap old vars so any missed refs still work */
  --neon-cyan: #4a6cf7;
  --accent: #4a6cf7;
  --text-light: #ffffff;
  --text-mid: #4a5568;
  --bg-dark: #1a1a2e;

  --section-gap: 48px;
}

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

/* 1.1 Body base styles */
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 1.2 Heading typography */
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

/* end of 1 */

/* 2. SECTION: Header & Navigation */
header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--brand-primary);
}
/* 2.1 Hamburger menu (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-cta-mobile {
  display: none;
}

/* end of 2 */

/* 3. SECTION: Components */
/* 3.1 Card */
.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
}

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

/* 3.2 Button — primary */
.glow-button {
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(74, 108, 247, 0.3);
  font-size: 1rem;
}

.glow-button:hover {
  background: var(--brand-primary-dark);
  box-shadow: 0 4px 16px rgba(74, 108, 247, 0.4);
  transform: translateY(-1px);
}

/* 3.3 Neon text utility — now just brand colour, no glow */
.neon-text {
  color: var(--text-dark);
}

/* 3.4 Section containers */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-heading {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* end of 3 */

/* 4. SECTION: Hero */
.hero {
  padding: 60px 1.5rem 48px;
  background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
}

.hero-content {
  max-width: 800px;
  text-align: center;
}

.hero-heading {
  font-size: 3.2rem;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-subtext {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-secondary-cta {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--brand-primary);
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.hero-secondary-cta:hover {
  background: var(--brand-primary-light);
}

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

/* end of 4 */

/* 5. SECTION: Bias Cards */
.bias-section {
  padding: var(--section-gap) 0;
  background: var(--bg-light);
}

.bias-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.bias-grid .bias-card {
  flex: 0 1 calc((100% - 4rem) / 3);
  min-width: 280px;
}

.bias-card {
  text-align: left;
  position: relative;
  padding-top: 0.5rem;
  padding-bottom: 0;
}

.bias-card h3 {
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.bias-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 0;
}

.bias-number {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: #ffffff;
  background: var(--accent-orange);
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 0.4rem;
}

/* 5.1 Two-column reality comparison */
.reality-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.reality-col {
  display: flex;
  flex-direction: column;
}

.reality-col-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid;
}

.reality-col-heading--success {
  color: #22c55e;
  border-color: #22c55e;
}

.reality-col-heading--mistakes {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.reality-tweet-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.reality-caption {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-body);
  font-style: italic;
}

.reality-paper-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.reality-paper-link:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

.bias-card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bias-card-stack .card {
  padding: 0.8rem 1rem;
}

.bias-card-stack .bias-card {
  flex: none;
  min-width: unset;
}

/* end of 5 */

/* 6. SECTION: How We Work (Process) */
.process-section {
  padding: var(--section-gap) 0;
  background: var(--accent-amber-light);
}

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

.process-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.process-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.process-card h3 {
  color: var(--text-dark);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
}

.process-number {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--brand-accent);
  margin-bottom: 1rem;
}

/* 6.1 Process section CTA */
.hero-audit-cta {
  background: transparent;
  color: var(--accent-orange);
  border: 2px solid var(--accent-orange);
  text-decoration: none;
  display: inline-block;
}
.hero-audit-cta:hover {
  background: var(--accent-amber-light);
}

.process-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}
.process-cta {
  display: inline-block;
  text-decoration: none;
}
.process-cta-sub {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* end of 6 */

/* 6.5. SECTION: Industry Voices */
.voices-section {
  padding: var(--section-gap) 0;
  background: var(--warm-sand);
}

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

.voice-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
}

.voice-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.voice-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.voice-attribution {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.voice-attribution strong {
  color: var(--accent-orange);
  font-size: 1rem;
}

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

.voices-disclaimer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* end of 6.5 */

/* 6.6. SECTION: Stats — the ONE dark section */
.stats-section {
  padding: var(--section-gap) 0;
  background: var(--warm-sand);
  border-top: 3px solid var(--brand-accent);
  border-bottom: 3px solid var(--brand-accent);
}

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

.stat-item {
  padding: 2rem 1.5rem;
}

.stat-number {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.stat-label {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.stats-source {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* end of 6.6 */

/* 6.7. SECTION: FAQ */
.faq-section {
  padding: var(--section-gap) 0;
  background: var(--accent-amber-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--card-border);
}

.faq-question {
  padding: 1.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-question:hover {
  color: var(--brand-primary);
}

.faq-answer {
  padding: 0 0 1.5rem;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* end of 6.7 */

/* 6.8. SECTION: About Page */
.about-hero {
  padding: 120px 2rem 60px;
  background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));
  text-align: center;
}

.about-hero .section-heading {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-problem {
  padding: var(--section-gap) 0;
  background: var(--warm-sand);
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about-col h2 {
  color: var(--text-dark);
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.about-col p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-col strong {
  color: var(--text-dark);
}

.about-different {
  padding: var(--section-gap) 0;
  background: var(--bg-white);
  border-top: 3px solid var(--brand-accent);
}

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

.about-diff-card {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.about-diff-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.about-diff-card h3 {
  color: var(--accent-orange);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.about-diff-card p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.6;
}

.about-how {
  padding: var(--section-gap) 0;
  background: var(--accent-amber-light);
}

.about-steps {
  max-width: 700px;
  margin: 0 auto;
}

.about-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.about-step:last-child {
  margin-bottom: 0;
}

.about-step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}

.about-step h3 {
  color: var(--text-dark);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.about-step p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
}

.about-cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* end of 6.8 */

/* 7. SECTION: CTA Section */
.cta-section {
  padding: var(--section-gap) 2rem;
  background: var(--warm-sand);
  text-align: center;
}

.cta-card {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--accent-orange), var(--brand-accent));
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 24px rgba(232, 114, 42, 0.25);
}

.cta-card:hover {
  box-shadow: 0 6px 32px rgba(232, 114, 42, 0.35);
}

.cta-card h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.cta-body {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.cta-card .glow-button {
  background: #ffffff;
  color: var(--accent-orange);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-card .glow-button:hover {
  background: var(--accent-amber-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-slots {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.cta-download {
  display: inline-block;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  font-weight: 500;
}

/* end of 7 */

/* 8. SECTION: Footer */
body > footer {
  background: var(--text-dark);
  padding: 3rem 2rem;
  border-top: 3px solid var(--brand-accent);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
}

.footer-link-accent {
  color: rgba(255, 255, 255, 0.9);
  margin-right: 2rem;
  text-decoration: none;
}

.footer-link-accent:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-tagline {
  opacity: 0.5;
  font-size: 0.85rem;
}

/* end of 8 */

/* 9. SECTION: Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background: var(--bg-white);
  max-width: 480px;
  width: 90%;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  color: var(--text-body);
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-muted);
}

.close:hover {
  color: var(--text-dark);
}

.modal-heading {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.modal-intro {
  margin-bottom: 2rem;
}

.qualifier-label {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-body);
}

.qualifier-label-last {
  margin-bottom: 2rem;
}

.qualifier-checkbox {
  margin-right: 10px;
  transform: scale(1.3);
  accent-color: var(--brand-primary);
}

.qualifier-btn {
  width: 100%;
  padding: 16px;
}

.modal-hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* end of 9 */

/* 10. SECTION: Progress Bar & Animations */
.progress-bar {
  height: 6px;
  background: var(--card-border);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent-orange), var(--brand-accent));
  width: 0;
  transition: width 0.4s ease;
}

.step-card {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* end of 10 */

/* 11. SECTION: Responsive */
@media (max-width: 1024px) {
  .bias-grid .bias-card {
    flex: 0 1 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  nav {
    position: relative;
  }

  .hamburger {
    display: flex;
  }

  nav > .glow-button {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-white);
    border-top: 1px solid var(--card-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    gap: 0;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--card-border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 2rem;
  }

  .nav-cta-mobile {
    display: block;
    padding: 0.75rem 1.5rem;
  }

  .nav-cta-mobile .glow-button {
    width: 100%;
    text-align: center;
    display: block;
  }

  .hero {
    padding: 80px 1.5rem 60px;
    min-height: auto;
  }

  .hero-heading {
    font-size: 2.6rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .bias-grid .bias-card {
    flex: 0 1 100%;
  }

  .reality-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .voices-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  .about-hero .section-heading {
    font-size: 2.2rem;
  }

  .about-two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-diff-grid {
    grid-template-columns: 1fr;
  }

  .about-step {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }

  .card {
    padding: 1.5rem;
  }

  .cta-card h2 {
    font-size: 1.8rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.2rem;
  }

  .glow-button {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
/* end of 11 */
