/* Minimal & modern SaaS style – dark mode + orange accents */
:root {
  --primary: #f97316;
  --primary-hover: #fb923c;
  --bg-dark: #0f172a;
  --bg-medium: #1e293b;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --font: 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font);
  line-height: 1.7;
  font-size: 18px;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.logo { font-size: 1.8rem; font-weight: 700; }

/* Header */
.header {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav a {
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--primary); }

/* Hero */
.hero-section { padding: 8rem 0 6rem; text-align: center; }
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text h1 {
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: linear-gradient(90deg, var(--primary), #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subheadline { font-size: 1.4rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-note { font-size: 1rem; color: var(--text-muted); margin-top: 1.5rem; }
.button-primary {
  background: var(--primary);
  color: white;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(249,115,22,0.25);
}
.button-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(249,115,22,0.35);
}

/* Sections */
section { padding: 7rem 0; }
h2 { font-size: 3rem; text-align: center; margin-bottom: 3rem; }

/* Problem */
.problem-section { background: var(--bg-medium); }
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.problem-card {
  background: rgba(255,255,255,0.03);
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid rgba(249,115,22,0.1);
  text-align: center;
  font-weight: 500;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--bg-medium);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(249,115,22,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.feature-card h3 { color: var(--primary); margin-bottom: 1rem; }

/* Proof */
.social-proof-section { background: var(--bg-medium); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.testimonial blockquote {
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--primary);
}

/* Opt-in */
.optin-section { background: linear-gradient(180deg, var(--bg-medium), var(--bg-dark)); text-align: center; }
.optin-box { max-width: 600px; margin: 0 auto; }
.optin-box h2 { font-size: 2.8rem; }
#waitlist-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto;
}
.optin-input {
  flex: 1;
  padding: 1.1rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 1.1rem;
}
.optin-input:focus { border-color: var(--primary); outline: none; }

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg-medium);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-content { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
.footer-links a { margin: 0 1.2rem; font-size: 1rem; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 3.2rem; }
  nav { display: none; } /* Add mobile menu later if needed */
}

@media (max-width: 640px) {
  #waitlist-form { flex-direction: column; }
  .button-primary { width: 100%; }
}

/* Legal Pages Enhancements */
.legal-hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-medium), var(--bg-dark));
}

.legal-date {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.legal-content {
  padding: 3rem 0 6rem;
}

.legal-content .container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 4rem;
}

.legal-toc {
  position: sticky;
  top: 2rem;
  align-self: start;
  background: var(--bg-medium);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(249, 115, 22, 0.12);
}

.legal-toc h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.legal-toc ul {
  list-style: none;
  padding: 0;
}

.legal-toc li {
  margin-bottom: 0.8rem;
}

.legal-toc a {
  color: var(--text-light);
  transition: color 0.2s;
}

.legal-toc a:hover {
  color: var(--primary);
}

.legal-body h2 {
  font-size: 2.2rem;
  margin: 3rem 0 1.2rem;
  color: var(--primary);
  position: relative;
}

.legal-body h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin-top: 0.8rem;
  border-radius: 2px;
}

.legal-body p, .legal-body ul {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.legal-body ul {
  margin: 1.5rem 0;
  padding-left: 1.8rem;
}

.legal-body li {
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .legal-content .container {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
  }
}