:root {
  --bg-color: #000;
  --panel-bg: #0e0e0e;
  --text-main: #fff;
  --text-mute: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --hover: rgba(255, 255, 255, 0.05);
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  position: fixed;
  top: 0; width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}

.nav-links a:not(.btn-primary-small) {
  color: var(--text-mute);
  transition: color 0.2s;
}

.nav-links a:hover:not(.btn-primary-small) {
  color: var(--text-main);
}

.btn-primary-small {
  background: #fff;
  color: #000;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-primary-small:hover { opacity: 0.9; }
.btn-primary-small:active { transform: scale(0.97); }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 60px 60px;
  max-width: 1300px;
  margin: 0 auto;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 550px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mute);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.8);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-mute);
  margin-bottom: 40px;
  max-width: 480px;
}

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

.btn-primary {
  background: #fff;
  color: #000;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary:hover {
  background: var(--hover);
}

.hero-visual {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.panel-glow {
  position: absolute;
  width: 300px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
  z-index: 0;
  filter: blur(40px);
}

.mockup-panel {
  position: relative;
  z-index: 1;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
  box-shadow: -20px 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(255,255,255,0.05);
}

.hero-visual:hover .mockup-panel {
  transform: rotateY(-5deg) rotateX(2deg);
}

#vortex-panel {
  width: 272px;
  background: #0e0e0e;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 64px rgba(0,0,0,0.85);
  overflow: hidden;
  user-select: none;
}

#vortex-header {
  padding: 13px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
#vortex-header-left { display: flex; align-items: center; gap: 9px; }
#vortex-header-icon {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
#vortex-header-text { display: flex; flex-direction: column; gap: 1px; }
#vortex-title { font-size: 13px; font-weight: 600; color: #fff; letter-spacing: -0.3px; line-height: 1; }
#vortex-subtitle { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.28); }

#vortex-status { display: flex; align-items: center; gap: 5px; }
#vortex-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  animation: vx-pulse 2.4s ease-in-out infinite;
}
#vortex-status-label { font-size: 11px; font-weight: 500; color: #22c55e; }
@keyframes vx-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

#vortex-body { padding: 0; }
.vx-section { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.vx-section:last-child { border-bottom: none; }

.vx-label {
  font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.28);
  letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 8px;
}

#vx-stats { display: flex; }
.vx-stat { flex: 1; text-align: center; padding: 6px 0; position: relative; }
.vx-stat + .vx-stat::before {
  content: ''; position: absolute; left: 0; top: 15%; bottom: 15%;
  width: 1px; background: rgba(255,255,255,0.07);
}
.vx-stat-num { font-size: 24px; font-weight: 700; letter-spacing: -1px; line-height: 1; color: #fff; }
.vx-stat-cap { font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.28); margin-top: 4px; }

#vx-stepper {
  display: flex; align-items: center; background: #181818;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; height: 42px;
}
.vx-step-btn {
  width: 46px; height: 42px; background: none; border: none;
  color: rgba(255,255,255,0.55); font-size: 20px; font-weight: 300; display: flex; align-items: center; justify-content: center;
}
.vx-step-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.08); }
#vx-stepper-val { flex: 1; text-align: center; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }

#vx-presets { display: flex; gap: 4px; margin-top: 8px; }
.vx-preset {
  flex: 1; height: 28px; background: #181818; border: 1px solid rgba(255,255,255,0.07); border-radius: 7px;
  color: rgba(255,255,255,0.32); font-size: 11px; font-weight: 500; display: flex; align-items: center; justify-content: center;
}
.vx-preset.active { background: #fff; color: #000; border-color: #fff; font-weight: 600; }

#vx-segment { display: flex; background: #181818; border: 1px solid rgba(255,255,255,0.07); border-radius: 9px; padding: 3px; gap: 3px; }
.vx-seg-btn {
  flex: 1; height: 28px; background: none; border: none; border-radius: 6px;
  color: rgba(255,255,255,0.32); font-size: 11px; font-weight: 500; display: flex; align-items: center; justify-content: center;
}
.vx-seg-btn.active { background: #fff; color: #000; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,0.4); }

#vx-conf-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
#vx-conf-pct { font-size: 13px; font-weight: 600; color: #fff; letter-spacing: -0.2px; }
#vx-conf-track { height: 3px; background: rgba(255,255,255,0.07); border-radius: 99px; overflow: hidden; }
#vx-conf-fill { height: 100%; width: 0%; background: #fff; border-radius: 99px; transition: width 0.7s; }

#vortex-predict-btn {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; background: #fff; border: none;
  border-radius: 10px; color: #000; font-size: 14px; font-weight: 600; letter-spacing: -0.2px;
}
#vx-btn-row { display: flex; gap: 6px; margin-top: 6px; }
#vortex-clear-btn {
  flex: 1; height: 36px; background: #181818; border: 1px solid rgba(255,255,255,0.08); border-radius: 9px;
  color: rgba(255,255,255,0.4); font-size: 12px; font-weight: 500; display: flex; align-items: center; justify-content: center;
}
#vortex-unrig-btn {
  flex: 1; height: 36px; background: #181818; border: 1px solid rgba(239,68,68,0.28); border-radius: 9px;
  color: rgba(239,68,68,0.75); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
#vx-status-line { font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.2); text-align: center; margin-top: 8px; }

.features {
  padding: 100px 60px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

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

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-mute);
  font-size: 16px;
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

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

.cta {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 100%);
  border-top: 1px solid var(--border);
}

.cta-content h2 {
  font-size: 40px;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-mute);
  margin-bottom: 30px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 30px 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-mute);
}

.products-section {
  padding: 100px 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.product-card {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.product-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); }

.product-card-image {
  background: #111;
  height: 200px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}

.popular-badge {
  position: absolute; top: 12px; left: 12px;
  background: #fff; color: #000;
  font-size: 10px; font-weight: 700;
  padding: 4px 8px; border-radius: 6px; z-index: 2;
}
.stock-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(34, 197, 94, 0.15); color: #22c55e;
  font-size: 10px; font-weight: 600;
  padding: 4px 8px; border-radius: 6px; z-index: 2;
}

.product-image-box {
  width: 140px; height: 160px;
  background: linear-gradient(135deg, #1f1f1f, #0a0a0a);
  border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 18px; font-weight: 800; line-height: 1.1;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5); padding: 10px;
}
.product-image-box.lg {
  width: 220px; height: 260px; font-size: 24px;
}

.product-card-info { padding: 20px; }
.product-card-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }

.product-card-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.product-price { display: flex; flex-direction: column; }
.price-label { font-size: 10px; color: var(--text-mute); font-weight: 500; }
.price-val { font-size: 18px; font-weight: 700; color: #fff; }

.btn-view {
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  color: #fff; font-size: 12px; font-weight: 600; padding: 8px 14px;
  display: flex; align-items: center; gap: 6px; cursor: pointer; transition: background 0.2s;
}
.btn-view:hover { background: rgba(255,255,255,0.05); }

.modal-wrap {
  position: fixed; inset: 0; z-index: 9999999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0; transition: opacity 0.3s; padding: 20px;
}
.modal-wrap.open { pointer-events: all; opacity: 1; }

.modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px);
}

.modal-container {
  position: relative; z-index: 10;
  width: 100%; max-width: 800px;
  background: var(--panel-bg); border: 1px solid var(--border); border-radius: 16px;
  display: flex; flex-direction: column;
  box-shadow: 0 32px 64px rgba(0,0,0,0.9);
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px) scale(0.98); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.modal-wrap.open .modal-container { transform: translateY(0) scale(1); }

.modal-top { display: flex; border-bottom: 1px solid var(--border); }
@media(max-width: 600px){ .modal-top { flex-direction: column; } }

.modal-image-col {
  flex: 1; background: #111; padding: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; border-right: 1px solid var(--border);
}
.slider-dots { display: flex; gap: 6px; }
.slider-dots .dot { width: 16px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.slider-dots .dot.active { background: #fff; }

.modal-info-col { flex: 1; padding: 30px; position: relative; display: flex; flex-direction: column; justify-content: center;}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: var(--text-mute); font-size: 24px;
  cursor: pointer; line-height: 1; transition: color 0.2s;
}
.modal-close:hover { color: #fff; }

#modal-product-title { font-size: 24px; font-weight: 700; margin-bottom: 4px; letter-spacing:-0.5px;}
.modal-price { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }

.modal-ratings-row { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.stars { display: flex; gap: 2px; }
.rating-text { font-size: 12px; color: var(--text-mute); }

.variant-select-box {
  border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02);
  margin-bottom: 20px; cursor: pointer;
}
.variant-name { font-size: 13px; font-weight: 600; color: #fff; }
.variant-stock { font-size: 11px; color: #22c55e; display: flex; align-items: center; gap: 4px; margin-top: 2px;}
.stock-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; }
.variant-price { font-size: 13px; font-weight: 600; color: #fff; }

.action-buttons-row { display: flex; gap: 10px; margin-bottom: 16px; }
.btn-modal-buy {
  flex: 1; background: #fff; color: #000; border: none; border-radius: 8px;
  font-size: 13px; font-weight: 600; padding: 12px 0; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.btn-modal-cart {
  flex: 1; background: transparent; color: #fff; border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; font-weight: 600; padding: 12px 0; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: background 0.2s;
}
.btn-modal-buy:active { transform: scale(0.98); }
.btn-modal-cart:hover { background: rgba(255,255,255,0.05); }

.viewing-count { font-size: 11px; color: #22c55e; display: flex; align-items: center; gap: 6px; }

.modal-tabs {
  display: flex; border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.tab-btn {
  padding: 14px 24px; font-size: 12px; font-weight: 600; color: var(--text-mute);
  background: none; border: none; cursor: pointer; position: relative; transition: color 0.2s;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active { color: #fff; }
.tab-btn.active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: #fff;
}
.rev-count { font-weight: 400; opacity: 0.7; font-size: 10px; }

.modal-details-area { padding: 30px; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeTab 0.3s ease; }
@keyframes fadeTab { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.pane-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.pane-subtitle { font-size: 12px; font-weight: 600; color: var(--text-mute); margin-bottom: 24px; }

.compat-notice {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 8px;
  padding: 16px; margin-bottom: 24px;
}
.compat-header { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.compat-item { font-size: 12px; color: var(--text-mute); margin-bottom: 4px; }
.compat-item strong { color: #fff; }

.pane-body p { font-size: 13px; color: var(--text-mute); line-height: 1.6; margin-bottom: 12px; }
.pane-body p strong { color: #fff; }

.reviews-overview { margin-bottom: 30px; display: flex; gap: 40px; align-items: center;}
.rev-score-block { display: flex; flex-direction: column; align-items: flex-start; }
.big-score { font-size: 42px; font-weight: 800; line-height: 1; color: #fff; margin-bottom: 6px; }
.rev-based-on { font-size: 11px; color: var(--text-mute); margin-top: 6px; }

.rev-bars { flex: 1; display: flex; flex-direction: column; gap: 8px; max-width: 300px;}
.rev-bar-row { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--text-mute); font-weight: 600; }
.rev-bar-row span:last-child { width: 16px; text-align: right; }
.bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.05); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: #fff; border-radius: 99px; }

.recent-reviews-title { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.review-card {
  border: 1px solid var(--border); background: rgba(255,255,255,0.01); border-radius: 12px; padding: 16px;
}
.rc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rc-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-mute);
}
.rc-info { display: flex; flex-direction: column; gap: 2px; }
.rc-name { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.verified-badge {
  font-size: 10px; color: #22c55e; background: rgba(34, 197, 94, 0.1); padding: 2px 6px; border-radius: 4px;
  display: flex; align-items: center; gap: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2px;
}
.rc-stars-date { display: flex; align-items: center; gap: 10px; }
.rc-date { font-size: 11px; color: var(--text-mute); }
.rc-body { font-size: 13px; color: var(--text-mute); }

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 30px 60px;
  }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .navbar { padding: 20px 30px; }
  .hero-title { font-size: 48px; }
}
