/* OwaisTheDev — high-contrast theme: near-black, pure white, electric yellow. */

:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --line: #34343a;
  --text: #ffffff;
  --muted: #cfcfd6;
  --accent: #ffe600;
  --accent-ink: #0a0a0b;
  --danger: #ff6b6b;
  --ok: #3cff9e;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--text); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.hl { color: var(--accent); }
.strike { text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: var(--accent); color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 100; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  color: var(--text); text-decoration: none; letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.logo::after { content: "_"; color: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--line); color: var(--text);
  border-radius: var(--radius-sm); padding: 6px 10px; font: inherit; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 24px; border-radius: var(--radius-sm);
  border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink);
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); color: var(--accent-ink); background: #fff35c; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn-sm { padding: 9px 16px; font-size: 0.93rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: wait; transform: none; }

/* ---------- Hero (form must be visible without scrolling) ---------- */
.hero {
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  display: flex; align-items: center;
  padding: 36px 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 230, 0, 0.12), transparent 45%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 36ch; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.hero-points li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
  background: var(--accent); color: var(--accent-ink); margin-top: 2px;
}

/* ---------- Lead form card ---------- */
.form-card {
  background: var(--text); color: var(--accent-ink);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: 10px 10px 0 var(--accent);
}
.form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card .sub { color: #3a3a40; font-size: 0.97rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 5px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 2px solid #0a0a0b; background: #fff; color: #0a0a0b;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: #0a0a0b; box-shadow: 0 0 0 3px var(--accent); }
.field input[aria-invalid="true"] { border-color: #c40000; }
.field .err { color: #c40000; font-size: 0.85rem; font-weight: 600; margin-top: 4px; min-height: 0; }
.form-card .btn { border-color: #0a0a0b; background: #0a0a0b; color: var(--accent); margin-top: 4px; }
.form-card .btn:hover { background: #222; color: var(--accent); }
.form-note { font-size: 0.82rem; color: #3a3a40; margin: 12px 0 0; text-align: center; }
.form-status { font-weight: 600; font-size: 0.92rem; margin-top: 10px; }
.form-status.error { color: #c40000; }
.form-status.success { color: #006b36; }

/* Dark variant of the form (contact page) */
.form-dark .field label { color: var(--text); }
.form-dark .field input, .form-dark .field textarea {
  background: var(--surface); color: var(--text); border-color: var(--line);
}
.form-dark .field input:focus, .form-dark .field textarea:focus { border-color: var(--accent); box-shadow: none; }
.form-dark .field .err, .form-dark .form-status.error { color: var(--danger); }
.form-dark .form-status.success { color: var(--ok); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-accent { background: var(--accent); color: var(--accent-ink); }
.section-accent .muted { color: #26262a; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.kicker {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; display: block;
}
.section-accent .kicker { color: var(--accent-ink); }
.muted { color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Video sales letter ---------- */
.vsl { padding-top: 24px; }
.vsl .section-head { margin-bottom: 32px; }
.video-frame {
  max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

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

.card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card p { color: var(--muted); margin: 0; }
.card .icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 16px;
}

/* Pain stats */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.stat { border-left: 4px solid var(--accent); padding: 4px 0 4px 20px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: 8px; }
.stat span { color: var(--muted); }

/* Hidden automations list */
.task-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; list-style: none; padding: 0; margin: 0; }
.task-list li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.task-list li b { font-weight: 600; }
.task-list li em { font-style: normal; color: var(--accent); font-family: var(--font-head); font-weight: 700; white-space: nowrap; }

.quote {
  margin: 48px 0 0; padding: 28px 32px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.4;
}
.quote cite { display: block; font-style: normal; font-size: 0.95rem; font-weight: 500; margin-top: 12px; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-head); font-weight: 700;
  font-size: 2.4rem; color: var(--accent); line-height: 1;
}
.step p { color: var(--muted); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.calc label { font-family: var(--font-head); font-weight: 600; display: block; margin-bottom: 14px; font-size: 1.1rem; }
.calc input[type="range"] { width: 100%; accent-color: var(--accent-ink); height: 30px; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-out div { background: var(--accent-ink); color: var(--text); border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.calc-out strong { display: block; font-family: var(--font-head); font-size: 2.1rem; color: var(--accent); line-height: 1.1; }
.calc-out span { font-size: 0.88rem; color: var(--muted); }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: stretch; }
.price-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; }
.price-card.featured { border: 3px solid var(--accent); position: relative; }
.price-card .tag {
  position: absolute; top: -15px; left: 32px; background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 5px 12px; border-radius: 999px;
}
.price { font-family: var(--font-head); font-size: 3.6rem; font-weight: 700; line-height: 1; margin: 10px 0 6px; }
.price-quote { font-size: clamp(2.2rem, 4vw, 2.8rem); }
.price small { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; }
.price-card li { display: flex; gap: 10px; }
.price-card li::before { content: "→"; color: var(--accent); font-weight: 700; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  list-style: none; display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band .btn { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.cta-band .btn:hover { background: #222; color: var(--accent); }

/* ---------- Inner page header ---------- */
.page-hero { padding: 80px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.photo-slot {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2); border: 3px dashed var(--accent);
  box-shadow: 12px 12px 0 var(--accent);
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; position: relative; z-index: 1; }
.photo-slot:has(img) { border-style: solid; }
/* Photo with a yellow backdrop: white frame + hollow offset outline, so the yellow doesn't bleed into the frame */
.photo-slot.on-yellow {
  border: 4px solid var(--text);
  box-shadow: 14px 14px 0 -4px var(--surface), 14px 14px 0 0 var(--text);
}
.photo-slot .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 24px; color: var(--muted); font-family: var(--font-head);
}
.photo-slot .placeholder b { display: block; color: var(--accent); font-size: 3rem; margin-bottom: 8px; }
.about-small .photo-slot { max-width: 340px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.facts div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.facts strong { display: block; font-family: var(--font-head); color: var(--accent); font-size: 1.8rem; line-height: 1.1; }
.facts span { color: var(--muted); font-size: 0.92rem; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.tools li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.92rem; font-weight: 500; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.contact-info .card + .card { margin-top: 18px; }
.contact-info h3 { margin-bottom: 6px; }

/* Schedule */
.schedule-wrap { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 40px; align-items: start; }
.calendar-frame {
  background: var(--text); border-radius: var(--radius); overflow: hidden; min-height: 700px;
  box-shadow: 10px 10px 0 var(--accent);
}
.calendar-frame .calendar-iframe { width: 100%; height: 880px; border: 0; display: block; }
.cal-inline { width: 100%; min-height: 700px; overflow: auto; }
@media (max-width: 900px) { .calendar-frame .calendar-iframe { height: 1050px; } }
.calendar-empty { color: var(--accent-ink); padding: 48px 36px; text-align: center; display: grid; place-content: center; min-height: 700px; }
.calendar-empty h3 { font-size: 1.6rem; }
.calendar-empty p { color: #3a3a40; max-width: 42ch; margin: 0 auto 1em; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; color: var(--muted); }
.checklist li b { color: var(--text); display: block; }
.checklist li::before {
  content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
  background: var(--accent); color: var(--accent-ink);
}
.banner { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 600; margin-bottom: 24px; }
.page-hero .banner { color: var(--accent-ink); display: inline-block; margin: 20px 0 16px; }
.page-hero .banner[hidden] { display: none; }

/* Legal */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: var(--muted); }

/* Resources */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.resource-card { display: flex; flex-direction: column; gap: 12px; }
.resource-card h3 { margin: 0; }
.resource-card h3 a { color: var(--text); text-decoration: none; }
.resource-card h3 a:hover { color: var(--accent); }
.resource-card p { flex: 1; }
.resource-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--muted); }
.resource-tag { background: var(--accent); color: var(--accent-ink); font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.resource-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.page-hero .resource-actions { margin-top: 24px; }
.resource-more { margin-top: 32px; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.back-link:hover { color: var(--accent); }
.prose ol, .prose ul:not(.tools) { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose li b, .prose li em { color: var(--text); }
.prose code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.9em; color: var(--text); word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Mobile: headline, then the form immediately — supporting points move below it. */
  .hero { min-height: 0; padding: 24px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { display: contents; }
  .hero-copy .intro { order: 1; }
  .form-card { order: 2; box-shadow: 6px 6px 0 var(--accent); padding: 22px 20px; }
  .hero-points { order: 3; margin-top: 8px; }
  .hero .lead { font-size: 1.05rem; margin-bottom: 0; }
  h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .eyebrow { margin-bottom: 12px; font-size: 0.75rem; }
  .form-card h2 { font-size: 1.35rem; margin-bottom: 12px; }
  .form-card .sub { display: none; }
  .hero-grid { gap: 18px; }
  .hero .lead { font-size: 1rem; line-height: 1.5; }
  .hero h1 { margin-bottom: 0.35em; }
  .field label { margin-bottom: 3px; }
  .field { margin-bottom: 10px; }
  .field input { padding: 10px 12px; }

  section { padding: 64px 0; }
  .stat-row, .grid-2, .pricing, .calc, .about-grid, .contact-grid, .schedule-wrap { grid-template-columns: 1fr; }
  .task-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; width: 100%; }
}

@media (max-width: 560px) {
  .grid-3, .steps, .facts { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo::after { animation: none; }
  .btn { transition: none; }
}
.anchor { display: block; height: 0; }
