:root {
  --bg: #f5f2ec;
  --bg-alt: #efe6d9;
  --card: #ffffff;
  --text: #1b1b1b;
  --muted: #5a5a5a;
  --accent: #0f3b2f;
  --accent-2: #d6a94f;
  --border: #ded6cc;
  --shadow: 0 20px 40px rgba(0,0,0,0.08);
}

[data-theme="dark"] {
  --bg: #111412;
  --bg-alt: #1a1f1b;
  --card: #1a1d1b;
  --text: #f4f2ee;
  --muted: #b7b4ad;
  --accent: #a7f3d0;
  --accent-2: #e6b96a;
  --border: #2d3330;
  --shadow: 0 20px 40px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  color: var(--text);
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand .dot {
  width: 14px;
  height: 14px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(214,169,79,0.2);
}

.hero {
  margin-top: 40px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin: 0 0 12px;
}

.hero p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero .tag {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.85rem;
  letter-spacing: 0.4px;
}

.section {
  margin-top: 48px;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 1.6rem;
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
}

.card.popular::after {
  content: "Popular";
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 999px;
}

.card h3 { margin: 0 0 8px; }
.card ul { padding-left: 18px; margin: 0; color: var(--muted); }

.card .price {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 12px;
}

.card button {
  margin-top: 16px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.form-shell {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

textarea { min-height: 90px; }

button.primary {
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: var(--accent-2);
  color: #1b1b1b;
  font-weight: 700;
  cursor: pointer;
}

.faq, .benefits {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.badge {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

.flash {
  padding: 12px 14px;
  border-radius: 10px;
  margin-top: 12px;
  background: var(--card);
  border: 1px solid var(--border);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th, .table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  text-align: left;
}

.theme-toggle {
  position: fixed;
  right: 18px;
  top: 45%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 10;
}

.hidden {
  display: none;
}

@media (max-width: 640px) {
  .theme-toggle { right: 8px; }
  .nav { flex-direction: column; align-items: flex-start; }
}
