/* Site Design System: Serene Minimalist Air Purity Showcase */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F0F7FF;
  --bg-tertiary: #E0F2FE;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --accent-cyan: #0EA5E9;
  --accent-sky: #0284C7;
  --accent-navy: #0F172A;
  --accent-border: #BAE6FD;
  --card-bg: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(14, 165, 233, 0.08);
  --shadow-md: 0 8px 24px rgba(14, 165, 233, 0.12);
  --shadow-lg: 0 16px 32px rgba(15, 23, 42, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Header & Glassmorphic Navigation */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-navy);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-sky);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-sky));
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

/* Base Layout & Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-block;
  background: var(--bg-tertiary);
  color: var(--accent-sky);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* HERO SECTION - Exact Mobile/Desktop Layout Order */
.hero-section {
  padding: 3rem 0 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  display: inline-block;
  background: #E0F2FE;
  color: var(--accent-sky);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.hero-h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1rem;
}

.bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--accent-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-offer-badge {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #B45309;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Primary CTA Button */
.btn-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  color: #FFFFFF;
  text-decoration: none;
  padding: 1.15rem 2.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.35);
  transition: all 0.25s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.45);
}

.btn-cta-label {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.btn-cta-subtext {
  font-size: 0.825rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 0.2rem;
}

/* Compact Proof Bar */
.hero-proof-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E2E8F0;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.proof-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-sky);
  flex-shrink: 0;
}

.hero-visual-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-tertiary);
}

.hero-visual-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Mobile visual DOM order helper */
.mobile-hero-visual {
  display: none;
}

/* Grid & Card Component Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* Visual Container Framing */
.visual-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--accent-border);
  background: #FFFFFF;
}

.visual-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Step Card Workflow */
.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--accent-border);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-sky));
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

/* Pricing Grid & Offer Wrappers */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.offer-card {
  background: #FFFFFF;
  border: 2px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.offer-card.best-value {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
}

.badge-pop {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-sky));
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pack-img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin: 0.5rem 0 1rem 0;
}

.pack-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-navy);
  text-align: center;
}

.pack-target {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.price-box {
  text-align: center;
  margin-bottom: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.unit-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-navy);
  line-height: 1;
}

.unit-price-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.price-details {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.price-row.save {
  color: #059669;
  font-weight: 700;
}

.offer-btn {
  margin-top: auto;
  width: 100%;
}

/* FAQ Accordion Grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer & Legal */
.site-footer {
  background: var(--accent-navy);
  color: #94A3B8;
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.825rem;
  line-height: 1.5;
  color: #CBD5E1;
}

.copyright-bar {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* Subpage Template Standard Styles */
.subpage-header {
  padding: 4rem 0 2rem 0;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--accent-border);
}

.subpage-content {
  padding: 4rem 0;
  max-width: 840px;
  margin: 0 auto;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
}

.prose h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-navy);
  margin: 2.25rem 0 1rem 0;
}

.prose p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.prose ul {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Mobile Hero Binding Order: H1 intro -> Hero Visual -> Primary CTA -> Trust Proof */
  .desktop-hero-visual {
    display: none;
  }
  
  .mobile-hero-visual {
    display: block;
    margin: 1.5rem 0;
  }

  .grid-2, .grid-3, .faq-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .nav-links {
    display: none;
  }
}
