/* ============================================
   FUTURUS Rebuild — cndagri.com Visual Replica
   Dark theme with cyan #00d4ff primary
   ============================================ */

/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */
:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --primary-rgb: 0, 212, 255;
  --accent: #00ff88;
  --accent-rgb: 0, 255, 136;
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-section: #111;
  --bg-card: #1a1a1a;
  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --text-muted: #888;
  --text-dim: #555;
  --font-primary: 'Inter', 'Noto Sans SC', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

a { color: inherit; text-decoration: none; cursor: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: none; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ============================================
   2. CUSTOM CURSOR
   ============================================ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: transform 0.15s ease,
              width 0.3s var(--ease-spring),
              height 0.3s var(--ease-spring),
              background 0.3s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(var(--primary-rgb), 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-spring),
              height 0.3s var(--ease-spring),
              border-color 0.3s ease,
              opacity 0.3s ease;
}

/* Hover on interactive elements — ring grows to 64px */
body.cursor-hover .cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
}

body.cursor-hover .cursor-ring {
  width: 64px;
  height: 64px;
  border-color: rgba(var(--accent-rgb), 0.5);
}

/* Click feedback */
body.cursor-click .cursor-ring {
  width: 32px;
  height: 32px;
  border-color: rgba(var(--primary-rgb), 0.8);
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot,
  .cursor-ring { display: none; }
  body, a, button { cursor: auto; }
}

/* ============================================
   3. PAGE LOADER
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform-origin: left;
  animation: loaderProgress 1.8s var(--ease-out) forwards;
}

@keyframes loaderProgress {
  0% { width: 0%; }
  60% { width: 70%; }
  100% { width: 100%; }
}

.loader-text {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 8px;
  color: var(--text-white);
  opacity: 0;
  transform: translateY(10px);
  animation: loaderTextReveal 0.8s 0.3s var(--ease-out) forwards;
}

@keyframes loaderTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   4. HEADER
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s var(--ease-out);
}

header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.6),
              inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.pc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 60px;
  transition: height 0.4s var(--ease-out);
}

header.scrolled .pc-nav {
  height: 70px;
}

/* Logo */
.nav-left .logo img {
  height: 36px;
  filter: brightness(1.2);
  transition: var(--transition);
}

.nav-left .logo:hover img {
  filter: brightness(1.5) drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.3));
}

/* Nav links */
.nav-center .nav-list {
  display: flex;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.nav-item > a:hover,
.nav-item.active > a {
  color: #fff;
}

/* Animated underline via ::after */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 30px;
  height: 2px;
  background: var(--primary);
  transition: transform 0.4s var(--ease-out);
  transform-origin: center;
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Sub navigation dropdown */
.sub-nav {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(16, 16, 16, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.has-sub:hover .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.sub-nav li a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.25s ease;
  position: relative;
}

.sub-nav li a::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s var(--ease-out);
}

.sub-nav li a:hover {
  color: var(--primary);
  padding-left: 32px;
}

.sub-nav li a:hover::before {
  width: 12px;
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  border-radius: 50%;
}

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

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  padding: 120px 40px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu a {
  font-size: 28px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
}

.mobile-menu a:hover {
  color: var(--primary);
  transform: translateX(12px);
}

/* ============================================
   5. BANNER (Hero)
   ============================================ */
.banner {
  position: relative;
  height: calc(100vh + 90px);
  min-height: 700px;
  overflow: hidden;
}

/* Video background */
.banner-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.banner.in-view .banner-video {
  transform: scale(1);
}

/* Parallax overlay layers */
.parallax-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  will-change: transform;
  pointer-events: none;
}

/* Film grain texture */
.hero-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.5;
  animation: grainShift 0.5s steps(4) infinite;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-5%, -5%); }
  50% { transform: translate(5%, 5%); }
  75% { transform: translate(-3%, 3%); }
  100% { transform: translate(3%, -3%); }
}

/* Vignette overlay */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 30%, rgba(10, 10, 10, 0.7) 100%);
}

/* Particles container */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(var(--primary-rgb), 0.6);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(80vh) translateX(10px) scale(1);
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10vh) translateX(-20px) scale(0.5);
    opacity: 0;
  }
}

/* Banner content */
.banner-content {
  position: absolute;
  bottom: 15%;
  left: 60px;
  z-index: 10;
}

.banner-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.banner-title {
  margin-bottom: 36px;
}

.title-line {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

/* split-text reveal animation (JS toggles .revealed) */
.split-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.split-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Banner text container animation */
.banner-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(30px);
  text-align: center;
  z-index: 5;
  max-width: 900px;
  width: 90%;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.banner-text h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 16px;
}

.banner-text p {
  font-size: clamp(14px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.banner-slide.active .banner-text {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

/* CTA Button — btn-explore style (border button) */
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 32px;
  border: 2px solid var(--text-white);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-explore:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
}

/* CTA Button — btn-more (filled + arrow) */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--text-white);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

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

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

.btn-more:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.25);
}

.btn-more svg {
  transition: transform 0.4s var(--ease-out);
}

.btn-more:hover svg {
  transform: translateX(6px);
}

.btn-more.dark {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-more.dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.15);
}

/* Banner dots */
.banner-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

.dot:hover {
  border-color: var(--primary);
}

/* Banner slide (if using image-based slides) */
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.banner-slide.active {
  opacity: 1;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: scrollIndicatorIn 1s 2s var(--ease-out) forwards;
}

@keyframes scrollIndicatorIn {
  to { opacity: 1; }
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.6), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--primary));
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(120px); }
  100% { transform: translateY(0); }
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* ============================================
   5b. BANNER BOTTOM DECORATIONS
   ============================================ */

/* Banner lines — horizontal scrolling lines */
.banner-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: hidden;
  z-index: 4;
}

.banner-line {
  position: absolute;
  height: 1px;
  left: 0;
  animation: lineScroll 8s linear infinite;
}

.banner-line:nth-child(1) { bottom: 10px; width: 60%; background: rgba(255, 255, 255, 0.06); animation-delay: 0s; }
.banner-line:nth-child(2) { bottom: 22px; width: 80%; background: rgba(255, 255, 255, 0.04); animation-delay: -1.5s; }
.banner-line:nth-child(3) { bottom: 36px; width: 45%; background: rgba(255, 255, 255, 0.08); animation-delay: -3s; }
.banner-line:nth-child(4) { bottom: 48px; width: 70%; background: rgba(255, 255, 255, 0.03); animation-delay: -4.5s; }
.banner-line:nth-child(5) { bottom: 58px; width: 55%; background: rgba(255, 255, 255, 0.05); animation-delay: -6s; }
.banner-line:nth-child(6) { bottom: 70px; width: 90%; background: rgba(255, 255, 255, 0.02); animation-delay: -2s; }

@keyframes lineScroll {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Banner bar — equalizer animation */
.banner-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 4;
  overflow: hidden;
}

.bar-lines {
  display: flex;
  align-items: flex-end;
  height: 100%;
  gap: 4px;
  padding: 0 40px;
}

.bar-lines span {
  flex: 1;
  background: linear-gradient(to top, var(--primary), transparent);
  opacity: 0.12;
  animation: barPulse 2s ease infinite;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
}

.bar-lines span:nth-child(1)  { height: 30%; animation-delay: 0s; }
.bar-lines span:nth-child(2)  { height: 50%; animation-delay: 0.1s; }
.bar-lines span:nth-child(3)  { height: 70%; animation-delay: 0.2s; }
.bar-lines span:nth-child(4)  { height: 40%; animation-delay: 0.3s; }
.bar-lines span:nth-child(5)  { height: 60%; animation-delay: 0.4s; }
.bar-lines span:nth-child(6)  { height: 80%; animation-delay: 0.5s; }
.bar-lines span:nth-child(7)  { height: 35%; animation-delay: 0.6s; }
.bar-lines span:nth-child(8)  { height: 55%; animation-delay: 0.7s; }
.bar-lines span:nth-child(9)  { height: 75%; animation-delay: 0.8s; }
.bar-lines span:nth-child(10) { height: 45%; animation-delay: 0.9s; }
.bar-lines span:nth-child(11) { height: 65%; animation-delay: 1s; }
.bar-lines span:nth-child(12) { height: 25%; animation-delay: 1.1s; }
.bar-lines span:nth-child(13) { height: 85%; animation-delay: 1.2s; }
.bar-lines span:nth-child(14) { height: 40%; animation-delay: 1.3s; }
.bar-lines span:nth-child(15) { height: 60%; animation-delay: 1.4s; }
.bar-lines span:nth-child(16) { height: 50%; animation-delay: 1.5s; }
.bar-lines span:nth-child(17) { height: 70%; animation-delay: 1.6s; }
.bar-lines span:nth-child(18) { height: 30%; animation-delay: 1.7s; }
.bar-lines span:nth-child(19) { height: 55%; animation-delay: 1.8s; }
.bar-lines span:nth-child(20) { height: 45%; animation-delay: 1.9s; }

@keyframes barPulse {
  0%, 100% { opacity: 0.08; transform: scaleY(1); }
  50% { opacity: 0.25; transform: scaleY(1.4); }
}

/* ============================================
   6. WAVE DIVIDER
   ============================================ */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  line-height: 0;
  margin-top: -1px;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 120px;
  display: block;
}

.wave-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  line-height: 0;
  margin-top: -1px;
  overflow: hidden;
}

.wave-divider-bottom svg {
  width: 100%;
  height: 120px;
  display: block;
}

/* ============================================
   7. R1 — COMPANY OVERVIEW
   ============================================ */
.r1 {
  position: relative;
  padding: 120px 0 160px;
  background: var(--bg-dark);
  overflow: hidden;
}

.r1-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 30%, rgba(var(--primary-rgb), 0.03) 100%);
}

.r1-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.r1-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Parallax card — GPU compositing */
.parallax-card {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Data triangle — diagonal clip-path */
.data-triangle {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 40px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
  color: var(--bg-dark);
  margin-bottom: 20px;
  transition: all 0.5s var(--ease-out);
}

.data-triangle:nth-child(2) {
  margin-left: 40px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.data-triangle:nth-child(3) {
  margin-left: 80px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.data-triangle:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.2);
}

.triangle-num {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  display: block;
  color: var(--bg-dark);
}

.triangle-unit {
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-top: 4px;
  color: rgba(0, 0, 0, 0.7);
}

.triangle-label {
  font-size: 14px;
  opacity: 0.7;
  display: block;
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.7);
}

/* Data card */
.data-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 40px;
  transition: all 0.5s var(--ease-out);
}

.data-card:hover {
  border-color: rgba(var(--primary-rgb), 0.25);
  transform: translateX(12px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.data-card.accent {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--accent-rgb), 0.04));
  border-color: rgba(var(--primary-rgb), 0.15);
}

.data-card.accent:hover {
  border-color: rgba(var(--primary-rgb), 0.4);
}

.data-num {
  font-size: 72px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.data-suffix {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.data-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.8;
}

/* R1 right side */
.r1-right {
  position: relative;
  z-index: 2;
}

.section-title-large {
  font-family: var(--font-primary);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* text-reveal-line — line by line clip */
.text-reveal-line {
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
  clip-path: inset(100% 0 0 0);
  transition: all 0.8s var(--ease-out);
  will-change: clip-path, transform, opacity;
}

.text-reveal-line.revealed,
.text-reveal-line.animated {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0);
}

/* text-reveal-block — for paragraphs */
.text-reveal-block {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.text-reveal-block.animated {
  opacity: 1;
  transform: translateY(0);
}

/* R1 decorative floating elements */
.r1-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  will-change: transform;
}

.deco-circle.c1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -5%;
  animation: decoFloat1 12s ease-in-out infinite;
}

.deco-circle.c2 {
  width: 180px;
  height: 180px;
  bottom: 15%;
  left: -3%;
  border-color: rgba(var(--accent-rgb), 0.06);
  animation: decoFloat2 10s ease-in-out infinite;
}

.deco-line {
  position: absolute;
  background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.1), transparent);
  will-change: transform;
}

.deco-line.l1 {
  width: 1px;
  height: 200px;
  top: 20%;
  right: 15%;
  animation: decoFloat3 8s ease-in-out infinite;
}

@keyframes decoFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(3deg); }
  66% { transform: translateY(15px) rotate(-2deg); }
}

@keyframes decoFloat2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes decoFloat3 {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-40px); opacity: 0.8; }
}

.parallax-deco {
  will-change: transform;
}

/* ============================================
   8. R2 — FULL-WIDTH SHOWCASE
   ============================================ */
.r2 {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Background parallax */
.r2-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax-bg {
  will-change: transform;
  transition: transform 0.1s linear;
}

.r2-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.r2-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 160px 60px;
}

/* Large background text — different parallax speed */
.r2-text-back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.r2-text-back span {
  font-family: var(--font-primary);
  font-size: clamp(80px, 20vw, 300px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 20px;
  white-space: nowrap;
  user-select: none;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
}

/* Front text */
.r2-text-front {
  position: relative;
  z-index: 3;
  max-width: 800px;
  will-change: transform;
}

.parallax-text {
  will-change: transform;
}

.r2-text-front h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
}

.r2-text-front p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

/* ============================================
   9. R3 — PRODUCTS SWIPER
   ============================================ */
.r3 {
  padding: 100px 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 48px;
}

.r3 .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  margin-bottom: 48px;
}

.r3-nav-btns {
  display: flex;
  gap: 12px;
}

/* R3 prev/next nav buttons */
.swiper-nav-btn,
.r3-prev,
.r3-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.swiper-nav-btn:hover,
.r3-prev:hover,
.r3-next:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

.r3-swiper {
  padding: 0 60px;
}

.r3-swiper .swiper-slide {
  width: 360px;
  height: auto;
}

/* Tilt card — 3D perspective on hover */
.tilt-card {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(var(--primary-rgb), 0.1);
}

.card-img {
  height: 240px;
  overflow: hidden;
}

.card-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  transition: transform 0.6s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.product-card:hover .card-img-inner {
  transform: scale(1.08);
}

/* Card info */
.card-info {
  padding: 24px;
  flex: 1;
}

.card-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.product-card:hover .card-info h3 {
  color: var(--primary);
}

.card-tagline {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.card-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.card-features li {
  padding: 4px 12px;
  font-size: 12px;
  color: var(--primary);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.product-card:hover .card-features li {
  border-color: rgba(var(--primary-rgb), 0.5);
}

/* ============================================
   10. HUD VISUAL ANIMATIONS (product cards)
   ============================================ */
.hud-visual {
  width: 200px;
  height: 150px;
  position: relative;
}

/* Speed visual — speedometer */
.speed-visual .hud-speed,
.whud-visual .hud-speed,
.hud-speed {
  font-size: 52px;
  font-weight: 900;
  color: rgba(var(--primary-rgb), 0.85);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.3);
  animation: speedPulse 2.5s ease infinite;
}

.hud-unit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes speedPulse {
  0%, 100% { opacity: 0.75; text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2); }
  50% { opacity: 1; text-shadow: 0 0 40px rgba(var(--primary-rgb), 0.5); }
}

/* AR visual — rectangle frames + pulse */
.ar-box {
  width: 60px;
  height: 40px;
  border: 2px solid rgba(var(--accent-rgb), 0.5);
  border-radius: 4px;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  animation: arPulse 3s ease infinite;
}

.ar-box.d2 {
  top: 55%;
  width: 50px;
  height: 35px;
  animation-delay: 1.5s;
  opacity: 0.6;
}

.ar-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  animation: arLineScan 2.5s ease infinite;
}

@keyframes arPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; border-color: rgba(var(--accent-rgb), 0.3); }
  50% { transform: translateX(-50%) scale(1.06); opacity: 0.9; border-color: rgba(var(--accent-rgb), 0.7); }
}

@keyframes arLineScan {
  0% { transform: translateX(-50%) translateX(-20px); opacity: 0.3; }
  50% { opacity: 1; }
  100% { transform: translateX(-50%) translateX(20px); opacity: 0.3; }
}

/* Transparent visual — pixel grid */
.window-frame {
  width: 160px;
  height: 90px;
  border: 2px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 8px 8px 0 0;
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.pixel-grid {
  width: 156px;
  height: 86px;
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 8px,
    rgba(var(--primary-rgb), 0.04) 8px,
    rgba(var(--primary-rgb), 0.04) 9px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 8px,
    rgba(var(--primary-rgb), 0.04) 8px,
    rgba(var(--primary-rgb), 0.04) 9px
  );
  animation: pixelShift 4s linear infinite;
}

@keyframes pixelShift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 -18px, 0 0; }
}

/* MR visual — sphere + rotating rings */
.mr-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mr-sphere {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--primary), #5c3d9e);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(92, 61, 158, 0.5),
              0 0 80px rgba(92, 61, 158, 0.2);
  animation: spherePulse 3s ease infinite;
}

@keyframes spherePulse {
  0%, 100% { box-shadow: 0 0 30px rgba(92, 61, 158, 0.4), 0 0 60px rgba(92, 61, 158, 0.15); }
  50% { box-shadow: 0 0 50px rgba(92, 61, 158, 0.6), 0 0 100px rgba(92, 61, 158, 0.3); }
}

.mr-ring {
  border: 1px solid rgba(92, 61, 158, 0.25);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: mrRotate 3s ease infinite;
}

.mr-ring.r1 { width: 70px; height: 70px; }
.mr-ring.r2 { width: 100px; height: 100px; animation-delay: 1s; }
.mr-ring.r3 { width: 130px; height: 130px; animation-delay: 2s; }

@keyframes mrRotate {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); }
}

/* Kernel visual — core + orbits */
.kernel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kernel-core {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(var(--primary-rgb), 0.6);
  animation: corePulse 2s ease infinite;
}

@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.4); }
  50% { box-shadow: 0 0 32px rgba(var(--primary-rgb), 0.8); }
}

.kernel-orbit {
  border: 1px dashed rgba(var(--primary-rgb), 0.2);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: kernelOrbit 6s linear infinite;
}

.kernel-orbit.o1 { width: 80px; height: 80px; }
.kernel-orbit.o2 { width: 120px; height: 120px; animation-direction: reverse; animation-duration: 9s; }

.kernel-orbit::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
}

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

/* Lab visual — prism + spectrum */
.lab-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-prism {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: prismGlow 4s ease infinite alternate;
}

@keyframes prismGlow {
  0% { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); }
  100% { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1); }
}

.lab-spectrum {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff0000, #ff7700, #ffff00, #00ff00, #0000ff, #8b00ff);
  position: absolute;
  top: 55%;
  left: 55%;
  border-radius: 2px;
  animation: spectrumShift 3s ease infinite alternate;
}

@keyframes spectrumShift {
  0% { opacity: 0.4; width: 60px; }
  100% { opacity: 1; width: 90px; }
}

/* ============================================
   11. R4 — TECH ROADMAP
   ============================================ */
.r4 {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #050510, #0a0a1a, #0f0f2f);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.r4::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Large background text */
.r4-bg-text {
  position: absolute;
  bottom: 5%;
  right: -5%;
  font-family: var(--font-primary);
  font-size: 15vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  letter-spacing: 15px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
  will-change: transform;
}

.r4-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.r4-title {
  margin-bottom: 24px;
}

.r4-big {
  display: block;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.r4-small {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 8px;
}

.r4-desc {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.tech-roadmap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 80px 200px 1fr;
  align-items: center;
  gap: 20px;
}

.roadmap-level {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-align: right;
  font-family: var(--font-primary);
}

.roadmap-product {
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-white);
}

/* Roadmap bar — scaleX animation */
.roadmap-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.roadmap-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--bar-width, 50%);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.5s var(--ease-out);
}

.roadmap-bar.animated::after {
  transform: scaleX(1);
}

/* Small end dot */
.roadmap-bar::before {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.5);
  opacity: 0;
  z-index: 2;
  transition: opacity 0.5s ease 1.5s;
}

.roadmap-bar.animated::before {
  opacity: 1;
}

/* R4 Blueprint background */
.r4-blueprint {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 50%;
  opacity: 0.04;
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}

.r4-blueprint img {
  width: 100%;
  height: auto;
  filter: brightness(2) contrast(0.5);
}

/* ============================================
   12. R5 — TIMELINE + PARTNERS
   ============================================ */
.r5 {
  padding: 120px 0 80px;
  background: var(--bg-darker);
  overflow: hidden;
}

.timeline-visual {
  position: relative;
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 60px 40px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 212, 255, 0.2);
  transform: translateX(-50%);
}

/* Pulsing glow dot traveling along the line */
.timeline-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.5);
  animation: timelineDotTravel 6s ease-in-out infinite;
}

@keyframes timelineDotTravel {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.timeline-item {
  position: relative;
  width: 45%;
  padding: 20px;
  transition: all 0.5s var(--ease-out);
  will-change: transform;
}

.timeline-item:hover {
  transform: translateY(-4px) !important;
}

.timeline-item.right { margin-left: 55%; }
.timeline-item.left { margin-right: 55%; text-align: right; }

/* Timeline node dot */
.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.5);
  transition: all 0.3s ease;
}

.timeline-item:hover::before {
  box-shadow: 0 0 24px rgba(var(--primary-rgb), 0.8);
  transform: scale(1.3);
}

.timeline-item.right::before { left: -6%; transform: translateX(-50%); }
.timeline-item.left::before { right: -6%; transform: translateX(50%); }
.timeline-item:hover.right::before { left: -6%; transform: translateX(-50%) scale(1.3); }
.timeline-item:hover.left::before { right: -6%; transform: translateX(50%) scale(1.3); }

/* Connecting line from dot to card */
.timeline-item::after {
  content: '';
  position: absolute;
  top: 35px;
  height: 2px;
  width: 5%;
  background: rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.timeline-item:hover::after {
  background: rgba(var(--primary-rgb), 0.5);
}

.timeline-item.right::after { left: -5%; }
.timeline-item.left::after { right: -5%; }

.timeline-year {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
  transition: color 0.3s ease;
}

.timeline-item:hover .timeline-year {
  color: var(--primary);
}

.timeline-round {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
}

.timeline-detail {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================
   13. PARTNER MARQUEE
   ============================================ */
.partner-section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-title {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 48px;
}

.partner-swiper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.partner-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.partner-item {
  flex-shrink: 0;
  width: auto !important;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.partner-item:hover {
  background: rgba(var(--primary-rgb), 0.04);
}

.partner-item span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 1px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.partner-item:hover span {
  color: var(--text-white);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   14. NEWS SECTION
   ============================================ */
.r-news {
  padding: 100px 0;
  background: var(--bg-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.news-img {
  height: 180px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: height 0.4s var(--ease-out);
}

.news-card:hover .news-img {
  height: 200px;
}

.news-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
}

.news-date {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.news-card:hover .news-date {
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
}

.news-body {
  padding: 20px;
}

.news-body h4 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.news-card:hover .news-body h4 {
  color: #fff;
}

/* ============================================
   15. R6 — CTA
   ============================================ */
.r6 {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.r6-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0a00, #2a1500, #0a1a2a);
  will-change: transform;
}

.r6-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  animation: ctaGlow 4s ease infinite alternate;
}

@keyframes ctaGlow {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* Secondary pulsing ring */
.r6-bg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
  border-radius: 50%;
  animation: ctaRing 6s ease infinite;
}

@keyframes ctaRing {
  0% { width: 200px; height: 200px; opacity: 0.4; }
  100% { width: 800px; height: 800px; opacity: 0; }
}

.r6-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.r6-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

/* Background "FUTURE" text */
.r6-text-back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-primary);
  font-size: 20vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 15px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
  will-change: transform;
  z-index: -1;
}

.r6-content h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 4px;
}

.r6-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   16. FOOTER
   ============================================ */
footer {
  position: relative;
  background: linear-gradient(180deg, #0a0a0a, #0d1117);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 60px 0 40px;
  overflow: hidden;
}

/* Wave divider at footer top */
.wave-divider-footer svg path {
  fill: #0d1117;
}

/* Blueprint decoration */
.footer-blueprint {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.footer-blueprint img {
  width: 100%;
  height: auto;
  filter: brightness(3) contrast(0.3);
}

.footer-top {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-logo img {
  height: 32px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-logo:hover img {
  opacity: 1;
}

.footer-search {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.footer-search:focus-within {
  border-color: rgba(var(--primary-rgb), 0.4);
}

.footer-search input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  width: 220px;
  outline: none;
  font-family: var(--font-primary);
}

.footer-search input::placeholder {
  color: var(--text-dim);
}

.footer-search button {
  background: var(--primary);
  border: none;
  color: #000;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.footer-search button:hover {
  background: var(--accent);
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #000;
  transition: all 0.4s var(--ease-out);
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.3);
}

.footer-nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--text-white);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s ease;
  display: inline-block;
}

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

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-address {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ============================================
   17. SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--bg-dark);
  border: none;
  border-radius: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  visibility: hidden;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.3);
}

/* ============================================
   18. DATA-ANIMATE SYSTEM
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate="fadeLeft"] {
  transform: translateX(-40px);
}

[data-animate="fadeRight"] {
  transform: translateX(40px);
}

[data-animate="scaleUp"] {
  transform: scale(0.9);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Staggered children delay — driven by data-delay attr (JS sets transition-delay) */
[data-animate][data-delay="0.1"] { transition-delay: 0.1s; }
[data-animate][data-delay="0.2"] { transition-delay: 0.2s; }
[data-animate][data-delay="0.3"] { transition-delay: 0.3s; }
[data-animate][data-delay="0.4"] { transition-delay: 0.4s; }
[data-animate][data-delay="0.5"] { transition-delay: 0.5s; }
[data-animate][data-delay="0.6"] { transition-delay: 0.6s; }

/* ============================================
   19. LENIS SMOOTH SCROLL COMPATIBILITY
   ============================================ */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ============================================
   20. CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--primary-rgb), 0.6);
}

/* ============================================
   21. SELECTION HIGHLIGHT
   ============================================ */
::selection {
  background: rgba(var(--primary-rgb), 0.3);
  color: var(--text-white);
}

::-moz-selection {
  background: rgba(var(--primary-rgb), 0.3);
  color: var(--text-white);
}

/* ============================================
   22. RESPONSIVE — 1200px / 768px / 600px
   ============================================ */

/* --- 1200px: minor grid adjustments --- */
@media (max-width: 1200px) {
  .r1-content { grid-template-columns: 1fr; gap: 40px; }
  .r3-swiper .swiper-slide { width: 340px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .r4-content { grid-template-columns: 1fr; gap: 40px; }
  .roadmap-item { grid-template-columns: 60px 160px 1fr; }
  .section-title-large { font-size: clamp(28px, 3.5vw, 44px); }
}

/* --- 768px: mobile layout --- */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .pc-nav { padding: 0 24px; }

  /* Hide desktop nav, show mobile toggle */
  .nav-center { display: none; }
  .nav-right .search-btn,
  .nav-right .lang-btn { display: none; }
  .menu-toggle { display: flex; }

  /* Hide custom cursor on tablet/mobile */
  .cursor-dot,
  .cursor-ring { display: none; }
  body, a, button { cursor: auto; }

  /* Banner */
  .banner { height: 100vh; }
  .banner-content { left: 24px; bottom: 20%; right: 24px; }
  .title-line { font-size: clamp(28px, 7vw, 42px); }
  .banner-sub { font-size: 14px; }

  /* R1 */
  .r1 { padding: 80px 0 120px; }
  .r1-content { grid-template-columns: 1fr; padding: 0 24px; }
  .data-triangle { padding: 24px; }
  .data-triangle:nth-child(2),
  .data-triangle:nth-child(3) { margin-left: 0; }
  .triangle-num { font-size: 48px; }
  .data-num { font-size: 48px; }

  /* R2 */
  .r2-content { padding: 80px 24px; }
  .r2-text-back span { font-size: clamp(48px, 12vw, 120px); }

  /* R3 */
  .r3 { padding: 80px 0; }
  .r3 .container { padding: 0 24px; }
  .r3-swiper { padding: 0 24px; }
  .r3-swiper .swiper-slide { width: 280px; }
  .card-img { height: 200px; }

  /* R4 */
  .r4-content { grid-template-columns: 1fr; padding: 80px 24px; }
  .r4-bg-text { font-size: clamp(40px, 10vw, 100px); }
  .roadmap-item { grid-template-columns: 50px 1fr; }
  .roadmap-bar { display: none; }

  /* R5 Timeline */
  .timeline-visual { padding: 40px 20px; }
  .timeline-item { width: 80%; }
  .timeline-item.right { margin-left: 20%; }
  .timeline-item.left {
    margin-right: 0;
    margin-left: 20%;
    text-align: left;
  }
  .timeline-item.left::before {
    left: -12%;
    right: auto;
    transform: translateX(-50%);
  }
  .timeline-item.left::after {
    left: -10%;
    right: auto;
  }
  .timeline-line { left: 10%; }
  .timeline-year { font-size: 36px; }

  /* News */
  .news-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-nav { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; }
  .footer-top { padding: 0 24px 40px; flex-wrap: wrap; gap: 16px; }
  .footer-bottom { padding: 24px; }

  /* R6 */
  .r6-text-back { font-size: clamp(40px, 10vw, 100px); }

  /* Scroll indicator */
  .scroll-indicator { display: none; }

  /* Partner items */
  .partner-item { padding: 16px 24px; }
  .partner-item span { font-size: 14px; }
}

/* --- 600px: smallest screens --- */
@media (max-width: 600px) {
  header { height: 70px; }
  header.scrolled { height: 60px; }

  .title-line { font-size: clamp(24px, 8vw, 36px); }
  .banner-sub { font-size: 13px; letter-spacing: 1px; }

  .section-title-large { font-size: 24px; }
  .section-title { font-size: 24px; }

  .r3-swiper .swiper-slide { width: 240px; }
  .card-img { height: 180px; }

  .timeline-item { width: 85%; }
  .timeline-item.right { margin-left: 15%; }
  .timeline-item.left { margin-left: 15%; }
  .timeline-year { font-size: 32px; }

  .partner-item { padding: 12px 20px; }
  .partner-item span { font-size: 12px; }

  .footer-nav { grid-template-columns: 1fr; }
  .footer-search input { width: 140px; }
  .footer-top { justify-content: center; text-align: center; }

  .r6-content h2 { letter-spacing: 2px; font-size: clamp(24px, 6vw, 36px); }

  .scroll-top { bottom: 24px; right: 24px; width: 40px; height: 40px; }

  .data-triangle { padding: 20px; }
  .triangle-num { font-size: 40px; }
  .data-num { font-size: 36px; }
}
