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

:root {
  --brand-primary: #2E7D32;
  --brand-dark: #1B5E20;
  --brand-light: #4CAF50;
  --brand-accent: #7ED957;
  --brand-surface: #F0FDF4;
  --brown: #795135;

  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --success: #16A34A;
  --warning: #F59E0B;
  --error: #DC2626;
  --info: #2563EB;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-outline:hover {
  background: var(--brand-surface);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
}
.btn-ghost:hover {
  background: var(--gray-100);
}

.btn-white {
  background: #fff;
  color: var(--brand-primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img { height: 36px; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--brand-primary);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #fff 0%, var(--brand-surface) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--brand-surface);
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(46,125,50,0.2);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat {
  text-align: center;
}
.stat-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-primary);
}
.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
}

/* Dashboard Preview */
.hero-visual {
  display: flex;
  justify-content: center;
}

.dashboard-preview {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.preview-dots {
  display: flex;
  gap: 6px;
}
.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.preview-dots span:nth-child(1) { background: #EF4444; }
.preview-dots span:nth-child(2) { background: #F59E0B; }
.preview-dots span:nth-child(3) { background: #22C55E; }
.preview-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
}

.preview-body {
  padding: 20px;
}

.preview-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.preview-card {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--gray-100);
}
.preview-card:first-child {
  background: var(--brand-surface);
  border-color: rgba(46,125,50,0.15);
}
.preview-card-label {
  display: block;
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 4px;
}
.preview-card-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
}
.preview-card:first-child .preview-card-value {
  color: var(--brand-primary);
}

.preview-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 100px;
  padding: 12px 20px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
}
.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-light));
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  transition: height 0.3s ease;
}
.chart-bar span {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 24px 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}
.trust-item svg {
  color: var(--brand-primary);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--brand-surface);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  padding: 96px 0;
  background: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(46,125,50,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 96px 0;
  background: var(--gray-50);
}
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-card {
  flex: 1;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}
.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ===== PRICING ===== */
.pricing {
  padding: 96px 0;
  background: #fff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--brand-primary);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.pricing-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}
.price-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
}
.price-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}
.price-period {
  font-size: 16px;
  color: var(--gray-500);
  font-weight: 500;
}
.pricing-desc {
  font-size: 14px;
  color: var(--gray-500);
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-700);
}
.pricing-features li.excluded {
  color: var(--gray-400);
}
.pricing-features li.highlight {
  color: var(--gray-900);
}
.pricing-features li svg {
  flex-shrink: 0;
}

/* ===== COMPLIANCE ===== */
.compliance {
  padding: 96px 0;
  background: var(--gray-50);
}
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.compliance-card {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.compliance-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.compliance-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--brand-surface);
  color: var(--brand-primary);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid rgba(46,125,50,0.15);
}
.compliance-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.compliance-card p {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== REPORTS SECTION ===== */
.reports-section {
  padding: 96px 0;
  background: #fff;
}
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.report-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  border: 1px solid var(--gray-100);
  transition: all 0.2s ease;
}
.report-item:hover {
  background: var(--brand-surface);
  border-color: rgba(46,125,50,0.2);
}
.report-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--brand-surface);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  min-width: 36px;
  text-align: center;
}

/* ===== FAQ ===== */
.faq {
  padding: 96px 0;
  background: var(--gray-50);
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-400);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
}
.cta-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 40px;
  background: var(--gray-900);
  color: var(--gray-400);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
}
.footer-legal {
  margin-top: 24px;
  font-size: 12px;
}
.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--gray-400);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--brand-accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 { font-size: 36px; }
  .hero-visual { order: -1; }
  .dashboard-preview { max-width: 400px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card:last-child { grid-column: span 2; max-width: 400px; margin: 0 auto; }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .nav-actions.open {
    display: flex;
    position: absolute;
    top: calc(68px + var(--nav-links-height, 200px));
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    gap: 12px;
  }

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 24px; }

  .features-grid,
  .pricing-grid,
  .compliance-grid,
  .reports-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured { transform: none; }
  .pricing-card:last-child { grid-column: auto; max-width: none; }

  .steps-grid {
    flex-direction: column;
    gap: 0;
  }
  .step-connector {
    transform: rotate(90deg);
  }

  .section-header h2 { font-size: 28px; }
  .cta-content h2 { font-size: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .trust-items { gap: 24px; }
}
