/* OzoneWash · sections: hero, comparison, how-it-works, coverage, certificate, AMC, trust, FAQ, capture */

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(7rem, 6rem + 5vw, 10rem) var(--pad-x) clamp(3rem, 2.5rem + 3vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 85%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 45% at 25% 25%, rgba(45, 212, 191, 0.16), transparent 70%),
    radial-gradient(30% 40% at 78% 15%, rgba(45, 212, 191, 0.08), transparent 70%);
  filter: blur(10px);
}
.hero-inner { max-width: 74rem; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .patent-badge { margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 4.5vw, 4.6rem); }
.hero-sub { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--muted); max-width: 46ch; margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero-proof { font-size: 0.85rem; color: var(--muted); }

/* certificate card visual */
.cert-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 1.6rem; box-shadow: 0 24px 70px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
}
.cert-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: linear-gradient(160deg, rgba(45,212,191,0.35), transparent 40%, transparent 70%, rgba(45,212,191,0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.cert-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.cert-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.cert-live { font-size: 0.7rem; color: var(--success); display: flex; align-items: center; gap: 5px; }
.cert-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: pulse-dot 1.6s ease infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.cert-name { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 0.3rem; }
.cert-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }
.cert-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 1.2rem; }
.cert-stat { background: var(--surface-elevated); padding: 0.9rem 0.7rem; text-align: center; }
.cert-stat-n { font-family: var(--serif); font-size: 1.5rem; color: var(--primary); }
.cert-stat-l { font-size: 0.68rem; color: var(--muted); margin-top: 0.2rem; }
.cert-qr {
  display: flex; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.cert-qr-box {
  width: 56px; height: 56px; border-radius: 10px; background: var(--surface-elevated);
  border: 1px solid var(--border); display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0;
}
.cert-qr-text { font-size: 0.78rem; color: var(--muted); }
.cert-qr-text strong { color: var(--foreground); display: block; margin-bottom: 0.15rem; }

@media (max-width: 1023px) { .hero-inner { grid-template-columns: 1fr; } }

/* ---------- comparison (the old way vs ozone way) ---------- */
.compare-section { padding: var(--space-section) var(--pad-x); background: var(--surface); border-block: 1px solid var(--border); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 3rem; }
.compare-card { border-radius: 20px; padding: 1.8rem; border: 1px solid var(--border); }
.compare-old { background: rgba(248, 113, 113, 0.04); }
.compare-new { background: rgba(45, 212, 191, 0.06); border-color: rgba(45, 212, 191, 0.25); }
.compare-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.compare-old .compare-tag { color: var(--danger); }
.compare-new .compare-tag { color: var(--primary); }
.compare-list { display: flex; flex-direction: column; gap: 0.8rem; }
.compare-list li { font-size: 0.94rem; color: var(--muted); padding-left: 1.4rem; position: relative; }
.compare-old .compare-list li::before { content: "\2715"; position: absolute; left: 0; color: var(--danger); font-size: 0.8rem; }
.compare-new .compare-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--primary); font-size: 0.8rem; }
.compare-new .compare-list li { color: var(--foreground); }

@media (max-width: 767px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.8rem; transition: transform 300ms var(--ease), border-color 300ms; }
.step:hover { transform: translateY(-4px); border-color: rgba(45, 212, 191, 0.3); }
.step-num {
  display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.35); color: var(--primary); font-family: var(--serif); font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.94rem; margin: 0; }

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

/* ---------- coverage bento ---------- */
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.coverage-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.4rem; text-align: center; transition: border-color 300ms, transform 300ms var(--ease);
}
.coverage-card:hover { border-color: rgba(45, 212, 191, 0.3); transform: translateY(-3px); }
.coverage-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.coverage-card h3 { font-size: 0.98rem; font-family: var(--sans); font-weight: 600; margin-bottom: 0.3rem; }
.coverage-card p { font-size: 0.82rem; color: var(--muted); margin: 0; }

@media (max-width: 900px) { .coverage-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .coverage-grid { grid-template-columns: 1fr; } }

/* ---------- AMC / plans ---------- */
.amc-section { padding: var(--space-section) var(--pad-x); background: var(--surface); border-block: 1px solid var(--border); }
.amc-card {
  max-width: 40rem; margin: 3rem auto 0; background: var(--surface-elevated);
  border: 1px solid rgba(45, 212, 191, 0.25); border-radius: 22px; padding: clamp(1.8rem, 3vw, 2.6rem);
  text-align: center;
}
.amc-badge { display: inline-block; margin-bottom: 1rem; }
.amc-card h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.amc-card p { color: var(--muted); margin-bottom: 1.6rem; }
.amc-list { display: flex; flex-direction: column; gap: 0.7rem; text-align: left; max-width: 26rem; margin: 0 auto 1.8rem; }
.amc-list li { font-size: 0.94rem; color: var(--foreground); padding-left: 1.5rem; position: relative; }
.amc-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--primary); }
.amc-note { font-size: 0.82rem; color: var(--muted); margin-top: 1.2rem; }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 3rem; }
.trust-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; transition: border-color 300ms; }
.trust-card:hover { border-color: rgba(45, 212, 191, 0.3); }
.trust-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.trust-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }

@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 44rem; }
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.15rem 2.2rem 1.15rem 0.2rem; font-weight: 600; font-size: 1rem; position: relative; transition: color 200ms; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
  font: 400 1.5rem var(--serif); color: var(--primary); transition: transform 300ms var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list summary:hover { color: var(--primary); }
.faq-list details p { padding: 0 2.2rem 1.3rem 0.2rem; margin: 0; color: var(--muted); }

/* ---------- capture ---------- */
.capture-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.lead-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.45rem; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface-elevated); border: 1px solid var(--border); border-radius: 10px;
  color: var(--foreground); font: inherit; padding: 0.8rem 0.95rem; transition: border-color 200ms;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(138, 143, 168, 0.6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field select:invalid { color: rgba(138, 143, 168, 0.6); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-note { color: var(--muted); font-size: 0.82rem; margin: 0.9rem 0 0; }
.form-status { margin: 0.6rem 0 0; font-size: 0.9rem; font-weight: 600; color: var(--primary); min-height: 1.3em; }
.lead-form.sent .field, .lead-form.sent button, .lead-form.sent .form-note { display: none; }
.lead-form.sent { text-align: center; padding: 3rem 2rem; }
.lead-form.sent .form-status { font-family: var(--serif); font-size: 1.4rem; }

@media (max-width: 1023px) { .capture-split { grid-template-columns: 1fr; } }

/* ---------- dark-luxe cta band (already dark bg, so a lighter inset band) ---------- */
.cta-band {
  background: var(--surface-elevated); padding: clamp(4rem, 3rem + 4vw, 6.5rem) var(--pad-x);
  text-align: center; border-block: 1px solid var(--border);
}
.cta-band h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--muted); max-width: 42ch; margin: 0 auto 1.8rem; }
.cta-band .cta-row { justify-content: center; margin-bottom: 0; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: block; position: fixed; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; z-index: 90;
    opacity: 0; transform: translateY(80px); transition: opacity 400ms var(--ease), transform 400ms var(--ease);
    pointer-events: none;
  }
  .sticky-cta.show { opacity: 1; transform: none; pointer-events: auto; }
}
