/* ─────────────────────────────────────────────────────────────────────────────
   Global styles — keyframes, font import, utilities, responsive overrides
───────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:wght@400;500;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, .hn-root {
  font-family: 'DM Sans', sans-serif;
  background: #FDFCF8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Keyframes ────────────────────────────────────────────────────────────── */

@keyframes hn-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

@keyframes hn-float-b {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(22px) rotate(-6deg); }
}

@keyframes hn-float-c {
  0%, 100% { transform: translateY(0px) rotate(12deg); }
  50%       { transform: translateY(-14px) rotate(20deg); }
}

@keyframes hn-pulse-glow {
  0%  { box-shadow: 0 0 0 0 rgba(82,201,122,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(82,201,122,0); }
  100%{ box-shadow: 0 0 0 0 rgba(82,201,122,0); }
}

@keyframes hn-up {
  from { opacity: 0; transform: translateY(38px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Animation Classes ────────────────────────────────────────────────────── */

.hn-orb-a { animation: hn-float   6s  ease-in-out infinite; }
.hn-orb-b { animation: hn-float-b 8s  ease-in-out infinite; }
.hn-orb-c { animation: hn-float   10s ease-in-out infinite; }
.hn-orb-d { animation: hn-float-b 7s  ease-in-out infinite; }
.hn-orb-e { animation: hn-float-c 9s  ease-in-out infinite; }

.hn-r1 { animation: hn-up 0.75s ease both; }
.hn-r2 { animation: hn-up 0.75s 0.12s ease both; }
.hn-r3 { animation: hn-up 0.75s 0.24s ease both; }
.hn-r4 { animation: hn-up 0.75s 0.36s ease both; }
.hn-r5 { animation: hn-up 0.75s 0.48s ease both; }

.hn-live {
  animation: hn-pulse-glow 2s ease-out infinite;
  border-radius: 50%;
}

/* ── Utility Classes ──────────────────────────────────────────────────────── */

.hn-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hn-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(0,0,0,0.14) !important;
}

.hn-btn-primary {
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  background: linear-gradient(135deg, #F5833A 0%, #E06B20 100%);
  color: #fff;
  padding: 15px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(245,131,58,0.44);
  border: none;
}

.hn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(245,131,58,0.48);
}

.hn-btn-primary:active {
  transform: translateY(0);
}

.hn-btn-primary:focus-visible {
  outline: 3px solid #F5C518;
  outline-offset: 3px;
}

.hn-btn-ghost {
  transition: background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: default;
  gap: 8px;
  background: #FDFCF8;
  color: #0D1B35;
  padding: 15px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid #0D1B3514;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.hn-link {
  color: #F5C518;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.15s;
}

.hn-link:hover {
  opacity: 0.8;
}

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

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

.hn-container-sm {
  max-width: 660px;
  margin: 0 auto;
}

/* ── Color Palette ────────────────────────────────────────────────────────── */

.hn-yellow { color: #F5C518; }
.hn-orange { color: #F5833A; }
.hn-green { color: #52C97A; }

/* ─────────────────────────────────────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────────────────────────────────────── */

.hn-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(160deg, #FBF7F0 0%, #FDFCF8 55%, #EEF7FC 100%);
  position: relative;
  overflow: hidden;
}

/* Dot grid */
.hn-dot-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(#0D1B350C 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}

/* Orbs */
.orb-1 {
  position: absolute;
  top: 8%;
  left: 4%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F5C518DD, #F5C51833);
  filter: blur(0.5px);
  pointer-events: none;
}

.orb-2 {
  position: absolute;
  top: 22%;
  right: 6%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4AABDBCC, #4AABDB33);
  pointer-events: none;
}

.orb-3 {
  position: absolute;
  top: 62%;
  left: 2%;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #52C97A66;
  transform: rotate(18deg);
  pointer-events: none;
}

.orb-4 {
  position: absolute;
  bottom: 18%;
  right: 4%;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, #F4A8C7BB, #F4A8C722);
  pointer-events: none;
}

.orb-5 {
  position: absolute;
  bottom: 12%;
  left: 9%;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F5833A66;
  pointer-events: none;
}

.orb-6 {
  position: absolute;
  top: 40%;
  right: 1%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F5C51888;
  pointer-events: none;
}

/* NAV */
.hn-nav {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
  position: relative;
  z-index: 10;
}

.hn-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hn-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #F5C518, #F5833A);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px #F5833A44;
}

.hn-logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 21px;
  color: #0D1B35;
  letter-spacing: -0.4px;
}

.hn-nav-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FDFCF8;
  border: 1px solid #52C97A44;
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  font-size: 13px;
  font-weight: 600;
  color: #1A7A42;
  letter-spacing: 0.01em;
}

/* HERO BODY */
.hn-hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 820px;
  width: 100%;
  padding: 20px 24px 80px;
  position: relative;
  z-index: 10;
  text-align: center;
}

.hn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #F5C51830, #F5833A20);
  border: 1.5px solid #F5C518AA;
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
  color: #9C5300;
  letter-spacing: 0.01em;
}

.hn-hero-h {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 6.5vw, 74px);
  font-weight: 700;
  color: #0D1B35;
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin-bottom: 26px;
}

.hn-gradient-text {
  background: linear-gradient(125deg, #F5833A 20%, #F5C518 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hn-hero-body-text {
  font-size: clamp(16px, 2vw, 18.5px);
  line-height: 1.72;
  color: #647083;
  max-width: 580px;
  margin-bottom: 44px;
}

.hn-hero-body-text strong {
  color: #0D1B35;
  font-weight: 600;
}

.hn-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.hn-mission-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FDFCF8;
  border: 1px solid #0D1B350E;
  border-radius: 16px;
  padding: 14px 26px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  font-size: 14px;
  font-weight: 500;
  color: #0D1B35;
  font-family: 'Fraunces', serif;
  font-style: italic;
}

.hn-color-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.hn-color-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────────────────────────────────────── */

.hn-section {
  padding: 88px 24px;
}

.hn-section-navy {
  background: #0D1B35;
}

.hn-section-free {
  background: linear-gradient(140deg, #F5C51812 0%, #F5833A08 100%);
  border-top: 1px solid #F5C51830;
  border-bottom: 1px solid #F5C51830;
}

.hn-section-white {
  background: #FDFCF8;
  text-align: center;
}

.hn-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.hn-section-badge {
  display: inline-block;
  background: #F5C51818;
  border: 1px solid #F5C51840;
  border-radius: 999px;
  padding: 5px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #F5C518;
}

.hn-sect-h {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #FDFCF8;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hn-section-desc {
  font-size: 16px;
  color: #94A3B8;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.72;
}

/* ── Feature Grid ─────────────────────────────────────────────────────────── */

.hn-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hn-card {
  background: #FDFCF8;
  border-radius: 20px;
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.hn-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
}

.hn-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hn-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 700;
  color: #0D1B35;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.hn-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #647083;
}

/* ── Two Column Layout ────────────────────────────────────────────────────── */

.hn-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Free Tier Section ────────────────────────────────────────────────────── */

.hn-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #52C97A1A;
  border: 1.5px solid #52C97A80;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #0F6B3A;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hn-free-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  color: #0D1B35;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.hn-free-desc {
  font-size: 16px;
  line-height: 1.78;
  color: #647083;
  margin-bottom: 28px;
}

.hn-free-desc strong {
  color: #0D1B35;
}

.hn-benefits {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.hn-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #0D1B35;
  font-weight: 500;
}

.hn-free-card {
  background: #FDFCF8;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 16px 56px rgba(0,0,0,0.10), 0 0 0 1.5px #F5C51855;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hn-free-card-decoration {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #F5C51818;
  pointer-events: none;
}

.hn-free-card-icon {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #F5C518, #F5833A);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 8px 28px #F5833A44;
}

.hn-free-price {
  font-family: 'Fraunces', serif;
  font-size: 64px;
  font-weight: 700;
  color: #0D1B35;
  line-height: 1;
  margin-bottom: 6px;
}

.hn-free-label {
  font-size: 13px;
  color: #647083;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}

.hn-free-badge {
  background: linear-gradient(135deg, #EDFBF3, #D6F7E8);
  border: 1px solid #52C97A50;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 14px;
  color: #0F6B3A;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ── Reassurance Section ──────────────────────────────────────────────────── */

.hn-reassurance-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: #0D1B35;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hn-reassurance-text {
  font-size: 16.5px;
  line-height: 1.78;
  color: #647083;
  margin-bottom: 52px;
}

.hn-reassurance-text strong {
  color: #0D1B35;
}

/* ── Timeline ─────────────────────────────────────────────────────────────── */

.hn-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  list-style: none;
}

.hn-timeline-step {
  display: flex;
  align-items: center;
}

.hn-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}

.hn-timeline-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #52C97A22;
  border: 2.5px solid #52C97A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hn-timeline-circle-done {
  background: #52C97A;
  box-shadow: 0 4px 16px #52C97A44;
}

.hn-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #52C97A;
}

.hn-timeline-label {
  font-size: 12px;
  font-weight: 600;
  color: #647083;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
}

.hn-timeline-circle-done ~ .hn-timeline-label {
  color: #52C97A;
}

.hn-timeline-connector {
  width: 48px;
  height: 2px;
  flex-shrink: 0;
  background: #64708328;
  margin: 0 -8px;
}

.hn-timeline-connector-done {
  background: linear-gradient(90deg, #52C97A, #F5C51866);
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────────────────────── */

.hn-footer {
  background: #0D1B35;
  padding: 44px 24px 36px;
  text-align: center;
}

.hn-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 18px;
}

.hn-footer-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #F5C518, #F5833A);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hn-footer-logo span {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 17px;
  color: #FDFCF8;
}

.hn-footer-contact {
  font-size: 14px;
  color: #4B6080;
  margin-bottom: 10px;
}

.hn-footer-website {
  font-size: 14px;
  color: #4B6080;
  margin-bottom: 10px;
}

.hn-footer-divider {
  width: 40px;
  height: 1px;
  background: #1E3050;
  margin: 18px auto;
}

.hn-footer-copyright {
  font-size: 13px;
  color: #2C4060;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 820px) {
  .hn-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hn-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hn-hero-h {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hn-sect-h {
    font-size: 28px;
  }

  .hn-feat-grid {
    grid-template-columns: 1fr;
  }

  .hn-nav-badge {
    display: none;
  }

  .hn-cta-row {
    flex-direction: column;
  }

  .hn-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .hn-timeline-connector {
    width: 2px;
    height: 28px;
    margin: 4px 19px;
  }

  .hn-section {
    padding: 60px 20px;
  }

  .hn-hero-body {
    padding-bottom: 60px;
  }

  .hn-free-card {
    margin-top: 0;
  }
}

/* ── Dots Animation ────────────────────────────────────────────────────────── */

.hn-dots::after {
  content: '.';
  animation: hn-dots-animate 1.2s steps(4, end) infinite;
}

@keyframes hn-dots-animate {
  0%, 20% { content: '.'; }
  40%, 60% { content: '..'; }
  80%, 100% { content: '...'; }
}
