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

:root {
  --navy: #0a1628;
  --blue: #1a3a5c;
  --accent: #f5a623;
  --light: #f0f4f8;
  --white: #ffffff;
  --text: #2d3748;
  --text-light: #718096;
  --max-width: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(8px);
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--light); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  max-width: 700px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--navy); }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* SECTIONS */
section { padding: 4rem 1.5rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.bg-light { background: var(--light); }
.bg-dark { background: var(--navy); color: var(--white); }
.bg-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature p { color: var(--text-light); font-size: 0.95rem; }

/* PRODUCTS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-4px); }
.product-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; flex-shrink: 0; }
.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.product-info p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.product-info .price-table { margin-top: auto; margin-bottom: 0; }
.product-info > a[class*="btn"] { flex-shrink: 0; }
.product-price { font-size: 1.3rem; font-weight: 800; color: var(--accent); margin-bottom: 1rem; }
.product-price small { font-size: 0.8rem; font-weight: 400; color: var(--text-light); }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: 0.85rem; }
.price-table td { padding: 0.35rem 0; border-bottom: 1px solid #edf2f7; }
.price-table td:last-child { text-align: right; font-weight: 600; }

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* HURRICANE BADGE */
.hurricane-banner {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}
.hurricane-banner h2 { font-size: clamp(1.3rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.hurricane-banner h2 span { color: var(--accent); }
.hurricane-banner p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }

/* CTA */
.cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--accent);
  color: var(--navy);
}
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.cta .btn { background: var(--navy); color: var(--white); }

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
footer a { color: var(--accent); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-links { list-style: none; display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--white); }

/* INSTALL PAGE */
.install-section { max-width: 800px; margin: 0 auto; }
.install-section h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; color: var(--blue); }
.install-section p, .install-section li { margin-bottom: 0.75rem; }
.install-section ul, .install-section ol { padding-left: 1.5rem; }
.install-section .tip {
  background: #fef9e7;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}
.install-img {
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* CONTACT */
.contact-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-info a { font-size: 1.1rem; }
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-method {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
}
.contact-method h3 { margin-bottom: 0.5rem; }

/* MOBILE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.5rem 0; display: block; }
  .nav-toggle { display: block; }
  .hero { min-height: 80vh; }
  section { padding: 3rem 1rem; }
}
