/* AutoDebugger marketing site — base styles
 * Dark-tech aesthetic, blue accent. Token values match WinDesktopAppOnCloud/NewDesign.
 */

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: #0a0b0e;
  color: oklch(0.96 0.005 250);
  font-family: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" on, "cv11" on;
  line-height: 1.55;
  min-height: 100vh;
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Subtle radial backdrop, similar to the WDAC console but stretched for full-page scroll. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 1100px 700px at 20% -10%, oklch(0.24 0.04 250 / 0.55), transparent 60%),
    radial-gradient(ellipse 900px 600px at 100% 20%, oklch(0.22 0.05 295 / 0.30), transparent 65%);
}

/* Scrollbar */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: oklch(0.30 0.02 250); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: oklch(0.40 0.02 250); }

/* Typography */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; color: oklch(0.97 0.005 250); }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
h3 { font-size: 18px; line-height: 1.3; }
p  { margin: 0; color: oklch(0.78 0.012 250); }
.mono, code, pre { font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; }

/* Layout primitives */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
  z-index: 1;
}

.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.72 0.16 240);
  padding: 6px 12px;
  background: oklch(0.72 0.16 240 / 0.10);
  border: 1px solid oklch(0.72 0.16 240 / 0.35);
  border-radius: 999px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(36px, 5vw, 56px);
  max-width: 720px;
}

.section-title .label {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.55 0.02 250);
}

.section-title p { font-size: 17px; color: oklch(0.76 0.012 250); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: oklch(0.72 0.16 240);
  color: oklch(0.10 0.02 250);
  font-weight: 600;
  box-shadow: 0 8px 28px oklch(0.72 0.16 240 / 0.35), inset 0 1px 0 oklch(0.92 0.05 240 / 0.4);
}
.btn--primary:hover { transform: translateY(-1px); background: oklch(0.78 0.16 240); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: oklch(0.92 0.005 250);
  border-color: oklch(0.30 0.02 250);
}
.btn--ghost:hover { border-color: oklch(0.72 0.16 240 / 0.6); color: oklch(0.97 0.005 250); }

.btn--large { padding: 16px 28px; font-size: 15px; }

/* Panels & cards */
.panel {
  background: oklch(0.20 0.020 250 / 0.7);
  border: 1px solid oklch(0.28 0.025 250 / 0.7);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card {
  background: oklch(0.20 0.020 250 / 0.5);
  border: 1px solid oklch(0.28 0.025 250 / 0.5);
  border-radius: 12px;
  padding: 24px;
  transition: border-color .2s ease, transform .2s ease, background .25s ease;
}
.card:hover {
  border-color: oklch(0.72 0.16 240 / 0.45);
  background: oklch(0.22 0.022 250 / 0.6);
}

/* Header / nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.10 0.015 250 / 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(0.22 0.02 250 / 0.7);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 48px);
  max-width: 1240px;
  margin: 0 auto;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: oklch(0.97 0.005 250);
  text-decoration: none;
}
.nav__brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav__brand span.sub {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: oklch(0.55 0.02 250);
  text-transform: uppercase;
  margin-left: 4px;
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav__links a {
  color: oklch(0.78 0.012 250);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: oklch(0.97 0.005 250); background: oklch(0.22 0.02 250 / 0.6); }

/* Hero */
.hero {
  padding: clamp(80px, 12vw, 140px) 0 clamp(48px, 8vw, 96px);
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  max-width: 980px;
}
.hero h1 {
  background: linear-gradient(180deg, oklch(0.99 0.005 250) 0%, oklch(0.80 0.04 250) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: -8px;
}
.hero .subhead {
  font-size: clamp(20px, 2.4vw, 26px);
  color: oklch(0.88 0.015 250);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero .lede {
  font-size: 17px;
  color: oklch(0.74 0.012 250);
  max-width: 64ch;
  line-height: 1.6;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero__remaining {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: oklch(0.20 0.02 250 / 0.6);
  border: 1px solid oklch(0.28 0.025 250 / 0.6);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  color: oklch(0.78 0.012 250);
  max-width: max-content;
}
.hero__remaining .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: oklch(0.78 0.17 155);
  box-shadow: 0 0 12px oklch(0.78 0.17 155);
  animation: pulse 1.6s ease-in-out infinite;
}
.hero__remaining.full .dot { background: oklch(0.80 0.17 75); box-shadow: 0 0 12px oklch(0.80 0.17 75); }
.hero__remaining strong { color: oklch(0.97 0.005 250); font-weight: 600; }
.hero__remaining .bar {
  width: 120px; height: 5px; border-radius: 99px; overflow: hidden;
  background: oklch(0.28 0.02 250);
}
.hero__remaining .bar > i {
  display: block; height: 100%;
  background: linear-gradient(90deg, oklch(0.72 0.16 240), oklch(0.78 0.17 155));
  transition: width .8s ease;
}

/* Pitch (3 lines) */
.pitch__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pitch__item {
  padding: 28px 24px;
  border-radius: 12px;
  background: oklch(0.20 0.02 250 / 0.45);
  border: 1px solid oklch(0.28 0.025 250 / 0.5);
  position: relative;
}
.pitch__item .num {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: oklch(0.72 0.16 240);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.pitch__item p { color: oklch(0.88 0.01 250); font-size: 15.5px; line-height: 1.55; }

/* Features */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feature__icon {
  font-size: 28px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, oklch(0.72 0.16 240 / 0.2), oklch(0.70 0.18 295 / 0.15));
  border: 1px solid oklch(0.72 0.16 240 / 0.35);
  margin-bottom: 16px;
}
.feature__title { font-size: 19px; margin-bottom: 8px; }
.feature__body { color: oklch(0.76 0.012 250); font-size: 14.5px; line-height: 1.6; }

/* Pricing */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tier {
  padding: 28px;
  border-radius: 14px;
  background: oklch(0.20 0.02 250 / 0.55);
  border: 1px solid oklch(0.28 0.025 250 / 0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.tier--featured {
  border-color: oklch(0.72 0.16 240 / 0.55);
  box-shadow: 0 0 0 1px oklch(0.72 0.16 240 / 0.25), 0 20px 60px oklch(0.72 0.16 240 / 0.18);
  background:
    radial-gradient(ellipse at top right, oklch(0.72 0.16 240 / 0.18), transparent 70%),
    oklch(0.20 0.02 250 / 0.6);
}
.tier__name {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.55 0.02 250);
}
.tier--featured .tier__name { color: oklch(0.72 0.16 240); }
.tier__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tier__price strong { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.tier__price small { font-size: 12px; color: oklch(0.65 0.012 250); }
.tier__highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: oklch(0.82 0.012 250);
}
.tier__highlights li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin-top: 2px;
  border-radius: 99px;
  background: oklch(0.72 0.16 240 / 0.18);
  border: 1px solid oklch(0.72 0.16 240 / 0.6);
  background-image: linear-gradient(135deg, transparent 40%, oklch(0.72 0.16 240) 40% 60%, transparent 60%);
}

.grandfather {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 12px;
  border: 1px dashed oklch(0.72 0.16 240 / 0.5);
  background: oklch(0.72 0.16 240 / 0.06);
  color: oklch(0.86 0.012 250);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Signup */
.signup {
  background:
    radial-gradient(ellipse at top, oklch(0.72 0.16 240 / 0.10), transparent 70%),
    oklch(0.16 0.02 250 / 0.6);
  border: 1px solid oklch(0.28 0.025 250 / 0.7);
  border-radius: 18px;
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.signup form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.signup label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.62 0.02 250);
}
.signup input[type="email"] {
  font-family: "Geist", system-ui, sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  background: oklch(0.12 0.015 250);
  border: 1px solid oklch(0.30 0.025 250);
  color: oklch(0.97 0.005 250);
  border-radius: 8px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.signup input[type="email"]:focus {
  border-color: oklch(0.72 0.16 240);
  box-shadow: 0 0 0 3px oklch(0.72 0.16 240 / 0.18);
}
.signup .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: oklch(0.74 0.012 250);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-family: "Geist", system-ui, sans-serif;
}
.signup .consent input { accent-color: oklch(0.72 0.16 240); margin-top: 3px; }
.signup .error {
  color: oklch(0.78 0.18 25);
  font-size: 13px;
  font-family: "Geist", system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.signup__success, .signup__waitlist {
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid oklch(0.72 0.16 240 / 0.4);
  background: oklch(0.72 0.16 240 / 0.10);
}
.signup__success h3, .signup__waitlist h3 { margin-bottom: 8px; color: oklch(0.97 0.005 250); }
.signup__success p, .signup__waitlist p { color: oklch(0.85 0.012 250); }
.signup__stub-note {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  color: oklch(0.62 0.02 250);
  margin-top: 4px;
}

/* FAQ */
.faq__list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq__item {
  border: 1px solid oklch(0.28 0.025 250 / 0.55);
  border-radius: 10px;
  background: oklch(0.20 0.02 250 / 0.4);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item[open] { border-color: oklch(0.72 0.16 240 / 0.5); }
.faq__summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  font-size: 16px;
  color: oklch(0.94 0.005 250);
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary::after {
  content: "+";
  margin-left: auto;
  font-family: "Geist Mono", monospace;
  color: oklch(0.72 0.16 240);
  font-size: 20px;
  font-weight: 400;
  transition: transform .2s ease;
}
.faq__item[open] .faq__summary::after { content: "−"; }
.faq__body { padding: 0 22px 20px; color: oklch(0.78 0.012 250); font-size: 14.5px; line-height: 1.65; }

/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid oklch(0.22 0.02 250 / 0.7);
  padding: 48px 0 36px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__brand img { width: 36px; height: 36px; border-radius: 8px; }
.footer__brand strong { font-size: 15px; color: oklch(0.95 0.005 250); }
.footer__brand small { font-size: 12px; color: oklch(0.62 0.02 250); font-family: "Geist Mono", monospace; }
.footer h4 {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.55 0.02 250);
  margin-bottom: 12px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: oklch(0.80 0.012 250); text-decoration: none; font-size: 14px; }
.footer a:hover { color: oklch(0.97 0.005 250); }

.lang-select {
  background: oklch(0.16 0.015 250);
  border: 1px solid oklch(0.30 0.025 250);
  color: oklch(0.94 0.005 250);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.lang-select:focus {
  outline: none;
  border-color: oklch(0.72 0.16 240);
  box-shadow: 0 0 0 3px oklch(0.72 0.16 240 / 0.18);
}

.footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid oklch(0.22 0.02 250 / 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: oklch(0.55 0.02 250);
  font-family: "Geist Mono", monospace;
}

/* Animations */
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.55; transform: scale(0.85); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp .6s cubic-bezier(.2,.9,.25,1) both; }
.reveal[data-delay="1"] { animation-delay: .08s; }
.reveal[data-delay="2"] { animation-delay: .16s; }
.reveal[data-delay="3"] { animation-delay: .24s; }
.reveal[data-delay="4"] { animation-delay: .32s; }

/* ── For-your-AI section ────────────────────────────────────────────── */
.for-your-ai {
  max-width: 880px;
  margin: 0 auto;
}
.for-your-ai__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.for-your-ai__tab {
  background: transparent;
  color: oklch(0.78 0.012 250);
  border: 1px solid oklch(0.30 0.015 250);
  border-radius: 8px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.for-your-ai__tab:hover {
  border-color: oklch(0.50 0.06 240);
  color: oklch(0.97 0.005 250);
}
.for-your-ai__tab.is-active {
  border-color: oklch(0.72 0.16 240);
  color: oklch(0.97 0.005 250);
  background: oklch(0.72 0.16 240 / 0.08);
}
.for-your-ai__panel {
  position: relative;
  background: oklch(0.16 0.012 250);
  border: 1px solid oklch(0.24 0.015 250);
  border-radius: 12px;
  padding: 20px 22px 16px;
}
.for-your-ai__snippet {
  margin: 0;
  padding-right: 96px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.55;
  color: oklch(0.92 0.01 250);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}
.for-your-ai__snippet code { background: transparent; padding: 0; }
.for-your-ai__copy {
  position: absolute;
  top: 14px;
  right: 14px;
  background: oklch(0.24 0.015 250);
  color: oklch(0.85 0.005 250);
  border: 1px solid oklch(0.34 0.015 250);
  border-radius: 6px;
  padding: 6px 12px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.for-your-ai__copy:hover {
  background: oklch(0.30 0.025 240);
  border-color: oklch(0.50 0.06 240);
  color: oklch(0.97 0.005 250);
}
.for-your-ai__path {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed oklch(0.24 0.015 250);
  font-size: 12.5px;
  color: oklch(0.68 0.012 250);
}
.for-your-ai__path code {
  background: oklch(0.20 0.012 250);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11.5px;
  color: oklch(0.82 0.01 250);
  word-break: break-all;
}
.for-your-ai__followup {
  margin-top: 24px;
  text-align: center;
  color: oklch(0.76 0.012 250);
}
.for-your-ai__prompt {
  display: inline-block;
  margin: 10px auto 0;
  padding: 12px 22px;
  border-left: 3px solid oklch(0.72 0.16 240);
  background: oklch(0.72 0.16 240 / 0.06);
  font-style: italic;
  color: oklch(0.92 0.01 250);
  border-radius: 0 8px 8px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .pitch__list, .features__grid, .pricing__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .nav__links a:not(.btn) { display: none; }
  .for-your-ai__snippet { padding-right: 0; }
  .for-your-ai__copy { position: static; display: block; margin-top: 12px; }
}
@media (max-width: 600px) {
  .nav__brand .sub { display: none; }
}
