/* ===== Design tokens ===== */
:root {
  --color-primary: #2EC4B6;
  --color-primary-dark: #25a89d;
  --color-text: #2E2E3A;
  --color-text-muted: #6b7280;
  --color-bg-dark: #1A1E29;
  --color-accent-blue: #6B7BF9;
  --color-accent-purple: #EB4D92;
  --color-accent-orange: #f59e0b;
  --color-white: #fff;
  --color-border: #e5e7eb;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: linear-gradient(135deg, #e8f5f3 0%, #eef2ff 50%, #f5f0f8 100%);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
.nav-list a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}
.nav-list a:hover { color: var(--color-primary); }

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.badge-icon { font-size: 0.75rem; }
.hero-badge, .waitlist-badge {
  background: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.built-for-badge {
  background: #fef3c7;
  color: #92400e;
}
.testimonials-badge {
  background: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgb(46 196 182 / 0.4);
}
.btn-primary:hover { box-shadow: 0 4px 12px rgb(46 196 182 / 0.5); }
.btn-secondary {
  background: var(--color-white);
  color: var(--color-text);
  border: 2px solid var(--color-text);
}
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  min-height: calc(100svh - var(--header-height));
  padding: 5rem 0 5.5rem;
  text-align: center;
  display: flex;
  align-items: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; width: 100%; }
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-text);
}
.hero-title .highlight { color: var(--color-primary); }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 2.5rem 2rem;
}
.hero-feature-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-md);
}
.hero-feature-icon--ai { background: linear-gradient(135deg, var(--color-primary), #0d9488); }
.hero-feature-icon--community { background: linear-gradient(135deg, var(--color-accent-blue), #4f46e5); }
.hero-feature-icon--analytics { background: linear-gradient(135deg, var(--color-accent-purple), #be185d); }
.hero-feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.hero-feature-desc {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0;
}

/* ===== Section titles ===== */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--color-text);
  text-align: center;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ===== Built for (cards grid) ===== */
.built-for { padding: 5rem 0; }
.built-for .section-subtitle { margin-bottom: 2.5rem; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.card-icon-wrap--green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.card-icon-wrap--blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.card-icon-wrap--purple { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); }
.card-icon-wrap--orange { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}
.card-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ===== Powerful Features ===== */
.powerful-features { padding: 5rem 0; }
.features-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.features-card .section-title { margin-bottom: 2rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-item {
  text-align: center;
}
.feature-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-white);
}
.feature-icon-wrap--orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.feature-icon-wrap--green { background: linear-gradient(135deg, var(--color-primary), #0d9488); }
.feature-icon-wrap--blue { background: linear-gradient(135deg, var(--color-accent-blue), #4f46e5); }
.feature-icon-wrap--purple { background: linear-gradient(135deg, var(--color-accent-purple), #be185d); }
.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ===== Testimonials intro ===== */
.testimonials-intro { padding: 5rem 0 3rem; }
.testimonials-intro .section-subtitle { margin-bottom: 0; }

/* ===== Waitlist ===== */
.waitlist { padding: 4rem 0 5rem; }
.waitlist-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  text-align: center;
}
.waitlist-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}
.waitlist-title .highlight { color: var(--color-primary); }
.waitlist-desc {
  color: var(--color-text-muted);
  margin: 0 0 1.75rem;
  font-size: 1rem;
}
.waitlist-form {
  text-align: left;
  margin-bottom: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
}
.form-group input::placeholder,
.form-group select:invalid { color: var(--color-text-muted); }
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(46 196 182 / 0.2);
}
.waitlist-disclaimer {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}
.waitlist-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  font-weight: 500;
}
.waitlist-trust li { color: #047857; }

/* ===== Footer ===== */
.site-footer {
  background: #f9fafb;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2.5rem;
  padding-bottom: 2rem;
}
.footer-tagline {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0.75rem 0 1rem;
  max-width: 280px;
  line-height: 1.5;
}
.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.social-links a svg { flex-shrink: 0; }
.social-links a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}
.footer-links a:hover { color: var(--color-primary); }
.footer-email {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}
.footer-email:hover { color: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.copyright {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}
.legal {
  display: flex;
  gap: 1.25rem;
}
.legal a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
}
.legal a:hover { color: var(--color-primary); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-features { grid-template-columns: 1fr; gap: 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-tagline { max-width: none; }
  .social-links { justify-content: center; }
  .footer-bottom-inner { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .nav-list { gap: 1rem; font-size: 0.9375rem; }
}
