* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #008b63;
  --green-dark: #007553;
  --green-light: #0aa578;
  --yellow: #e7d100;
  --yellow-dark: #cfbc00;
  --white: #ffffff;
  --text-soft: rgba(255,255,255,0.92);
  --text-muted: rgba(255,255,255,0.72);
  --shadow: 0 10px 30px rgba(0,0,0,0.18);
  --radius: 18px;
  --header-height: 72px;
  --notice-height: 40px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--green);
  color: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.site-logo {
  height: 33px;
  width: auto;
  display: block;
}

.brand-logo {
  padding: 6px 10px;
  background: transparent;
  border: none;
}

.page {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--green);
  min-height: 100vh;
  position: relative;
}

/* HEADER */
.site-header {
  position: sticky;
  top: var(--notice-height);
  z-index: 999;
  height: var(--header-height);
  background: rgba(0, 117, 83, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
}

/* NOTICE BAR */
.notice-bar {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: linear-gradient(90deg, #009f71, #007a57);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  overflow: hidden;
}

.notice-bar-inner {
  height: 40px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
}

.notice-bar-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  min-width: max-content;
  padding-left: 100%;
  animation: noticeScroll 18s linear infinite;
}

.notice-bar-text {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.notice-bar-text strong {
  color: var(--yellow);
  font-weight: 800;
}

.notice-bar:hover .notice-bar-track {
  animation-play-state: paused;
}

@keyframes noticeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 20px;
  position: relative;
  transition: 0.25s ease;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.brand-logo-text {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.8px;
  white-space: nowrap;
}

.brand-logo-text span:first-child {
  color: #fff;
}

.brand-logo-text span:last-child {
  color: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-btn {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.header-btn.primary {
  background: var(--yellow);
  color: #111;
  border-color: transparent;
}

.mobile-menu {
  display: none;
  padding: 10px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,117,83,0.98);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  display: grid;
  gap: 10px;
}

.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 600;
}

.section {
  padding: 22px 18px;
}

.hero {
  padding-top: 28px;
  text-align: center;
}

.hero h1 {
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
}

.logo-text {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.logo-text span:first-child {
  color: #fff;
}

.logo-text span:last-child {
  color: var(--yellow);
}

.subheading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}

.signup-card {
  background: transparent;
  margin-top: 4px;
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 12px;
}

.input {
  width: 100%;
  height: 56px;
  border: none;
  outline: none;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 16px;
  background: #f2f2f2;
  color: #222;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.input::placeholder {
  color: #777;
}

.cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 6px;
  padding-bottom: 10px;
}

.btn {
  width: 100%;
  min-height: 58px;
  border: 2px solid rgba(255,255,255,0.78);
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
  text-align: center;
}

.btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
}

.btn.square {
  border-radius: 8px;
  border: none;
  min-height: 58px;
}

.btn.centered {
  width: auto;
  min-width: 260px;
  max-width: 100%;
  padding: 0 26px;
  margin-left: auto;
  margin-right: auto;
}

.content h2 {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-align: center;
}

.content p {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.lead-text {
  text-align: center;
  max-width: 460px;
  margin: 0 auto 16px;
}

.section-center {
  text-align: center;
}

.image-card {
  margin-top: 14px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.steps {
  padding-left: 22px;
  margin-top: 12px;
}

.steps li {
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 16px;
}

.steps li strong {
  color: #fff;
}

.info-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.info-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 18px;
}

.info-box h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.info-box p {
  margin-bottom: 0;
}

.footer {
  padding: 28px 18px 40px;
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  text-align: center;
  margin-bottom: 18px;
}

.footer-brand h3 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 420px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
}

.footer-column ul {
  display: grid;
  gap: 8px;
}

.footer-column a {
  color: var(--text-soft);
  font-size: 14px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-cta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.footer-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.sticky-bottom-cta {
  position: sticky;
  bottom: 12px;
  z-index: 50;
  padding: 0 18px 18px;
  pointer-events: none;
}

.sticky-bottom-cta .btn {
  pointer-events: auto;
}

.section-title-space {
  margin-top: 22px;
}

.top-space {
  margin-top: 18px;
}

.yellow-text {
  color: #e7d100;
}

@media (min-width: 768px) {
  .page {
    max-width: 620px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .content h2 {
    font-size: 34px;
  }

  .content p,
  .steps li {
    font-size: 17px;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   DESKTOP ENHANCEMENTS (Applies to screens wider than 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  /* 1. Layout Expansion */
  .page {
    max-width: 1200px; /* Expands the page for desktop */
    box-shadow: 0 0 100px rgba(0,0,0,0.3);
  }

  body {
    background: #005a40; /* Slightly darker "background wings" for desktop */
  }

  /* 2. Header Adjustment */
  .header-inner {
    padding: 0 40px;
  }

  /* 3. Hero Section Split (Text Left, Signup Right) */
  .hero {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 60px;
    padding: 80px 40px;
  }

  .hero h1 {
    font-size: 52px;
    text-align: left;
    flex: 1;
    margin-bottom: 0;
  }

  .hero .signup-card {
    flex: 0 0 400px; /* Fixed width for the form on desktop */
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
  }

  .logo-wrap {
    justify-content: flex-start;
  }

  /* 4. Multi-Column Content Sections */
  .info-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for info boxes */
    gap: 25px;
  }

  .info-box {
    height: 100%;
    transition: transform 0.3s ease;
  }

  .info-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
  }

  /* 5. Balanced Content Sections (Text & Image side-by-side) */
  .section.content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 40px;
  }

  /* Alternating layout: Image left, then Image right */
  .section.content:nth-of-type(even) {
    flex-direction: row-reverse;
  }

  .section.content > div, 
  .section.content > p,
  .section.content > .phone-mockup {
    flex: 1;
  }

  .content h2 {
    text-align: left;
    font-size: 42px;
  }

  .lead-text {
    text-align: left;
    margin-left: 0;
    max-width: 100%;
  }

  /* 6. Footer Layout */
  .footer-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns for footer links */
    text-align: left;
    gap: 40px;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-brand p {
    margin: 0;
  }

  /* 7. Hide Mobile-specific elements on Desktop */
  .sticky-bottom-cta {
    display: none; /* Desktop users don't need a floating mobile button */
  }

  .menu-toggle {
    display: none; /* Hide hamburger on desktop if you have a wide menu */
  }
}

/* 8. Extra Large Screens */
@media (min-width: 1440px) {
  .page {
    max-width: 1320px;
  }
}
