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

:root {
  --primary: #80ff00;
  --primary-dim: rgba(128, 255, 0, 0.12);
  --primary-glow: rgba(128, 255, 0, 0.25);
  --bg: #080808;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --surface-3: #222222;
  --text: #f0f0f0;
  --text-muted: #777777;
  --text-soft: #aaaaaa;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(128, 255, 0, 0.3);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --transition: 0.2s ease;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
}
p {
  color: var(--text-soft);
  line-height: 1.75;
}
a {
  text-decoration: none;
  color: inherit;
}

.accent {
  color: var(--primary);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 100px 0;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.nav-logo .logo-img {
  height: 32px;
  width: auto;
}
.nav-logo .logo-text {
  color: var(--primary);
}

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

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-dim);
}

.nav-cta {
  padding: 9px 20px;
  background: var(--primary);
  color: #000;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
}

.nav-cta:hover {
  background: #96ff00;
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 60% at 50% -10%,
      rgba(128, 255, 0, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 40% at 80% 60%,
      rgba(128, 255, 0, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.hero-title {
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: #000;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #96ff00;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(128, 255, 0, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--surface-2);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--border);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--surface-3);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ===== INDEX SPLIT ===== */
.split-section {
  padding: 80px 0 120px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.split-card {
  position: relative;
  padding: 48px 40px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.split-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.split-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.split-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.split-tag.users {
  background: rgba(128, 255, 0, 0.12);
  color: var(--primary);
}
.split-tag.firms {
  background: rgba(99, 149, 255, 0.12);
  color: #6395ff;
}

.split-card h2 {
  margin-bottom: 14px;
}

.split-card p {
  margin-bottom: 32px;
  font-size: 0.97rem;
}

.split-card .btn-primary {
  width: 100%;
  justify-content: center;
}
.split-card .btn-firms {
  background: #6395ff;
}
.split-card .btn-firms:hover {
  background: #7aa6ff;
  box-shadow: 0 8px 32px rgba(99, 149, 255, 0.25);
}

/* ===== FEATURE GRID ===== */
.features-section {
  background: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header p {
  font-size: 1.05rem;
  margin-top: 14px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 36px 32px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  border: 1px solid var(--border-accent);
}

.feature-card h3 {
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.93rem;
}

/* ===== PERSONAS ===== */
.personas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

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

.persona-card {
  padding: 40px 36px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.persona-emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.persona-card h3 {
  margin-bottom: 8px;
}
.persona-card .persona-tagline {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.persona-card p {
  font-size: 0.92rem;
}

/* ===== PROBLEM SECTION ===== */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.problem-card {
  padding: 36px 32px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 80, 80, 0.15);
}

.problem-card .problem-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff6060;
  margin-bottom: 12px;
}

.problem-card h3 {
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 0.92rem;
}

/* ===== WAITLIST SECTION ===== */
.waitlist-section {
  background: var(--surface);
  padding: 120px 0;
}

.waitlist-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-inner h2 {
  margin-bottom: 14px;
}
.waitlist-inner > p {
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.waitlist-form {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: left;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(128, 255, 0, 0.08);
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  margin-top: 8px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: -0.01em;
}

.form-submit:hover {
  background: #96ff00;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(128, 255, 0, 0.25);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.form-success h3 {
  color: var(--primary);
  margin-bottom: 8px;
}
.form-success p {
  font-size: 0.95rem;
}

/* ===== STATS ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

@media (max-width: 640px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== HOW IT WORKS ===== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
  margin: 64px auto 0;
}

.step-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.step-item:hover {
  border-color: var(--border-accent);
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary-dim);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}

.step-content h3 {
  margin-bottom: 6px;
}
.step-content p {
  font-size: 0.92rem;
  margin: 0;
}

/* ===== FOOTER ===== */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.footer-logo span {
  color: var(--primary);
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--primary);
}

/* ===== FIRMS COLOR OVERRIDE ===== */
body.firms-page {
  --primary: #6395ff;
  --primary-dim: rgba(99, 149, 255, 0.12);
  --primary-glow: rgba(99, 149, 255, 0.25);
  --border-accent: rgba(99, 149, 255, 0.3);
}

body.firms-page .btn-primary {
  color: #fff;
}
body.firms-page .btn-primary:hover {
  box-shadow: 0 8px 32px rgba(99, 149, 255, 0.3);
}
body.firms-page .nav-cta {
  background: #6395ff;
  color: #fff;
}
body.firms-page .nav-cta:hover {
  background: #7aa6ff;
}
body.firms-page .form-submit {
  background: #6395ff;
  color: #fff;
}
body.firms-page .form-submit:hover {
  background: #7aa6ff;
  box-shadow: 0 8px 32px rgba(99, 149, 255, 0.3);
}
body.firms-page .form-success h3 {
  color: #6395ff;
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ===== UTILITIES ===== */
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 16px;
}
.mt-8 {
  margin-top: 32px;
}
.mb-small {
  margin-bottom: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }
  .hero {
    padding: 130px 0 80px;
  }
  .nav-links .nav-link:not(.nav-cta) {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .waitlist-form {
    padding: 28px 22px;
  }
}

/* ===== SCROLL ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
