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

:root {
  /* Brand */
  --green-primary: #1DB954;
  --green-deep:    #14823A;
  --green-soft:    #D4EDD9;

  /* Surfaces */
  --cream:         #FAF6EC;
  --cream-soft:    #F4EDDC;
  --white:         #FFFFFF;

  /* Text */
  --text:          #2C2C2C;
  --text-muted:    #5A5A5A;

  /* Lines & shadow */
  --border:        rgba(0, 0, 0, 0.08);
  --shadow-card:   0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-hover:  0 8px 24px rgba(0, 0, 0, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  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 48px;
  height: 68px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--green-primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 13px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 17px;
  color: var(--text); letter-spacing: -0.3px;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--green-primary);
  color: var(--white) !important;
  font-weight: 500 !important;
  padding: 9px 22px;
  border-radius: 8px;
  transition: background-color 0.2s !important;
}

.nav-cta:hover { background: var(--green-deep) !important; }

/* PAGE WRAPPER */
.page { padding-top: 68px; min-height: 100vh; }

/* SECTION */
section { padding: 100px 48px; }
.container { max-width: 1120px; margin: 0 auto; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 16px;
  display: block;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); }

.btn-outline {
  background: var(--white);
  color: var(--green-primary);
  border: 1px solid var(--green-primary);
}
.btn-outline:hover {
  background: var(--green-soft);
  border-color: var(--green-deep);
  color: var(--green-deep);
}

/* CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* BADGE */
.badge {
  display: inline-flex; align-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
  border: 1px solid rgba(29,185,84,0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em;
}

/* DIVIDER */
hr { border: none; border-top: 1px solid var(--border); }

/* FOOTER */
footer {
  background: var(--cream-soft);
  border-top: 1px solid var(--border);
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}

.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 13px; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--green-deep); }

/* NOISE OVERLAY */
.noise::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* GRID HELPERS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  section { padding: 64px 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
}
