/* ApexFlow Design System */

:root {
  /* Colors - using OKLCH for high-fidelity vibrancy */
  --bg-base: oklch(12% 0.04 260);         /* Deep space background */
  --bg-surface: oklch(16% 0.05 260);      /* Card / Surface background */
  --bg-surface-glass: rgba(14, 18, 30, 0.45);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  
  --color-primary: oklch(65% 0.28 322);    /* Neon Purple/Magenta */
  --color-secondary: oklch(75% 0.22 195);  /* Neon Cyan/Teal */
  --color-accent: oklch(80% 0.25 140);     /* Neon Green */
  
  --text-primary: oklch(98% 0.01 260);     /* White */
  --text-secondary: oklch(75% 0.02 260);   /* Muted Gray */
  --text-muted: oklch(55% 0.02 260);       /* Darker Gray */

  /* Fonts */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-main);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  /* UI Tokens */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  
  /* OKLCH Gradient fallback config */
  --in-oklch: ;
  --in-oklab: ;
}

/* Feature detection for gradient interpolation spaces */
@supports (linear-gradient(in oklch, white, black)) {
  :root {
    --in-oklch: in oklch;
    --in-oklab: in oklab;
  }
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: oklch(25% 0.05 260);
  border-radius: 5px;
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: oklch(35% 0.08 260);
}

/* Background Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
  animation: orb-float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -100px;
  right: -50px;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: var(--color-secondary);
  top: 600px;
  left: -150px;
  animation-delay: -5s;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  bottom: 100px;
  right: -200px;
  animation-delay: -10s;
}

@keyframes orb-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -60px) scale(1.1);
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg var(--in-oklch), var(--color-primary), oklch(50% 0.28 322));
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(220, 50, 180, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(220, 50, 180, 0.45);
  background: linear-gradient(135deg var(--in-oklch), oklch(70% 0.28 322), oklch(55% 0.28 322));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

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

.btn-block {
  display: flex;
  width: 100%;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(5px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl) auto;
}

.section-tag {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.logo:hover .logo-icon {
  transform: scale(1.08) rotate(2deg);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Header Shrinking Animation */
@keyframes shrink {
  to {
    height: 60px;
    background: rgba(10, 12, 22, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .navbar {
      animation: shrink auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 120px;
    }
  }
}

/* Hero Section */
.hero-section {
  padding-top: 180px; /* Account for navbar + initial header height offset */
  padding-bottom: var(--space-xl);
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.gradient-text {
  background: linear-gradient(135deg var(--in-oklch), var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-cta svg {
  transition: transform 0.25s ease;
}

.hero-cta .btn-outline:hover svg {
  transform: translateX(4px);
}

.hero-trust {
  border-top: 1px solid var(--border-glass);
  padding-top: var(--space-md);
}

.hero-trust p {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.trust-logos {
  display: flex;
  gap: var(--space-md);
}

.trust-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.trust-logo:hover {
  opacity: 1;
}

/* Dashboard Mockup - Glassmorphism UI */
.dashboard-mockup {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
}

/* Hover glow effect (utilizes JS updated variables) */
.glow-on-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-glass);
}

.dashboard-controls {
  display: flex;
  gap: 6px;
}

.dashboard-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.dashboard-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.dashboard-badge {
  background: rgba(39, 201, 63, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(39, 201, 63, 0.3);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  height: 320px;
}

.mockup-sidebar {
  border-right: 1px solid var(--border-glass);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  background: rgba(0, 0, 0, 0.1);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.sidebar-item svg {
  opacity: 0.7;
}

.sidebar-item.active, .sidebar-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-item.active {
  color: var(--color-secondary);
}

.mockup-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  overflow-y: auto;
}

.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.mock-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
}

.mock-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.mock-card-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mock-card-value .unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.text-cyan {
  color: var(--color-secondary);
}

.pulse-text {
  animation: pulse-op 2s infinite ease-in-out;
}

@keyframes pulse-op {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.chart-mini {
  display: flex;
  align-items: flex-end;
  height: 35px;
  gap: 4px;
  margin-top: var(--space-xs);
  padding-top: 4px;
}

.bar-chart {
  flex: 1;
  background: linear-gradient(to top, var(--color-primary), var(--color-secondary));
  border-radius: 2px 2px 0 0;
  height: var(--val, 20%);
  animation: bar-grow 1.5s ease-out forwards;
}

@keyframes bar-grow {
  from { height: 0; }
}

.line-container {
  height: 35px;
  margin-top: var(--space-xs);
}

.sparkline {
  width: 100%;
  height: 100%;
}

.mock-terminal {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  overflow: hidden;
}

.terminal-bar {
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.65rem;
}

.terminal-text {
  padding: var(--space-xs) var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.terminal-text p {
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.time { color: var(--text-muted); }
.status-ok { color: var(--color-accent); font-weight: bold; }
.status-info { color: var(--color-secondary); font-weight: bold; }
.status-warning { color: oklch(75% 0.2 60); font-weight: bold; }
.text-white { color: var(--text-primary); }

.blink {
  animation: blinker 1.5s step-start infinite;
}

@keyframes blinker {
  50% { opacity: 0.5; }
}

/* Value Proposition Section */
.value-prop-section {
  padding: var(--space-xl) 0;
  position: relative;
  background: radial-gradient(35% 45% at 0% 50%, rgba(0, 240, 255, 0.03), transparent);
}

.value-prop-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.value-prop-content {
  max-width: 580px;
}

.value-prop-title {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.value-prop-text {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.value-prop-text strong {
  color: var(--color-secondary);
}

.value-prop-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.efficiency-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.eff-item {
  display: flex;
  gap: var(--space-sm);
}

.eff-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.eff-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.eff-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Visual flow card */
.flow-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

.flow-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.flow-badge {
  background: rgba(220, 50, 180, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(220, 50, 180, 0.25);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.flow-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
}

/* Connecting line behind flow items */
.flow-body::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 17px;
  bottom: 18px;
  width: 2px;
  background: var(--border-glass);
  z-index: 1;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  position: relative;
  z-index: 2;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.step-details h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.step-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Highlighted/active state animation for visual flow items */
.flow-step.active-step .step-num {
  border-color: var(--color-secondary);
  background: oklch(75% 0.22 195 / 0.15);
  color: var(--color-secondary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.flow-step.active-step .step-details h5 {
  color: var(--text-primary);
}

.flow-step.active-step .step-details p {
  color: var(--text-secondary);
}

/* Scroll-driven animations on value proposition section */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes slide-fade-in {
      from {
        opacity: 0.3;
        transform: translateY(30px);
      }
    }
    .value-prop-content, .value-prop-visual {
      animation: slide-fade-in auto linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 35%;
    }
  }
}

/* Features Section */
.features-section {
  padding: var(--space-xl) 0;
  background: radial-gradient(40% 50% at 50% 50%, rgba(220, 50, 180, 0.04), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg) var(--space-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg var(--in-oklch), rgba(220, 50, 180, 0.15), rgba(0, 240, 255, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-secondary);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* View Timeline scroll effects on cards - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes card-fade-in {
      from {
        opacity: 0.2;
        transform: translateY(40px);
      }
    }
    
    .features-grid > * {
      animation: card-fade-in auto linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 40%;
    }
  }
}

/* Interactive Demo / Widget */
.demo-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, transparent, rgba(14, 18, 30, 0.5));
}

.demo-widget {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 1000px;
  margin: 0 auto;
}

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.2);
}

.demo-tab {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.demo-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.demo-tab.active {
  color: var(--text-primary);
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.04);
}

.tab-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.tab-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.demo-showcase {
  position: relative;
  height: 490px;
}

.demo-panel {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.demo-panel.active {
  display: grid;
  opacity: 1;
}

.panel-info {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.panel-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.panel-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.panel-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.check-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Custom interactive calculators and comex table styles */
.interactive-calc-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-inputs {
  display: flex;
  gap: 0.75rem;
}

.input-inline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.input-inline label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.input-inline input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 6px 10px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.input-inline input:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.08);
}

.calc-result {
  border-top: 1px solid var(--border-glass);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-result span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.calc-result strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent);
}

.numerario-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
}

.numerario-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  border: 1px solid transparent;
}

.numerario-row.header {
  background: rgba(0, 0, 0, 0.4);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

.numerario-row span {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.text-red-dim {
  color: oklch(75% 0.15 20);
}

.panel-code {
  border-left: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.2);
}

.code-lang {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.panel-code pre {
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  overflow: auto;
  line-height: 1.6;
  flex: 1;
}

/* Syntax Highlighting */
.keyword { color: oklch(75% 0.2 320); font-weight: bold; }
.string { color: oklch(80% 0.15 150); }
.function { color: oklch(80% 0.15 220); }
.comment { color: var(--text-muted); font-style: italic; }
.number { color: oklch(80% 0.18 80); }
.params { color: oklch(88% 0.08 40); }

/* Stats Section */
.stats-section {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg var(--in-oklch), var(--text-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
  padding: var(--space-xl) 0;
}

.billing-toggle-container {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 16px;
  border: 1px solid var(--border-glass);
  border-radius: 100px;
}

.toggle-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.toggle-label.active {
  color: var(--text-primary);
}

.discount-badge {
  font-size: 0.7rem;
  background: rgba(0, 240, 255, 0.15);
  color: var(--color-secondary);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 2px;
}

.billing-toggle {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.billing-toggle[aria-pressed="true"] {
  background: var(--color-primary);
  border-color: rgba(220, 50, 180, 0.4);
}

.toggle-circle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: var(--transition-smooth);
}

.billing-toggle[aria-pressed="true"] .toggle-circle {
  left: 22px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
  max-width: 1050px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.price-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
}

.price-card.featured {
  border: 2px solid var(--color-primary);
  background: radial-gradient(100% 100% at 50% 0%, rgba(220, 50, 180, 0.08), transparent), var(--bg-surface-glass);
  box-shadow: 0 20px 40px -15px rgba(220, 50, 180, 0.15), var(--shadow-soft);
}

.price-card.featured:hover {
  box-shadow: 0 25px 45px -10px rgba(220, 50, 180, 0.25), var(--shadow-soft);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(220, 50, 180, 0.3);
}

.price-tier {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.featured .price-tier {
  color: var(--color-primary);
}

.price-value {
  display: flex;
  align-items: baseline;
  margin-bottom: var(--space-sm);
  min-height: 52px;
}

.currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-right: 4px;
}

.price-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.price-custom {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.price-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  min-height: 48px;
}

.card-divider {
  border: none;
  border-top: 1px solid var(--border-glass);
  margin-bottom: var(--space-md);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.price-features svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.price-features li.disabled {
  color: var(--text-muted);
}

.price-features li.disabled svg {
  color: var(--text-muted);
}

/* Contact Section & Form */
.contact-section {
  padding: var(--space-xl) 0;
  background: radial-gradient(40% 50% at 50% 50%, rgba(0, 240, 255, 0.03), transparent);
  border-top: 1px solid var(--border-glass);
}

.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

.contact-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: var(--space-md);
  display: block;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-primary);
  font-weight: 500;
}

.meta-item svg {
  opacity: 0.85;
}

.contact-form-container {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  min-height: 480px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: opacity 0.3s ease;
}

.contact-form.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 0.65rem 0.9rem;
  font-family: var(--font-main);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
}

/* User-valid styles (modern styling hook) */
.form-group input:user-invalid, .form-group textarea:user-invalid {
  border-color: #ff5f56;
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #ff5f56;
  font-weight: 500;
  margin-top: 2px;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-group.has-error input, .form-group.has-error textarea {
  border-color: #ff5f56;
  background: rgba(255, 95, 86, 0.03);
}

/* Form success state inside the card container */
.form-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 400px;
  animation: fade-up 0.5s ease forwards;
}

.form-success-state.active {
  display: flex;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(39, 201, 63, 0.1);
  border: 1px solid rgba(39, 201, 63, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: 0 10px 25px rgba(39, 201, 63, 0.1);
}

.form-success-state h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.form-success-state p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer styles */
.footer {
  background: rgba(5, 7, 12, 0.9);
  border-top: 1px solid var(--border-glass);
  padding: var(--space-xl) 0 var(--space-lg) 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.links-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.links-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.links-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.links-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-links a {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-links a:hover {
  color: var(--color-secondary);
  transform: translateY(-2px);
}

/* Responsive Grid / Breakpoints */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .value-prop-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .value-prop-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .efficiency-features {
    align-items: center;
  }

  .eff-item {
    text-align: left;
    max-width: 480px;
  }
  
  .hero-cta {
    justify-content: center;
  }

  .trust-logos {
    justify-content: center;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .price-card.featured {
    order: -1; /* Keep featured on top in stacked list */
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-info {
    text-align: center;
  }
  
  .contact-meta {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .demo-panel {
    grid-template-columns: 1fr;
    height: auto;
  }

  .panel-code {
    border-left: none;
    border-top: 1px solid var(--border-glass);
  }

  .demo-showcase {
    height: auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Hamburger Menu Mobile Styles when active */
  .navbar-container.active .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border-glass);
    padding: var(--space-md);
    gap: var(--space-sm);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  }

  .navbar-container.active .menu-toggle .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar-container.active .menu-toggle .bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-container.active .menu-toggle .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Interactive Catalog UI Module styles */
.panel-interactive {
  border-left: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.interactive-panel-header {
  padding: 0.75rem var(--space-md);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.interactive-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.interactive-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
  overflow-y: auto;
}

.panel-mode-selector {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  padding: 3px;
  width: fit-content;
  margin-top: 1rem;
}

.btn-mode {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-mode.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.2);
}

.simulator-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.simulator-field label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sample-pill-container {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: 4px;
}

.btn-sample-product {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-sample-product:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.btn-sample-product.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  font-weight: 600;
}

.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 8px 12px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.fiscal-suggestion-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suggested-ncm-badge {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.suggested-ncm-badge strong {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--color-secondary);
}

.fiscal-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.fiscal-meta strong {
  color: var(--text-secondary);
}

.fiscal-meta span span {
  color: var(--color-accent);
}

.duimp-attributes-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.duimp-attributes-form h5 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.duimp-attr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 8px var(--space-sm);
}

.duimp-attr-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.duimp-attr-item label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

.duimp-attr-item input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 4px 8px;
  color: var(--text-primary);
  font-size: 0.75rem;
  transition: var(--transition-smooth);
}

.duimp-attr-item input:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.08);
}

.catalog-toast {
  background: rgba(24, 128, 56, 0.9);
  border: 1px solid rgba(24, 128, 56, 0.3);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.catalog-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mass Import Styles */
.import-dropzone {
  border: 2px dashed var(--border-glass);
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.01);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  transition: var(--transition-smooth);
}

.import-dropzone:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--color-secondary);
}

.upload-icon {
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.import-dropzone:hover .upload-icon {
  color: var(--color-secondary);
  transform: translateY(-4px);
}

.import-dropzone p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.dropzone-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.import-progress-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.progress-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 3px;
  transition: width 0.1s linear;
}

.import-report-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-header {
  display: flex;
  gap: var(--space-xs);
}

.report-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

.report-badge.success {
  background: rgba(24, 128, 56, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(24, 128, 56, 0.3);
}

.report-badge.error {
  background: rgba(217, 48, 37, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(217, 48, 37, 0.3);
}

.report-errors-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 130px;
  overflow-y: auto;
  padding-right: 4px;
}

.report-errors-list li {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 4px;
  border-left: 2px solid rgba(217, 48, 37, 0.8);
}

.report-errors-list li span {
  font-weight: 600;
  color: #ff6b6b;
}

.report-actions {
  display: flex;
  gap: var(--space-xs);
  margin-top: 4px;
}

.report-actions button {
  flex: 1;
}

.import-success-box {
  text-align: center;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.success-icon-mini {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(24, 128, 56, 0.15);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.import-success-box h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 700;
}

.import-success-box p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-xs);
}

.btn-xs {
  font-size: 0.7rem;
  padding: 5px 8px;
}

/* Reduced Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .glow-orb {
    display: none;
  }
}
