*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-deep: #080812;
  --bg-primary: #0b0b18;
  --bg-card: #12121f;
  --bg-card-hover: #1a1a2a;
  --bg-surface: #0f0f1c;
  --accent-primary: #00c8ff;
  --accent-secondary: #6366f1;
  --accent-warm: #f59e0b;
  --accent-glow: rgba(0, 200, 255, 0.15);
  --text-primary: #f0f4fc;
  --text-secondary: #8b95b0;
  --text-muted: #4b5574;
  --border-subtle: rgba(255,255,255,0.06);
  --border-accent: rgba(0, 200, 255, 0.2);
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-height: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === Ambient color blobs === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 35% at 15% 10%, rgba(120, 60, 200, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 35% 30% at 85% 15%, rgba(0, 160, 255, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 70% 55%, rgba(180, 50, 120, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(0, 200, 180, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 30% 25% at 50% 90%, rgba(100, 80, 220, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(8, 8, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 110px;
  text-decoration: none;
}

.nav-logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.nav-logo-text span {
  color: var(--accent-primary);
}

.nav-logo-img {
  transition: opacity 0.25s;
}

.nav-logo-img:hover {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.25s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-secondary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-nav-secondary:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
}

.btn-nav-primary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--bg-deep);
  background: var(--accent-primary);
  border: none;
  padding: 9px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-nav-primary:hover {
  background: #33d4ff;
  box-shadow: 0 0 24px rgba(0,200,255,0.3);
}

/* === BURGER MENU === */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: rgba(8, 8, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  padding: 32px 24px;
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.25s;
}

.mobile-menu a:last-of-type {
  border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  color: var(--accent-primary);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.mobile-menu-actions button {
  width: 100%;
  padding: 14px;
  text-align: center;
  font-size: 16px;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 60px) 48px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 100%;
  background:
    radial-gradient(ellipse 40% 45% at 30% 20%, rgba(100, 50, 220, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at 75% 25%, rgba(0, 170, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 55% 50%, rgba(200, 50, 130, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 20% 65%, rgba(0, 190, 170, 0.08) 0%, transparent 55%);
  pointer-events: none;
  animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 1; transform: translateX(-50%) scale(1); }
  100% { opacity: 0.8; transform: translateX(-48%) scale(1.05); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  pointer-events: none;
}

.hero-grid {
  display: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 20px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-primary);
  letter-spacing: 0.5px;
  animation: fadeUp 1s ease-out 0.1s both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeUp 1s ease-out 0.2s both;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 40px;
  animation: fadeUp 1s ease-out 0.35s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: fadeUp 1s ease-out 0.5s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent-primary);
  border: none;
  padding: 16px 36px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,200,255,0.35);
}

.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  padding: 15px 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
  animation: fadeUp 1s ease-out 0.65s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.hero-stat-value span { color: var(--accent-primary); }

.hero-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* === SECTION COMMON === */
section {
  padding: 120px 48px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* === PRODUCTS SECTION === */
.products {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.products::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(100, 50, 220, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card:nth-child(1) { grid-column: 1 / 3; }
.product-card:nth-child(2) { grid-column: 3 / 5; }
.product-card:nth-child(3) { grid-column: 5 / 7; }
.product-card:nth-child(4) { grid-column: 2 / 4; }
.product-card:nth-child(5) { grid-column: 4 / 6; }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.product-card:hover::before { transform: scaleX(1); }

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-display);
}

.product-card:nth-child(1) .product-icon {
  background: linear-gradient(135deg, rgba(0,200,255,0.15), rgba(0,200,255,0.05));
  color: var(--accent-primary);
  border: 1px solid rgba(0,200,255,0.2);
}

.product-card:nth-child(2) .product-icon {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(99,102,241,0.05));
  color: var(--accent-secondary);
  border: 1px solid rgba(99,102,241,0.2);
}

.product-card:nth-child(3) .product-icon {
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
  color: var(--accent-warm);
  border: 1px solid rgba(245,158,11,0.2);
}

.product-card:nth-child(4) .product-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.product-card:nth-child(4) .product-tag {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
}

.product-card:nth-child(5) .product-icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.05));
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.product-card:nth-child(5) .product-tag {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.08);
    border-color: rgba(236, 72, 153, 0.15);
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.product-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-primary);
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.15);
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.product-card:nth-child(2) .product-tag {
  color: var(--accent-secondary);
  background: rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.15);
}

.product-card:nth-child(3) .product-tag {
  color: var(--accent-warm);
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.15);
}

/* === FEATURES SECTION === */
.features {
  background: var(--bg-deep);
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.features-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.features-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 200, 255, 0.06), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(99, 102, 241, 0.04), transparent 50%);
}

.features-visual-code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  padding: 32px;
  max-width: 92%;
  border: 1px solid var(--border-subtle);
  white-space: pre-wrap;
  line-height: 1.8;
}

.features-visual-code .kw { color: var(--accent-secondary); }
.features-visual-code .fn { color: var(--accent-primary); }
.features-visual-code .str { color: #f59e0b; }
.features-visual-code .cm { color: var(--text-muted); }

.features-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--accent-primary);
}

.feature-item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === PRICING / CTA === */
.pricing {
  background: var(--bg-deep);
  position: relative;
}

.pricing-bg {
  position: absolute;
  inset: 0;
}

.pricing-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.pricing-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  padding: 56px 48px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.pricing-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-warm));
}

.pricing-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.pricing-value span {
  font-size: 24px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.pricing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
  text-align: left;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-feature-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(0, 200, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-primary);
  font-size: 12px;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border: none;
  padding: 18px 48px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,200,255,0.3);
}

/* === TECH SPECS BANNER === */
.tech-banner {
  background: var(--bg-primary);
  padding: 80px 48px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tech-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-item {
  text-align: center;
  padding: 32px 16px;
  border-radius: 16px;
  transition: background 0.3s;
}

.tech-item:hover {
  background: rgba(255,255,255,0.02);
}

.tech-item-icon {
  font-size: 28px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.tech-item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.tech-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === FOOTER === */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 48px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto 64px;
}

.footer-brand p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-bottom-links a:hover { color: var(--text-secondary); }

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === PURCHASE MODAL === */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-warm));
  border-radius: 20px 20px 0 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 1;
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.modal-header {
  padding: 40px 40px 0;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.modal-header h2 span {
  color: var(--accent-primary);
}

.modal-body {
  padding: 24px 40px;
}

.modal-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.modal-info-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.modal-info-list li.warning {
  color: var(--accent-warm);
}

.modal-info-list li.warning::before {
  background: var(--accent-warm);
}

.modal-warning-box {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
}

.modal-warning-box h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-warm);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-warning-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-warning-box a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-warning-box a:hover {
  color: #33d4ff;
}

.modal-footer {
  padding: 0 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-modal-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border: none;
  padding: 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-modal-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,200,255,0.3);
}

.btn-modal-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  padding: 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-modal-secondary:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
   .products-grid { display: flex; flex-direction: column; max-width: 500px; margin: 0 auto; gap: 24px; }
   .product-card:nth-child(n) { grid-column: auto; }
  .features-layout { grid-template-columns: 1fr; }
  .features-visual { max-width: 500px; margin: 0 auto; }
  .tech-banner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pricing-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .burger { display: flex; }

  section { padding: 80px 20px; }
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); letter-spacing: -1px; }
  .hero-subtitle { font-size: 17px; }
  .hero-stats { flex-direction: column; gap: 24px; margin-top: 48px; padding-top: 32px; }
  .hero-stat-value { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { justify-content: center; }

  .section-header { margin-bottom: 48px; }
  .section-subtitle { font-size: 16px; }

  .products-grid { max-width: 100%; }
  .product-card { padding: 32px 24px; }
  .product-card h3 { font-size: 20px; }

  .features-layout { gap: 40px; }
  .features-visual { aspect-ratio: auto; height: 400px; width: 100%; }
  .features-visual-code { font-size: 11px; padding: 20px; max-width: 92%; }
  .feature-item h4 { font-size: 18px; }

  .pricing-value { font-size: 40px; }
  .pricing-value span { font-size: 18px; }
  .pricing-box { padding: 32px 20px; }
  .pricing-desc { font-size: 15px; }

  .tech-banner { padding: 60px 20px; }
  .tech-banner-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .tech-item { padding: 20px 12px; }
  .tech-item h4 { font-size: 16px; }
  .tech-item p { font-size: 13px; }

  footer { padding: 60px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  /* Modal mobile */
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal { max-height: 85vh; border-radius: 20px 20px 0 0; }
  .modal-header { padding: 32px 24px 0; }
  .modal-header h2 { font-size: 24px; }
  .modal-body { padding: 20px 24px; }
  .modal-footer { padding: 0 24px 32px; }
  .modal-info-list li { font-size: 14px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero-badge { font-size: 11px; padding: 5px 14px; }
  .hero-stat-value { font-size: 28px; }
  .hero-stat-label { font-size: 12px; }
  .btn-primary { font-size: 15px; padding: 14px 28px; }
  .btn-secondary { font-size: 15px; padding: 13px 24px; }
  .tech-banner-grid { grid-template-columns: 1fr; }
  .pricing-value { font-size: 32px; }
}

/* Body scroll lock when mobile menu or modal is open */
body.menu-open,
body.modal-open {
  overflow: hidden;
}

/* DOCUMENTATION STYLE */
.docs-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 40px) 24px 80px;
    gap: 48px;
    min-height: 100vh;
}

.docs-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--nav-height) + 40px);
    height: fit-content;
    max-height: calc(100vh - var(--nav-height) - 80px);
    overflow-y: auto;
}

.docs-sidebar h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 16px;
    margin-top: 32px;
}

.docs-sidebar h4:first-child {
    margin-top: 0;
}

.docs-sidebar a {
    display: block;
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
    margin-bottom: 2px;
}

.docs-sidebar a:hover,
.docs-sidebar a.active {
    color: var(--accent-primary);
    background: rgba(0, 200, 255, 0.05);
    border-left-color: var(--accent-primary);
}

.docs-content {
    flex: 1;
    min-width: 0;
}

.docs-content h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 40px;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.docs-content h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.docs-content h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.docs-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.docs-content code {
    font-family: var(--font-mono);
    font-size: 14px;
    background: rgba(0, 200, 255, 0.06);
    border: 1px solid var(--border-subtle);
    padding: 2px 8px;
    border-radius: 6px;
    color: var(--accent-primary);
}

.docs-content pre {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    overflow-x: auto;
}

.docs-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

.docs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-primary);
    background: rgba(0, 200, 255, 0.08);
    border: 1px solid var(--border-accent);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .docs-wrapper {
        flex-direction: column;
        padding: calc(var(--nav-height) + 24px) 20px 60px;
        gap: 32px;
    }
    .docs-sidebar {
        width: 100%;
        position: static;
        max-height: none;
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 24px;
    }
    .docs-content h1 { font-size: 28px; }
    .docs-content h2 { font-size: 22px; }
}
.features-visual-code {
  overflow-y: auto;
  max-height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,200,255,0.2) transparent;
}

.product-card p,
.feature-item p,
.section-subtitle,
.pricing-desc,
.pricing-feature,
.news-card p,
.docs-content p,
.docs-content pre code,
.docs-content li,
.modal-info-list li {
  color: var(--text-primary);
}

/* === DOCS FEATURE CATEGORIES === */
.docs-category {
    margin-bottom: 40px;
}

.docs-category-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--accent-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.docs-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.docs-feature-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    transition: all 0.25s;
}

.docs-feature-item:hover {
    background: rgba(0, 200, 255, 0.03);
    border-color: var(--border-accent);
}

.docs-feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 7px;
}

.docs-feature-item strong {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    display: block;
    margin-bottom: 2px;
}

.docs-feature-item span {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .docs-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* === LANGUAGE SWITCHER === */
.lang-switcher {
    position: relative;
}

.lang-current {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 1px;
}

.lang-current:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    min-width: 60px;
    z-index: 1100;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.lang-dropdown.active {
    display: block;
}

.lang-dropdown a {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 16px;
    letter-spacing: 1px;
    transition: all 0.2s;
    text-align: center;
}

.lang-dropdown a:hover {
    color: var(--accent-primary);
    background: rgba(0, 200, 255, 0.05);
}

/* Mobile language switcher */
.mobile-lang-switcher {
    display: flex;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-lang-btn {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    transition: all 0.25s;
    text-align: center;
}

.mobile-lang-btn.active {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(0, 200, 255, 0.08);
}

.mobile-lang-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
}

/* === FORUM SECTIONS === */
.forum-sections {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.forum-sections-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
}

.forum-section-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: start;
    padding: 24px 28px;
    background: var(--bg-card);
    transition: background 0.2s;
    gap: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.forum-section-left {
    padding-top: 2px;
}

.forum-section-threads {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forum-thread-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.forum-thread-row a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-thread-row a:hover {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .forum-section-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.forum-section-row:last-child {
    border-bottom: none;
}

.forum-section-row:hover {
    background: rgba(255,255,255,0.02);
}

.forum-section-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.forum-section-name:hover {
    color: var(--accent-primary);
}

.forum-section-last {
    font-size: 13px;
    color: var(--text-muted);
}

.forum-section-last a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.forum-section-last a:hover {
    text-decoration: underline;
}

.forum-section-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    text-align: right;
}

@media (max-width: 768px) {
    .forum-section-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .forum-section-date { text-align: left; }
    .forum-sections { padding: 40px 20px; }
}
