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

:root {
  --color-cobalt: #033093;
  --color-cobalt-dark: #021f61;
  --color-yellow: #FBBF24;
  --color-orange: #E4511E;
  --color-green: #79A86B;
  --color-offwhite: #F7F9FC;
  --color-charcoal: #1D2433;
  --color-white: #FFFFFF;
  --color-border: #E3E8F0;
  --color-muted: #5B6472;
  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-md: 0 12px 30px rgba(3,48,147,0.12);
  --shadow-lg: 0 24px 60px rgba(3,48,147,0.16);
  --container-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); color: var(--color-charcoal);
  background: var(--color-white); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; margin: 0 0 0.4em; color: var(--color-cobalt); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; border: none;
  padding: 15px 28px; border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-orange); color: var(--color-white); box-shadow: 0 10px 24px rgba(228,81,30,0.35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(228,81,30,0.42); }
.btn-secondary { background: var(--color-white); color: var(--color-cobalt); border: 2px solid var(--color-cobalt); padding: 13px 26px; }
.btn-secondary:hover { background: var(--color-cobalt); color: var(--color-white); }
.btn-secondary-inverse { background: transparent; color: var(--color-white); border: 2px solid rgba(255,255,255,0.6); padding: 13px 26px; }
.btn-secondary-inverse:hover { background: rgba(255,255,255,0.15); color: var(--color-white); border-color: var(--color-white); }
.btn-yellow { background: var(--color-yellow); color: var(--color-cobalt-dark); box-shadow: 0 10px 24px rgba(251,191,36,0.35); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--color-cobalt);
  box-shadow: 0 4px 18px rgba(3,48,147,0.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { height: 44px; width: auto; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--color-white); letter-spacing: 0.01em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: rgba(255,255,255,0.85);
  text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--color-yellow); border-color: var(--color-yellow); }
.site-nav a.nav-cta { background: var(--color-orange); color: var(--color-white); padding: 10px 20px; border-radius: 999px; border: none; font-weight: 700; }
.site-nav a.nav-cta:hover { color: var(--color-white); opacity: 0.9; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--color-white); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, var(--color-cobalt) 0%, var(--color-cobalt-dark) 100%);
  padding: 72px 0 88px; color: var(--color-white); position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-yellow); margin-bottom: 14px;
}
.hero h1 { color: var(--color-white); font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 0.3em; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 560px; margin-bottom: 1.1em; }
.hero-body { font-size: 1.02rem; color: rgba(255,255,255,0.78); max-width: 560px; }
.hero-offer {
  margin-top: 28px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg); padding: 22px 26px; backdrop-filter: blur(4px);
}
.hero-offer-tag {
  display: inline-block; background: var(--color-yellow); color: var(--color-cobalt-dark); font-weight: 800;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.hero-offer-price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--color-white); margin-bottom: 4px; }
.hero-offer-note { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,0.12); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-footnote { margin-top: 14px; font-size: 0.85rem; color: rgba(255,255,255,0.68); text-align: center; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 340px; margin: 0 auto; }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--color-offwhite); }
.section.dark { background: var(--color-cobalt); color: var(--color-white); }
.section.dark h2, .section.dark h3 { color: var(--color-white); }
.section.dark p { color: rgba(255,255,255,0.82); }
.section-header { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-tag {
  display: inline-block; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-orange); margin-bottom: 10px;
}
.section.dark .section-tag { color: var(--color-yellow); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.3em; }
.section-subtitle { color: var(--color-muted); font-size: 1.05rem; }
.section.dark .section-subtitle { color: rgba(255,255,255,0.78); }

/* ---------- What We Do ---------- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-layout.reverse .media-panel { order: 2; }
.media-panel { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.media-panel img { width: 100%; height: 100%; object-fit: cover; }
.do-list { list-style: none; margin: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.do-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--color-charcoal); }
.do-list li::before {
  content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--color-green); background-image: linear-gradient(135deg, var(--color-green), #5f8f52);
}
.do-tagline { font-size: 1.3rem; font-weight: 800; font-family: var(--font-display); color: var(--color-cobalt); margin-bottom: 10px; }
.section-copy { max-width: 720px; margin: 0 auto; }

@media (max-width: 900px) {
  .split-layout, .split-layout.reverse { grid-template-columns: 1fr; }
  .split-layout.reverse .media-panel { order: -1; }
  .media-panel { max-width: 420px; margin: 0 auto; }
}

/* ---------- Why cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why-card {
  background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); transition: transform .2s ease;
}
.why-card:hover { transform: translateY(-4px); }
.why-card-media { aspect-ratio: 4/3; overflow: hidden; }
.why-card-media img { width: 100%; height: 100%; object-fit: cover; }
.why-card-body { padding: 20px 22px 24px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--color-muted); font-size: 0.92rem; margin: 0; }

@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step-card { text-align: center; padding: 8px; }
.step-card-media { width: 140px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; }
.step-card-media img { width: 100%; height: 100%; object-fit: cover; }
.step-number {
  width: 52px; height: 52px; border-radius: 50%; background: var(--color-orange); color: var(--color-white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { color: var(--color-muted); font-size: 0.92rem; margin: 0; }

@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }

/* ---------- Why the next morning ---------- */
.next-morning-flow {
  text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  color: var(--color-cobalt); max-width: 720px; margin: 0 auto;
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--color-white); border: 2px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 30px 24px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border-color: var(--color-orange); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--color-orange); color: var(--color-white);
  font-weight: 800; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--color-cobalt); margin-bottom: 6px; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--color-charcoal); }
.price-amount span { font-size: 1rem; font-weight: 600; color: var(--color-muted); }
.price-alt { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 18px; }
.price-details { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.price-details li { font-size: 0.9rem; color: var(--color-charcoal); padding-left: 20px; position: relative; }
.price-details li::before { content: '\2713'; position: absolute; left: 0; color: var(--color-green); font-weight: 700; }
.price-payment-options { display: flex; flex-direction: column; gap: 10px; }
.pricing-note {
  margin-top: 36px; text-align: center; background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.4);
  border-radius: var(--radius-md); padding: 18px 24px; font-weight: 600; color: var(--color-cobalt-dark);
}

@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } .price-card.featured { transform: none; } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { color: var(--color-white); }
.final-cta .btn { margin-top: 8px; }

/* ---------- Manage service placeholder ---------- */
.placeholder-card {
  max-width: 560px; margin: 0 auto; text-align: center; background: var(--color-offwhite); border: 1px dashed var(--color-border);
  border-radius: var(--radius-xl); padding: 46px 34px;
}
.placeholder-card .icon-circle {
  width: 64px; height: 64px; border-radius: 50%; background: var(--color-cobalt); color: var(--color-white); font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}

/* ---------- Hero page (signup / manage-service headers) ---------- */
.hero-page {
  background: linear-gradient(150deg, var(--color-cobalt) 0%, var(--color-cobalt-dark) 100%);
  color: var(--color-white); padding: 64px 0 48px; text-align: center;
}
.hero-page .eyebrow { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-yellow); }
.hero-page h1 { color: var(--color-white); font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 0.3em; }
.hero-page p { color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-charcoal); color: rgba(255,255,255,0.8); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 12px; }
.footer-brand-mark .brand-icon { height: 40px; }
.footer-brand-mark .brand-text { color: var(--color-white); }
.footer-brand p { color: rgba(255,255,255,0.62); font-size: 0.92rem; max-width: 320px; }
.footer-title { color: var(--color-white); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact span { color: rgba(255,255,255,0.68); font-size: 0.92rem; text-decoration: none; }
.footer-links a:hover { color: var(--color-yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ---------- Reveal on scroll ---------- */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0; transition: opacity .7s ease, transform .7s ease;
}
.reveal-up { transform: translateY(26px); }
.reveal-left { transform: translateX(-26px); }
.reveal-right { transform: translateX(26px); }
.reveal-scale { transform: scale(0.94); }
.in-view { opacity: 1; transform: none; }

/* ---------- Mobile (baked in from the start) ---------- */
@media (max-width: 900px) {
  .site-nav { position: fixed; inset: 68px 0 auto 0; background: var(--color-cobalt); flex-direction: column; align-items: stretch;
    padding: 10px 24px 24px; gap: 4px; box-shadow: 0 12px 24px rgba(0,0,0,0.18); transform: translateY(-12px); opacity: 0;
    pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .site-header.nav-open .site-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .site-nav a.nav-cta { margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand-mark { justify-content: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-links, .footer-contact { align-items: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }
  .hero { padding: 48px 0 56px; }
  .hero-actions { justify-content: center; }
  .hero-offer { text-align: center; }
  .why-grid, .steps-grid, .pricing-grid { gap: 20px; }
}
