/* ═══════════════════════════════════════════════════════════
   CITIZENX — STYLE.CSS  (zentrale Stylesheet-Datei)
   - importiert Reset/Vars/Loader aus styles/
   - enthält direkt alle Styles der Startseite (Hero, Sections,
     Responsive). Header und Footer werden via JS injiziert.
   ═══════════════════════════════════════════════════════════ */

@import url("styles/base.css");
@import url("styles/loader.css");

/* ═══ HERO SECTION ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Animated background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  --dx1: 0px;
  --dy1: 0px;
  --dx2: 0px;
  --dy2: 0px;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(168,2,1,0.15) 0%, transparent 60%);
  transform: translate(var(--dx1), var(--dy1));
  transition: transform 0.8s ease-out, opacity 1.5s ease-out;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(94,2,0,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(89,2,0,0.15) 0%, transparent 50%);
  transform: translate(var(--dx2), var(--dy2));
  transition: transform 0.8s ease-out, opacity 1.5s ease-out;
}

/* Floating 3D particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--cx-red);
  opacity: 0;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(168,2,1,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,2,1,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Rotating 3D ring */
.hero-ring {
  position: absolute;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(168,2,1,0.12);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(60deg);
  animation: ringRotate 30s linear infinite;
  z-index: 1;
  perspective: 1000px;
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(168,2,1,0.08);
  border-radius: 50%;
  animation: ringRotate 20s linear infinite reverse;
}
.hero-ring::after {
  content: '';
  position: absolute;
  inset: 90px;
  border: 1px solid rgba(168,2,1,0.05);
  border-radius: 50%;
  animation: ringRotate 25s linear infinite;
}
@keyframes ringRotate {
  0% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
  100% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

/* ═══ GRID LIGHT PULSES ═══ */
.hero-grid-pulses {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.grid-pulse-h {
  position: absolute;
  height: 1px;
  left: -30%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 40%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.15) 60%, transparent 100%);
  width: 20%;
}
.grid-pulse-h:nth-child(1) { top: calc(60px * 2); animation: pulseH 7s linear infinite; }
.grid-pulse-h:nth-child(2) { top: calc(60px * 5); animation: pulseH 9s linear infinite; animation-delay: 3s; }
.grid-pulse-h:nth-child(3) { top: calc(60px * 8); animation: pulseH 11s linear infinite; animation-delay: 6s; }
.grid-pulse-h:nth-child(4) { top: calc(60px * 4); animation: pulseH 8s linear infinite; animation-delay: 1.5s; width: 15%; }
.grid-pulse-h:nth-child(5) { top: calc(60px * 10); animation: pulseH 10s linear infinite; animation-delay: 4.5s; width: 12%; }

.grid-pulse-v {
  position: absolute;
  width: 1px;
  top: -30%;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.15) 40%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.15) 60%, transparent 100%);
  height: 20%;
}
.grid-pulse-v:nth-child(6)  { left: calc(60px * 3);  animation: pulseV 8s linear infinite; animation-delay: 2s; }
.grid-pulse-v:nth-child(7)  { left: calc(60px * 7);  animation: pulseV 10s linear infinite; animation-delay: 5s; }
.grid-pulse-v:nth-child(8)  { left: calc(60px * 12); animation: pulseV 9s linear infinite; animation-delay: 0.5s; }
.grid-pulse-v:nth-child(9)  { left: calc(60px * 18); animation: pulseV 11s linear infinite; animation-delay: 3.5s; height: 15%; }
.grid-pulse-v:nth-child(10) { left: calc(60px * 22); animation: pulseV 7s linear infinite; animation-delay: 7s; height: 12%; }

.grid-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  box-shadow: 0 0 6px rgba(255,255,255,0.2), 0 0 12px rgba(168,2,1,0.15);
  animation: dotFlash 4s ease-in-out infinite;
}
.grid-dot:nth-child(11) { top: calc(60px * 2); left: calc(60px * 7); animation-delay: 1s; }
.grid-dot:nth-child(12) { top: calc(60px * 5); left: calc(60px * 12); animation-delay: 3s; }
.grid-dot:nth-child(13) { top: calc(60px * 8); left: calc(60px * 3); animation-delay: 5s; }
.grid-dot:nth-child(14) { top: calc(60px * 4); left: calc(60px * 18); animation-delay: 2s; }
.grid-dot:nth-child(15) { top: calc(60px * 10); left: calc(60px * 22); animation-delay: 6s; }

@keyframes pulseH {
  0% { transform: translateX(0); opacity: 0; }
  5% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(calc(100vw + 60%)); opacity: 0; }
}
@keyframes pulseV {
  0% { transform: translateY(0); opacity: 0; }
  5% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(calc(100vh + 60%)); opacity: 0; }
}
@keyframes dotFlash {
  0%, 40%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.5); }
  60% { opacity: 0; transform: scale(0.5); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title-line {
  display: block;
  overflow: hidden;
  position: relative;
}
.title-line .title-inner {
  display: block;
  transform: translateY(110%) skewY(5deg);
  opacity: 0;
}
.line-1 .title-inner {
  animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 2.3s forwards;
}
.line-2 .title-inner {
  animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 2.7s forwards,
             glitchHard 0.3s linear 3.7s 2,
             glitchSubtle 0.08s linear 4.4s 5;
}
@keyframes titleReveal {
  0% { transform: translateY(110%) skewY(5deg); opacity: 0; }
  20% { opacity: 1; }
  60% { transform: translateY(-3%) skewY(0deg); }
  100% { transform: translateY(0) skewY(0deg); opacity: 1; }
}
@keyframes glitchHard {
  0% { transform: translate(0, 0) scaleX(1); opacity: 1; filter: brightness(1); }
  10% { transform: translate(-6px, 3px) scaleX(1.02); opacity: 0.7; filter: brightness(2); }
  20% { transform: translate(5px, -2px) scaleX(0.98); opacity: 1; filter: brightness(1); }
  30% { transform: translate(-3px, -3px) scaleX(1.01); opacity: 0.5; filter: brightness(3); }
  40% { transform: translate(4px, 2px) scaleX(1); opacity: 1; filter: brightness(1); }
  50% { transform: translate(-2px, 1px) scaleX(0.99); opacity: 0.8; filter: brightness(1.5); }
  60% { transform: translate(0, 0) scaleX(1); opacity: 1; filter: brightness(1); }
  100% { transform: translate(0, 0) scaleX(1); opacity: 1; filter: brightness(1); }
}
@keyframes glitchSubtle {
  0% { transform: translate(0); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); }
  75% { transform: translate(-1px, -1px); }
  100% { transform: translate(0); }
}

/* Glitch pseudo layers */
.line-2 {
  position: relative;
}
.line-2::before,
.line-2::after {
  content: 'REMASTERED';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cx-red);
  opacity: 0;
  pointer-events: none;
}
.line-2::before {
  animation: glitchLayer1 3s ease-in-out 4.8s infinite;
  clip-path: inset(0 0 50% 0);
  text-shadow: -3px 0 #ff0000, 3px 0 rgba(168,2,1,0.5);
}
.line-2::after {
  animation: glitchLayer2 3s ease-in-out 4.9s infinite;
  clip-path: inset(50% 0 0 0);
  text-shadow: 3px 0 #ff3333, -3px 0 rgba(168,2,1,0.5);
}
@keyframes glitchLayer1 {
  0%, 82%, 100% { opacity: 0; transform: translate(0); }
  83% { opacity: 0.8; transform: translate(-6px, -2px) scaleX(1.03); }
  84% { opacity: 0; transform: translate(4px, 1px); }
  85% { opacity: 0.7; transform: translate(-3px, 2px) scaleX(0.98); }
  86% { opacity: 0; }
  87% { opacity: 0.5; transform: translate(5px, -1px); }
  88% { opacity: 0; transform: translate(0); }
}
@keyframes glitchLayer2 {
  0%, 84%, 100% { opacity: 0; transform: translate(0); }
  85% { opacity: 0.7; transform: translate(5px, 2px) scaleX(0.97); }
  86% { opacity: 0; transform: translate(-3px, -1px); }
  87% { opacity: 0.8; transform: translate(4px, -2px) scaleX(1.02); }
  88% { opacity: 0; }
  89% { opacity: 0.6; transform: translate(-5px, 1px); }
  90% { opacity: 0; transform: translate(0); }
}

.hero-title .accent {
  background: linear-gradient(90deg, #3a0000 0%, var(--cx-red) 20%, #ff2200 40%, #ff0000 50%, #ff2200 60%, var(--cx-red) 80%, #3a0000 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 2.7s forwards,
             glitchHard 0.3s linear 3.7s 2,
             glitchSubtle 0.08s linear 4.4s 5,
             shimmer 12s linear 4.8s infinite;
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

.hero-sub {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: 1.4;
  color: var(--cx-white);
  max-width: 650px;
  margin: 1.5rem auto 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 2.6s forwards;
  text-align: center;
}
.hero-sub-static {
  display: block;
  margin-bottom: 0.4rem;
}
.stacking-words {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.stack-word {
  display: block;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cx-red) 0%, #ff3333 50%, var(--cx-red) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stack-word.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 500px;
  margin: 0 auto 3rem;
  font-weight: 300;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1s ease 2.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 2.8s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: var(--cx-red);
  color: var(--cx-white);
  border: none;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(168,2,1,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(168,2,1,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--cx-white);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--cx-red);
  background: rgba(168,2,1,0.08);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeUp 1s ease 3.2s forwards;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--cx-red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}
.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ═══ STATS BAR ═══ */
.stats-bar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(168,2,1,0.15);
  border-bottom: 1px solid rgba(168,2,1,0.15);
  background: rgba(15,0,0,0.6);
  backdrop-filter: blur(20px);
}
.stat-item {
  flex: 1;
  max-width: 300px;
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(168,2,1,0.1);
  transition: background 0.3s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(168,2,1,0.05); }
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--cx-red);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* ═══ HERO BACKGROUND SLIDESHOW ═══ */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 4s ease-in-out;
}
.hero-slideshow img.active {
  opacity: 0.12;
}

/* ═══ SECTION BASE ═══ */
.section {
  padding: 8rem 4rem;
  position: relative;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cx-red);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  max-width: 550px;
}

/* ═══ FEATURES SECTION ═══ */
.features {
  background: linear-gradient(180deg, var(--cx-black) 0%, rgba(30,1,0,0.5) 50%, var(--cx-black) 100%);
}
.features-header {
  text-align: center;
  margin-bottom: 5rem;
}
.features-header .section-desc {
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(168,2,1,0.04) 0%, rgba(15,0,0,0.8) 100%);
  border: 1px solid rgba(168,2,1,0.08);
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cx-red), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168,2,1,0.25);
  box-shadow: 0 20px 60px rgba(168,2,1,0.1);
  background: linear-gradient(135deg, rgba(168,2,1,0.08) 0%, rgba(15,0,0,0.9) 100%);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(168,2,1,0.1);
  border: 1px solid rgba(168,2,1,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  transition: all 0.4s ease;
}
.feature-card:hover .feature-icon {
  background: rgba(168,2,1,0.2);
  box-shadow: 0 0 25px rgba(168,2,1,0.2);
  transform: scale(1.05);
}
.feature-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.feature-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

/* ═══ SHOWCASE / IMMERSIVE ═══ */
.showcase {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.showcase-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem;
}
.showcase-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.showcase-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(168,2,1,0.2) 0%, transparent 70%);
}

/* 3D rotating cube */
.cube-scene {
  perspective: 800px;
  width: 280px;
  height: 280px;
}
.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeRotate 20s linear infinite;
}
@keyframes cubeRotate {
  0% { transform: rotateX(-20deg) rotateY(0deg); }
  100% { transform: rotateX(-20deg) rotateY(360deg); }
}
.cube-face {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(168,2,1,0.2);
  background: rgba(168,2,1,0.03);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  color: rgba(168,2,1,0.3);
}
.cube-face.front  { transform: translateZ(140px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(140px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(140px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(140px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(140px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(140px); }

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.showcase-feat {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-weight: 400;
}
.showcase-feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cx-red);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(168,2,1,0.5);
}

/* ═══ GALLERY / EXPERIENCE ═══ */
.experience {
  background: linear-gradient(180deg, var(--cx-black) 0%, rgba(25,1,0,0.4) 50%, var(--cx-black) 100%);
}
.experience-header {
  text-align: center;
  margin-bottom: 4rem;
}
.experience-header .section-desc { margin: 0 auto; }
.experience-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.exp-card {
  position: relative;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(168,2,1,0.1);
  cursor: default;
  transition: all 0.5s ease;
}
.exp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: background 0.5s ease;
}
.exp-card:nth-child(1)::before {
  background: linear-gradient(135deg, rgba(168,2,1,0.3) 0%, rgba(15,0,0,0.95) 70%);
}
.exp-card:nth-child(2)::before {
  background: linear-gradient(225deg, rgba(94,2,0,0.3) 0%, rgba(15,0,0,0.95) 70%);
}
.exp-card:nth-child(3)::before {
  background: linear-gradient(45deg, rgba(78,1,0,0.3) 0%, rgba(15,0,0,0.95) 70%);
}
.exp-card:nth-child(4)::before {
  background: linear-gradient(315deg, rgba(89,2,0,0.3) 0%, rgba(15,0,0,0.95) 70%);
}
.exp-card:hover {
  transform: scale(1.02);
  border-color: rgba(168,2,1,0.3);
  box-shadow: 0 0 60px rgba(168,2,1,0.1);
}
.exp-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  z-index: 2;
}
.exp-card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cx-red);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.exp-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.exp-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* Animated background elements */
.bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* ═══ COMMUNITY / CTA ═══ */
.community {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 10rem 4rem;
}
.community::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(168,2,1,0.1) 0%, transparent 70%);
}
.community-content {
  position: relative;
  z-index: 2;
}
.community .section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}
.community .section-desc {
  max-width: 600px;
  margin: 0 auto 3rem;
}
.community .btn-primary {
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
}

/* Animated lines */
.anim-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.anim-line {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(168,2,1,0.1), transparent);
  animation: lineMove 8s ease-in-out infinite;
}
.anim-line:nth-child(1) { left: 10%; animation-delay: 0s; }
.anim-line:nth-child(2) { left: 25%; animation-delay: 2s; }
.anim-line:nth-child(3) { left: 50%; animation-delay: 4s; }
.anim-line:nth-child(4) { left: 75%; animation-delay: 1s; }
.anim-line:nth-child(5) { left: 90%; animation-delay: 3s; }
@keyframes lineMove {
  0%, 100% { opacity: 0; transform: scaleY(0); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-inner { grid-template-columns: 1fr; }
  .showcase-visual { min-height: 40vh; }
  .showcase-content { padding: 4rem 3rem; }
  nav { padding: 1.2rem 2rem; }
  .cube-scene { width: 220px; height: 220px; }
  .cube-face { width: 220px; height: 220px; }
  .cube-face.front  { transform: translateZ(110px); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(110px); }
  .cube-face.right  { transform: rotateY(90deg) translateZ(110px); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(110px); }
  .cube-face.top    { transform: rotateX(90deg) translateZ(110px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(110px); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .experience-cards { grid-template-columns: 1fr; gap: 1.2rem; }
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(168,2,1,0.1); padding: 1.5rem 1rem; }
  .stat-number { font-size: 2.2rem; }
  .nav-links { display: none; }
  nav { padding: 1rem 1.2rem; }
  nav.scrolled { padding: 0.8rem 1.2rem; }
  .nav-logo { font-size: 1.4rem; }
  footer { flex-direction: column; padding: 2.5rem 1.5rem; gap: 2rem; }
  .footer-bottom { padding: 1.5rem; }
  .hero-ring { width: 300px; height: 300px; }
  .hero-content { padding: 0 1.2rem; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 3.2rem); }
  .hero-sub { font-size: clamp(1rem, 4vw, 1.4rem); margin: 1rem auto 1.5rem; }
  .hero-desc { font-size: 0.85rem; max-width: 90%; margin: 0 auto 2rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 0.8rem; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; justify-content: center; }
  .hero-scroll { bottom: 1.5rem; }
  .feature-card { padding: 1.8rem; }
  .feature-title { font-size: 1.15rem; }
  .showcase-content { padding: 3rem 1.5rem; }
  .showcase-visual { min-height: 30vh; }
  .cube-scene { width: 180px; height: 180px; }
  .cube-face { width: 180px; height: 180px; font-size: 1.8rem; }
  .cube-face.front  { transform: translateZ(90px); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(90px); }
  .cube-face.right  { transform: rotateY(90deg) translateZ(90px); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(90px); }
  .cube-face.top    { transform: rotateX(90deg) translateZ(90px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(90px); }
  .exp-card { height: 260px; }
  .exp-card-title { font-size: 1.25rem; }
  .community { padding: 6rem 1.5rem; }
  .community .section-title { font-size: clamp(2rem, 6vw, 3rem); }
  .community .btn-primary { width: auto; max-width: none; padding: 1rem 2.5rem; font-size: 1rem; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .section-desc { font-size: 0.9rem; }
  .features-header .section-desc { max-width: 90%; }
  .experience-header .section-desc { max-width: 90%; }
  .line-2::before, .line-2::after { font-size: clamp(1.8rem, 8vw, 3.2rem); }
  .hero-grid-pulses { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.4rem, 7vw, 2.2rem); }
  .line-2::before, .line-2::after { font-size: clamp(1.4rem, 7vw, 2.2rem); }
  .hero-ring { width: 220px; height: 220px; }
  .stat-number { font-size: 1.8rem; }
  .section { padding: 3rem 1rem; }
  .feature-card { padding: 1.5rem; }
  .showcase-content { padding: 2.5rem 1rem; }
  .exp-card { height: 220px; }
  .exp-card-content { padding: 1.5rem; }
  .community { padding: 5rem 1rem; }
  nav { padding: 0.8rem 1rem; }
  .nav-logo { font-size: 1.2rem; }
  footer { padding: 2rem 1rem; }
}
