/* ═══════════════════════════════════════════════════════════
   SPRAY MATE — Page Styles
   Requires: main.css (variables, reset, base), nav.css
═══════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────── */
.sm-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.sm-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sm-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}
.sm-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.55) 100%);
}
.sm-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 100px;
}
.sm-badge {
  display: inline-block;
  background: rgba(14,165,233,.2);
  border: 1px solid rgba(14,165,233,.4);
  color: var(--sky-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.sm-hero-content h1.display {
  font-size: clamp(52px, 9vw, 100px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.0;
}
.sm-sub {
  font-size: 20px;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 500px;
  font-weight: 300;
  font-family: var(--font-body);
}
.sm-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Intro grid ──────────────────────────────────────────── */
.sm-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.sm-intro-grid > div > p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}
.sm-intro-grid > div > p strong {
  color: var(--navy);
  font-weight: 600;
}

/* Checklist */
.sm-checklist {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sm-check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sm-ico {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.sm-check-item > div > strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.sm-check-item > div > p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.65;
  margin: 0;
  font-weight: 300;
}
.sm-check-item em {
  color: var(--sky);
  font-style: normal;
  font-weight: 600;
}

/* ── Photo break ─────────────────────────────────────────── */
.sm-photo-break {
  position: relative;
  height: 460px;
  overflow: hidden;
}
.sm-photo-break > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  z-index: 0;
}
.sm-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15,23,42,.88) 0%, rgba(15,23,42,.25) 100%);
  display: flex;
  align-items: center;
}
.sm-overlay-text {
  max-width: 560px;
  padding: 0 0 0 0;
}
.sm-overlay-text h2.display {
  color: var(--white);
  font-size: clamp(30px, 5vw, 52px);
  margin-bottom: 18px;
  line-height: 1.1;
}
.sm-overlay-text p {
  color: rgba(255,255,255,.72);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  font-family: var(--font-body);
}

/* ── Algorithm cards ─────────────────────────────────────── */
.sm-algo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sm-algo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.sm-algo-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.sm-algo-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--sky);
  opacity: .25;
  line-height: 1;
  margin-bottom: 12px;
}
.sm-algo-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.sm-algo-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 300;
  font-family: var(--font-body);
}

/* ── Conditions grid ─────────────────────────────────────── */
.sm-conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sm-cond {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.sm-cond-ico {
  font-size: 32px;
  margin-bottom: 14px;
  line-height: 1;
}
.sm-cond h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.sm-cond p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 300;
  font-family: var(--font-body);
}

/* ── Paid features grid ──────────────────────────────────── */
.sm-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sm-feat-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: box-shadow .2s, transform .2s;
}
.sm-feat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.sm-feat-card--full {
  grid-column: 1 / -1;
}
.sm-feat-ico {
  font-size: 30px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.sm-feat-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.sm-feat-body p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 300;
  font-family: var(--font-body);
  margin: 0;
}

/* ── Pricing section ─────────────────────────────────────── */
.sm-pricing-section {
  background: var(--navy);
}
.sm-pricing-section .section-header .section-title {
  color: var(--white);
}
.sm-pricing-section .section-header .section-sub {
  color: rgba(255,255,255,.6);
}
.sm-pricing-section .section-header .eyebrow {
  color: var(--sky-light);
}

.sm-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
}
.sm-plan {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.sm-plan-featured {
  border-color: var(--sky);
  background: rgba(14,165,233,.1);
}
.sm-plan-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sky);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 18px;
  border-radius: 99px;
  white-space: nowrap;
  font-family: var(--font-body);
}
.sm-plan-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
}
.sm-plan-price {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.sm-plan-price sup {
  font-size: 24px;
  vertical-align: top;
  margin-top: 12px;
  display: inline-block;
}
.sm-plan-price sub {
  font-size: 18px;
  color: rgba(255,255,255,.5);
  font-weight: 400;
}
.sm-plan-alt {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.sm-plan-desc {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin-bottom: 22px;
  font-weight: 300;
  font-family: var(--font-body);
}
.sm-plan-feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sm-plan-feats li {
  font-size: 14px;
  font-family: var(--font-body);
  color: rgba(255,255,255,.75);
  line-height: 1.4;
}
.sm-plan-feats li.unavail {
  color: rgba(255,255,255,.28);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1060px) {
  .sm-algo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .sm-intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sm-conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sm-features-grid {
    grid-template-columns: 1fr;
  }
  .sm-feat-card--full {
    grid-column: 1;
  }
  .sm-photo-break {
    height: 380px;
  }
  .sm-plans {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}
@media (max-width: 640px) {
  .sm-algo-grid {
    grid-template-columns: 1fr;
  }
  .sm-conditions-grid {
    grid-template-columns: 1fr;
  }
  .sm-hero-content h1.display {
    font-size: 52px;
  }
  .sm-actions {
    flex-direction: column;
  }
  .sm-plans {
    max-width: 100%;
  }
}