/* Vixxo Modern SaaS Theme & 3D Interactive Styling */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-dark: #07090E;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.5);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --accent-cyan: #38BDF8;
  --accent-blue: #3B82F6;
  --accent-indigo: #6366F1;
  --accent-purple: #A855F7;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-dark);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 3D WebGL Background Canvas */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.glow-1 {
  top: -10%;
  left: 20%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
}
.glow-2 {
  top: 40%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
}
.glow-3 {
  bottom: 10%;
  left: 10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 70%);
}

/* Content Container */
.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #38BDF8 65%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
  background: linear-gradient(135deg, #38BDF8 0%, #6366F1 50%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 25px 50px -12px rgba(56, 189, 248, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* 3D Perspective Card Container */
.perspective-container {
  perspective: 1200px;
}

.tilt-card {
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.2s ease;
  transform-style: preserve-3d;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 23, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284C7, #2563EB);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #38BDF8, #2563EB);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

/* Hero Section */
.hero-section {
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 20px 80px;
  position: relative;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(38px, 6.2vw, 76px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.08;
  max-width: 980px;
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 38px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.meta-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item i {
  color: var(--accent-emerald);
}

/* Flow Pipeline Section */
.flow-diagram-section {
  padding: 90px 0;
}

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

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
  color: var(--text-muted);
  font-size: 16px;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  position: relative;
}

.pipeline-node {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.pipeline-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pipeline-node:hover::before {
  opacity: 1;
}

.node-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
}

.node-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.node-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* Feature 3D Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.feat-span-8 {
  grid-column: span 8;
}

.feat-span-4 {
  grid-column: span 4;
}

.feat-span-6 {
  grid-column: span 6;
}

@media (max-width: 960px) {
  .feat-span-8, .feat-span-4, .feat-span-6 {
    grid-column: span 12;
  }
}

.feature-box {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.feature-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.feature-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tech-chip {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

/* Interactive DSP Audio Simulator */
.audio-lab-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(10, 14, 23, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(56, 189, 248, 0.1);
  margin-bottom: 100px;
}

.lab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.lab-title-group h3 {
  font-size: 24px;
  font-weight: 800;
}

.lab-title-group p {
  color: var(--text-muted);
  font-size: 14px;
}

.oscilloscope-canvas {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  background: rgba(7, 10, 15, 0.95);
  border: 1px solid var(--border-subtle);
  margin-bottom: 30px;
  display: block;
}

.dsp-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.dsp-toggle-box {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.dsp-toggle-box.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.5);
}

.dsp-toggle-info h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.dsp-toggle-info p {
  font-size: 12px;
  color: var(--text-dim);
}

.switch-pill {
  width: 44px;
  height: 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  transition: var(--transition);
}

.switch-pill::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  transition: var(--transition);
}

.dsp-toggle-box.active .switch-pill {
  background: var(--accent-cyan);
}

.dsp-toggle-box.active .switch-pill::after {
  transform: translateX(20px);
}

/* Meter Bar */
.meters-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
}

.meter-label {
  font-size: 13px;
  font-weight: 600;
  width: 90px;
}

.meter-track {
  flex: 1;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10B981 70%, #F59E0B 88%, #EF4444 100%);
  border-radius: var(--radius-full);
  transition: width 0.05s ease;
}

.meter-db-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent-cyan);
  width: 70px;
  text-align: right;
}

/* Benchmarks Table */
.benchmark-card {
  padding: 40px;
  margin-bottom: 100px;
  overflow-x: auto;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.benchmark-table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
}

.benchmark-table td {
  padding: 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.highlight-col {
  background: rgba(56, 189, 248, 0.05);
  color: var(--text-main);
  font-weight: 600;
}

.badge-win {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-loss {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto 100px;
}

.faq-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 700;
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 16px;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* Download CTA Banner */
.download-banner {
  padding: 64px 40px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.3), rgba(15, 23, 42, 0.95) 70%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px -20px rgba(37, 99, 235, 0.3);
  margin-bottom: 100px;
}

.banner-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.banner-desc {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 36px;
}

.downloads-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 30px;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

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

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-section {
    padding-top: 120px;
  }
}
