/* ==========================================================================
   SENTICIA Landing Page - CSS
   ========================================================================== */

/* CSS Variables */
:root {
  --color-bg: #0a0b0f;
  --color-bg-secondary: #12131a;
  --color-bg-tertiary: #1a1b24;
  --color-bg-glass: rgba(18, 19, 26, 0.8);

  --color-text: #ffffff;
  --color-text-secondary: #a1a1aa;
  --color-text-muted: #71717a;

  --color-accent: #7c8aff;
  --color-accent-secondary: #a855f7;
  --color-positive: #22c55e;
  --color-negative: #ef4444;

  --gradient-primary: linear-gradient(135deg, #7c8aff 0%, #a855f7 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(124, 138, 255, 0.15) 0%, transparent 70%);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ==========================================================================
   PARTICLES BACKGROUND
   ========================================================================== */

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-30px) translateX(10px);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-50px) translateX(-10px);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-20px) translateX(20px);
    opacity: 0.5;
  }
}

/* JS-animated particles (for collision detection) */
.particle--js {
  position: fixed;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.4;
  animation: none !important;
  pointer-events: none;
  box-shadow: 0 0 4px var(--color-accent);
  z-index: 9999;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.logo-mit {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-text);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-5);
  z-index: 99;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-3) 0;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(124, 138, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 138, 255, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 var(--space-9);
  overflow: hidden;
}

.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: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(124, 138, 255, 0.1);
  border: 1px solid rgba(124, 138, 255, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-7);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */

section {
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-5);
}

.section-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: rgba(124, 138, 255, 0.1);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features {
  padding: var(--space-9) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.feature-card {
  position: relative;
  padding: var(--space-6);
  background: var(--color-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  transition: left 0.6s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  border-color: rgba(124, 138, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card--large {
  grid-column: span 2;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon--trust {
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-positive);
}

.feature-icon--sentiment {
  background: rgba(168, 85, 247, 0.15);
  color: var(--color-accent-secondary);
}

.feature-icon--impact {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.feature-icon--alerts {
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-negative);
}

.feature-icon--signals {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}

.feature-icon--topics {
  background: rgba(124, 138, 255, 0.15);
  color: var(--color-accent);
}

.feature-icon--geo {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.feature-icon--sov {
  background: rgba(20, 184, 166, 0.15);
  color: #14b8a6;
}

.feature-icon--ai {
  background: rgba(124, 138, 255, 0.15);
  color: var(--color-accent);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Feature Visuals */
.feature-visual {
  margin-top: var(--space-5);
}

.trust-visual {
  display: flex;
  justify-content: center;
}

.trust-ring {
  position: relative;
  width: 100px;
  height: 100px;
}

.trust-ring svg {
  width: 100%;
  height: 100%;
}

.trust-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.ai-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ai-line {
  height: 8px;
  background: linear-gradient(90deg, rgba(124, 138, 255, 0.3), rgba(168, 85, 247, 0.3));
  border-radius: 4px;
  animation: aiPulse 2s infinite ease-in-out;
}

.ai-line:nth-child(1) { width: 80%; animation-delay: 0s; }
.ai-line:nth-child(2) { width: 60%; animation-delay: 0.2s; }
.ai-line:nth-child(3) { width: 90%; animation-delay: 0.4s; }

@keyframes aiPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card--large {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: span 1;
  }
}

/* ==========================================================================
   PREVIEW SECTION - Holographic Command Center
   ========================================================================== */

.preview {
  padding: var(--space-6) 0 var(--space-7);
  overflow: visible;
  position: relative;
}

.preview .section-header {
  position: relative;
  z-index: 1;
}

.command-center {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  /* perspective: 1200px; */
  /* transform-style: preserve-3d; */
}

.command-center__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  /* 6 cards - compact layout */
  grid-template-rows: 155px 190px 155px;
  gap: 12px;
  transform: perspective(1200px) rotateX(16deg) rotateY(-2deg);
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  position: relative;
  z-index: 10;
}

.command-center:hover .command-center__grid {
  transform: perspective(1200px) rotateX(12deg) rotateY(0deg);
}

/* Screen Card Base */
.screen-card {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
}

/* Depth layers */
.screen-card[data-depth="1"] { transform: translateZ(15px); }
.screen-card[data-depth="2"] { transform: translateZ(35px); }
.screen-card[data-depth="3"] { transform: translateZ(55px); }

.screen-card__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(18, 19, 26, 0.95), rgba(26, 27, 36, 0.9));
  border: 1px solid rgba(124, 138, 255, 0.15);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 1px rgba(124, 138, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.screen-card__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 138, 255, 0.3), rgba(168, 85, 247, 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}


.screen-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s ease;
  filter: brightness(0.85) saturate(0.95);
  cursor: pointer;
  position: relative;
  z-index: 100;
}

/* Neon glow edge */
.screen-card__glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(135deg, rgba(124, 138, 255, 0.4), rgba(168, 85, 247, 0.2), rgba(34, 197, 94, 0.2));
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

/* Holographic glare */
.screen-card__glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 30%,
    transparent 70%,
    rgba(124, 138, 255, 0.05) 100%
  );
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

/* Scanline effect */
.screen-card__scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(124, 138, 255, 0.9) 15%,
    rgba(168, 85, 247, 1) 50%,
    rgba(124, 138, 255, 0.9) 85%,
    transparent 100%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  box-shadow:
    0 0 12px rgba(124, 138, 255, 0.9),
    0 0 25px rgba(168, 85, 247, 0.6);
}

/* Data stream effect */
.screen-card__datastream {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(124, 138, 255, 0.03) 2px,
    rgba(124, 138, 255, 0.03) 4px
  );
  pointer-events: none;
  opacity: 0.5;
}

/* Label */
.screen-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(10, 11, 15, 0.98), rgba(10, 11, 15, 0.8), transparent);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 101;
}

.screen-card__label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-positive);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-positive);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* Hover effects */
/* Hover effects only on devices with hover capability (desktop) */
@media (hover: hover) and (pointer: fine) {
  .screen-card:hover {
    z-index: 100;
    transform: translateZ(80px) scale(1.02);
  }

  .screen-card:hover .screen-card__frame {
    border-color: rgba(124, 138, 255, 0.5);
    box-shadow:
      0 40px 80px rgba(0, 0, 0, 0.6),
      0 0 60px rgba(124, 138, 255, 0.15),
      0 0 120px rgba(168, 85, 247, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .screen-card:hover .screen-card__glow {
    opacity: 0.6;
  }

  .screen-card:hover .screen-card__frame img {
    transform: scale(1.05);
    filter: brightness(1) saturate(1.1);
  }

  .screen-card:hover .screen-card__scanline {
    opacity: 1;
    animation: scanDown 2s linear infinite;
  }

  .screen-card:hover .screen-card__label {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scanDown {
  0% { top: 0; }
  100% { top: 100%; }
}

/* Grid positioning - 7 cards layout
   Layout:
   ┌───────────────┬──────────┐
   │  1. Coverage  │ 2. Feed  │ Row 1
   ├──────┬────────┤  square  │
   │3.Spec│4.Evol  │          │ Row 2
   ├──────┴──┬─────┴──────────┤
   │ 5.Harta │  6. Analiza    │ Row 3
   ├─────────┴────────────────┤
   │       7. Alerta          │ Row 4
   └──────────────────────────┘
*/
.screen-card:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }       /* Coverage wide */
.screen-card:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 3; }  /* Feed more square */
.screen-card:nth-child(3) { grid-column: 1 / 4; grid-row: 2; }       /* Spectru square */
.screen-card:nth-child(4) { grid-column: 4 / 8; grid-row: 2; }       /* Evolutie square */
.screen-card:nth-child(5) { grid-column: 1 / 5; grid-row: 3; }       /* Harta */
.screen-card:nth-child(6) { grid-column: 5 / 13; grid-row: 3; }      /* Analiza wide */
/* Floating animations - 6 cards */
.screen-card:nth-child(1) { animation: float1 8s ease-in-out infinite; }
.screen-card:nth-child(2) { animation: float2 7s ease-in-out infinite 0.5s; }
.screen-card:nth-child(3) { animation: float3 9s ease-in-out infinite 1s; }
.screen-card:nth-child(4) { animation: float1 7.5s ease-in-out infinite 1.5s; }
.screen-card:nth-child(5) { animation: float2 8.5s ease-in-out infinite 2s; }
.screen-card:nth-child(6) { animation: float3 7s ease-in-out infinite 2.5s; }

@keyframes float1 {
  0%, 100% { transform: translateZ(var(--depth, 30px)) translateY(0); }
  50% { transform: translateZ(var(--depth, 30px)) translateY(-8px); }
}

@keyframes float2 {
  0%, 100% { transform: translateZ(var(--depth, 30px)) translateY(0) rotate(0deg); }
  50% { transform: translateZ(var(--depth, 30px)) translateY(-12px) rotate(0.5deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateZ(var(--depth, 30px)) translateY(0); }
  33% { transform: translateZ(var(--depth, 30px)) translateY(-6px); }
  66% { transform: translateZ(var(--depth, 30px)) translateY(-10px); }
}

/* Background elements */
.command-center__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-150px);
  width: 140%;
  height: 140%;
  background: radial-gradient(
    ellipse 60% 50% at center,
    rgba(124, 138, 255, 0.08) 0%,
    rgba(168, 85, 247, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

.command-center__grid-lines {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(124, 138, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 138, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: translateZ(-200px) rotateX(60deg);
  pointer-events: none;
  opacity: 0.5;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) translateZ(-150px) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) translateZ(-150px) scale(1.05); }
}

/* Responsive */
@media (max-width: 1024px) {
  .command-center__grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 140px 170px 140px;
    transform: rotateX(8deg);
  }

  .screen-card:nth-child(1) { grid-column: 1 / 4; grid-row: 1; }       /* Coverage */
  .screen-card:nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 3; }   /* Feed */
  .screen-card:nth-child(3) { grid-column: 1 / 2; grid-row: 2; }       /* Spectru */
  .screen-card:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }       /* Evolutie */
  .screen-card:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }       /* Harta */
  .screen-card:nth-child(6) { grid-column: 3 / 7; grid-row: 3; }       /* Analiza */
}

@media (max-width: 768px) {
  .command-center {
    perspective: none;
  }

  .command-center__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    transform: none;
    gap: 10px;
  }

  .command-center:hover .command-center__grid {
    transform: none;
  }

  /* 2 coloane, fiecare card se auto-dimensionează */
  .screen-card:nth-child(1) { grid-column: 1 / 3; }   /* Coverage - full width */
  .screen-card:nth-child(2) { grid-column: 1; }        /* Feed */
  .screen-card:nth-child(3) { grid-column: 2; }        /* Spectru */
  .screen-card:nth-child(4) { grid-column: 1; }        /* Evolutie */
  .screen-card:nth-child(5) { grid-column: 2; }        /* Harta */
  .screen-card:nth-child(6) { grid-column: 1 / 3; }    /* Analiza - full width */

  /* Reset grid-row */
  .screen-card:nth-child(n) { grid-row: auto; }

  .screen-card {
    transform: translateZ(0) !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .screen-card:hover,
  .screen-card:active {
    transform: translateZ(0) !important;
  }

  .screen-card__frame {
    height: auto;
  }

  .screen-card__frame img {
    object-fit: contain;
    object-position: center;
  }

  /* Bannere late — container 2:1, imaginea se centrează */
  .screen-card:nth-child(1) .screen-card__frame,
  .screen-card:nth-child(6) .screen-card__frame { aspect-ratio: 2 / 1; }
  /* Aproape pătrate (1.2:1) */
  .screen-card:nth-child(2) .screen-card__frame,
  .screen-card:nth-child(3) .screen-card__frame,
  .screen-card:nth-child(4) .screen-card__frame { aspect-ratio: 6 / 5; }
  /* Harta (2.04:1) */
  .screen-card:nth-child(5) .screen-card__frame { aspect-ratio: 2 / 1; }

  .screen-card__label {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.65rem;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .command-center {
    perspective: none;
  }

  .command-center__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 4px;
    transform: none;
  }

  .command-center:hover .command-center__grid {
    transform: none;
  }

  .command-center__grid .screen-card {
    transform: none !important;
  }

  .screen-card__frame {
    height: auto;
  }

  .screen-card__frame img {
    object-fit: contain;
    object-position: center;
  }

  /* Bannere — 5:2 pe telefon, puțin mai înalte ca pe tabletă */
  .screen-card:nth-child(1) .screen-card__frame,
  .screen-card:nth-child(6) .screen-card__frame { aspect-ratio: 5 / 2; }
  /* Aproape pătrate */
  .screen-card:nth-child(2) .screen-card__frame,
  .screen-card:nth-child(3) .screen-card__frame,
  .screen-card:nth-child(4) .screen-card__frame { aspect-ratio: 6 / 5; }
  /* Harta */
  .screen-card:nth-child(5) .screen-card__frame { aspect-ratio: 2 / 1; }

  .screen-card__label {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.65rem;
    padding: 8px 12px;
  }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials {
  padding: var(--space-7) 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.testimonial-card {
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  border-color: rgba(124, 138, 255, 0.2);
  transform: translateY(-2px);
}

.testimonial-content {
  margin-bottom: var(--space-3);
}

.testimonial-content p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Anonymous Testimonial Avatar */
.testimonial-avatar--anon {
  background: var(--color-bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar--anon svg {
  width: 24px;
  height: 24px;
  color: var(--color-text-muted);
}

/* Logos Section */
.logos-section {
  text-align: center;
}

.logos-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.logos-subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-6);
  line-height: 1.5;
  font-style: italic;
}

/* Word Logo Marquee */
.logos-marquee {
  position: relative;
  overflow: hidden;
  padding: var(--space-4) 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logos-track {
  display: flex;
  gap: var(--space-5);
  animation: marquee 25s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logos-marquee:hover .logos-track {
  animation-play-state: paused;
}

.word-logo {
  padding: var(--space-3) var(--space-5);
  background: var(--color-bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.8125rem;
  white-space: nowrap;
  filter: blur(0.5px);
  opacity: 0.85;
  transition: all var(--transition-fast);
}

.word-logo:hover {
  filter: blur(0);
  opacity: 1;
}

/* Different brand-like styles for each word */
.word-logo--style-1 {
  color: #7c8aff;
  border-color: rgba(124, 138, 255, 0.2);
  font-style: italic;
}

.word-logo--style-2 {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.2);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.word-logo--style-3 {
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.2);
  text-transform: lowercase;
  font-size: 0.9375rem;
}

.word-logo--style-4 {
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.2);
  font-weight: 400;
  letter-spacing: 0.2em;
}

.word-logo--style-5 {
  color: #0ea5e9;
  border-color: rgba(14, 165, 233, 0.2);
  font-weight: 900;
  letter-spacing: 0;
}

.word-logo--style-6 {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
  font-family: Georgia, serif;
  font-style: italic;
  letter-spacing: 0.05em;
}

/* Separator - brand circle */
.word-logo--separator {
  background: transparent;
  border: none;
  padding: var(--space-2);
  filter: blur(0);
  opacity: 0.6;
}

.word-logo--separator svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

/* Key words - TRUST & PRIVACY */
.word-logo--key {
  background: linear-gradient(135deg, rgba(124, 138, 255, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
  border: 2px solid;
  border-image: linear-gradient(135deg, #7c8aff, #a855f7) 1;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(135deg, #7c8aff 0%, #a855f7 100%);
  font-weight: 900;
  font-size: 0.9375rem;
  letter-spacing: 0.15em;
  padding: var(--space-3) var(--space-6);
  position: relative;
  filter: blur(0);
  opacity: 1;
}

.word-logo--key::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, #7c8aff, #a855f7);
  border-radius: 2px;
}

@media (max-width: 640px) {
  .word-logo {
    padding: var(--space-2) var(--space-4);
    font-size: 0.75rem;
  }

  .logos-track {
    gap: var(--space-3);
  }
}

/* Logos Context Stats */
.logos-context {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.logos-context-item {
  text-align: center;
}

.context-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.context-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .logos-context {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
  padding: var(--space-9) 0;
}

.cta-card {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-8);
  background: var(--color-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 500px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: var(--space-4);
}

.form-input {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(124, 138, 255, 0.1);
}

.cta-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
  }

  .cta-card {
    padding: var(--space-6);
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding: var(--space-8) 0 var(--space-6);
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-9);
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-text);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .footer-links {
    gap: var(--space-6);
  }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox__container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.lightbox.active .lightbox__container {
  transform: scale(1) translateY(0);
}

.lightbox__content {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(124, 138, 255, 0.2),
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(124, 138, 255, 0.15);
}

.lightbox__image {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: linear-gradient(to top, rgba(10, 11, 15, 0.95), transparent);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox__nav:hover {
  background: rgba(124, 138, 255, 0.3);
  border-color: rgba(124, 138, 255, 0.5);
}

.lightbox__nav svg {
  width: 24px;
  height: 24px;
}

.lightbox__nav--prev {
  left: -70px;
}

.lightbox__nav--next {
  right: -70px;
}

@media (max-width: 768px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }

  .lightbox__close {
    top: 10px;
    right: 10px;
  }
}

/* ==========================================================================
   ELECTRIC SPARKS
   ========================================================================== */

.spark-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: visible;
}

.electric-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
}

.electric-spark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(124, 138, 255, 1) 0%, rgba(168, 85, 247, 0.8) 40%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: sparkFlash 0.4s ease-out forwards;
}

.electric-spark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(124, 138, 255, 0.4) 0%, transparent 60%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: sparkGlow 0.5s ease-out forwards;
}

.spark-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--length, 25px);
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 138, 255, 1), rgba(168, 85, 247, 0.8), transparent);
  transform-origin: left center;
  transform: rotate(var(--angle, 0deg));
  animation: sparkLine 0.3s ease-out forwards;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(124, 138, 255, 0.8);
}

.spark-line:nth-child(2) {
  background: linear-gradient(90deg, rgba(168, 85, 247, 1), rgba(124, 138, 255, 0.8), transparent);
}

.spark-line:nth-child(3) {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.9), rgba(124, 138, 255, 0.6), transparent);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

/* Subtle spark variant for particle collisions */
.electric-spark--subtle {
  position: absolute;
  width: 4px;
  height: 4px;
  pointer-events: none;
}

.electric-spark--subtle::before,
.electric-spark--subtle::after {
  display: none;
}

.spark-line--subtle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--length, 10px);
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.8), transparent);
  box-shadow: 0 0 4px rgba(0, 212, 255, 0.6);
  transform-origin: left center;
  animation: sparkLineSubtle 0.25s ease-out forwards;
  border-radius: 1px;
}

@keyframes sparkLineSubtle {
  0% {
    opacity: 0.8;
    transform: rotate(var(--angle, 0deg)) scaleX(0);
  }
  50% {
    opacity: 0.6;
    transform: rotate(var(--angle, 0deg)) scaleX(1);
  }
  100% {
    opacity: 0;
    transform: rotate(var(--angle, 0deg)) scaleX(0.5);
  }
}

@keyframes sparkFlash {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
}

@keyframes sparkGlow {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
  }
  30% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes sparkLine {
  0% {
    transform: rotate(var(--angle, 0deg)) scaleX(0);
    opacity: 1;
  }
  30% {
    transform: rotate(var(--angle, 0deg)) scaleX(1);
    opacity: 1;
  }
  100% {
    transform: rotate(var(--angle, 0deg)) scaleX(0.3);
    opacity: 0;
  }
}
