/* AI Website Dev Annotator landing page */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0d12;
  --bg-alt: #11141b;
  --panel: #161a23;
  --panel-2: #1c2230;
  --border: #232a39;
  --text: #e7ecf3;
  --muted: #9aa3b2;
  --accent: #7c5cff;
  --accent-2: #4ec9b0;
  --pink: #ff79c6;
  --warn: #f6c177;
  --tip: #ffb454;
  --radius: 14px;
  --maxw: 1140px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.25);
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(78,201,176,0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(11,13,18,0.7);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand img { border-radius: 7px; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover { background: #6a4df0; }

@media (max-width: 760px) {
  .nav a:not(.nav-cta) { display: none; }
}

/* Hero */

.hero { padding: 80px 0 56px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(78,201,176,0.08);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(78,201,176,0.25);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.cta-row-center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(180deg, #8a6cff, #6c4dff);
  color: #fff;
  box-shadow: 0 6px 20px rgba(108,77,255,0.35);
}
.btn-primary:hover { background: linear-gradient(180deg, #9981ff, #7a5cff); color: #fff; }

.btn-secondary {
  background: var(--panel);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--panel-2); }

.btn-tip {
  background: linear-gradient(180deg, #ffc06b, #ff9a3c);
  color: #1b1408;
  box-shadow: 0 6px 20px rgba(255,154,60,0.3);
}
.btn-tip:hover { color: #1b1408; }

.btn-block { display: flex; width: 100%; }

.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.badges li {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--panel);
}

/* Hero visual (annotation illustration SVG) */

.hero-visual {
  background:
    radial-gradient(420px 220px at 50% 30%, rgba(124,92,255,0.25), transparent 70%),
    linear-gradient(160deg, #0B1120 0%, #111827 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 480px;
  border-radius: 10px;
}

.hero-visual-caption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  max-width: 44ch;
  margin: 0;
}

/* Output preview (dedicated card under "How it works") */

.output-preview {
  margin-top: 36px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.card-title { margin-left: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.code {
  margin: 0;
  padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.65;
  color: #d6dbe7;
  overflow-x: auto;
  white-space: pre;
}

.code code { color: inherit; }

/* Trust strip */

.strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 760px) {
  .strip-row { grid-template-columns: repeat(2, 1fr); }
}

.strip-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.strip-item strong { font-size: 14px; }
.strip-item span { font-size: 12px; color: var(--muted); }

/* Features section header with inline why card */

.features-header {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
  margin-bottom: 36px;
}

.features-header .section-lede { margin-bottom: 0; }

@media (max-width: 860px) {
  .features-header { grid-template-columns: 1fr; }
}

.why-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.why-card-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.why-card-body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.why-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.why-card-list li {
  font-size: 13px;
  color: var(--muted);
}

.why-card-list li strong {
  color: var(--text);
  margin-right: 4px;
}

/* Sections */

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

.section h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-lede {
  color: var(--muted);
  max-width: 70ch;
  margin-bottom: 36px;
}

/* Feature grid */

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

@media (max-width: 920px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  border-color: rgba(124,92,255,0.5);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
}

/* Steps */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  align-items: center;
}

@media (max-width: 480px) {
  .steps li {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 18px;
  }
}

.step-illus {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background:
    radial-gradient(140px 90px at 50% 0%, rgba(124,92,255,0.18), transparent 70%),
    var(--panel-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 8px;
  flex-shrink: 0;
}

.step-illus svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 480px) {
  .step-illus { width: 64px; height: 64px; padding: 6px; }
}

.step-num {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(124,92,255,0.15);
  color: var(--accent);
  border: 1px solid rgba(124,92,255,0.4);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.steps h3 {
  font-size: 16px;
  margin-bottom: 6px;
  padding-right: 36px;
}

.steps p {
  font-size: 14.5px;
  color: var(--muted);
}

.steps p code,
.faq-item p code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(124,92,255,0.12);
  border: 1px solid rgba(124,92,255,0.25);
  color: #d8d2ff;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

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

.price-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: rgba(124,92,255,0.6);
  box-shadow: 0 0 0 1px rgba(124,92,255,0.2), 0 20px 60px rgba(124,92,255,0.18);
  background:
    radial-gradient(600px 200px at 80% -20%, rgba(124,92,255,0.18), transparent 60%),
    var(--panel);
}

.badge-featured {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.price-head { margin-bottom: 18px; }
.price-head h3 { font-size: 18px; margin-bottom: 8px; }

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cadence {
  color: var(--muted);
  font-size: 14px;
}

.price-sub { color: var(--muted); font-size: 14px; }

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 22px;
  flex: 1;
}

.price-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text);
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(78,201,176,0.15);
  border: 1px solid rgba(78,201,176,0.5);
}

.price-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

.fineprint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Tip block */

.tip-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.tip-block p {
  color: var(--muted);
  margin: 14px 0 24px;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.faq-item h3 { font-size: 15px; margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 14.5px; }

/* CTA band */

.cta-band {
  padding: 64px 0;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(124,92,255,0.18), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
}

.cta-band-inner {
  text-align: center;
}

.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin-bottom: 22px; }

/* Footer */

.site-footer {
  background: #07090d;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

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

.site-footer h4 {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer ul a { color: var(--muted); }
.site-footer ul a:hover { color: var(--text); }

.footer-note { margin-top: 12px; max-width: 38ch; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
