/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D1A2E;
  --navy-mid: #1B2A4A;
  --navy-light: #152238;
  --amber: #F5A623;
  --amber-light: #FFD080;
  --red-rec: #e63946;
  --white: #ffffff;
  --off-white: #F8F6F0;
  --text-muted: #8A9BB5;
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0.04em; line-height: 1.1; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

/* === NAV === */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: transparent;
  position: relative;
  z-index: 10;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.nav__tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* === HERO === */
.hero {
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 3rem 2rem;
}

.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__bg-shape--1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
}

.hero__bg-shape--2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(245,166,35,0.05) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero__headline {
  font-size: clamp(3.5rem, 6vw, 6rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 0.95;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hat-mockup {
  text-align: center;
}

.hat-svg {
  width: 100%;
  max-width: 320px;
  filter: drop-shadow(0 20px 60px rgba(245,166,35,0.2));
}

.hat-mockup__label {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--red-rec);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hat-mockup__label::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-rec);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero__stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 0;
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.stat__value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* === THE GAP === */
.thegap {
  background: var(--off-white);
  padding: 6rem 3rem;
}

.thegap__inner { max-width: 1100px; margin: 0 auto; }

.thegap__header { margin-bottom: 4rem; }

.thegap__header h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }

.thegap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.gap-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 2rem;
}

.gap-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 1rem 0 0.75rem;
}

.gap-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.gap-card__verdict {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gap-card__verdict--bad { color: var(--red-rec); }
.gap-card__verdict--good { color: #2a9d8f; }

.thegap__solution { text-align: center; }

.thegap__solution h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }

.thegap__solution p { font-size: 1.15rem; color: var(--navy-mid); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* === FEATURES === */
.features {
  background: var(--navy);
  color: var(--white);
  padding: 6rem 3rem;
}

.features__inner { max-width: 1100px; margin: 0 auto; }

.features__header { margin-bottom: 4rem; }

.features__header h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.15; }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
}

.feature {
  background: var(--navy);
  padding: 2.5rem;
  position: relative;
}

.feature::after {
  content: '';
  position: absolute;
  bottom: 0; left: 2.5rem; right: 2.5rem;
  height: 1px;
  background: rgba(255,255,255,0.05);
}

.feature__number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--amber);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === HOW === */
.how {
  background: var(--off-white);
  padding: 6rem 3rem;
}

.how__inner { max-width: 1100px; margin: 0 auto; }

.how__header { margin-bottom: 4rem; }

.how__header h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }

.how__steps {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step {
  flex: 1;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 2rem;
}

.step__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--amber);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step__arrow {
  flex-shrink: 0;
}

/* === CLOSING === */
.closing {
  background: linear-gradient(160deg, #0D1A2E 0%, #1B2A4A 50%, #0D1A2E 100%);
  padding: 6rem 3rem;
  color: var(--white);
}

.closing__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.closing__scene {
  position: relative;
  height: 240px;
  background: linear-gradient(to bottom, #1a3a5c 0%, #2a5a7c 40%, #3a7a9c 70%, #FFD080 85%, #F5A623 100%);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sun {
  position: absolute;
  top: 30px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 60px;
  background: radial-gradient(circle, #FFD080 0%, #F5A623 100%);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(245,166,35,0.6), 0 0 80px rgba(245,166,35,0.3);
}

.wave {
  position: absolute;
  left: 0; right: 0;
  height: 40px;
  border-radius: 100% 100% 0 0;
  background: rgba(255,255,255,0.15);
}

.wave-1 { bottom: 50px; background: rgba(255,255,255,0.12); }
.wave-2 { bottom: 30px; background: rgba(255,255,255,0.08); }
.wave-3 { bottom: 10px; background: rgba(255,255,255,0.05); }

.hat-silhouette {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.9;
}

.closing__text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.closing__text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 3rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

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

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  
  .hero { padding: 3rem 1.5rem 2rem; }
  .hero__content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__headline { font-size: 3rem; }
  .hero__sub { max-width: 100%; }
  .hero__visual { order: -1; }
  .hat-svg { max-width: 240px; }
  .hero__stats { gap: 1.5rem; }
  .stat__value { font-size: 1.6rem; }
  
  .thegap { padding: 4rem 1.5rem; }
  .thegap__grid { grid-template-columns: 1fr; gap: 1rem; }
  
  .features { padding: 4rem 1.5rem; }
  .features__grid { grid-template-columns: 1fr; }
  
  .how { padding: 4rem 1.5rem; }
  .how__steps { flex-direction: column; }
  .step__arrow { transform: rotate(90deg); }
  
  .closing { padding: 4rem 1.5rem; }
  .closing__inner { grid-template-columns: 1fr; }
  .closing__scene { height: 180px; }
}

@media (max-width: 480px) {
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stat__divider { width: 40px; height: 1px; }
}