/* palette: sapphire-amber */
:root {
  --primary-color: #0A2B5C;
  --secondary-color: #1A3E80;
  --accent-color: #E8A020;
  --background-color: #F0F6FF;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --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: 'Merriweather', Georgia, serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Base resets & Typography Scale */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--main-font);
  color: var(--primary-color);
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
}

/* SOFT-ORGANIC PRESET RULES */
section {
  padding: 72px 16px;
}

@media(min-width:1024px) {
  section {
    padding: 88px 24px;
  }
}

body {
  line-height: 1.85;
}

.card {
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 10px 40px rgba(0,0,0,0.08);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.btn {
  border-radius: 9999px;
  padding: 14px 32px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 44px;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: #d18c16;
  box-shadow: 0 4px 14px rgba(232, 160, 32, 0.4);
}

.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff !important;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

/* Header Styles (CSS-only burger) */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1000;
}

.header-inner {
  height: 80px;
}

.logo img {
  max-height: 50px;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 24px 16px;
  z-index: 999;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  font-family: var(--alt-font);
  font-weight: 500;
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--accent-color);
}

/* Burger Button */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.burger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(7.5px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  
  .site-nav {
    display: flex !important;
    position: static;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* HERO SECTION (scroll-peek) */
.hero-section {
  position: relative;
  min-height: calc(88vh - 80px);
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* scroll-peek feature */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 43, 92, 0.75); /* Deep sapphire overlay */
}

.hero-title {
  color: #ffffff;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero-subtitle {
  color: #f0f6ff;
  font-family: var(--alt-font);
  font-weight: 300;
  max-width: 700px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Next section margin adjustment to overlap/peek */
#myth-fact {
  margin-top: -1px;
  position: relative;
  z-index: 20;
}

/* Section Common Elements */
.section-title {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-color);
  font-size: 1.1rem;
}

.bg-light {
  background-color: var(--background-color);
}

.bg-white {
  background-color: #ffffff;
}

.bg-dark {
  background-color: var(--primary-color);
}

/* Section 1: Myth & Fact */
.myth-fact-card {
  display: flex;
  flex-direction: column;
}

.myth-box {
  background-color: rgba(239, 68, 68, 0.04);
  border-bottom: 1px solid var(--border-color);
  flex-grow: 1;
}

.fact-box {
  background-color: rgba(34, 197, 94, 0.04);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-myth {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.badge-fact {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

/* Section 2: How It Works */
.step-card {
  padding: 24px;
}

.step-number-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-num {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
  font-family: var(--main-font);
}

@media (min-width: 768px) {
  .steps-container::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
  }
}

/* Section 3: Numbered Facts */
.fact-numbered-card {
  min-height: 280px;
}

.fact-big-num {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--accent-color);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

/* Section 4: Checklist */
.rounded-image {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.checklist-item {
  background: var(--background-color);
  padding: 16px;
  border-radius: var(--radius-md);
}

.checklist-item .icon-circle {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

/* Section 5: Expert Quote */
.quote-icon i {
  color: var(--accent-color);
}

/* Section 6: Contact & FAQ */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--alt-font);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.15);
}

.faq-card {
  box-shadow: var(--shadow-sm);
}

/* Scroll-reveal animation (CSS only) */
@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%;
}

/* Footer Styles */
.site-footer {
  background-color: var(--primary-color);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
  max-height: 40px;
  filter: brightness(0) invert(1);
}

.footer-nav a {
  color: #f0f6ff;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent-color);
}