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

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

:root {
  --green:       #1D9E75;
  --green-dark:  #085041;
  --green-mid:   #0F6E56;
  --green-light: #E1F5EE;
  --dark:        #0A1628;
  --dark-mid:    #1A2332;
  --gray:        #6B7280;
  --gray-light:  #F8F9FA;
  --white:       #FFFFFF;
  --amber:       #C9A84C;
  --red:         #A32D2D;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--dark-mid); overflow-x: hidden; }

/* ── NAV ─────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29,158,117,0.1);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.08); }
.nav-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--green); text-decoration: none; letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta { background: var(--green) !important; color: var(--white) !important; padding: 0.55rem 1.3rem !important; border-radius: 50px; font-weight: 600 !important; transition: background 0.2s, transform 0.2s !important; }
.nav-cta:hover { background: var(--green-dark) !important; transform: translateY(-1px); }
.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--dark); }

/* ── BUTTONS ─────────────────────────── */
.btn-primary {
  background: var(--green); color: var(--white);
  padding: 0.9rem 1.9rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,158,117,0.3); }
.btn-outline {
  background: transparent; color: var(--green);
  padding: 0.9rem 1.9rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  text-decoration: none; border: 2px solid var(--green);
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-outline:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-white {
  background: var(--white); color: var(--green);
  padding: 0.9rem 1.9rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-white:hover { background: var(--green-light); transform: translateY(-2px); }

/* ── SECTION BASICS ──────────────────── */
.section { padding: 100px 5%; }
.section-dark { background: var(--dark); color: white; }
.section-light { background: var(--gray-light); }
.section-green { background: var(--green); color: white; }

.section-tag {
  display: inline-block; background: var(--green-light); color: var(--green-dark);
  padding: 0.3rem 0.9rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-dark .section-tag { background: rgba(29,158,117,0.2); color: #6ee7c7; }
.section-green .section-tag { background: rgba(255,255,255,0.2); color: white; }

.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--gray); line-height: 1.7; max-width: 560px; font-weight: 300; }
.section-sub-light { font-size: 1.05rem; color: var(--green-light); line-height: 1.7; max-width: 560px; font-weight: 300; }
.section-dark .section-sub, .section-green .section-sub { color: rgba(255,255,255,0.7); }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── PAGE HERO ───────────────────────── */
.page-hero {
  padding: 140px 5% 0px;
  background: linear-gradient(135deg, #f0fdf8 0%, #ffffff 60%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,158,117,0.07) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-inner { max-width: 700px; }

/* ── MARQUEE ─────────────────────────── */
.marquee-section { background: var(--green); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 22s linear infinite; gap: 3rem; }
.marquee-item { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.85); letter-spacing: 0.05em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 1rem; }
.marquee-item::after { content: '✦'; color: rgba(255,255,255,0.35); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── CARDS ───────────────────────────── */
.card {
  background: white; border-radius: 20px; padding: 2rem;
  border: 1px solid rgba(29,158,117,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(29,158,117,0.1); }
.card-dark { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 2rem; transition: all 0.3s; }
.card-dark:hover { background: rgba(29,158,117,0.1); border-color: rgba(29,158,117,0.3); transform: translateY(-4px); }

/* ── GRID LAYOUTS ────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

/* ── FEATURE CHECK LIST ──────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-check { width: 26px; height: 26px; background: var(--green-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--green); font-weight: 700; font-size: 0.8rem; flex-shrink: 0; margin-top: 2px; }
.feature-text strong { display: block; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.feature-text span { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

/* ── CTA SECTION ─────────────────────── */
.cta-section { background: var(--dark); padding: 100px 5%; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(29,158,117,0.12) 0%, transparent 70%); border-radius: 50%; }
.cta-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: white; letter-spacing: -2px; margin-bottom: 1rem; position: relative; }
.cta-title span { color: var(--green); }
.cta-sub { font-size: 1.1rem; color: rgba(255,255,255,0.6); margin-bottom: 3rem; font-weight: 300; position: relative; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; }

/* ── FOOTER ──────────────────────────── */
footer { background: #060E1A; color: rgba(255,255,255,0.5); padding: 60px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--green); margin-bottom: 1rem; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-heading { font-weight: 600; color: white; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-green { color: var(--green); }

/* ── BADGE ───────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.9rem; border-radius: 50px; font-size: 0.78rem; font-weight: 600; }
.badge-green { background: var(--green-light); color: var(--green-dark); }
.badge-dark { background: rgba(29,158,117,0.15); color: #6ee7c7; }
.badge-pulse::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }

/* ── TABLE ───────────────────────────── */
.sp-table { width: 100%; border-collapse: collapse; }
.sp-table th { background: var(--dark); color: white; padding: 12px 16px; text-align: left; font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; }
.sp-table th:first-child { border-radius: 10px 0 0 0; }
.sp-table th:last-child { border-radius: 0 10px 0 0; }
.sp-table td { padding: 12px 16px; border-bottom: 1px solid rgba(29,158,117,0.08); font-size: 0.95rem; }
.sp-table tr:nth-child(even) td { background: var(--gray-light); }
.sp-table tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.sp-table tr:last-child td:last-child { border-radius: 0 0 10px 0; }
.sp-table .highlight-row td { background: var(--green-light); color: var(--green-dark); font-weight: 600; }
.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

/* ── ANIMATIONS ──────────────────────── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── COMPARISON ──────────────────────── */
.vs-card { border-radius: 20px; padding: 2rem; }
.vs-bad { background: #FEF2F2; border: 2px solid #FECACA; }
.vs-good { background: var(--green-light); border: 2px solid var(--green); }
.vs-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.vs-bad .vs-title { color: var(--red); }
.vs-good .vs-title { color: var(--green-dark); }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 5%; }
}
