/* =========================================================
   ADYNOX — Landing page styles
   Dark mode, premium type, conversion-focused, mobile-first.
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ----- Tokens ----- */
:root {
  --bg: #0a0a0a;
  --bg-alt: #0f0f10;
  --surface: #131314;
  --surface-2: #1a1a1c;
  --border: #232325;
  --border-strong: #2e2e30;

  --text: #ededed;
  --text-dim: #b5b5b7;
  --text-muted: #7a7a7d;

  --accent: #c8ff3d;        /* sharp lime — used sparingly for emphasis */
  --accent-dim: #9fcc2e;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 0 rgba(255,255,255,0.04) inset, 0 1px 2px rgba(0,0,0,0.4);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.6);

  --maxw: 1180px;
  --maxw-narrow: 820px;
}

/* ----- Selection ----- */
::selection {
  background: var(--accent);
  color: #0a0a0a;
}

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--maxw-narrow); }

.section {
  padding: 96px 0;
  position: relative;
}
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ----- Type ----- */
.h2,
.hero__title {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 24px;
}

.hero__title {
  font-size: clamp(40px, 6.4vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-weight: 700;
}

.h2 {
  font-size: clamp(30px, 4.2vw, 50px);
}
.h2--display {
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.h2--quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 0 40px;
}

.text-muted-inline { color: var(--text-muted); }
.accent { color: var(--accent); }

.prose p {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0 0 18px;
}
.prose__highlight {
  color: var(--text) !important;
  font-weight: 500;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  margin-top: 24px !important;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 120ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: 0 1px 0 rgba(0,0,0,0.1) inset, 0 10px 30px -10px rgba(255,255,255,0.18);
}
.btn--primary:hover {
  background: #f1f1f1;
  box-shadow: 0 1px 0 rgba(0,0,0,0.1) inset, 0 14px 40px -10px rgba(255,255,255,0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: #4a4a4d;
  background: rgba(255,255,255,0.03);
}

.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }

/* ----- Nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.85);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* Logo "mark" — uses background-image so we can crop the
   massive empty padding inside the source PNG. */
.nav__logo-mark,
.footer__logo-mark {
  display: block;
  background-image: url("ADYNOX%20LOGO.png");
  background-repeat: no-repeat;
  background-position: center center;
  filter: brightness(0) invert(1);
  opacity: 0.92;                /* off-white, matches site text */
  transition: opacity 160ms ease;
}
.nav__brand:hover .nav__logo-mark { opacity: 1; }

.nav__logo-mark {
  width: 190px;
  height: 56px;
  background-size: 230px auto;  /* full "adynox" + top arrow with margin */
  background-position: center 48%;
}
.footer__logo-mark {
  width: 220px;
  height: 64px;
  background-size: 265px auto;
  background-position: center 48%;
}

@media (max-width: 480px) {
  .nav__logo-mark   { width: 156px; height: 46px; background-size: 190px auto; }
  .footer__logo-mark { width: 176px; height: 52px; background-size: 215px auto; }
}
.nav__links {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}
.nav__links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 140ms ease;
}
.nav__links a:hover { color: var(--text); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__inner { padding: 12px 20px; }
  .nav__cta { display: none; }
}

/* ----- Hero ----- */
.hero {
  padding-top: 80px;
  padding-bottom: 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -200px -100px auto -100px;
  height: 600px;
  background: radial-gradient(60% 50% at 50% 0%, rgba(200, 255, 61, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(200, 255, 61, 0.05); }
}

.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 24px 0 36px;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__meta {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
}
.hero__meta li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}
.hero__meta strong {
  display: block;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
@media (max-width: 640px) {
  .hero__meta { grid-template-columns: 1fr; gap: 18px; }
}

/* ----- Cost math ----- */
.math {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 12px;
  margin: 36px 0 20px;
  max-width: 880px;
}
.math__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.math__row:last-child { border-bottom: 0; }
.math__row--total {
  background: linear-gradient(180deg, rgba(200,255,61,0.04), rgba(200,255,61,0));
  border-radius: var(--radius);
  margin-top: 4px;
  border-bottom: 0;
}
.math__label {
  color: var(--text-dim);
  font-size: 15px;
}
.math__value {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.math__value--muted { color: var(--text-muted); font-weight: 600; }
.math__value--accent { color: var(--accent); }
.math__value--big {
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.03em;
}
.math__note {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 720px;
  margin: 0 0 36px;
}

/* ----- Offer grid (3 cards) ----- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 880px) {
  .offer-grid { grid-template-columns: 1fr; }
}
.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 160ms ease, transform 160ms ease;
}
.offer-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.offer-card__num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 16px;
}
.offer-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--text);
}
.offer-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* ----- Timeline / How it works ----- */
.timeline {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--border) 0%, var(--border) 90%, transparent);
}
.timeline__step {
  position: relative;
  padding: 4px 0 36px 44px;
}
.timeline__step::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200,255,61,0.12);
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__time {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
}
.timeline__step h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.timeline__step p {
  color: var(--text-dim);
  margin: 0;
  max-width: 720px;
  line-height: 1.6;
}

/* ----- Include grid ----- */
.include-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 980px) { .include-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .include-grid { grid-template-columns: 1fr; } }

.include {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 160ms ease;
}
.include:hover { border-color: var(--border-strong); }
.include__tick {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(200,255,61,0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 14px;
}
.include h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.include p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ----- Founding grid ----- */
.founding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 760px) { .founding-grid { grid-template-columns: 1fr; } }

.founding {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.founding h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.founding p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* ----- Pricing card ----- */
.pricing {
  margin-top: 36px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pricing::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(80% 60% at 100% 0%, rgba(200,255,61,0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.pricing > * { position: relative; z-index: 1; }

.pricing__tag {
  display: inline-block;
  background: rgba(200,255,61,0.1);
  color: var(--accent);
  border: 1px solid rgba(200,255,61,0.25);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pricing__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pricing__currency {
  font-size: 38px;
  color: var(--text-dim);
  font-weight: 600;
}
.pricing__number {
  font-size: clamp(54px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing__per {
  font-size: 18px;
  color: var(--text-muted);
  margin-left: 4px;
}
.pricing__plus {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 17px;
}
.pricing__list {
  list-style: none;
  margin: 28px 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}
.pricing__list li {
  padding: 9px 0 9px 32px;
  position: relative;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.5;
}
.pricing__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  width: 18px;
  height: 18px;
  background: rgba(200,255,61,0.12);
  border-radius: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.pricing__fine {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ----- Founder ----- */
.quote-mark {
  color: var(--accent);
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
}
.founder {
  margin-top: 36px;
  border-left: 2px solid var(--border-strong);
  padding-left: 28px;
}
.founder__body p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.founder__sign {
  color: var(--text) !important;
  font-weight: 600;
}

/* ----- FAQ ----- */
.faq {
  margin-top: 36px;
  border-top: 1px solid var(--border);
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  color: var(--text);
  font-size: clamp(16px, 1.5vw, 18px);
  letter-spacing: -0.005em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--text);
  border-radius: 1px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.faq__icon::before { /* horizontal */
  top: 50%; left: 7px; right: 7px; height: 2px; margin-top: -1px;
}
.faq__icon::after { /* vertical */
  left: 50%; top: 7px; bottom: 7px; width: 2px; margin-left: -1px;
}
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__item[open] .faq__icon { border-color: var(--accent); }

.faq__body {
  padding: 0 0 24px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.65;
  max-width: 720px;
}
.faq__body p { margin: 0; }

/* ----- Final CTA + Form ----- */
.final-cta {
  padding-top: 100px;
  padding-bottom: 120px;
  text-align: center;
  background: radial-gradient(60% 50% at 50% 0%, rgba(200,255,61,0.05), transparent 70%), var(--bg);
  border-top: 1px solid var(--border);
}
.final-cta .lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 40px;
}
.form {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin: 0 auto;
}
.form__row {
  margin-bottom: 18px;
}
.form__row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form__row input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.form__row input::placeholder { color: #555558; }
.form__row input:hover { border-color: var(--border-strong); }
.form__row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200,255,61,0.12);
  background: var(--bg);
}
.form__row input.is-invalid {
  border-color: #ff5a5a;
  box-shadow: 0 0 0 4px rgba(255,90,90,0.12);
}
.form__fine {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
}
.form__status {
  margin-top: 16px;
  min-height: 22px;
  font-size: 14px;
  text-align: center;
}
.form__status.is-success { color: var(--accent); }
.form__status.is-error   { color: #ff7a7a; }

/* ----- CTA row ----- */
.cta-row {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ----- Footer ----- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 48px 0 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__name {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.footer__tag {
  color: var(--text-muted);
  font-size: 13.5px;
}
.footer__meta {
  display: flex;
  gap: 22px;
  justify-content: center;
}
.footer__link {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 140ms ease;
}
.footer__link:hover { color: var(--text); }
.footer__copy {
  text-align: right;
  color: var(--text-muted);
  font-size: 13px;
}
@media (max-width: 760px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__brand { justify-content: center; }
  .footer__copy { text-align: center; }
}

/* ----- Responsive section spacing ----- */
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .final-cta { padding-top: 80px; padding-bottom: 96px; }
  .hero { padding-top: 56px; padding-bottom: 64px; }
  .form { padding: 24px; }
  .pricing { padding: 32px 24px; }
}

/* Reveal-in animation (optional, very subtle) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
