@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

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

html {
  scroll-behavior: smooth;
}

body, html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #0b1a2b;
  background: linear-gradient(180deg, #0a2647 0%, #1f6fb2 22%, #4fa8e0 42%, #ffb37a 68%, #ff8a5c 86%, #ff6f4d 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  text-decoration: none;
}

/* ===== Readability scrim (sits under the animation, over the gradient) ===== */
#bg-scrim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(6, 14, 26, 0.34);
  pointer-events: none;
}

/* ===== Background animation canvas ===== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ===== Content layer safety net =====
   layout_start.html wraps page content in <main class="flex-fill">; keep it
   (and every major section) above the fixed scrim/canvas layers. */
main.flex-fill {
  position: relative;
  z-index: 2;
}

.hero,
.cards-section,
.cta-section,
.cta,
.signal-line {
  position: relative;
  z-index: 2;
}

/* ===== Nav ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(10, 30, 55, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo .arrow-mark {
  display: inline-block;
  font-size: 1.1em;
  transform: translateY(-1px);
  background: linear-gradient(180deg, #fff6e5, #ffb066);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo .boost {
  background: linear-gradient(90deg, #ffe9c7, #ff9a56);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo .tld {
  font-weight: 500;
  opacity: 0.72;
  font-size: 0.72em;
  margin-left: 2px;
}

#buy_now_link {
  background: linear-gradient(90deg, #ff9a56, #ff6a3d);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 24px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255, 106, 61, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#buy_now_link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 106, 61, 0.55);
  filter: brightness(1.05);
}

#buy_now_link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ===== Hero ===== */
.hero {
  padding: 14vh 6vw 8vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 88vh;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  text-shadow: 0 1px 6px rgba(5, 14, 26, 0.5);
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.08;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(5, 14, 26, 0.65), 0 8px 30px rgba(5, 14, 26, 0.45);
  max-width: 18ch;
}

.hero p.sub {
  margin-top: 26px;
  max-width: 680px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 12px rgba(5, 14, 26, 0.5);
  font-weight: 400;
}

.hero-cta-row {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(90deg, #ff9a56, #ff6a3d);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(255, 106, 61, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(255, 106, 61, 0.55);
}

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

/* ===== Cards ===== */
.cards-section {
  padding: 6vh 6vw 10vh;
}

.cards-heading {
  text-align: center;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 44px;
  text-shadow: 0 2px 6px rgba(5, 14, 26, 0.6), 0 10px 30px rgba(5, 14, 26, 0.35);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.card {
  /* opacity bumped slightly above the original draft value so heading/body
     text keeps sufficient contrast across the full blue-to-orange gradient */
  background: rgba(8, 20, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 40px 35px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(10, 30, 60, 0.28);
  background: rgba(8, 20, 36, 0.62);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff9a56, #4fa8e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
}

/* ===== CTA ===== */
.cta-section {
  padding: 10vh 6vw 14vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-panel {
  background: rgba(9, 21, 36, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 56px 40px;
  max-width: 620px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.signal-status {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #baf5c9;
  background: rgba(58, 201, 108, 0.16);
  border: 1px solid rgba(120, 230, 150, 0.4);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 30px;
}

#buy_now_bottom {
  display: block;
  background: linear-gradient(90deg, #ff9a56, #ff6a3d);
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  padding: 20px 48px;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(255, 106, 61, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#buy_now_bottom:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 46px rgba(255, 106, 61, 0.6);
  filter: brightness(1.06);
}

#buy_now_bottom:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.signal-sub {
  margin-top: 22px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* ===== Footer ===== */
/* Footer markup itself is injected via SSI and shouldn't be edited per-domain -
   visibility over the fixed gradient/canvas background lives here instead. */

footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 28px 6vw 40px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(5, 14, 26, 0.6);
  font-size: 0.82rem;
  background: rgba(6, 14, 26, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

footer div {
  margin: 4px 0;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  nav {
    padding: 14px 5vw;
  }

  .logo {
    font-size: 1.1rem;
  }

  #buy_now_link {
    padding: 9px 16px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 12vh 6vw 6vh;
    min-height: unset;
  }

  .hero p.sub {
    font-size: 0.95rem;
  }

  .cards-grid {
    gap: 18px;
  }

  .card {
    padding: 30px 24px;
  }

  .cta-panel {
    padding: 40px 22px;
    border-radius: 20px;
  }

  #buy_now_bottom {
    padding: 17px 30px;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
