/* ==========================================================================
   NEXURON TECHNOLOGIES - ULTRA PREMIUM CYBER GLASS DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #06080e;
  --bg-surface: #0b0f19;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(0, 240, 255, 0.3);
  
  /* Primary Cyber Accents */
  --cyan-primary: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.5);
  --violet-primary: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.5);
  --emerald-primary: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.5);
  --pink-accent: #f43f5e;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00f0ff 0%, #8b5cf6 50%, #ec4899 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-card: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-text: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.7) 100%);
  --grad-cyan-violet: linear-gradient(90deg, #00f0ff, #8b5cf6);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacings & Layout */
  --container-max: 1240px;
  --section-spacing: 120px;
  --nav-height: 80px;

  /* Blur & Elevation */
  --glass-blur: blur(18px);
  --shadow-neon: 0 0 40px rgba(0, 240, 255, 0.15);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-main);
  color: #e2e8f0;
  font-family: var(--font-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Interactive Glowing Cursor (Desktop) */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--cyan-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    box-shadow: 0 0 12px var(--cyan-primary);
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease, background 0.2s ease;
  }
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(0, 240, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  }
  .cursor-ring.active {
    width: 58px;
    height: 58px;
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan-primary);
  }
}

/* Ambient Animated Glow Mesh Background */
.ambient-glow-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.35;
  will-change: transform;
  animation: orbFloat 22s infinite alternate ease-in-out;
}

.ambient-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #00f0ff 0%, rgba(0, 240, 255, 0) 70%);
  top: -100px;
  left: 10%;
}

.ambient-orb-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #8b5cf6 0%, rgba(139, 92, 246, 0) 70%);
  top: 35%;
  right: -100px;
  animation-duration: 28s;
  animation-delay: -5s;
}

.ambient-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #10b981 0%, rgba(16, 185, 129, 0) 70%);
  bottom: 5%;
  left: 20%;
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.15); }
  100% { transform: translate(-40px, 40px) scale(0.95); }
}

/* Canvas Overlay */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-cyan {
  background: var(--grad-cyan-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan-primary);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cyan-primary);
  box-shadow: 0 0 10px var(--cyan-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

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

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.125rem;
  color: #94a3b8;
  font-weight: 400;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--grad-cyan-violet);
  color: #06080e;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(0, 240, 255, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.55);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  color: #fff;
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  border-radius: 8px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s ease, border 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.brand-icon-svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px var(--cyan-primary));
}

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

.nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
}

.status-pill .indicator {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.5s infinite;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-title .decoder-word {
  color: var(--cyan-primary);
  text-shadow: 0 0 20px var(--cyan-glow);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-main);
  margin-left: -10px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.875rem;
  color: #94a3b8;
}

.trust-text strong {
  color: #fff;
}

/* Hero Visual / Futuristic Terminal Mockup */
.hero-visual {
  position: relative;
  z-index: 10;
}

.terminal-card {
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid var(--border-glass-glow);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.15);
  transition: transform 0.3s ease;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-glass);
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #64748b;
  letter-spacing: 0.05em;
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-primary);
  padding: 2px 8px;
  border-radius: 4px;
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: #cbd5e1;
  min-height: 330px;
  max-height: 380px;
  overflow-y: auto;
}

.terminal-line {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.terminal-prompt {
  color: var(--cyan-primary);
  font-weight: 700;
}

.terminal-output {
  color: #94a3b8;
}

.terminal-output.success {
  color: #10b981;
}

.terminal-output.highlight {
  color: #00f0ff;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  caret-color: var(--cyan-primary);
}

/* Floating Metric Badges in Hero */
.floating-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  z-index: 12;
  animation: floatSlow 6s infinite ease-in-out;
}

.floating-pill-1 {
  top: -24px;
  right: -20px;
}

.floating-pill-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: -3s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floating-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-pill-icon.cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-primary);
}

.floating-pill-icon.violet {
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet-primary);
}

.floating-pill-text h5 {
  font-size: 0.875rem;
  margin: 0;
}

.floating-pill-text p {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
}

/* ==========================================================================
   PARTNER / CLIENT LOGOS MARQUEE
   ========================================================================== */
.client-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(6, 8, 14, 0.5);
  position: relative;
  overflow: hidden;
}

.client-section-label {
  text-align: center;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #64748b;
  margin-bottom: 24px;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 48px;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 56px;
  animation: scrollMarquee 28s linear infinite;
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #64748b;
  transition: color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.client-logo-item svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.client-logo-item:hover {
  color: #fff;
  transform: scale(1.05);
}

/* ==========================================================================
   SERVICES & 3D TILT CARDS SECTION
   ========================================================================== */
.services-section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
}

/* 3D Tilt Card Base */
.tilt-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px 30px;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card:hover {
  border-color: var(--border-glass-glow);
  box-shadow: 0 20px 40px -15px rgba(0, 240, 255, 0.2);
}

/* Glare Layer */
.tilt-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tilt-card:hover .tilt-glare {
  opacity: 1;
}

.card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan-primary);
  font-size: 1.6rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.tilt-card:hover .card-icon-box {
  transform: scale(1.1) translateZ(30px);
  background: var(--cyan-primary);
  color: #06080e;
  box-shadow: 0 0 25px var(--cyan-glow);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
  transform: translateZ(25px);
  transition: color 0.3s ease;
}

.tilt-card:hover .card-title {
  color: var(--cyan-primary);
}

.card-description {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
  transform: translateZ(15px);
}

.card-features-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.card-features-list li svg {
  color: var(--cyan-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.card-link:hover {
  color: var(--cyan-primary);
  gap: 14px;
}

/* ==========================================================================
   ARCHITECTURE & FEATURE SHOWCASE (INTERACTIVE TABS)
   ========================================================================== */
.architecture-section {
  padding: var(--section-spacing) 0;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  position: relative;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: #94a3b8;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  color: #06080e;
  background: var(--cyan-primary);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 25px var(--cyan-glow);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: var(--glass-blur);
}

.showcase-info h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.showcase-info p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.metric-bar-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.metric-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
}

.bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--grad-cyan-violet);
  border-radius: 999px;
  transition: width 1s ease-out;
}

.showcase-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: rgba(6, 8, 14, 0.8);
  padding: 24px;
}

.code-window-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.code-window-body pre {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #a5b4fc;
  overflow-x: auto;
}

/* ==========================================================================
   METRICS & LIVE STATS
   ========================================================================== */
.stats-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(6, 8, 14, 0.6) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-card {
  padding: 24px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  color: #fff;
}

.stat-label {
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px 30px;
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
}

.rating-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 20px;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.pricing-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.pricing-switch-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.25s ease;
}

.pricing-switch-label.active {
  color: #fff;
}

.switch-toggle {
  position: relative;
  width: 58px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  transition: background 0.3s ease;
}

.switch-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-primary);
  box-shadow: 0 0 10px var(--cyan-primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.switch-toggle.active::before {
  transform: translateX(28px);
}

.discount-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(20, 30, 55, 0.85) 0%, rgba(11, 15, 25, 0.95) 100%);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-cyan-violet);
  color: #06080e;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px var(--cyan-glow);
}

.pricing-plan-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-plan-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 24px;
  min-height: 42px;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 32px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #94a3b8;
}

.price-val {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: #94a3b8;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.925rem;
  color: #cbd5e1;
}

.pricing-features li svg {
  color: var(--cyan-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   CALL TO ACTION PORTAL
   ========================================================================== */
.cta-section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.cta-box {
  position: relative;
  border-radius: 30px;
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(6, 8, 14, 0.95) 100%);
  border: 1px solid var(--border-glass-glow);
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.15);
}

.cta-portal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.2);
  pointer-events: none;
  animation: spinPortal 40s linear infinite;
}

.cta-portal-ring-2 {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  animation: spinPortal 25s linear infinite reverse;
}

@keyframes spinPortal {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.125rem;
  color: #94a3b8;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-glass);
  background: #040508;
  padding: 80px 0 40px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9375rem;
  margin: 18px 0 24px 0;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--cyan-primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--cyan-primary);
  transform: translateX(4px);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input-group {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.25s ease;
}

.newsletter-input:focus {
  border-color: var(--cyan-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   FLOATING UTILITY CONTROLS (AUDIO FX, SCROLL TO TOP)
   ========================================================================== */
.floating-dock {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid var(--border-glass-glow);
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.dock-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--cyan-glow);
}

/* Scroll progress SVG circle */
.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring__circle {
  stroke: var(--cyan-primary);
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  transition: stroke-dashoffset 0.15s ease-out;
}

/* ==========================================================================
   MODAL (REQUEST DEMO)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 14, 0.8);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #0b0f19;
  border: 1px solid var(--border-glass-glow);
  border-radius: 24px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.2);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

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

.form-label {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 500;
}

.form-input, .form-select {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.25s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* ==========================================================================
   SCROLL REVEAL UTILITIES
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   RESPONSIVENESS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-badge {
    justify-content: center;
  }
  .showcase-layout {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
    --section-spacing: 80px;
  }
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(6, 8, 14, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 36px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-toggle {
    display: block;
  }
  .status-pill {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-pill {
    display: none;
  }
}
