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

:root {
  --bg: #0D1117;
  --bg-2: #161B22;
  --bg-3: #1C2128;
  --fg: #E6EDF3;
  --fg-muted: #8B949E;
  --cyan: #00E5CC;
  --cyan-dim: rgba(0,229,204,0.1);
  --amber: #F59E0B;
  --amber-dim: rgba(245,158,11,0.1);
  --border: rgba(230,237,243,0.08);
  --radius: 10px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cyan); color: var(--bg); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; }
p { color: var(--fg-muted); max-width: 60ch; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,204,0.2);
  border-radius: 100px;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 { margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.125rem; line-height: 1.7; }

/* Dashboard mock */
.dashboard-mock {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,229,204,0.06), 0 4px 16px rgba(0,0,0,0.4);
}
.mock-header {
  background: var(--bg-3);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(139,148,158,0.3);
}
.mock-title { font-size: 0.75rem; color: var(--fg-muted); font-weight: 500; }
.mock-body { padding: 1.5rem; }
.mock-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
}
.stat-label { font-size: 0.75rem; color: var(--fg-muted); }
.stat-value {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cyan);
}
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}
.chart-bar {
  flex: 1;
  background: rgba(0,229,204,0.15);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s;
}
.chart-bar.highlight { background: var(--cyan); }
.mock-items { display: flex; flex-direction: column; gap: 0.625rem; }
.mock-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--bg-3);
}
.mock-item.done { color: var(--fg-muted); }
.mock-item.running { color: var(--amber); background: var(--amber-dim); }

.hero-rule {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.hero-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.logos-label { font-size: 0.75rem; color: var(--fg-muted); white-space: nowrap; }
.logo-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.logo-chips span {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* === PROBLEM === */
.problem {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem h2 { margin-bottom: 3rem; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.problem-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.problem-card.accent {
  border-color: rgba(0,229,204,0.3);
  background: linear-gradient(135deg, var(--bg-3), rgba(0,229,204,0.03));
}
.problem-stat {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.problem-card.accent .problem-stat { color: var(--amber); }
.problem-desc { font-size: 0.9rem; line-height: 1.6; }
.problem-insight {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.problem-insight p { max-width: none; font-size: 0.95rem; }
.problem-insight strong { color: var(--fg); }

/* === SOLUTION === */
.solution { padding: 6rem 2rem; }
.solution-inner { max-width: 1200px; margin: 0 auto; }
.solution-header { margin-bottom: 3rem; }
.solution-header h2 { margin-bottom: 1rem; }
.solution-sub { font-size: 1.05rem; max-width: 55ch; }
.solution-flow {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}
.flow-step { flex: 1; }
.flow-icon {
  width: 56px; height: 56px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,204,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.flow-text h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.flow-text p { font-size: 0.85rem; max-width: none; }
.flow-arrow { flex-shrink: 0; opacity: 0.4; }

/* === FEATURES === */
.features {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.features h2 { margin-bottom: 3rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(0,229,204,0.3); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--cyan-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.feature-card p { font-size: 0.85rem; line-height: 1.6; }

/* === TESTIMONIAL === */
.testimonial {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}
.testimonial-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.quote-mark { margin-bottom: 2rem; display: flex; justify-content: center; }
blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 2rem;
}
.testimonial-attr { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.attr-name { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }
.attr-title { font-size: 0.8rem; color: var(--fg-muted); }

/* === CLOSING === */
.closing {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.closing-text h2 { margin-bottom: 1.5rem; }
.closing-text p { margin-bottom: 1rem; font-size: 0.95rem; }
.closing-cta-text { color: var(--fg); font-size: 1rem; font-weight: 500; margin-top: 1.5rem; }
.cta-box {
  background: var(--bg-3);
  border: 1px solid rgba(0,229,204,0.25);
  border-radius: 16px;
  padding: 2.5rem;
}
.cta-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.cta-box h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.cta-box > p { font-size: 0.9rem; margin-bottom: 1.5rem; }
.cta-email {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}
.cta-meta { font-size: 0.75rem; color: var(--fg-muted); }

/* === FOOTER === */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.85rem; }
.footer-links { display: flex; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}
.footer-col a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .solution-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .closing-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}