/* FinalDeck — Premium dark theme */
:root {
  --bg: #08080C;
  --bg-card: #0E0E14;
  --bg-card-hover: #13131A;
  --fg: #FAFAFA;
  --fg-muted: #888899;
  --accent: #2563EB;
  --accent-dim: rgba(37, 99, 235, 0.12);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --font-sans: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,12,0.8);
  backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.5px;
  color: #fff;
}
.logo-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 32px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79,70,229,0.1) 0%, transparent 70%);
  bottom: 0;
  left: -50px;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(37,99,235,0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.headline-accent {
  background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
.btn-primary.btn-large { padding: 16px 40px; font-size: 17px; border-radius: 12px; }
.btn-ghost {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--fg); }

/* Product Stack Cards */
.product-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s;
  cursor: default;
}
.product-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(-4px);
}
.card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.card-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.card-1 { border-left: 2px solid #2563EB; }
.card-2 { border-left: 2px solid #7C3AED; }
.card-3 { border-left: 2px solid #059669; }
.card-4 { border-left: 2px solid #D97706; }
.card-5 { border-left: 2px solid #DC2626; }

/* STATS */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* SECTION COMMON */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--fg-muted);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* PRODUCTS GRID */
.products { padding: 100px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.product-item {
  background: var(--bg-card);
  padding: 36px 32px;
  transition: background 0.2s;
}
.product-item:hover { background: var(--bg-card-hover); }
.product-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.product-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.product-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

/* FEATURES */
.features { padding: 100px 0; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.feature-card-large {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.fcard-accent { margin-bottom: 20px; }
.fcard-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.fcard-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  line-height: 1.2;
}
.fcard-text {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.fcard-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.check svg { color: var(--accent); flex-shrink: 0; }
.feature-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.feature-mini {
  background: var(--bg);
  padding: 28px 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background 0.2s;
}
.feature-mini:hover { background: var(--bg-card); }
.mini-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.mini-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.mini-text p { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }

/* TESTIMONIALS */
.testimonials { padding: 100px 0; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
}
.test-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #F59E0B;
}
.test-text {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 38px;
  height: 38px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.author-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.author-role {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
}

/* TRUST */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-card);
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
}
.trust-badge svg { color: var(--accent); }

/* CLOSING */
.closing {
  padding: 120px 32px;
  text-align: center;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.closing-sub {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-cta { margin-bottom: 16px; }
.closing-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
  background: var(--bg-card);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-name {
  font-weight: 700;
  font-size: 18px;
}
.footer-tagline {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .features-layout { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; gap: 32px; justify-content: center; }
  .stat-divider { display: none; }
  .trust-inner { gap: 24px; }
  .hero { padding-top: 100px; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section-header { margin-bottom: 40px; }
  .products, .features, .testimonials { padding: 64px 0; }
}