@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Nixie+One&display=swap');

/* ========== BASE STYLES ========== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  background-color: #ffffff;
  color: #242424;
}

h1, h2, h3, h4 {
  font-family: 'Nixie One', serif;
  margin: 0 0 20px 0;
}

h1 {
  font-size: 40px;
  color: #000;
}

h2 {
  font-size: 34px;
  color: #4F93B1;
}

h3 {
  font-size: 20px;
  color: #4F93B1;
}

h4 {
  font-size: 18px;
  color: #000;
}

p, li {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
   line-height: 1.6;
  color: #242424;
}

hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: normal;
}
.link-hover-bg:hover {
  background-color: var(--background-color);
}

/* ========== ACCESSIBILITY: Skip-Link ========== */
.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  background: #000;
  color: #fff;
  padding: 0.5em 1em;
  z-index: 1000;
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* ========== LAYOUT ========== */
.problem-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.solution-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.solution-intro .text {
  flex: 1 1 50%;
}

.solution-intro .image {
  flex: 1 1 40%;
  text-align: right;
}

.section.product-intro {
  padding-bottom: 40px;
}

.product-intro .col.image img {
  max-width: 80%;
  height: auto;
}

/* ========== PRODUCT INTRO (IMAGE + TEXT) ========== */
.product-intro .container.two-col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.product-intro .col.text {
  flex: 1 1 55%;
}

.product-intro .col.image {
  flex: 1 1 40%;
  text-align: right;
}

.product-intro .col.image img {
  max-width: 80%;
  height: auto;
}

/* ========== reference attribution block =========== */
.reference-note {
  background-color: #f5f7f9; /* Matches .hero-feature block */
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.reference-note h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.reference-note cite {
  display: block;
  font-style: normal;
  margin-bottom: 0.75rem;
}

.reference-note cite a {
  color: var(--highlight-color, #d6a645); /* fallback to gold if not set */
  text-decoration: underline;
  font-weight: 500;
}

.reference-note cite a:hover {
  color: darken(var(--highlight-color, #d6a645), 10%);
}

.reference-note blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid #ccc;
  color: #444;
  font-style: italic;
}


  #hero {
    margin: 80px 0 60px 0;
  }


/* ========== FAQ ========== */
.faq-container {
  font-family: 'Nixie One', serif;
}

.faq-question {
  background: transparent;
  border: none;
  padding: 20px 0;
  width: 100%;
  text-align: left;
  font-size: 20px;
  font-family: 'Nixie One', serif;
  font-weight: 300;
  color: #4f93b1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.faq-question::after {
  content: '›';
  position: absolute;
  right: 0;
  top: 20px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-question:hover {
  color: #000;
}

.faq-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.faq-item.open .faq-question::after {
  content: '⌄';
  transform: rotate(180deg);
}

.faq-answer {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  color: #242424;
  background-color: #e3f8f9;
  padding: 20px;
  margin-top: -1px;
  display: none;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item.open .faq-answer {
  display: block;
}

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

/* ========== KEYWORD SECTION ========== */
.keyword-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.keyword-content {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* ========== FOOTER AUTHOR ========== */
footer {
  padding: 40px 0;
}

.footer-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 5%;
  margin-bottom: 20px;
}

.footer-author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-author span {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  color: #242424;
}

footer p {
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: #242424;
  margin: 4px 0;
}

/* ========== BENEFIT GRID ========== */
.benefits-grid .container.grid-3,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 60px 0;
  text-align: center;
}

/* ========== FEATURE BLOCKS ========== */
.feature-item {
  padding: 20px;
  margin-bottom: 20px;
  border-left: 6px solid var(--accent-color);
  background-color: #f9f9f9;
  border-radius: 8px;
}

/* ========== CTA BLOCKS ========== */
.top-cta-content,
.mid-cta-content,
.final-cta-content,
.cta-section.top-cta .cta-content,
.cta-section.mid-cta .cta-content,
.cta-section.final-cta .cta-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.mid-cta-content,
.cta-section.mid-cta .cta-content {
  flex-direction: row-reverse;
}

.top-cta-text,
.mid-cta-text,
.final-cta-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-cta-button,
.mid-cta-button,
.final-cta-button {
  margin-top: 1rem;
  align-self: flex-start;
}

.cta-section.top-cta > .container > .top-cta-content > img,
.cta-section.final-cta > .container > .final-cta-content > img {
  width: 250px;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  align-self: flex-end;
  margin-bottom: -33px !important;
  border: 0 !important;
}

/* ========== HERO FEATURES ========== */
.hero-features .feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
  margin: 0;
  list-style: none;
}

/* Individual Feature Box */
.hero-features .feature-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #f9f9f9;
  padding: 20px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}

/* Tick Icon */
.hero-features .feature-list li::before {
  content: "✔";
  color: var(--accent-color, #4CAF50);
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .cta-section.top-cta .cta-content,
  .cta-section.mid-cta .cta-content,
  .cta-section.final-cta .cta-content,
  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .top-cta-button,
  .mid-cta-button,
  .final-cta-button {
    align-self: center;
  }
}

/*SOCIAL PROOF SECTION */
.social-proof-section .stat-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.social-proof-section .stat-item .stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: bold;
  color: #4caf50;
  margin-bottom: 0.5rem;
  position: relative;
}

.social-proof-section .stat-item .stat-label {
  font-size: 0.9rem;
  color: #666;
}

.social-proof-section .stat-item::after {
  content: '';
  display: block;
  margin-top: 0.5rem;
  height: 6px;
  background: #4caf50;
  border-radius: 3px;
  width: 100%; /* static for now, or simulate based on value */
  max-width: 100%;
}
/* Override Tailwind heading sizes and enforce custom font family */
h1 {
  font-size: 2.25rem !important; /* e.g. 36px */
  font-family: var(--heading-font) !important;
  font-weight: bold !important;
  margin-bottom: 1rem !important;
}

h2 {
  font-size: 1.75rem !important;
  font-family: var(--heading-font) !important;
  font-weight: bold !important;
  margin-bottom: 1rem !important;
}

h3 {
  font-size: 1.5rem !important;
  font-family: var(--heading-font) !important;
  font-weight: bold !important;
  margin-bottom: 1rem !important;
}
}