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

:root {
  --bg: #0A0A0A;
  --bg-elevated: #111111;
  --bg-card: #151515;
  --bg-card-hover: #1a1a1a;
  --primary: #233818;
  --primary-hover: #2a4520;
  --secondary: #A7E57A;
  --accent: #263E1A;
  --text: #E8E8E8;
  --text-muted: #999999;
  --text-dim: #666666;
  --border: #222222;
  --border-light: #2a2a2a;
  --glow: rgba(167, 229, 122, 0.4) 0px 0px 15px 0px, rgba(167, 229, 122, 0.15) 0px 0px 30px 0px;
  --glow-sm: rgba(167, 229, 122, 0.25) 0px 0px 10px 0px;
  --radius: 10px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

/* NAV */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 900px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}

.nav-logo:hover {
  opacity: 1;
}

.nav-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary);
  box-shadow: var(--glow-sm);
}

.nav-logo-text {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--text);
  opacity: 1;
}

.nav-link.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  opacity: 1;
  box-shadow: rgba(167, 229, 122, 0.5) 0px 0px 20px 0px, rgba(167, 229, 122, 0.2) 0px 0px 40px 0px;
}

.btn-secondary {
  background: var(--accent);
  color: #fff;
  border-color: var(--secondary);
  border-radius: 100px;
  box-shadow: var(--glow-sm);
}

.btn-secondary:hover {
  opacity: 1;
  box-shadow: var(--glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  opacity: 1;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* HERO */
.hero {
  padding: 160px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(35, 56, 24, 0.4);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* STATS BAR */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg-elevated);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* FEATURES */
.features {
  padding: 100px 0;
}

.features-alt {
  background: var(--bg-elevated);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(167, 229, 122, 0.08);
  border-radius: 12px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA SECTION */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(35, 56, 24, 0.4) 0%, rgba(10, 10, 10, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.cta-box h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* PAGE HEADER */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(35, 56, 24, 0.15) 0%, transparent 100%);
}

.page-header h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-sub {
  font-size: 18px;
  color: var(--text-muted);
}

/* PRICING */
.pricing-section {
  padding: 40px 0 120px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.3s;
}

.pricing-card:hover {
  border-color: var(--border-light);
}

.pricing-featured {
  border-color: var(--secondary);
  box-shadow: var(--glow);
}

.pricing-featured:hover {
  border-color: var(--secondary);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #0A0A0A;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 12px;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 16px;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
}

.pricing-features li svg {
  flex-shrink: 0;
}

/* LEGAL CONTENT */
.legal-content {
  padding: 40px 0 120px;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.legal-content li {
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-content li::marker {
  color: var(--secondary);
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.legal-content strong {
  color: var(--text);
}

/* CONTACT */
.contact-section {
  padding: 40px 0 120px;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  min-height: 300px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 16px;
    width: 100%;
    text-align: left;
  }

  .nav-links .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-grid .pricing-card:last-child {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .page-header {
    padding: 120px 0 40px;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}
