/* =========================================
   AI QAZAQSTAN — CYBER-STEPPE THEME
   Color Palette:
   --neon-cyan:    #00F5D4  (Neon Turquoise)
   --deep-blue:    #050B1F  (Deep Space Blue)
   --mid-blue:     #0A1535
   --panel-blue:   #0D1E3D
   --silver:       #C0C8D8
   --gold:         #FFD700
   --accent2:      #7B2FFF  (Purple accent)
   ========================================= */

:root {
  --neon-cyan: #00F5D4;
  --neon-cyan-dim: #00c4aa;
  --deep-blue: #050B1F;
  --mid-blue: #0A1535;
  --panel-blue: #0D1E3D;
  --panel-blue2: #112244;
  --silver: #C0C8D8;
  --silver-dim: #8896B0;
  --gold: #FFD700;
  --accent2: #7B2FFF;
  --accent2-dim: #5a1fd4;
  --danger: #FF4E6A;
  --white: #FFFFFF;
  --font-display: 'Orbitron', monospace;
  --font-body: 'Space Grotesk', 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --glow-cyan: 0 0 20px rgba(0,245,212,0.4), 0 0 40px rgba(0,245,212,0.15);
  --glow-purple: 0 0 20px rgba(123,47,255,0.4), 0 0 40px rgba(123,47,255,0.15);
  --border-glow: 1px solid rgba(0,245,212,0.25);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--deep-blue);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(0,245,212,0.3); color: var(--white); }

a { color: var(--neon-cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--white); }

h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }

.accent { color: var(--neon-cyan); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--deep-blue); }
::-webkit-scrollbar-thumb { background: var(--neon-cyan-dim); border-radius: 3px; }

/* =========================================
   NAVIGATION
   ========================================= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  background: rgba(5,11,31,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,245,212,0.1);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(5,11,31,0.97);
  border-bottom-color: rgba(0,245,212,0.25);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--white);
}
.logo-icon {
  font-size: 1.6rem; color: var(--neon-cyan);
  filter: drop-shadow(0 0 8px var(--neon-cyan));
  animation: pulse-icon 3s ease-in-out infinite;
}
@keyframes pulse-icon {
  0%,100% { filter: drop-shadow(0 0 8px var(--neon-cyan)); }
  50% { filter: drop-shadow(0 0 18px var(--neon-cyan)) drop-shadow(0 0 30px var(--neon-cyan)); }
}
.nav-links {
  display: flex; list-style: none; gap: 4px;
}
.nav-links a {
  color: var(--silver); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 8px 14px; border-radius: 8px;
  text-transform: uppercase;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--neon-cyan);
  background: rgba(0,245,212,0.08);
}
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language Switcher */
.lang-switcher { display: flex; gap: 4px; background: rgba(255,255,255,0.04); border-radius: 8px; padding: 4px; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  color: var(--silver-dim); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 5px 10px; border-radius: 6px; transition: var(--transition);
}
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.lang-btn.active { color: var(--neon-cyan); background: rgba(0,245,212,0.12); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--silver); border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden; padding: 120px 24px 80px;
}

/* Background layers */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #0A2050 0%, var(--deep-blue) 70%);
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,245,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,212,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 20s linear infinite;
}
@keyframes grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}
.steppe-silhouette {
  position: absolute; bottom: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(to top, rgba(0,245,212,0.03) 0%, transparent 100%);
  clip-path: polygon(0 100%, 0 60%, 5% 50%, 12% 55%, 20% 40%, 30% 45%, 40% 30%, 50% 35%, 60% 20%, 70% 28%, 80% 15%, 90% 22%, 100% 10%, 100% 100%);
  border-top: 1px solid rgba(0,245,212,0.15);
}
.particle-field {
  position: absolute; inset: 0; overflow: hidden;
}
.particle {
  position: absolute; width: 2px; height: 2px;
  background: var(--neon-cyan); border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(60px); opacity: 0; }
}

/* Hero Content */
.hero-content {
  position: relative; z-index: 1; text-align: center; max-width: 900px;
}
.hero-badge {
  display: inline-block;
  background: rgba(0,245,212,0.1); border: 1px solid rgba(0,245,212,0.35);
  color: var(--neon-cyan); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  padding: 8px 20px; border-radius: 100px; margin-bottom: 28px;
  text-transform: uppercase;
  animation: badge-glow 3s ease-in-out infinite;
}
@keyframes badge-glow {
  0%,100% { box-shadow: 0 0 10px rgba(0,245,212,0.2); }
  50% { box-shadow: 0 0 25px rgba(0,245,212,0.5); }
}
.hero-title {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-bottom: 24px;
}
.title-line-1 {
  font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 900;
  color: var(--white);
  text-shadow: 0 0 60px rgba(0,245,212,0.3);
  letter-spacing: -0.02em;
}
.title-line-2 {
  font-size: clamp(1.4rem, 4vw, 2.8rem); font-weight: 400;
  color: var(--neon-cyan);
  letter-spacing: 0.12em;
  text-shadow: var(--glow-cyan);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--silver);
  max-width: 680px; margin: 0 auto 40px;
  font-weight: 400;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--neon-cyan); color: var(--deep-blue);
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 8px;
  border: none; cursor: pointer;
  box-shadow: 0 0 30px rgba(0,245,212,0.4);
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--white); color: var(--deep-blue);
  box-shadow: 0 0 50px rgba(0,245,212,0.6);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--neon-cyan);
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 8px;
  border: 1px solid rgba(0,245,212,0.4); cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover {
  background: rgba(0,245,212,0.08);
  border-color: var(--neon-cyan);
  color: var(--white);
  transform: translateY(-2px);
}

/* KPI Bar */
.hero-kpi-bar {
  display: flex; gap: 0; justify-content: center; align-items: center;
  background: rgba(13,30,61,0.8); border: var(--border-glow);
  border-radius: var(--radius-lg); padding: 24px 32px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap; gap: 0;
}
.kpi-item { text-align: center; padding: 0 32px; }
.kpi-value {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.4rem,3vw,2rem); font-weight: 900;
  color: var(--neon-cyan); text-shadow: var(--glow-cyan);
  line-height: 1;
}
.kpi-label {
  display: block; font-size: 0.72rem; font-weight: 500;
  color: var(--silver-dim); text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 6px;
}
.kpi-divider { width: 1px; height: 48px; background: rgba(0,245,212,0.2); }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--silver-dim); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; z-index: 1;
}
.scroll-dot {
  width: 6px; height: 40px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  border-radius: 3px; animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* =========================================
   HIGHLIGHTS STRIP
   ========================================= */
.highlights-strip {
  background: rgba(0,245,212,0.06); border-top: 1px solid rgba(0,245,212,0.15);
  border-bottom: 1px solid rgba(0,245,212,0.15);
  overflow: hidden; padding: 14px 0; position: relative; z-index: 2;
}
.strip-inner {
  display: flex; align-items: center; gap: 28px; white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-size: 0.82rem; color: var(--silver);
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.strip-sep { color: var(--neon-cyan); opacity: 0.5; }

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--neon-cyan); background: rgba(0,245,212,0.1);
  border: 1px solid rgba(0,245,212,0.25); border-radius: 100px;
  padding: 6px 18px; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  color: var(--white); margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--silver); max-width: 640px; margin: 0 auto;
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section { background: var(--mid-blue); position: relative; overflow: hidden; }
.stats-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,47,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Stat Cards */
.stat-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-bottom: 48px;
}
.stat-card {
  background: var(--panel-blue); border: var(--border-glow);
  border-radius: var(--radius-lg); padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: var(--transition);
  opacity: 0; transform: translateY(30px);
}
.stat-card.visible { opacity: 1; transform: translateY(0); }
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0; transition: var(--transition);
}
.stat-card:hover { border-color: rgba(0,245,212,0.5); transform: translateY(-4px); box-shadow: var(--glow-cyan); }
.stat-card:hover::before { opacity: 1; }
.stat-card-icon { font-size: 2rem; margin-bottom: 12px; }
.stat-card-value {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 900;
  color: var(--neon-cyan); text-shadow: var(--glow-cyan); margin-bottom: 8px;
}
.stat-card-label { font-weight: 600; color: var(--white); margin-bottom: 6px; font-size: 0.95rem; }
.stat-card-sub { font-size: 0.8rem; color: var(--silver-dim); margin-bottom: 16px; }
.stat-card-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.bar-fill {
  height: 100%; width: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--neon-cyan-dim), var(--neon-cyan));
  box-shadow: 0 0 10px var(--neon-cyan);
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}
.stat-card.visible .bar-fill { width: var(--pct); }

/* Charts */
.charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.chart-card {
  background: var(--panel-blue); border: var(--border-glow); border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.chart-title {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  color: var(--white); margin-bottom: 20px; letter-spacing: 0.03em;
}

/* Law Highlight */
.law-highlight {
  display: flex; gap: 32px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(13,30,61,0.9) 0%, rgba(18,36,72,0.9) 100%);
  border: 1px solid rgba(123,47,255,0.35); border-radius: var(--radius-lg);
  padding: 40px; margin-bottom: 32px;
  position: relative; overflow: hidden;
}
.law-highlight::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
}
.law-icon { font-size: 3rem; flex-shrink: 0; margin-top: 4px; }
.law-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 10px;
}
.law-content h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 14px; }
.law-content p { color: var(--silver); line-height: 1.7; margin-bottom: 24px; }
.law-pillars { display: flex; gap: 20px; flex-wrap: wrap; }
.pillar {
  display: flex; align-items: center; gap: 8px;
  background: rgba(123,47,255,0.12); border: 1px solid rgba(123,47,255,0.25);
  border-radius: 8px; padding: 8px 16px;
  font-size: 0.85rem; font-weight: 600; color: var(--silver);
}
.pillar i { color: var(--accent2); }

/* Infrastructure Card */
.infra-card {
  display: flex; gap: 48px; align-items: center;
  background: var(--panel-blue2); border: var(--border-glow); border-radius: var(--radius-lg);
  padding: 48px; overflow: hidden; position: relative;
}
.infra-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--neon-cyan); margin-bottom: 10px;
}
.infra-content h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 16px; }
.infra-content p { color: var(--silver); line-height: 1.7; margin-bottom: 28px; }
.infra-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec-item { text-align: center; }
.spec-val { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--neon-cyan); }
.spec-key { display: block; font-size: 0.75rem; color: var(--silver-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

/* DC Animation */
.infra-visual {
  flex-shrink: 0; width: 180px; height: 160px;
  display: flex; align-items: flex-end; justify-content: center; gap: 12px;
}
.dc-tower {
  display: flex; flex-direction: column-reverse; gap: 3px; align-items: center;
}
.dc-level {
  width: 28px; height: 14px; border-radius: 3px;
  background: linear-gradient(135deg, var(--panel-blue2), var(--panel-blue));
  border: 1px solid rgba(0,245,212,0.3);
  animation: dc-blink 2s ease-in-out infinite;
}
.dc-tower .dc-level:nth-child(odd) { animation-delay: 0.3s; background: rgba(0,245,212,0.15); }
.dc-tower-2 .dc-level { animation-delay: 0.6s; }
.dc-tower-3 .dc-level { animation-delay: 0.9s; }
@keyframes dc-blink {
  0%,100% { border-color: rgba(0,245,212,0.2); }
  50% { border-color: rgba(0,245,212,0.8); box-shadow: 0 0 8px rgba(0,245,212,0.4); }
}

/* =========================================
   USE CASES SECTION
   ========================================= */
.usecases-section {
  background: var(--deep-blue); position: relative;
}
.usecases-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,212,0.3), transparent);
}

.usecase-tabs {
  display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; justify-content: center;
}
.tab-btn {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: var(--silver); font-family: var(--font-display); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 12px 24px; border-radius: 8px; cursor: pointer; transition: var(--transition);
}
.tab-btn:hover { border-color: rgba(0,245,212,0.3); color: var(--neon-cyan); background: rgba(0,245,212,0.05); }
.tab-btn.active { background: rgba(0,245,212,0.12); border-color: rgba(0,245,212,0.5); color: var(--neon-cyan); }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fade-in 0.4s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.usecase-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--panel-blue); border: var(--border-glow); border-radius: var(--radius-lg); padding: 48px;
}
.usecase-info h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 16px; }
.usecase-info p { color: var(--silver); line-height: 1.7; margin-bottom: 28px; }
.usecase-features { display: flex; flex-direction: column; gap: 16px; }
.uc-feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(0,0,0,0.2); border-radius: 10px; padding: 14px 16px;
}
.uc-feature i { color: var(--neon-cyan); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }
.uc-feature strong { color: var(--white); display: block; margin-bottom: 4px; font-size: 0.9rem; }
.uc-feature p { color: var(--silver-dim); font-size: 0.82rem; margin: 0; }

/* Gov Visual */
.usecase-visual {
  background: var(--panel-blue2); border: var(--border-glow); border-radius: var(--radius);
  min-height: 280px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.gov-screen {
  width: 90%; background: rgba(5,11,31,0.9); border-radius: 10px;
  border: 1px solid rgba(0,245,212,0.2); overflow: hidden;
}
.screen-bar {
  height: 28px; background: rgba(0,245,212,0.08);
  border-bottom: 1px solid rgba(0,245,212,0.1);
  display: flex; align-items: center; gap: 6px; padding: 0 12px;
}
.screen-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.screen-bar span:first-child { background: #FF4E6A; }
.screen-bar span:nth-child(2) { background: var(--gold); }
.screen-bar span:nth-child(3) { background: var(--neon-cyan); }
.screen-content { padding: 14px; }
.screen-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
}
.s-label { color: var(--silver-dim); }
.s-val { color: var(--neon-cyan); font-weight: 600; }
.screen-pulse {
  color: var(--neon-cyan); font-size: 0.75rem; padding: 8px 10px;
  animation: pulse-text 2s ease-in-out infinite;
}
@keyframes pulse-text { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

/* Agriculture Visual */
.agri-visual { position: relative; }
.agri-map { width: 100%; height: 280px; position: relative; display: flex; align-items: center; justify-content: center; }
.agri-icon-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  font-size: 2.2rem;
}
.agri-ico {
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,245,212,0.06); border: 1px solid rgba(0,245,212,0.15);
  border-radius: 12px; width: 60px; height: 60px;
  animation: agri-float 3s ease-in-out infinite;
}
.agri-ico:nth-child(2) { animation-delay: 0.5s; }
.agri-ico:nth-child(3) { animation-delay: 1s; }
.agri-ico:nth-child(4) { animation-delay: 1.5s; }
.agri-ico:nth-child(5) { animation-delay: 2s; }
.agri-ico:nth-child(6) { animation-delay: 2.5s; }
@keyframes agri-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* NLP Visual */
.nlp-visual { padding: 24px; }
.lang-display { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lang-bubble {
  padding: 12px 20px; border-radius: 16px;
  font-size: 0.9rem; font-weight: 500; max-width: 85%;
}
.lang-bubble.kaz { background: rgba(0,245,212,0.12); border: 1px solid rgba(0,245,212,0.3); color: var(--neon-cyan); align-self: flex-start; }
.lang-bubble.rus { background: rgba(123,47,255,0.12); border: 1px solid rgba(123,47,255,0.3); color: #C4A8FF; align-self: flex-end; }
.lang-bubble.eng { background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.25); color: var(--gold); align-self: flex-start; }
.lang-arrow { color: var(--neon-cyan); font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; padding: 8px; letter-spacing: 0.05em; }

/* alem.ai Visual */
.alem-visual { position: relative; }
.alem-logo-display {
  width: 100%; height: 280px;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.alem-hex {
  width: 100px; height: 115px; position: relative; z-index: 2;
  background: linear-gradient(135deg, rgba(0,245,212,0.15), rgba(123,47,255,0.15));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  border: none;
}
.alem-inner {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}
.alem-rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,245,212,0.2);
  animation: ring-expand 4s ease-in-out infinite;
}
.r1 { width: 140px; height: 140px; animation-delay: 0s; }
.r2 { width: 200px; height: 200px; animation-delay: 1s; }
.r3 { width: 260px; height: 260px; animation-delay: 2s; }
@keyframes ring-expand { 0%,100% { opacity: 0.15; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.05); } }

/* =========================================
   CREATIVE SECTION
   ========================================= */
.creative-section {
  background: linear-gradient(180deg, var(--deep-blue) 0%, #080f28 50%, var(--deep-blue) 100%);
  position: relative;
}

/* Festival Banner */
.festival-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a1535 0%, #1a0a40 50%, #0a1535 100%);
  border: 1px solid rgba(123,47,255,0.4); border-radius: var(--radius-lg);
  padding: 48px; margin-bottom: 60px;
}
.festival-glow {
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(123,47,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.festival-content { position: relative; z-index: 1; }
.festival-badge {
  display: inline-block;
  background: var(--accent2); color: var(--white);
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}
.festival-banner h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 14px; }
.festival-banner p { color: var(--silver); line-height: 1.7; max-width: 700px; margin-bottom: 28px; }
.festival-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.f-stat { text-align: center; }
.f-val { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--accent2); text-shadow: var(--glow-purple); }
.f-key { display: block; font-size: 0.75rem; color: var(--silver-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* Gallery */
.gallery-title { font-size: 1.6rem; color: var(--white); margin-bottom: 10px; text-align: center; }
.gallery-sub { color: var(--silver); text-align: center; margin-bottom: 36px; font-size: 0.95rem; }
.art-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.art-card {
  background: var(--panel-blue); border: var(--border-glow); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
}
.art-card:hover { transform: translateY(-6px); box-shadow: var(--glow-cyan); border-color: rgba(0,245,212,0.4); }
.art-image {
  height: 240px; position: relative; overflow: hidden;
  cursor: pointer;
}
.art-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.art-circuit-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,245,212,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,212,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Abai Art */
.abai-art { background: linear-gradient(135deg, #0a1a3a 0%, #0a2a1a 50%, #1a0a3a 100%); }
.art-figure-abai {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 120px; height: 160px;
}
.figure-silhouette {
  width: 60px; height: 120px;
  background: linear-gradient(180deg, rgba(0,245,212,0.6) 0%, rgba(0,245,212,0.1) 100%);
  clip-path: polygon(50% 0%, 80% 15%, 100% 40%, 80% 60%, 60% 55%, 60% 75%, 75% 100%, 25% 100%, 40% 75%, 40% 55%, 20% 60%, 0% 40%, 20% 15%);
  filter: blur(1px);
}
.neon-halo {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 70px; border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 20px var(--neon-cyan), inset 0 0 20px rgba(0,245,212,0.1);
  animation: halo-spin 8s linear infinite;
}
.neon-halo.halo-gold {
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold), inset 0 0 20px rgba(255,215,0,0.1);
}
@keyframes halo-spin { 0% { transform: translateX(-50%) rotate(0deg) scale(1); } 50% { transform: translateX(-50%) rotate(180deg) scale(1.1); } 100% { transform: translateX(-50%) rotate(360deg) scale(1); } }

/* Al-Farabi Art */
.alfarabi-art { background: linear-gradient(135deg, #1a1000 0%, #0a1a30 50%, #2a0a10 100%); }
.art-figure-alfarabi { position: relative; display: flex; align-items: center; justify-content: center; width: 120px; height: 160px; }

/* Astana Art */
.astana-art { background: linear-gradient(180deg, #050b1f 0%, #0a1535 40%, #0a2a3a 100%); }
.cyber-city {
  display: flex; align-items: flex-end; gap: 8px; height: 160px;
  position: relative;
}
.city-spire {
  background: linear-gradient(180deg, var(--neon-cyan) 0%, rgba(0,245,212,0.1) 100%);
  border-radius: 2px 2px 0 0;
  animation: spire-glow 2s ease-in-out infinite;
}
.s1 { width: 16px; height: 100px; animation-delay: 0s; }
.s2 { width: 24px; height: 140px; animation-delay: 0.5s; background: linear-gradient(180deg, var(--accent2) 0%, rgba(123,47,255,0.1) 100%); }
.s3 { width: 16px; height: 80px; animation-delay: 1s; }
.city-beam {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2px; height: 100%;
  background: linear-gradient(180deg, rgba(0,245,212,0.8) 0%, transparent 100%);
  animation: beam-pulse 3s ease-in-out infinite;
}
@keyframes spire-glow { 0%,100% { box-shadow: 0 0 10px rgba(0,245,212,0.3); } 50% { box-shadow: 0 0 25px rgba(0,245,212,0.7); } }
@keyframes beam-pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

.art-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,245,212,0.15); border: 1px solid rgba(0,245,212,0.35);
  color: var(--neon-cyan); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 100px;
}
.art-info { padding: 20px; }
.art-info h4 { font-size: 1rem; color: var(--white); margin-bottom: 8px; }
.art-info p { font-size: 0.82rem; color: var(--silver-dim); line-height: 1.6; }

/* =========================================
   QUIZ
   ========================================= */
.quiz-section {
  background: var(--panel-blue); border: var(--border-glow);
  border-radius: var(--radius-lg); padding: 48px; position: relative; overflow: hidden;
}
.quiz-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--neon-cyan), var(--accent2));
}
.quiz-header { text-align: center; margin-bottom: 36px; }
.quiz-icon { font-size: 3rem; margin-bottom: 12px; }
.quiz-header h3 { font-size: 1.6rem; color: var(--white); margin-bottom: 10px; }
.quiz-header p { color: var(--silver); }

.quiz-container { max-width: 680px; margin: 0 auto; }
.quiz-progress-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; margin-bottom: 10px; }
.quiz-progress { height: 100%; background: linear-gradient(90deg, var(--accent2), var(--neon-cyan)); border-radius: 2px; transition: width 0.5s ease; }
.quiz-step-label { font-size: 0.8rem; color: var(--silver-dim); text-align: center; margin-bottom: 24px; letter-spacing: 0.06em; text-transform: uppercase; }

.quiz-question { margin-bottom: 24px; }
.quiz-question h4 { font-size: 1.1rem; color: var(--white); margin-bottom: 20px; line-height: 1.5; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: var(--silver); border-radius: 10px; padding: 14px 18px;
  cursor: pointer; text-align: left; font-family: var(--font-body); font-size: 0.9rem;
  transition: var(--transition); width: 100%;
}
.quiz-option:hover { border-color: rgba(0,245,212,0.4); background: rgba(0,245,212,0.06); color: var(--white); }
.quiz-option.selected { background: rgba(0,245,212,0.12); border-color: var(--neon-cyan); color: var(--neon-cyan); }
.quiz-option.correct { background: rgba(0,200,100,0.15); border-color: #00C864; color: #00C864; }
.quiz-option.wrong { background: rgba(255,78,106,0.15); border-color: var(--danger); color: var(--danger); }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.quiz-nav button { flex: 1; }

.quiz-result {
  text-align: center; max-width: 600px; margin: 0 auto; padding: 40px 0;
}
.result-icon { font-size: 4rem; margin-bottom: 16px; }
.result-persona {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--neon-cyan); margin-bottom: 10px;
}
.result-score { font-size: 1.1rem; color: var(--silver); margin-bottom: 20px; }
.result-desc { color: var(--silver-dim); line-height: 1.7; margin-bottom: 28px; }
.result-bar-wrap { margin-bottom: 28px; }
.result-label { font-size: 0.8rem; color: var(--silver-dim); text-align: left; margin-bottom: 8px; }
.result-bar { height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.result-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent2), var(--neon-cyan)); transition: width 1.2s ease; }

/* =========================================
   OPPORTUNITIES SECTION
   ========================================= */
.opportunities-section {
  background: var(--mid-blue); position: relative;
}

.opp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-bottom: 60px; }
.opp-card {
  background: var(--panel-blue); border: var(--border-glow); border-radius: var(--radius-lg);
  padding: 28px; transition: var(--transition); position: relative; overflow: hidden;
}
.opp-card.featured { border-color: rgba(0,245,212,0.4); }
.opp-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}
.opp-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.opp-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.opp-icon { font-size: 2rem; }
.opp-tag-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(0,245,212,0.12); border: 1px solid rgba(0,245,212,0.25); color: var(--neon-cyan);
}
.opp-tag-badge.secondary { background: rgba(123,47,255,0.12); border-color: rgba(123,47,255,0.25); color: #C4A8FF; }
.opp-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 10px; }
.opp-card p { font-size: 0.85rem; color: var(--silver); line-height: 1.65; margin-bottom: 18px; }
.opp-list { list-style: none; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.opp-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--silver); }
.opp-list i { color: var(--neon-cyan); margin-top: 2px; flex-shrink: 0; }
.opp-link {
  display: inline-flex; align-items: center;
  color: var(--neon-cyan); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 0; border-bottom: 1px solid rgba(0,245,212,0.3); transition: var(--transition);
}
.opp-link:hover { color: var(--white); border-bottom-color: var(--white); }

/* Timeline */
.timeline-title { font-size: 1.6rem; color: var(--white); margin-bottom: 36px; text-align: center; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, var(--neon-cyan), rgba(0,245,212,0.1));
}
.tl-item {
  position: relative; padding: 0 0 36px 28px;
  display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: start;
}
.tl-dot {
  position: absolute; left: -24px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--deep-blue); border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0,245,212,0.5);
  transition: var(--transition);
}
.tl-item:hover .tl-dot { background: var(--neon-cyan); box-shadow: 0 0 20px var(--neon-cyan); }
.tl-date { font-family: var(--font-display); font-size: 0.72rem; color: var(--neon-cyan); font-weight: 600; letter-spacing: 0.04em; padding-top: 3px; }
.tl-content strong { color: var(--white); font-size: 0.95rem; display: block; margin-bottom: 5px; }
.tl-content p { color: var(--silver-dim); font-size: 0.82rem; line-height: 1.6; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #020814; border-top: 1px solid rgba(0,245,212,0.1);
  position: relative; overflow: hidden;
  padding: 60px 0 30px;
}
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,245,212,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 12px;
}
.footer-brand p { color: var(--silver-dim); font-size: 0.85rem; line-height: 1.6; }
.footer-kaz { color: var(--neon-cyan) !important; font-style: italic; margin-top: 8px !important; }
.footer-links-col h4 {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links-col a, .footer-links-col .hashtag {
  display: block; font-size: 0.85rem; color: var(--silver-dim);
  margin-bottom: 8px; transition: var(--transition);
}
.footer-links-col a:hover { color: var(--neon-cyan); padding-left: 4px; }
.hashtag { cursor: default; }
.footer-bottom { text-align: center; color: var(--silver-dim); font-size: 0.78rem; line-height: 1.8; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .charts-row { grid-template-columns: 1fr; }
  .infra-card { flex-direction: column; }
  .infra-visual { width: 100%; justify-content: center; }
  .infra-specs { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .art-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: rgba(5,11,31,0.97); flex-direction: column; gap: 0; padding: 24px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hamburger { display: flex; }
  .hero-kpi-bar { flex-direction: column; gap: 20px; }
  .kpi-divider { width: 60px; height: 1px; }
  .kpi-item { padding: 0; }
  .usecase-layout { grid-template-columns: 1fr; }
  .usecase-visual { min-height: 200px; }
  .art-gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; padding-left: 24px; }
  .law-highlight { flex-direction: column; }
  .festival-stats { gap: 24px; }
  .opp-grid { grid-template-columns: 1fr; }
  .stat-cards-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .section-padding { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero-title .title-line-1 { font-size: 2.4rem; }
  .hero-title .title-line-2 { font-size: 1.2rem; }
  .quiz-section { padding: 28px 20px; }
  .festival-banner { padding: 28px 20px; }
  .usecase-layout { padding: 24px 20px; }
  .infra-card { padding: 28px 20px; }
  .law-highlight { padding: 24px 20px; }
}

/* =========================================
   ANIMATIONS & UTILITIES
   ========================================= */
.animate-num { animation: count-blink 3s ease-in-out infinite; }
@keyframes count-blink { 0%,100% { color: var(--neon-cyan); } 50% { color: var(--white); } }

[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-visible { opacity: 1; transform: translateY(0); }
