/* CSS Variables */
:root {
  --primary-color: #0A3245;
  --secondary-color: #174E66;
  --accent-color: #B83050;
  --background-color: #F0F7FB;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(10, 50, 69, 0.15);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --main-font: 'Nunito', sans-serif;
  --alt-font: 'Noto Sans', sans-serif;
}

/* Animations CSS-only via @property */
@property --deg {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

/* Global Styles */
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* RETRO-CLASSIC Preset Styles */
section {
  padding: 72px 16px;
}
@media (min-width: 1024px) {
  section {
    padding: 80px 24px;
  }
}
h1, h2, h3 {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
}
.card {
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
  background: #FFFFFF;
  padding: 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.15);
}
.btn {
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  background: transparent;
  color: var(--primary-color);
  font-family: var(--main-font);
  font-weight: 700;
  padding: 12px 24px;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  min-height: 44px;
  line-height: 1.2;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, color 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
  background-color: var(--primary-color);
  color: #FFFFFF;
}
hr {
  border: none;
  text-align: center;
  margin: 24px auto;
  width: 100%;
  max-width: 200px;
}
hr::before {
  content: "— * —";
  display: block;
  font-size: 1.2rem;
  color: var(--accent-color);
  letter-spacing: 4px;
}

/* Typography Scale */
h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}
h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  margin-bottom: 12px;
}
p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}

/* CSS-only Scroll Reveal */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* Header & Burger Navigation */
header {
  background: #FFFFFF;
  border-bottom: 2px solid var(--primary-color);
  padding: 16px;
  position: relative;
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.logo img {
  height: 40px;
  width: auto;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}
.burger-btn .bar {
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  z-index: 999;
  padding: 24px;
  border-bottom: 2px solid var(--primary-color);
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav a {
  color: #F5F5F5;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}
#menu-toggle:checked ~ .site-nav {
  display: block;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
    border-bottom: none;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 32px;
  }
  .site-nav a {
    color: var(--primary-color);
  }
}

/* Hero Section: editorial-bleed */
.hero-editorial {
  min-height: 90vh;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  padding: 64px 24px;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-title {
  font-size: clamp(2.5rem, 10vw, 8rem);
  line-height: 0.95;
  margin-bottom: 40px;
  font-weight: 900;
}
.hero-title .accent-text {
  color: var(--accent-color);
}
.hero-divider {
  border-top: 2px solid var(--dark-color);
  margin-bottom: 40px;
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.8;
  color: var(--text-color);
}
.hero-cta-group {
  margin-top: 24px;
}
.btn-hero {
  border-color: var(--accent-color);
  color: var(--accent-color);
  font-size: 1rem;
}
.btn-hero:hover {
  background-color: var(--accent-color);
  color: #FFFFFF;
}

/* Gradient Stats Strip */
.stats-strip {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #FFFFFF;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.stats-strip .card {
  background: rgba(10, 50, 69, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}
.stat-large {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--accent-color);
  display: block;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Feature Spotlight */
.spotlight-section {
  background-color: var(--background-color);
}
.spotlight-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}
@media (min-width: 1024px) {
  .spotlight-row {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
  }
  .spotlight-row.reverse {
    grid-template-columns: 0.8fr 1.2fr;
  }
}
.spotlight-row.reverse .spotlight-image {
  order: 1;
}
@media (min-width: 1024px) {
  .spotlight-row.reverse .spotlight-image {
    order: 0;
  }
}
.spotlight-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.spotlight-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
}
.spotlight-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 600;
}
.spotlight-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 900;
}
.spotlight-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
.visual-card {
  background: var(--secondary-color);
  color: #FFFFFF;
  position: relative;
  padding: 40px;
}
.visual-badge {
  background: var(--accent-color);
  color: #FFFFFF;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  position: absolute;
  top: -12px;
  left: 24px;
}
.visual-text {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Donut Chart CSS Animation */
.donut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
}
.donut {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-color) calc(var(--deg) * 1deg), var(--border-color) 0);
  animation: fill-donut 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.donut-inner {
  position: absolute;
  width: 100px;
  height: 100px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--primary-color);
}
@keyframes fill-donut {
  from { --deg: 0; }
  to { --deg: var(--target-deg); }
}
.donut-label {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Interactive Checklist */
.checklist-section {
  background: #FFFFFF;
}
.section-subtitle {
  max-width: 700px;
  margin: 0 auto 24px auto;
}
.interactive-checklist {
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-style: dashed;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
}
.check-label {
  position: relative;
  padding-left: 36px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.2s, text-decoration 0.2s;
  user-select: none;
}
.check-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  background: #FFFFFF;
}
.check-input:checked + .check-label {
  text-decoration: line-through;
  color: var(--accent-color);
}
.check-input:checked + .check-label::before {
  background: var(--accent-color);
  border-color: var(--accent-color);
}
.check-input:checked + .check-label::after {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 1px;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1rem;
}

/* Split Testimonial */
.testimonials-section {
  background-color: var(--background-color);
}
.split-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 40px auto 0 auto;
}
@media (min-width: 768px) {
  .split-testimonial-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
}
.split-quote {
  position: relative;
  padding: 48px;
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--accent-color);
  opacity: 0.15;
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}
.quote-text {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-top: 16px;
}
.split-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--primary-color);
  color: #FFFFFF;
}
.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 3px solid #FFFFFF;
}
.author-info h3 {
  margin-bottom: 4px;
  color: #FFFFFF;
}
.author-title {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* CTA Banner */
.cta-banner-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #FFFFFF;
  text-align: center;
  padding: 80px 24px;
}
.cta-banner-inner {
  max-width: 800px;
  margin: 0 auto;
}
.cta-banner-section h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.cta-banner-section p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
}
.btn-cta {
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.btn-cta:hover {
  background-color: #FFFFFF;
  color: var(--primary-color);
}

/* Contact & FAQ Section */
.contact-faq-section {
  background: #FFFFFF;
}
.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}
@media (min-width: 1024px) {
  .contact-faq-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.contact-info {
  background: var(--background-color);
}
.contact-desc {
  margin-bottom: 32px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item .icon {
  font-size: 1.5rem;
}
.contact-form .form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
}
.form-group input, .form-group textarea {
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--alt-font);
  font-size: 1rem;
  background-color: var(--background-color);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-checkbox input {
  margin-top: 4px;
}
.form-checkbox label {
  font-size: 0.85rem;
  line-height: 1.5;
}
.btn-submit {
  width: 100%;
  background-color: var(--primary-color);
  color: #FFFFFF;
}
.btn-submit:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* FAQ Styling (Fully Open) */
.faq-container {
  margin-top: 80px;
}
.faq-title {
  margin-bottom: 40px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.faq-item {
  border-style: solid;
}
.faq-item h4 {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--primary-color);
}
.faq-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #FFFFFF;
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  height: 40px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 0.9rem;
}
.footer-nav a {
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-nav a:hover {
  opacity: 1;
}
.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
}