*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-light: #dcfce7;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

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

/* UTILS */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

.section-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white; padding: 12px 24px;
  box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,197,94,0.45); }
.btn-ghost {
  background: transparent; color: var(--text-muted);
  padding: 12px 24px; border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn-nav {
  background: var(--bg-soft); color: var(--text);
  padding: 8px 18px; border: 1.5px solid var(--border); font-size: 0.9rem;
}
.btn-nav:hover { border-color: var(--green); color: var(--green-dark); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-white {
  background: white; color: var(--green-dark);
  padding: 14px 36px; font-size: 1.05rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(0,0,0,0.2); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo-text {
  font-size: 1.2rem; font-weight: 800; color: var(--text);
}
.nav-logo-plus { color: var(--green-dark); }
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a:not(.btn) {
  text-decoration: none; color: var(--text-muted);
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column; gap: 8px;
  padding: 16px 24px 20px; border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a:not(.btn) {
  text-decoration: none; color: var(--text);
  font-size: 1rem; font-weight: 500; padding: 8px 0;
}

/* HERO */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}
.hero-inner { text-align: center; }
.hero-badge {
  display: inline-block;
  background: var(--green-light); color: var(--green-dark);
  font-size: 0.8rem; font-weight: 600;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted); max-width: 560px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 56px;
}

/* DASHBOARD MOCK */
.hero-visual { display: flex; justify-content: center; }
.dashboard-mock {
  background: white;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12), 0 0 0 1px var(--border);
  overflow: hidden;
  width: 100%; max-width: 680px;
}
.mock-header {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #febc2e; }
.mock-dot.green { background: #28c840; }
.mock-title {
  margin-left: 8px; font-size: 0.78rem;
  color: var(--text-muted); font-weight: 500;
}
.mock-body { padding: 20px; }
.mock-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 20px;
}
.mock-card {
  border-radius: 10px; padding: 14px;
  border: 1.5px solid var(--border);
}
.mock-card.green { border-color: #bbf7d0; background: #f0fdf4; }
.mock-card.red { border-color: #fecaca; background: #fff1f2; }
.mock-card.blue { border-color: #bfdbfe; background: #eff6ff; }
.mock-card-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.mock-card-value { font-size: 1rem; font-weight: 700; color: var(--text); }
.mock-card-trend { font-size: 0.7rem; font-weight: 600; margin-top: 4px; color: var(--green-dark); }
.mock-card.red .mock-card-trend { color: #dc2626; }
.mock-chart {
  display: flex; align-items: flex-end; gap: 8px;
  height: 80px; padding: 0 4px;
}
.mock-bar {
  flex: 1; background: #e2e8f0; border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}
.mock-bar.highlight { background: linear-gradient(180deg, #22c55e, #16a34a); }

/* PROBLEM */
.problem {
  background: var(--bg-soft);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.problem-item {
  display: flex; align-items: center; gap: 10px;
  background: white; border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 18px;
  font-size: 0.88rem; color: var(--text-muted); max-width: 220px;
}
.problem-icon { font-size: 1.2rem; flex-shrink: 0; }
.problem-arrow { flex-shrink: 0; }
.problem-solution {
  display: flex; align-items: center; gap: 10px;
  background: var(--green-light); border: 1.5px solid #86efac;
  border-radius: 10px; padding: 12px 18px;
  font-size: 0.88rem; max-width: 260px;
}
.problem-solution strong { color: var(--green-dark); }

/* FEATURES */
.features { padding: 96px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-soft); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: #86efac;
}
.feature-card--highlight {
  border-color: #86efac;
  background: linear-gradient(135deg, #f0fdf4, #f8fafc);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* HOW IT WORKS */
.how { padding: 96px 0; background: var(--bg-soft); }
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.step {
  text-align: center; flex: 1; min-width: 200px; max-width: 280px; padding: 0 16px;
}
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white; font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }
.step-line {
  flex: 0 0 60px; height: 2px; background: var(--border);
  align-self: center; margin-top: -24px;
}

/* MULTI */
.multi { padding: 96px 0; }
.multi-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.multi-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 16px;
}
.multi-text p { color: var(--text-muted); margin-bottom: 28px; font-size: 1rem; }
.multi-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.multi-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; font-weight: 500;
}

.company-switcher-mock {
  background: white; border: 1.5px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.company-mock-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.15s;
}
.company-mock-item:hover { background: var(--bg-soft); }
.company-mock-item.active { background: #eff6ff; }
.company-mock-logo {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: white; flex-shrink: 0;
}
.company-mock-name { font-size: 0.88rem; font-weight: 600; }
.company-mock-role { font-size: 0.75rem; color: var(--text-muted); }
.company-mock-item svg { margin-left: auto; flex-shrink: 0; }
.company-mock-add {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; color: var(--text-muted);
  font-size: 0.88rem; font-weight: 500; cursor: pointer;
}
.company-mock-add span {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-soft); border: 1.5px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--text-muted);
}

/* CTA FINAL */
.cta-final {
  background: linear-gradient(135deg, #16a34a, #15803d);
  padding: 96px 0;
}
.cta-final-inner { text-align: center; }
.cta-final h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; color: white; margin-bottom: 12px;
}
.cta-final p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 36px; }

/* FOOTER */
.footer {
  background: var(--bg-soft); border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.85rem; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 60px 0 40px; }

  .problem-grid { flex-direction: column; align-items: center; }
  .problem-arrow { transform: rotate(90deg); }

  .steps { flex-direction: column; align-items: center; }
  .step-line { width: 2px; height: 32px; flex: 0 0 32px; margin: 0; }

  .multi-inner { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .mock-cards { grid-template-columns: 1fr; }
}
