@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --green: #2D5A3D;
  --green-dark: #1C3D2A;
  --green-light: #E8F0EA;
  --text: #1A1814;
  --text2: #6B6860;
  --border: #E4E0D8;
  --red: #B03030;
  --amber: #B87C1A;
  --blue: #1A4A8A;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--green); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  cursor: pointer;
}

.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-primary {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: background 0.15s;
  cursor: pointer;
}

.btn-primary:hover { background: var(--green-dark); }

.btn-primary-lg {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: background 0.15s;
  cursor: pointer;
  display: inline-block;
}

.btn-primary-lg:hover { background: var(--green-dark); }

.btn-outline-lg {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--green);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  display: inline-block;
}

.btn-outline-lg:hover { background: var(--green); color: #fff; }

/* HERO */
.hero {
  padding: 96px 48px 80px;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero p {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 48px;
  font-size: 13px;
  color: var(--text2);
}

.hero-trust strong { color: var(--text); }

/* DASHBOARD PREVIEW */
.preview-section {
  padding: 0 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.preview-bar {
  background: #F0EDE8;
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.preview-dot.red { background: #FF5F57; }
.preview-dot.yellow { background: #FFBD2E; }
.preview-dot.green { background: #28C840; }

.preview-url {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text2);
  background: rgba(255,255,255,0.7);
  padding: 3px 12px;
  border-radius: 6px;
  flex: 1;
  max-width: 300px;
}

.preview-mockup {
  display: flex;
  height: 380px;
}

.preview-sidebar {
  width: 200px;
  background: #1C2B22;
  padding: 20px 12px;
  flex-shrink: 0;
}

.preview-sidebar-logo {
  font-family: 'DM Serif Display', serif;
  color: white;
  font-size: 16px;
  margin-bottom: 24px;
  padding: 0 8px;
}

.preview-nav-item {
  padding: 8px 12px;
  border-radius: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-nav-item.active {
  background: rgba(255,255,255,0.1);
  color: white;
}

.preview-main {
  flex: 1;
  padding: 20px 24px;
  background: var(--bg);
  overflow: hidden;
}

.preview-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.preview-stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.preview-stat-label {
  font-size: 10px;
  color: var(--text2);
  margin-bottom: 4px;
}

.preview-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.preview-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
}

.preview-card-inner {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.preview-card-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text);
}

.preview-item:last-child { border-bottom: none; }

.preview-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-green { background: #D1FAE5; color: #065F46; }
.badge-amber { background: #FEF3C7; color: #92400E; }
.badge-red { background: #FEE2E2; color: #991B1B; }
.badge-blue { background: #DBEAFE; color: #1E40AF; }

/* FEATURES SECTION */
section { padding: 80px 48px; }

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.8px;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}

.section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}

/* ROLE TABS */
.roles-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.roles-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.role-tab {
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.role-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.role-content {
  display: none;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px 48px;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.role-content.active {
  display: grid;
}

.role-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.role-content p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.role-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.role-bullets li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.role-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 280px;
}

/* PRICING SECTION */
.pricing-section { background: var(--bg); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}

.plan-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.plan-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text2);
  margin-bottom: 12px;
}

.plan-price {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price span {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text2);
  letter-spacing: 0;
}

.plan-desc {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 24px;
  line-height: 1.5;
}

.plan-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-features li.disabled {
  color: var(--text2);
}

.plan-features li.disabled::before {
  content: '–';
  color: var(--border);
}

.plan-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
}

.plan-btn-primary { background: var(--green); color: white; }
.plan-btn-primary:hover { background: var(--green-dark); }
.plan-btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.plan-btn-outline:hover { background: var(--green); color: white; }

/* TESTIMONIALS */
.testimonials-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 14px;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  font-size: 12px;
  color: var(--text2);
}

/* CTA SECTION */
.cta-section {
  background: var(--green);
  text-align: center;
  padding: 96px 48px;
}

.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  color: white;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.btn-white {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-white:hover { background: var(--bg); }

.cta-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* FOOTER */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 64px 48px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: white;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* STAT STRIP */
.stat-strip {
  background: var(--green-dark);
  padding: 28px 48px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: white;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* UTILS */
.container { max-width: 1100px; margin: 0 auto; }
.text-center { text-align: center; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  section { padding: 60px 24px; }
  .hero { padding: 64px 24px 48px; }
  .preview-section { padding: 0 24px 60px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .plans-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .role-content.active { grid-template-columns: 1fr; }
  .stat-strip { gap: 32px; }
  .preview-mockup { display: none; }
  .preview-bar { display: none; }
  .preview-card { height: 80px; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--text2); font-size: 14px; }
}
