/* ==========================================================================
   BWEX - MODERN COMMERCIAL SOFTWARE ECOSYSTEM
   Styles & Design System
   ========================================================================== */

:root {
  /* Brand Core Colors */
  --bw-primary: #0ea647;
  --bw-primary-hover: #12b750;
  --bw-primary-glow: rgba(14, 166, 71, 0.35);
  --bw-primary-light: #e8f7ee;
  
  /* Product Colors */
  --restwex-red: #e11d48;
  --restwex-red-glow: rgba(225, 29, 72, 0.35);
  --restwex-dark: #121214;
  --stockwex-emerald: #10b981;
  --stockwex-blue: #3b82f6;
  --stockwex-glow: rgba(16, 185, 129, 0.35);
  --stockwex-dark: #09131f;

  /* Neutrals & Dark Theme Surfaces */
  --bg-deep: #07090e;
  --bg-dark: #0c1017;
  --bg-surface: #121824;
  --bg-surface-elevated: #182232;
  --bg-glass: rgba(18, 24, 36, 0.72);
  --bg-glass-strong: rgba(12, 16, 23, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);
  --border-active: rgba(14, 166, 71, 0.5);

  /* Typography Colors */
  --text-white: #ffffff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Gradients */
  --grad-hero: radial-gradient(circle at 50% 0%, rgba(14, 166, 71, 0.18) 0%, rgba(12, 16, 23, 0) 70%);
  --grad-accent: linear-gradient(135deg, #0ea647 0%, #10b981 50%, #06b6d4 100%);
  --grad-restwex: linear-gradient(135deg, #e11d48 0%, #fb7185 100%);
  --grad-stockwex: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);

  /* Spacings & Layout */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Canvas Effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 20%, rgba(14, 166, 71, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(225, 29, 72, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: -2;
}

/* Cyber Matrix Subtle Grid */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 80%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   HEADER & FLOATING NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--transition-fast);
}

.brand-link:hover {
  transform: translateY(-2px);
}

.brand-logo-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(14, 166, 71, 0.15);
  color: #34d399;
  border: 1px solid rgba(14, 166, 71, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-tag .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-dot 2s infinite;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--bw-primary);
  box-shadow: 0 0 8px var(--bw-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sound-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.sound-toggle-btn:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-white);
  border-color: var(--border-highlight);
}

.sound-toggle-btn.active {
  color: #34d399;
  border-color: rgba(14, 166, 71, 0.4);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  padding: 4px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--bw-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--bw-primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--bw-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--bw-primary-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-highlight);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-restwex {
  background: var(--restwex-red);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--restwex-red-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-restwex:hover {
  background: #f43f5e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--restwex-red-glow);
}

.btn-stockwex {
  background: var(--stockwex-emerald);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--stockwex-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-stockwex:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--stockwex-glow);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 9rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-glow-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 166, 71, 0.25) 0%, rgba(6, 182, 212, 0.1) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(14, 166, 71, 0.12);
  border: 1px solid rgba(14, 166, 71, 0.35);
  border-radius: 9999px;
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px rgba(14, 166, 71, 0.15);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 70%, #0ea647 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-meta-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-meta-item svg {
  color: var(--bw-primary);
  width: 16px;
  height: 16px;
}

/* Hero Showcase Frame (geminibannerregenerate) */
.hero-visual-wrapper {
  position: relative;
  margin-top: 2rem;
  perspective: 1200px;
}

.hero-banner-card {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 
    0 30px 100px -20px rgba(0, 0, 0, 0.85),
    0 0 60px -10px rgba(14, 166, 71, 0.2);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-banner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 166, 71, 0.3);
  box-shadow: 
    0 40px 120px -20px rgba(0, 0, 0, 0.9),
    0 0 80px 0px rgba(14, 166, 71, 0.3);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-banner-card:hover .hero-banner-img {
  transform: scale(1.015);
}

/* Floating Badges on Hero Banner */
.floating-chip {
  position: absolute;
  background: rgba(12, 16, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 5;
  animation: float 6s ease-in-out infinite;
}

.floating-chip-1 {
  top: 10%;
  left: 3%;
  animation-delay: 0s;
}

.floating-chip-2 {
  bottom: 12%;
  right: 4%;
  animation-delay: 2.5s;
}

.floating-chip-3 {
  top: 20%;
  right: 5%;
  animation-delay: 1.2s;
}

.chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip-icon.green {
  background: rgba(14, 166, 71, 0.2);
  color: #34d399;
  border: 1px solid rgba(14, 166, 71, 0.3);
}

.chip-icon.red {
  background: rgba(225, 29, 72, 0.2);
  color: #fb7185;
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.chip-icon.blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.chip-text {
  display: flex;
  flex-direction: column;
}

.chip-val {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-white);
  line-height: 1.2;
}

.chip-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   METRICS & TICKER BAR
   ========================================================================== */
.metrics-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-dark);
  position: relative;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-item {
  text-align: center;
  position: relative;
  padding: 0.5rem 1rem;
}

.metric-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-subtle);
}

.metric-number {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-number.highlight-green {
  background: linear-gradient(180deg, #34d399 30%, #0ea647 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   FLAGSHIP PRODUCTS SECTION
   ========================================================================== */
.products-section {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-pill.green {
  background: rgba(14, 166, 71, 0.15);
  color: #34d399;
  border: 1px solid rgba(14, 166, 71, 0.3);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Interactive Product Tab Selector */
.product-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.product-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.product-tab-btn:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-white);
  border-color: var(--border-highlight);
}

.product-tab-btn.active[data-tab="restwex"] {
  background: rgba(225, 29, 72, 0.15);
  border-color: rgba(225, 29, 72, 0.6);
  color: #fb7185;
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.2);
}

.product-tab-btn.active[data-tab="stockwex"] {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.6);
  color: #34d399;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.product-tab-btn.active[data-tab="all"] {
  background: rgba(14, 166, 71, 0.15);
  border-color: rgba(14, 166, 71, 0.6);
  color: #34d399;
  box-shadow: 0 4px 20px rgba(14, 166, 71, 0.2);
}

/* Product Cards Container */
.products-display-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Major Product Card */
.product-hero-card {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  transition: all var(--transition-smooth);
}

.product-hero-card.reversed {
  grid-template-columns: 0.85fr 1.15fr;
}

.product-hero-card:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.product-hero-card.restwex-theme:hover {
  border-color: rgba(225, 29, 72, 0.4);
  box-shadow: 0 30px 80px -20px rgba(225, 29, 72, 0.25);
}

.product-hero-card.stockwex-theme:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 30px 80px -20px rgba(16, 185, 129, 0.25);
}

.product-hero-card.custom-theme:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 30px 80px -20px rgba(56, 189, 248, 0.25);
}

.custom-theme .feature-bullet svg {
  color: #38bdf8;
}

.product-tab-btn.active[data-tab="custom"] {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.6);
  color: #38bdf8;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.2);
}

.product-info-panel {
  padding: 3.5rem;
}

.product-brand-title {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.product-tagline {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.product-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.product-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.feature-bullet svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
}

.restwex-theme .feature-bullet svg {
  color: var(--restwex-red);
}

.stockwex-theme .feature-bullet svg {
  color: var(--stockwex-emerald);
}

.product-actions-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Product Visual Showcase Side */
.product-visual-panel {
  position: relative;
  background: var(--bg-surface-elevated);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  overflow: hidden;
  min-height: 480px;
}

.product-mockup-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition-smooth);
}

.product-mockup-frame:hover {
  transform: scale(1.02);
}

.product-mockup-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.product-mockup-overlay-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Interactive Interactive Simulator Tabs within each Product */
.sim-box {
  margin-top: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.sim-badge-live {
  background: rgba(14, 166, 71, 0.2);
  color: #34d399;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
}

.sim-buttons-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sim-trigger-btn {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.sim-trigger-btn:hover,
.sim-trigger-btn.active {
  background: var(--bg-surface);
  color: var(--text-white);
  border-color: var(--border-highlight);
}

.sim-output-terminal {
  margin-top: 0.85rem;
  background: #090c12;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-family: monospace;
  font-size: 0.8rem;
  color: #a7f3d0;
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   BRAND HIGHLIGHT BANNER (tarjeta-front.png Showcase)
   ========================================================================== */
.brand-showcase-section {
  padding: 5rem 0;
  position: relative;
}

.brand-banner-box {
  background: linear-gradient(135deg, rgba(14, 166, 71, 0.12) 0%, rgba(12, 16, 23, 0.95) 60%);
  border: 1px solid rgba(14, 166, 71, 0.3);
  border-radius: var(--radius-xl);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(14, 166, 71, 0.2);
}

.brand-banner-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 166, 71, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.brand-card-3d-wrap {
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.brand-card-3d {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(14, 166, 71, 0.4);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.brand-card-3d:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
  box-shadow: 
    0 35px 70px -12px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(14, 166, 71, 0.6);
}

.brand-card-3d img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   BENTO GRID: PLATFORM ADVANTAGES & CAPABILITIES
   ========================================================================== */
.bento-section {
  padding: 6rem 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.bento-card.col-span-3 {
  grid-column: span 3;
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(14, 166, 71, 0.12);
  border: 1px solid rgba(14, 166, 71, 0.25);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.bento-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento-tag {
  align-self: flex-start;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(14, 166, 71, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

/* ==========================================================================
   TESTIMONIALS & CASE STUDIES
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  font-style: italic;
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-size: 3rem;
  color: rgba(14, 166, 71, 0.3);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #34d399;
  border: 1px solid var(--border-subtle);
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.product-pill-small {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.25rem;
}

.product-pill-small.restwex {
  background: rgba(225, 29, 72, 0.2);
  color: #fb7185;
}

.product-pill-small.stockwex {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  position: relative;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--border-highlight);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.75rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  gap: 1rem;
  cursor: pointer;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: #34d399;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.4rem;
}

/* ==========================================================================
   HIGH-CONVERSION BOTTOM CTA BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 6rem 0;
  position: relative;
}

.cta-banner-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(14, 166, 71, 0.25) 0%, rgba(12, 16, 23, 0.98) 75%);
  border: 1px solid rgba(14, 166, 71, 0.4);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 100px -20px rgba(14, 166, 71, 0.3);
}

.cta-banner-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1.2rem;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: #34d399;
}

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

/* ==========================================================================
   MODAL DIALOG (CONTACT & DEMO REQUEST)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 12, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.modal-backdrop.is-open {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(225, 29, 72, 0.3);
  border-color: rgba(225, 29, 72, 0.5);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-white);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--bw-primary);
  box-shadow: 0 0 0 2px var(--bw-primary-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
}

/* Scroll Reveal Utility Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .product-hero-card,
  .product-hero-card.reversed {
    grid-template-columns: 1fr;
  }
  
  .product-info-panel {
    padding: 2.5rem;
  }
  
  .brand-banner-box {
    grid-template-columns: 1fr;
    padding: 3rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-card.col-span-2,
  .bento-card.col-span-3 {
    grid-column: span 2;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    transition: right var(--transition-smooth);
    z-index: 1000;
  }

  .nav-menu.is-open {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .metric-item:nth-child(2)::after {
    display: none;
  }

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

  .bento-card.col-span-2,
  .bento-card.col-span-3 {
    grid-column: span 1;
  }

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

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

  .floating-chip {
    display: none; /* Hide on small screens to keep clean banner */
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .product-actions-bar {
    flex-direction: column;
    width: 100%;
  }

  .product-actions-bar .btn {
    width: 100%;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .metric-item::after {
    display: none;
  }
}
