:root {
  --bg-top: #13452d;
  --bg-deep: #071d13;
  --bg-dark: #040d09;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-border: rgba(255, 255, 255, 0.12);
  --text: #f4faf6;
  --text-muted: rgba(244, 250, 246, 0.72);
  --emerald: #34d399;
  --emerald-deep: #10b981;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: radial-gradient(circle at 50% 0%, var(--bg-top) 0%, var(--bg-deep) 45%, var(--bg-dark) 100%);
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--emerald);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--text-muted);
}

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

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 48px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 1.12rem;
  color: var(--text-muted);
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  color: #03150d;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--surface-border);
}

/* Grid & Cards */
.section {
  padding: 36px 0;
}

.section-title {
  font-size: 1.55rem;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: 24px;
}

.pricing-card.featured {
  border-color: var(--emerald);
  background: rgba(52, 211, 153, 0.09);
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--emerald);
  color: #03150d;
  margin-bottom: 10px;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin: 6px 0;
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Legal / Prose */
.prose {
  max-width: 760px;
  margin: 40px auto 64px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 34px 32px;
}

.prose h1 {
  margin-top: 0;
  font-size: 2rem;
  line-height: 1.2;
}

.prose h2 {
  margin-top: 28px;
  font-size: 1.25rem;
  color: var(--emerald);
}

.prose p, .prose li {
  color: var(--text-muted);
}

.prose ul {
  padding-left: 20px;
}

.meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 42px;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 600px) {
  .prose {
    padding: 24px 20px;
  }
  .nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }
}
