/* ==========================
   ROOT VARIABLES
========================== */
:root {
  --bg: #ffffff;
  --text: #1f2937;
  --accent: #0056FF;
  --accent-hover: #003ECC;
  --cta-text: #ffffff;
  --section-heading: #1F4287;
  --paragraph: #333333;
  --header-bg: #ffffff;
  --background: #ffffff;
  --section-bg: #ffffff;
  --header-shadow: rgba(0,0,0,0.05);
  --border-color: #ddd;
  --dropdown-hover-bg-light: #f0f0f0;
  --footer-bg-light: #f8f8f8;
  --footer-text-light: #555;
  --card-bg: #d0eaff;
}

body.dark {
  --accent: #00FFFF;
  --accent-hover: #00cccc;
  --card-bg: #1A1038;
  --background: #0e011b;
  --section-bg: #0e011b;
  --border-color: #444;
  --cta-text: #000000;
  --section-heading: #ffffff;
  --paragraph: #dddddd;
  --bg: #1A1038;
}

/* ==========================
   GLOBAL BASE
========================== */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
}

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--section-heading);
  line-height: 1.3;
}

p {
  color: var(--paragraph);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
}

/* ==========================
   HERO SECTION
========================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #d0eaff, #a0e7e5, #f0f0f0, #d0eaff);
  background-size: 300% 300%;
  animation: heroGradientShift 20s ease infinite;
}

body.dark .hero {
  background: linear-gradient(135deg, #4e049b, #300369, #8d05e1, #110534, #e834e0);
  background-size: 400% 400%;
  animation: heroGradientShift 20s ease infinite;
}
.hero-content {
  width: 100%;
  text-align: center;
max-width: 900px;
}
.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cta-button {
  background: var(--accent);
  color: var(--cta-text);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.cta-button:hover {
  background: var(--accent-hover);
}
.scroll-indicator {
  font-size: 2rem;
  margin-top: 20px;
  color: var(--accent);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-8px);}
}


.article-sidebar {
    position: sticky;
    top: 80px;
    max-width: 220px;
    padding: 1rem;
    font-size: 0.9rem;
}

.share-box,
.author-box,
.toc-box {
    margin-bottom: 1.5rem;
}

.share-box h4,
.toc-box h4 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.share-box a,
.share-box i {
    display: inline-block;
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: #555;
    transition: color 0.3s;
}

.share-box a:hover i {
    color: #0077ff;
}

.author-box {
    text-align: center;
}

.author-photo {
    width: 60px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.toc-box ul {
    list-style: none;
    padding-left: 0;
}

.toc-box li {
    margin-bottom: 0.5rem;
}

.toc-box a {
    color: #333;
    text-decoration: none;
}

.toc-box a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) { /* Adjust breakpoint as needed */
  .hero-content h1 {
    font-size: 1.5rem; /* Smaller size for mobile */
  }
  .hero-content p {
    font-size: 1rem; /* Smaller size for mobile */
  }
}
/* ==========================
   INTRO SECTION
========================== */
.section-intro-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--section-bg);
}

.intro-box {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  align-items: center;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  gap: 20px;
}

.intro-box-content {
  flex: 1 1 300px;
}

.intro-box-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.intro-box-image {
  flex: 0 0 300px;
}

@media (max-width: 768px) {
  .intro-box {
    flex-direction: column;
    text-align: center;
  }
  .intro-box-image {
    width: 100%;
  }
}

/* ==========================
   SECTION BASE
========================== */
.section {
  padding: 60px 20px;
  background: var(--section-bg);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ==========================
   STATS GRID (SECTION 2)
========================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* ==========================
   FUNNEL STEPS (SECTION 3)
========================== */
.funnel-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
}

.step {
  background: var(--card-bg);
  padding: 15px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  font-weight: 500;
}

.highlight {
  background: var(--card-bg);
  color: var(--cta-text);
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
}
/* ==========================
   SECTION 3: WHY THIS MATTERS
========================== */

.alt-bg {
    background: var(--section-bg);
    padding: 60px 20px;
}

body.dark .alt-bg {
    background: var(--bg);
}

.funnel-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
    margin: 30px auto;
    padding: 0;
}

.step {
    background: var(--card-bg);
    border-left: 4px solid var(--accent);
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 1rem;
    color: var(--paragraph);
    transition: background 0.3s, transform 0.2s;
}

.step:hover {
    background: var(--card-bg);
    transform: translateY(-2px);
}

.step ul {
    padding-left: 1.2rem;
    margin: 10px 0 0 0;
}

.step ul li {
    list-style: disc;
    margin-bottom: 5px;
    color: var(--paragraph);
}

.highlight {
    font-weight: 600;
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--accent);
}

body.dark .highlight {
    color: var(--accent);
}

/* ==========================
   MYTH VS REALITY (SECTION 4)
========================== */
.myth-reality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.myth-card, .reality-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}

.myth-card .emoji, .reality-card .emoji {
  font-size: 1.5rem;
  display: inline-block;
  margin-right: 8px;
}

/* ==========================
   SECTION 4: DEEPER STATS
========================== */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
}

@media(min-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.stat-block {
    background: var(--card-bg);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: 6px;
}

.stat-block h3 {
    color: var(--section-heading);
    margin-bottom: 10px;
}

.stat-block ul {
    padding-left: 1.2rem;
}

.stat-block ul li {
    margin-bottom: 8px;
    list-style: disc;
}

.table-scroll {
    overflow-x: auto;
    margin-top: 20px;
}

.table-scroll table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
}

.table-scroll th,
.table-scroll td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table-scroll th {
    background: var(--accent);
    color: var(--cta-text);
}

/* Light mode hover for tables/cards */
.table-scroll tr:hover {
    background: var(--dropdown-hover-bg-light, #f0f0f0);
}

/* Dark mode override for hover */
body.dark .table-scroll tr:hover {
    background: rgba(255, 255, 255, 0.1); /* subtle gray overlay for dark */
}

/* Optional: If you have .stat-block hover color issues */
.stat-block:hover {
    background: var(--dropdown-hover-bg-light, #f0f0f0);
}

body.dark .stat-block:hover {
    background: rgba(255, 255, 255, 0.05);
}

.stats-image img {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

/* ===========================
   GPT Checklist Section
=========================== */
#gpt-checklist {
  padding: 60px 20px;
  background: var(--section-bg);
  color: var(--text);
}

.gpt-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gpt-checklist-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gpt-checklist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.gpt-checklist-card h3 {
  font-size: 1.2rem;
  color: var(--section-heading);
  margin-bottom: 10px;
}

.gpt-checklist-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gpt-checklist-card ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--paragraph);
}

.gpt-checklist-card ul li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.image-centered {
  text-align: center;
  margin-top: 40px;
}

.image-centered img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.image-centered img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Dark mode adjustments */
body.dark .gpt-checklist-card ul li::before {
  color: var(--accent);
}

body.dark .image-centered img {
  box-shadow: 0 5px 15px rgba(255,255,255,0.05);
}

body.dark .image-centered img:hover {
  box-shadow: 0 8px 20px rgba(255,255,255,0.1);
}

/* ===========================
   Section 6: GEO Advantage
=========================== */

#geo-advantage {
  padding: 60px 20px;
  background: var(--section-bg);
  color: var(--paragraph);
}

#geo-advantage h2,
#geo-advantage h3 {
  text-align: center;
  color: var(--section-heading);
  margin-bottom: 1.2rem;
}

.geo-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.geo-stat-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

.geo-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.geo-stat-card .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.geo-stat-card p {
  font-size: 1rem;
  color: var(--paragraph);
}

.geo-examples {
  max-width: 700px;
  margin: 0 auto 40px auto;
  padding-left: 20px;
  list-style: none;
}

.geo-examples li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.geo-examples li::before {
  content: "✅";
  position: absolute;
  left: 0;
}

.geo-together-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .geo-together-grid {
    grid-template-columns: 1fr;
  }
}

.together-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
}

.together-card h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.together-card ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.together-card ul li {
  margin-bottom: 0.5rem;
  color: var(--paragraph);
}

#geo-advantage .highlight {
  background: var(--accent);
  color: var(--cta-text);
  text-align: center;
  font-weight: 600;
  padding: 15px 20px;
  border-radius: 8px;
  max-width: 700px;
  margin: 20px auto 0 auto;
  font-size: 1rem;
}

/* ==========================
   Practical Action Plan Section
========================== */
#practical-action-plan {
    padding: 60px 20px;
    background: var(--section-bg);
}

#practical-action-plan h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--section-heading);
    margin-bottom: 1rem;
}

#practical-action-plan p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: var(--paragraph);
    font-size: 1.1rem;
}

.action-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.action-step-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.action-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.action-step-card h3 {
    color: var(--section-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.action-step-card ul {
    list-style: disc inside;
    padding: 0;
    margin: 0;
}

.action-step-card li {
    margin-bottom: 0.5rem;
    color: var(--paragraph);
    font-size: 0.95rem;
}

/* ==========================
   Why This Matters Now & Final Thoughts
========================== */
#why-now-final-thoughts {
    padding: 60px 20px;
    background: var(--section-bg);
}

#why-now-final-thoughts h2 {
    font-size: 1.8rem;
    color: var(--section-heading);
    text-align: center;
    margin-bottom: 1rem;
}

#why-now-final-thoughts p {
    max-width: 700px;
    margin: 0 auto 1rem auto;
    font-size: 1.05rem;
    color: var(--paragraph);
    text-align: center;
}

.final-checklist {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 20px auto;
}

.final-checklist li {
    font-size: 1rem;
    background: var(--card-bg);
    margin: 8px 0;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--paragraph);
    display: flex;
    align-items: center;
}

.final-checklist li::before {
    content: "✅";
    margin-right: 10px;
}

/* Accordion Structure */


.faq-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.accordion-item {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg, #f9f9f9);
    border: 1px solid var(--border-color, #ddd);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.accordion-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.accordion-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--section-heading);
    text-align: left;
    font-family: 'Orbitron', sans-serif;

}

.accordion-toggle:focus {
    outline: 2px solid var(--accent);
}

.accordion-content {
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--paragraph);
    line-height: 1.5;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.rotate {
    transform: rotate(180deg);
}

.why-it-matters {
    color: var(--accent);
    font-weight: 600;
    margin-top: 10px;
}
/* ==========================
   CTA SECTION
========================== */
.section-closing-cta {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #d0eaff, #a0e7e5, #f0f0f0, #d0eaff);
  background-size: 300% 300%;
  animation: heroGradientShift 15s ease infinite;
}

body.dark .section-closing-cta {
  background: linear-gradient(135deg, #4e049b, #300369, #8d05e1, #110534, #e834e0);
  background-size: 400% 400%;
}

.section-closing-cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.section-closing-cta p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
  color: var(--text);
}

body.dark .section-closing-cta p {
  color: #ffffff;
}

/* ==========================
   KEYFRAMES
========================== */
@keyframes heroGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}