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

:root {
  --teal:        #0F6E56;
  --teal-light:  #E1F5EE;
  --teal-mid:    #1A7A6E;
  --teal-dark:   #085041;
  --text:        #111827;
  --text2:       #4B5563;
  --text3:       #9CA3AF;
  --bg:          #FFFFFF;
  --bg2:         #F9FAFB;
  --bg3:         #F3F4F6;
  --border:      #E5E7EB;
  --border2:     #D1D5DB;
  --red:         #DC2626;
  --red-light:   #FEF2F2;
  --nav-height:  60px;
  --max-w:       1120px;
  --r:           10px;
  --r-lg:        14px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.2; }

/* ── LAYOUT HELPERS ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text);
  padding: 10px 22px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }

.btn-white {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--teal);
  padding: 10px 22px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
}
.btn-white:hover { background: var(--teal-light); }

.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.logo-mark-sm { width: 28px; height: 28px; border-radius: 6px; }

.logo-initials {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -0.3px;
}

.logo-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.4px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--teal); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── HERO ── */
.hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.hero-dot {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 620px;
}
.hero-title em {
  color: var(--teal);
  font-style: normal;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0;
}
.stat { padding-right: 32px; }
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--text3);
  margin-top: 4px;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin-right: 32px;
}

/* ── SECTIONS ── */
.section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.section-alt { background: var(--bg2); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 36px;
  color: var(--text);
}
.section-sub {
  font-size: 15px;
  color: var(--text2);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--teal); box-shadow: 0 4px 20px rgba(15,110,86,0.08); }

.card-featured {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(15,110,86,0.08);
}

.card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: var(--teal);
  color: #fff;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
  width: fit-content;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--teal);
}
.card-icon svg { width: 20px; height: 20px; }

.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.card-tag {
  font-size: 11px;
  font-weight: 600;
  background: var(--teal-light);
  color: var(--teal);
  padding: 3px 10px;
  border-radius: 20px;
}
.card-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.15s;
}
.card-link:hover { text-decoration: underline; }

/* ── PROCESS ── */
.process {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}
.process-step {
  flex: 1;
  min-width: 180px;
  padding: 0 24px 0 0;
}
.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 12px;
}
.process-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.process-step p { font-size: 13px; color: var(--text2); line-height: 1.6; }

.process-arrow {
  font-size: 20px;
  color: var(--border2);
  padding: 14px 0 0;
  flex-shrink: 0;
  margin-right: 8px;
}

/* ── DEMO ── */
.section-demo { background: var(--bg2); }

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.demo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s;
}
.demo-card:hover { border-color: var(--teal); }
.demo-card:first-child { grid-row: 1 / 3; }

.demo-card-header {
  background: var(--teal);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.demo-header-left { display: flex; align-items: center; gap: 8px; }
.demo-dot { width: 7px; height: 7px; background: rgba(255,255,255,0.5); border-radius: 50%; }
.demo-title { color: #fff; font-size: 12px; font-weight: 600; }

.demo-lock {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 5px;
  flex-shrink: 0;
}
.demo-lock svg { stroke: rgba(255,255,255,0.9); }

.demo-card-body { padding: 20px; }

.demo-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.demo-kpi {
  background: var(--bg2);
  border-radius: var(--r);
  padding: 12px;
}
.kpi-label { font-size: 10px; color: var(--text3); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.4px; }
.kpi-value { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700; color: var(--teal); line-height: 1; }
.kpi-neg { color: var(--red); }
.kpi-sub { font-size: 10px; color: var(--text3); margin-top: 4px; }

.demo-blur {
  border: 1px dashed var(--border2);
  border-radius: var(--r);
  padding: 20px;
  text-align: center;
  background: var(--bg2);
}
.demo-blur p { font-size: 13px; color: var(--text2); margin-bottom: 14px; line-height: 1.5; }

.demo-desc { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 18px; }

.demo-card-sm .demo-card-body { display: flex; flex-direction: column; justify-content: space-between; height: calc(100% - 44px); }

.demo-tool-badge {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  background: var(--teal-light);
  color: var(--teal);
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.3px;
}

/* ── CTA ── */
.section-cta {
  background: var(--teal);
  border-bottom: none;
  text-align: center;
}
.cta-title {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer {
  background: var(--text);
  padding: 28px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .logo-name { color: #fff; font-size: 14px; }

.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-card:first-child { grid-row: auto; }
  .process { flex-direction: column; gap: 24px; }
  .process-arrow { display: none; }
  .hero-title { font-size: 36px; }
}

@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; gap: 0; padding: 8px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; width: 100%; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 48px 0 40px; }
  .hero-title { font-size: 30px; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .section { padding: 48px 0; }
  .demo-kpis { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
