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

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

html { scroll-behavior: smooth; }

body {
  color: #0f172a;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.navbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0d9488, #0891b2);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  display: grid;
  place-items: center;
}

.logo-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.navbar-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

.navbar-links a:hover { color: #0f172a; }

.navbar-cta {
  padding: 8px 18px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.navbar-cta:hover { background: #1e293b; }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 160px 24px 100px;
  text-align: center;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 60%);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.15);
  color: #0d9488;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #0d9488, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: #64748b;
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d9488, #0891b2);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hero-stat { text-align: center; }

.hero-stat-value {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
}

/* ════════════════════════════════════════
   SECTIONS COMMON
   ════════════════════════════════════════ */

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 48px;
}

/* ════════════════════════════════════════
   STEPS
   ════════════════════════════════════════ */

.steps-section {
  padding: 100px 0;
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  padding: 36px 28px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: all 0.3s;
  position: relative;
}

.step-card:hover {
  border-color: #0d9488;
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.1);
  transform: translateY(-4px);
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f1f5f9;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card:hover .step-number { color: #ccfbf1; }

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f0fdfa;
  color: #0d9488;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* ════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════ */

.features-section {
  padding: 100px 0;
  background: #f8fafc;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.feature-card-large {
  grid-column: span 1;
  grid-row: span 2;
  background: #0f172a;
  color: #f1f5f9;
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 32px;
}

.feature-card-large:hover {
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.3);
}

.feature-card-large .feature-card-icon { background: rgba(13, 148, 136, 0.2); color: #2dd4bf; }
.feature-card-large h3 { color: #fff; }
.feature-card-large p { color: #94a3b8; }

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0fdfa;
  color: #0d9488;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* ════════════════════════════════════════
   PRICING
   ════════════════════════════════════════ */

.pricing-section {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}

.section-sub {
  font-size: 15px;
  color: #94a3b8;
  margin-top: -36px;
  margin-bottom: 40px;
}

/* Reuse .meta-card styling for dynamically generated cards */
.meta-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.meta-card .label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.meta-card strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pricing-plans {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-plans-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.pricing-plans-head h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-plans-meta { font-size: 13px; color: #94a3b8; }

.plans-stack {
  display: grid;
  gap: 12px;
}

.plans-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}

.plan-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: all 0.2s;
}

.plan-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.plan-card.recommended.match {
  border-color: #0d9488;
  background: #f0fdfa;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
}

.plan-card.recommended.warn {
  border-color: #f59e0b;
  background: #fffbeb;
}

.plan-card .label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.plan-card strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.plan-cta {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.plan-cta:hover { background: #1e293b; }

.btn.primary { /* keep for dynamically generated plan CTAs */
  background: linear-gradient(135deg, #0d9488, #0891b2);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn.primary:hover { box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25); }

.pricing-recommended h4 {
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 12px;
}

.quote-notes p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 8px;
}

.muted { color: #64748b; }
.small { font-size: 13px; }

/* ════════════════════════════════════════
   INSTALL GUIDE
   ════════════════════════════════════════ */

.install-section {
  padding: 100px 0;
  background: #f8fafc;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.install-step {
  padding: 32px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.install-step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d9488, #0891b2);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
}

.install-step h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}

.install-step p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.install-note {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* ════════════════════════════════════════
   RELEASE NOTES
   ════════════════════════════════════════ */

.release-section {
  padding: 80px 0;
  background: #fff;
}

.release-card {
  padding: 40px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.release-head {
  margin-bottom: 20px;
}

.release-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 4px;
}

.release-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 6px;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */

.footer {
  padding: 56px 0 28px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14px;
  color: #475569;
  transition: color 0.15s ease;
  line-height: 1.5;
}

.footer-col a:hover { color: #0891b2; }

.footer-col-brand {
  padding-right: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.footer-brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.footer-tagline {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  max-width: 280px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: #94a3b8;
}

.footer-meta::before {
  content: "· ";
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-col-brand { grid-column: 1 / -1; padding-right: 0; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .footer-meta::before { content: ""; }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

@media (max-width: 900px) {
  .steps-grid,
  .features-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-column: auto;
    grid-row: auto;
  }

  .navbar-links { display: none; }

  .hero { padding: 130px 24px 80px; }

  .hero h1 { font-size: clamp(34px, 8vw, 52px); }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
  }

  .hero-stat-divider {
    width: 100%;
    height: 1px;
  }

  .calc-fields { grid-template-columns: 1fr; }
  .calc-summary { grid-template-columns: 1fr; }
}
