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

:root {
  --bg: #0a0c0b;
  --bg-alt: #0d100e;
  --surface: #12161400;
  --surface-solid: #121614;
  --surface-hover: #181d1a;
  --border: #1e2722;
  --border-light: #2a352e;
  --text: #c8d1cb;
  --text-bright: #e8ede9;
  --muted: #6b7f71;
  --accent: #4ade80;
  --accent-hover: #6ee7a0;
  --accent-dim: rgba(74, 222, 128, 0.15);
  --accent-glow: rgba(74, 222, 128, 0.12);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.1);
  --red: #ef4444;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --max-w: 1060px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

/* ───── NAV ───── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 11, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.3px;
}

.nav-brand span {
  color: var(--accent);
}

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

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

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

.nav-links .nav-cta {
  background: var(--accent);
  color: #0a0c0b;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
}

.nav-links .nav-cta:hover {
  background: var(--accent-hover);
  color: #0a0c0b;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ───── HERO (homepage) ───── */

.hero {
  padding: 100px 0 64px;
  text-align: left;
  background: radial-gradient(ellipse 60% 50% at 20% 50%, rgba(74, 222, 128, 0.04) 0%, transparent 70%);
}

.hero-badge {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  padding-left: 2px;
}

.hero-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.hero h1 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--text-bright);
  max-width: 640px;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, #4ade80 0%, #86efac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

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

/* ───── BUTTONS ───── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0a0c0b;
  font-weight: 700;
}
.btn-primary:hover { background: var(--accent-hover); color: #0a0c0b; }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--text-bright); }

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: var(--radius);
}

/* ───── SECTION ───── */

.section {
  padding: 80px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  text-align: left;
  margin-bottom: 48px;
  max-width: 560px;
}

.section-header.centered {
  text-align: center;
  max-width: none;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ───── PRODUCT CARDS (homepage grid) ───── */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.product-card-badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.product-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.product-card-tech span {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-price {
  font-size: 14px;
  color: var(--muted);
}

.product-card-price strong {
  font-size: 22px;
  color: var(--text-bright);
  font-weight: 700;
}

/* ───── PRODUCT PAGE ───── */

.product-hero {
  padding: 80px 0 60px;
  background: radial-gradient(ellipse 60% 50% at 20% 50%, rgba(74, 222, 128, 0.04) 0%, transparent 70%);
}

.product-hero .hero-badge {
  margin-bottom: 20px;
}

.product-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.product-hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.product-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  transition: border-color var(--transition);
}

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

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.feature-card h3::before {
  content: "//";
  color: var(--accent);
  margin-right: 8px;
  font-weight: 700;
  opacity: 0.7;
}

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

/* Tech pills */
.tech-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 32px 0;
}

.tech-pill {
  background: var(--surface-solid);
  border: 1px solid var(--border-light);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

/* Included list */
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 8px;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
}

.included-item .check {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.included-item span {
  font-size: 15px;
  color: var(--text);
}

/* ───── PRICING ───── */

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  position: relative;
}

.price-card.featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a0c0b;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.price-card .tier {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.price-card .amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1;
}

.price-card .once {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  margin-top: 4px;
}

.price-card ul {
  list-style: none;
  margin-bottom: 32px;
}

.price-card li {
  padding: 7px 0;
  font-size: 15px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-card li::before {
  content: "\2713";
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

.buy-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.buy-btn.primary {
  background: var(--accent);
  color: #0a0c0b;
  font-weight: 700;
}
.buy-btn.primary:hover { background: var(--accent-hover); }

.buy-btn.secondary {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text);
}
.buy-btn.secondary:hover { border-color: var(--accent); color: var(--text-bright); }

/* ───── FAQ ───── */

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ───── DIVIDER ───── */

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Green top-border accent on cards */
.product-card { border-top: 2px solid var(--accent); }
.price-card.featured { border-top: 2px solid var(--accent); }

/* ───── FOOTER ───── */

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); }

/* ───── SUCCESS PAGE ───── */

.success-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  max-width: 480px;
  text-align: center;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 36px;
  color: var(--green);
}

.success-card h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.success-card p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 15px;
}

.success-card .note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
}

.error-text {
  color: var(--red);
  margin-top: 16px;
  font-size: 14px;
}

/* ───── RESPONSIVE ───── */

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .product-hero h1 { font-size: 32px; }
  .section-title { font-size: 28px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 32px; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .container { padding: 0 16px; }
}
