/* BizCommander — Landing Page Styles
   Dark: #0A0A0A | Accent: #4F6FF5 | Mobile-first | No CDN dependencies */

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

:root {
  --bg: #0A0A0A;
  --bg-card: #111111;
  --bg-card-hover: #181818;
  --border: #222222;
  --accent: #4F6FF5;
  --accent-hover: #3D5CE0;
  --text: #F0F0F0;
  --text-muted: #888888;
  --text-subtle: #555555;
  --success: #22C55E;
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Layout ──────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 64px 0;
}

/* ── Nav ─────────────────────────────────────────────────── */

.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}

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

.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  padding: 80px 0 64px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(79, 111, 245, 0.12);
  border: 1px solid rgba(79, 111, 245, 0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(32px, 7vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color 0.18s ease, opacity 0.18s ease,
    transform 0.12s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  width: 100%;
  max-width: 320px;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 320px;
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 20px;
  font-size: 14px;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-appstore {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  width: 100%;
  max-width: 320px;
  transition: background-color 0.18s ease;
}

.btn-appstore:hover {
  background-color: var(--accent-hover);
}

.btn-open-app {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  width: 100%;
  max-width: 320px;
  transition: background-color 0.18s ease;
}

.btn-open-app:hover {
  background-color: var(--accent-hover);
}

/* ── Features ────────────────────────────────────────────── */

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

.section-title {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.feature-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.feature-text h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

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

/* ── Pricing ─────────────────────────────────────────────── */

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plugin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.plugin-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.plugin-card-title {
  font-size: 16px;
  font-weight: 700;
}

.plugin-card-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.plugin-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.badge-free {
  display: inline-block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.free-plugins {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 8px;
}

.free-plugins-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 12px;
}

.free-plugins-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.free-plugins-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.free-plugins-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5L3 8l1-1 2.5 2.5 5-5 1 1z'/%3E%3C/svg%3E");
  background-size: contain;
}

.pricing-note {
  font-size: 13px;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 24px;
}

/* ── Social Proof / CTA ──────────────────────────────────── */

.cta-section {
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ── Footer ──────────────────────────────────────────────── */

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

.footer-content {
  font-size: 13px;
  color: var(--text-subtle);
  line-height: 1.8;
}

.footer-content a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* ── Page-specific: checkout / success ───────────────────── */

.page-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.page-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  width: 100%;
  max-width: 480px;
}

.page-card-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.page-card h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.page-card p + p {
  margin-top: -16px;
  font-size: 14px;
}

.page-card-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.success-check {
  width: 64px;
  height: 64px;
  background: rgba(34, 197, 94, 0.12);
  border: 2px solid rgba(34, 197, 94, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 400px) {
  section {
    padding: 48px 0;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .page-card {
    padding: 32px 20px;
  }
}
