* { box-sizing: border-box; }

html {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #f5f7fb;
  --card: #ffffff;
  --border: #e5e7eb;
  --primary: #006400;
  --toggle-bg: #f1f5f9;
  --toggle-icon: #1f2937;
}

html[data-theme="dark"] {
  --bg: #0f172a;
  --text: #e5e7eb;
  --muted: #020617;
  --card: #020617;
  --border: #1e293b;
  --primary: #1d981d;
  --toggle-bg: #020617;
  --toggle-icon: #e5e7eb;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

a { text-decoration: none; color: inherit; }

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  height: 40px;
}

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

/* ================= BUTTONS ================= */
.btn,
.theme-toggle {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--border);
}

/* 🔥 FIXED THEME TOGGLE */
.theme-toggle {
  background: var(--toggle-bg);
  border: 1px solid var(--border);
  color: var(--toggle-icon);
}

.theme-toggle i {
  font-size: 18px;
}

.theme-toggle:hover {
  filter: brightness(1.1);
}

/* ================= LAYOUT SPLIT ================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ================= IMAGE CONTROL ================= */
.illustration {
  width: 100%;
  max-width: 420px;
  height: auto;
  justify-self: center;
}

/* ================= HERO ================= */
.hero {
  padding: 100px 0;
}

.notice {
  color: #dc2626;
  font-weight: 600;
}

/* ================= SECTIONS ================= */
.section {
  padding: 80px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 40px;
}

.muted {
  background: var(--muted);
}

/* ================= FEATURES (WHY CHALOPADHE) ================= */
.features {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: 16px;
  text-align: center;
}

/* 🔥 ICON FIX */
.feature i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  font-size: 28px;
  color: var(--primary);
  background: var(--muted);
  border-radius: 50%;
}

.feature h3 {
  margin-top: 8px;
  margin-bottom: 12px;
}

/* ================= CTA ================= */
.cta {
  padding: 80px 20px;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

/* ================= FOOTER ================= */
.footer {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .split,
  .features {
    grid-template-columns: 1fr;
  }

  .illustration {
    max-width: 280px;
  }
}
