/* ============================================================
   OpenClaw for Entrepreneurs — Landing Page Stylesheet
   Site: openclawforentrepreneurs.com
   Theme: Dark (#0a0a0a), Violet accent (#7c3aed)
   Last updated: 2026-03-24
   ============================================================ */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #0a0a0a;
  --surface:      #111111;
  --surface-2:    #161616;
  --border:       #1e1e1e;
  --border-glow:  #7c3aed44;
  --text:         #f0f0f0;
  --muted:        #888888;
  --muted-2:      #555555;
  --accent:       #7c3aed;
  --accent-light: #9d5cf6;
  --accent-dim:   #7c3aed22;
  --accent-glow:  0 0 40px #7c3aed33;
  --green:        #22c55e;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --max-w:        800px;
  --section-pad:  96px;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: 1.125rem; font-weight: 600; }
p  { color: var(--muted); }

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--text); }

code, pre {
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.875rem;
}

/* ─── LAYOUT HELPERS ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--surface {
  background-color: var(--surface);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.section__headline {
  margin-bottom: 12px;
  color: var(--text);
}

.section__sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 64px;
}

.text-center { text-align: center; }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  padding: 16px 40px;
  font-size: 1.05rem;
  box-shadow: 0 0 32px #7c3aed44;
}
.btn--primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: scale(1.02) translateY(-1px);
  box-shadow: 0 0 48px #7c3aed66;
}

.btn--secondary {
  background: transparent;
  color: var(--accent-light);
  border: 1px solid var(--accent);
  padding: 12px 28px;
}
.btn--secondary:hover {
  background: var(--accent-dim);
  color: var(--text);
  border-color: var(--accent-light);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ─── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px var(--accent); }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

/* Dot-grid background — CSS only, no JS */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #7c3aed18 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
  animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 32px 32px; }
}

/* Radial fade over the grid so edges dissolve */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, var(--bg) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 28px;
  padding: 6px 16px;
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  background: var(--accent-dim);
}

.hero__headline {
  margin-bottom: 24px;
  color: var(--text);
}

.hero__headline span {
  color: var(--accent-light);
  position: relative;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__microcopy {
  font-size: 0.8rem;
  color: var(--muted-2);
}

.hero__social-proof {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero__stars { color: #f59e0b; letter-spacing: 2px; }

/* ─── WHAT IT DOES — 5 FEATURE CARDS ───────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
  transform: translateY(-2px);
}

.feature-card__icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glow);
}

.feature-card__body {}
.feature-card__title {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Wide card: spans 2 columns on desktop */
.feature-card--wide {
  grid-column: 1 / -1;
}

/* ─── HOW IT WORKS — 3-STEP ─────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* Connector line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  opacity: 0.4;
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-light);
  margin: 0 auto 24px;
  box-shadow: var(--accent-glow);
  transition: all 0.2s;
}

.step:hover .step__number {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 48px #7c3aed66;
  transform: scale(1.06);
}

.step__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.step__title {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.step__price-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-light);
}

/* ─── HARDWARE ──────────────────────────────────────────────── */
.hardware__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.hardware-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hardware-card:hover {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
}

.hardware-card__icon {
  font-size: 2.5rem;
}

.hardware-card__name {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.hardware-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-dim);
  border: 1px solid var(--border-glow);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 12px;
}

.hardware-card__specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.hardware-card__specs li {
  font-size: 0.825rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.hardware-card__specs li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.hardware-card__note {
  font-size: 0.775rem;
  color: var(--muted-2);
  font-style: italic;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.hardware-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}
.hardware-card__price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.hardware-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-light);
  padding: 8px 0;
  border-top: 1px solid var(--border);
  transition: color 0.2s;
  text-decoration: none;
}
.hardware-card__link:hover { color: var(--text); }
.hardware-card__link::after { content: ' →'; }

.callout-box {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-align: center;
  box-shadow: var(--accent-glow);
}
.callout-box p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.callout-box strong { color: var(--text); }
.callout-box .note {
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-top: 12px;
}

/* ─── PRICING ───────────────────────────────────────────────── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
  background: linear-gradient(160deg, #111111 0%, #16102a 100%);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.pricing-card__price-block {}
.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.pricing-card__price sup { font-size: 1.2rem; vertical-align: super; }
.pricing-card__price-note {
  font-size: 0.825rem;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 0;
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-card__features li {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--accent-light);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ─── WAITLIST FORM ─────────────────────────────────────────── */
.waitlist__form-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist__input-row {
  display: flex;
  gap: 12px;
}

.waitlist__input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist__input::placeholder { color: var(--muted-2); }
.waitlist__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #7c3aed22;
}

.waitlist__btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.waitlist__btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 0 32px #7c3aed44;
}

.waitlist__microcopy {
  font-size: 0.78rem;
  color: var(--muted-2);
  text-align: center;
  margin: 0;
}

.waitlist__success {
  display: none;
  text-align: center;
  padding: 20px;
  background: #0d2d1a;
  border: 1px solid var(--green);
  border-radius: var(--radius-md);
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}
.faq__question:hover { color: var(--accent-light); }

.faq__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  transition: transform 0.25s ease;
  font-size: 1rem;
}

.faq__item--open .faq__chevron { transform: rotate(180deg); }
.faq__item--open .faq__question { color: var(--accent-light); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__item--open .faq__answer { max-height: 400px; }

.faq__answer-inner {
  padding: 0 0 22px;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ─── FINAL CTA / CHECKOUT ──────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: var(--section-pad) 24px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, #7c3aed14 0%, transparent 70%);
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section .section__sub {
  max-width: 460px;
  margin: 0 auto 40px;
}

.cta__trust {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted-2);
}

.cta__contact {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--muted-2);
}
.cta__contact a { color: var(--muted); }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.footer__inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted-2);
}
.footer__links a { color: var(--muted-2); }
.footer__links a:hover { color: var(--muted); }
.footer__sep { color: var(--border); }

.footer__legal {
  font-size: 0.75rem;
  color: var(--muted-2);
  line-height: 1.6;
  margin: 0;
}

/* ─── NAV MOBILE HIDE ───────────────────────────────────────── */
@media (max-width: 640px) {
  .nav__links { display: none; }

  .hero { padding: 90px 20px 60px; }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps::before { display: none; }

  .hardware__grid {
    grid-template-columns: 1fr;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .waitlist__input-row {
    flex-direction: column;
  }

  .waitlist__btn {
    width: 100%;
    padding: 16px;
  }
}

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

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .steps::before { display: none; }
}

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── SELECTION ─────────────────────────────────────────────── */
::selection {
  background: #7c3aed55;
  color: #fff;
}
