/* StockWave Global - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0a1628;
  --bg-secondary: #0f2039;
  --bg-card: #142e4e;
  --accent: #00d2ff;
  --accent-light: #4de8ff;
  --accent-dark: #00a8d6;
  --blue: #2E86DE;
  --text-primary: #f1f5f9;
  --text-secondary: #c8ddf0;
  --border: rgba(0, 210, 255, 0.15);
  --shadow: rgba(0, 0, 0, 0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-light); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 36px; }
.nav-brand span { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); letter-spacing: 0.5px; }

.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a {
  color: var(--text-secondary); padding: 0.5rem 1rem; font-size: 0.9rem;
  font-weight: 500; transition: all 0.3s; border-radius: 8px; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); background: rgba(0, 210, 255, 0.08); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: flex; background: var(--bg-card); border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border);
}
.lang-toggle button {
  padding: 6px 14px; border: none; background: transparent; color: var(--text-secondary);
  font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.lang-toggle button.active { background: var(--accent); color: var(--bg-primary); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text-primary);
  transition: all 0.3s; border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE NAV ===== */
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: rgba(10, 22, 40, 0.98); backdrop-filter: blur(20px);
  z-index: 999; padding: 2rem; flex-direction: column; gap: 0.5rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: var(--text-secondary); padding: 1rem; font-size: 1.1rem;
  font-weight: 500; border-radius: 12px; transition: all 0.3s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); background: rgba(0, 210, 255, 0.08); }

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 140px 2rem 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
}
.page-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,210,255,0.08) 0%, transparent 70%);
}
.page-header h1 {
  font-size: 2.8rem; font-weight: 800; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  position: relative;
}
.page-header p { color: var(--text-secondary); font-size: 1.15rem; max-width: 700px; margin: 0 auto; position: relative; }

/* ===== SECTIONS ===== */
.section { padding: 80px 2rem; max-width: 1200px; margin: 0 auto; }
.section-dark { background: var(--bg-secondary); }
.section-full { max-width: 100%; padding: 80px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-title {
  font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 1rem;
  color: var(--text-primary);
}
.section-subtitle {
  text-align: center; color: var(--text-secondary); font-size: 1.05rem;
  max-width: 650px; margin: 0 auto 3rem;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; transition: all 0.4s;
}
.card:hover {
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 210, 255, 0.1);
  transform: translateY(-4px);
}

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,210,255,0.15), rgba(46,134,222,0.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}

.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text-primary); }
.card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 12px; font-weight: 600;
  font-size: 0.95rem; transition: all 0.3s; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: var(--bg-primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,210,255,0.3); color: var(--bg-primary); }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: rgba(0,210,255,0.1); }

/* ===== STATS ===== */
.stats-row {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  padding: 2rem 0;
}
.stat-item { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }

/* ===== TIMELINE ===== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 2rem 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--accent), var(--blue));
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; align-items: flex-start; margin-bottom: 2rem;
  position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-content {
  width: 45%; padding: 1.5rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px;
}
.timeline-dot {
  position: absolute; left: 50%; top: 1.5rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg-primary);
  transform: translateX(-50%); z-index: 2;
}
.timeline-year { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%; border-collapse: collapse; margin: 2rem 0;
  border-radius: 12px; overflow: hidden;
}
.comparison-table th {
  background: var(--bg-card); color: var(--accent); padding: 1rem 1.25rem;
  text-align: left; font-weight: 600; font-size: 0.9rem;
  border-bottom: 2px solid var(--border);
}
.comparison-table td {
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.9rem;
}
.comparison-table tr:hover td { background: rgba(0, 210, 255, 0.03); }

/* ===== FAQ ACCORDION ===== */
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 1rem; overflow: hidden;
}
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; background: transparent; border: none;
  color: var(--text-primary); font-size: 1rem; font-weight: 600;
  text-align: left; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-family: 'Inter', sans-serif; transition: all 0.3s;
}
.faq-question:hover { color: var(--accent); }
.faq-question .icon {
  font-size: 1.5rem; transition: transform 0.3s; color: var(--accent);
  flex-shrink: 0; margin-left: 1rem;
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 800px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem; color: var(--text-secondary);
  font-size: 0.95rem; line-height: 1.8;
}

/* ===== TEAM AVATAR ===== */
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800; color: var(--bg-primary);
  margin: 0 auto 1.5rem; border: 3px solid rgba(0,210,255,0.3);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand img { height: 30px; }
.footer-brand span { font-size: 1.1rem; font-weight: 700; }
.footer p { color: var(--text-secondary); font-size: 0.9rem; }
.footer h4 { color: var(--text-primary); font-weight: 600; margin-bottom: 1rem; font-size: 0.95rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(200,221,240,0.5); font-size: 0.8rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 2rem 80px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #0a1628 0%, #0f2039 40%, #142e4e 70%, #0a1628 100%);
  background-size: 400% 400%;
  animation: heroGradient 15s ease infinite;
}
@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-glow {
  position: absolute; top: -50%; left: -50%; right: -50%; bottom: -50%;
  background: radial-gradient(circle at 30% 40%, rgba(0,210,255,0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(46,134,222,0.05) 0%, transparent 50%);
  animation: glowPulse 8s ease-in-out infinite alternate;
}
@keyframes glowPulse { 0% { opacity: 0.5; } 100% { opacity: 1; } }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero h1 {
  font-size: 3.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== PROCESS STEPS ===== */
.process-steps { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 3rem 0; }
.process-step {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem 1.5rem; text-align: center; flex: 1; min-width: 200px; max-width: 280px;
}
.process-step .step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--bg-primary); margin: 0 auto 1rem; font-size: 1.2rem;
}
.process-arrow { font-size: 1.5rem; color: var(--accent); flex-shrink: 0; }

/* ===== REGION CARDS ===== */
.region-status {
  display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem;
  font-weight: 600; margin-bottom: 0.75rem;
}
.region-status.active { background: rgba(0,210,255,0.15); color: var(--accent); }
.region-status.watching { background: rgba(46,134,222,0.15); color: var(--blue); }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 1; transform: translateY(0); transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .page-header h1 { font-size: 2rem; }
  .section { padding: 60px 1.25rem; }
  .card-grid-3, .card-grid-4, .card-grid-2 { grid-template-columns: 1fr; }
  .stats-row { gap: 1.5rem; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; text-align: left; padding-left: 50px; }
  .timeline-content { width: 100%; }
  .timeline-dot { left: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-steps { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 0.75rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .navbar { padding: 0 1rem; }
  .card { padding: 1.5rem; }
}

/* ===== TECH/AI VISUAL ENHANCEMENTS ===== */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

/* Particle Canvas */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Loading Overlay */
.tech-loading-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-primary);
  z-index: 99999; display: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.tech-loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}
.tech-loading-text {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 3px;
  animation: loadingPulse 1.5s ease-in-out infinite;
}
.tech-loading-bar {
  width: 200px;
  height: 2px;
  background: rgba(0,210,255,0.1);
  margin-top: 1.5rem;
  border-radius: 2px;
  overflow: hidden;
}
.tech-loading-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: loadingBar 1s ease-in-out infinite;
}
@keyframes loadingPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@keyframes loadingBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* Ensure content is above canvas */
.navbar, .hero, .section, .section-dark, .section-full, .page-header, .footer, .mobile-menu {
  position: relative;
  z-index: 1;
}

/* ===== TECH NUMBER FONT ===== */
.tech-number,
.stat-value {
  font-family: 'JetBrains Mono', monospace !important;
  letter-spacing: 1px;
}

/* ===== GLOW EFFECTS ===== */
.section-title,
.page-header h1 {
  text-shadow: 0 0 20px rgba(0,210,255,0.2), 0 0 40px rgba(0,210,255,0.08);
}

.stat-value {
  animation: statGlow 3s ease-in-out infinite alternate;
}
@keyframes statGlow {
  0% { text-shadow: 0 0 10px rgba(0,210,255,0.2); }
  100% { text-shadow: 0 0 25px rgba(0,210,255,0.5), 0 0 50px rgba(0,210,255,0.15); }
}

/* ===== CARD ENHANCEMENTS ===== */
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-card), rgba(20,46,78,0.8));
  border: 1px solid transparent;
  background-clip: padding-box;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(var(--card-border-angle, 0deg), rgba(0,210,255,0.3), rgba(46,134,222,0.1), rgba(0,210,255,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: cardBorderRotate 6s linear infinite;
}
@property --card-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes cardBorderRotate {
  0% { --card-border-angle: 0deg; }
  100% { --card-border-angle: 360deg; }
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 30px rgba(0,210,255,0.15), 0 8px 32px rgba(0,210,255,0.1);
}
.card:hover::before {
  background: linear-gradient(var(--card-border-angle, 0deg), rgba(0,210,255,0.6), rgba(46,134,222,0.3), rgba(0,210,255,0.6));
}

/* ===== CIRCUIT GRID OVERLAY ===== */
.section-dark,
.section-full {
  background-image: 
    linear-gradient(rgba(0,210,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,210,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ===== HERO SCAN LINE ===== */
.hero {
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,210,255,0.4), transparent);
  animation: scanline 4s linear infinite;
  z-index: 3;
  pointer-events: none;
}
@keyframes scanline {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ===== BINARY RAIN (HERO) ===== */
.binary-rain {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  opacity: 0.05;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #00d2ff;
  pointer-events: none;
  z-index: 1;
}
.binary-column {
  position: absolute;
  top: -100%;
  animation: binaryFall linear infinite;
  white-space: nowrap;
  line-height: 1.4;
}
@keyframes binaryFall {
  0% { transform: translateY(0); }
  100% { transform: translateY(250vh); }
}

/* ===== NAV LINK UNDERLINE EFFECT ===== */
.nav-links a {
  position: relative;
  overflow: hidden;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ===== BUTTON RIPPLE ===== */
.btn {
  position: relative;
  overflow: hidden;
}
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleEffect {
  to { transform: scale(4); opacity: 0; }
}

/* ===== SECTION FADE-IN WITH BLUR ===== */
.fade-in {
  opacity: 1;
  transform: translateY(30px);
  filter: blur(4px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ===== TECH LABEL SPACING ===== */
.stat-label,
.region-status {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* ===== TEAM AVATAR GLOW ===== */
.team-avatar {
  box-shadow: 0 0 30px rgba(0,210,255,0.2);
  animation: avatarGlow 4s ease-in-out infinite alternate;
}
@keyframes avatarGlow {
  0% { box-shadow: 0 0 20px rgba(0,210,255,0.15); }
  100% { box-shadow: 0 0 40px rgba(0,210,255,0.35); }
}

/* ===== CARD ICON GLOW ===== */
.card-icon {
  box-shadow: 0 0 15px rgba(0,210,255,0.1);
  transition: box-shadow 0.4s;
}
.card:hover .card-icon {
  box-shadow: 0 0 25px rgba(0,210,255,0.25);
}

/* ===== PAGE HEADER ENHANCEMENTS ===== */
.page-header {
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,210,255,0.3), transparent);
}

/* ===== FOOTER TECH LINE ===== */
.footer {
  border-top: 1px solid transparent;
  background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)),
    linear-gradient(90deg, transparent, rgba(0,210,255,0.3), transparent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* ===== TIMELINE DOT PULSE ===== */
.timeline-dot {
  box-shadow: 0 0 10px rgba(0,210,255,0.4);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0,210,255,0.3); }
  50% { box-shadow: 0 0 20px rgba(0,210,255,0.6); }
}

/* ===== COMPARISON TABLE GLOW ===== */
.comparison-table th {
  text-shadow: 0 0 10px rgba(0,210,255,0.2);
}

/* ===== FAQ TECH STYLING ===== */
.faq-item {
  transition: all 0.3s;
}
.faq-item:hover {
  border-color: rgba(0,210,255,0.25);
  box-shadow: 0 0 15px rgba(0,210,255,0.05);
}

/* ===== PROCESS STEP NUM GLOW ===== */
.process-step .step-num {
  box-shadow: 0 0 15px rgba(0,210,255,0.3);
}

/* ===== GPU ACCELERATION HINTS ===== */
.card, .btn, .fade-in, .hero::after, .binary-column, .team-avatar, .timeline-dot {
  will-change: transform, opacity;
}

/* ===== SVG ICON SYSTEM ===== */
.sw-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.15);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.sw-icon svg {
  width: 24px;
  height: 24px;
  stroke: #00d2ff;
  stroke-width: 1.5;
  fill: none;
}
.card:hover .sw-icon {
  background: rgba(0, 210, 255, 0.15);
  border-color: rgba(0, 210, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
}
.card:hover .sw-icon svg {
  filter: drop-shadow(0 0 4px rgba(0, 210, 255, 0.4));
}

/* Medium icon for future direction cards */
.sw-icon-md {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.15);
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}
.sw-icon-md svg {
  width: 24px;
  height: 24px;
  stroke: #00d2ff;
  stroke-width: 1.5;
  fill: none;
}
.card:hover .sw-icon-md {
  background: rgba(0, 210, 255, 0.15);
  border-color: rgba(0, 210, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
}

/* Small inline icon for industry tags */
.sw-icon-sm {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(0, 210, 255, 0.08);
  flex-shrink: 0;
}
.sw-icon-sm svg {
  width: 16px;
  height: 16px;
  stroke: #00d2ff;
  stroke-width: 1.5;
  fill: none;
}

/* Flag-size icon for region headers */
.sw-icon-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.sw-icon-flag svg {
  width: 20px;
  height: 20px;
  stroke: #00d2ff;
  stroke-width: 1.5;
  fill: none;
}
/* ===== PREMIUM VISUAL UPGRADE - Appended to existing styles ===== */

/* ===== GLASSMORPHISM CARDS ===== */
.glass-card {
  background: rgba(10, 22, 40, 0.6) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0, 210, 255, 0.1) !important;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.glass-card:hover {
  border-color: rgba(0, 210, 255, 0.25) !important;
  box-shadow: 0 12px 48px rgba(0, 210, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ===== STAT ITEMS AS GLASS CARDS ===== */
.stats-row .stat-item.glass-card {
  padding: 2rem 2.5rem;
  min-width: 160px;
  transition: all 0.4s ease;
}
.stats-row .stat-item.glass-card:hover {
  transform: translateY(-6px) scale(1.03);
}

/* ===== ANIMATED STOCK CHART SVG ===== */
.stock-chart-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}
.chart-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawChart 3s ease forwards;
}
.chart-fill {
  opacity: 0;
  animation: fadeInChart 1s ease 2.5s forwards;
}
@keyframes drawChart {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeInChart {
  to { opacity: 1; }
}

/* ===== HERO WITH BACKGROUND IMAGE ===== */
.hero-img-bg {
  background-size: cover !important;
  background-position: center !important;
}
.hero-img-bg .hero-bg {
  background: linear-gradient(135deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(15, 32, 57, 0.85) 40%,
    rgba(20, 46, 78, 0.82) 70%,
    rgba(10, 22, 40, 0.90) 100%) !important;
  background-size: 100% 100% !important;
  animation: none !important;
}

/* ===== IMAGE SECTIONS WITH OVERLAY ===== */
.img-section {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}
.img-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.95) 100%);
  z-index: 0;
}
.img-section > * {
  position: relative;
  z-index: 1;
}

.img-section-light {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed;
}
.img-section-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.88) 50%, rgba(10,22,40,0.95) 100%);
  z-index: 0;
}
.img-section-light > * {
  position: relative;
  z-index: 1;
}

/* ===== 3D TILT CARD EFFECT ===== */
.tilt-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}
.tilt-card:hover {
  transform: rotateY(-3deg) rotateX(3deg) scale(1.02) translateY(-4px);
}

/* ===== ABOUT PAGE - SPLIT LAYOUT ===== */
.about-split {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 2rem auto 0;
}
.about-text {
  flex: 1;
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.about-image {
  flex: 0 0 400px;
}
.premium-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0, 210, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 210, 255, 0.08);
  transition: all 0.4s ease;
}
.premium-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 80px rgba(0, 210, 255, 0.12);
}

/* ===== TIMELINE GLOW ===== */
.timeline-glow::before {
  background: linear-gradient(180deg, var(--accent), var(--blue), var(--accent)) !important;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3), 0 0 30px rgba(0, 210, 255, 0.1);
  width: 3px !important;
}
.timeline-dot-glow {
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.5), 0 0 30px rgba(0, 210, 255, 0.2) !important;
  animation: dotGlow 2s ease-in-out infinite !important;
}
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 210, 255, 0.4), 0 0 30px rgba(0, 210, 255, 0.15); transform: translateX(-50%) scale(1); }
  50% { box-shadow: 0 0 25px rgba(0, 210, 255, 0.7), 0 0 50px rgba(0, 210, 255, 0.3); transform: translateX(-50%) scale(1.2); }
}

/* ===== TECHNOLOGY - ACCURACY SECTION ===== */
.accuracy-section {
  display: flex;
  gap: 3rem;
  align-items: center;
  text-align: left;
}
.accuracy-content {
  flex: 1;
}
.accuracy-image {
  flex: 0 0 350px;
}
.accuracy-numbers {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  align-items: center;
}
.accuracy-num {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}
.accuracy-num.muted { color: var(--text-secondary); }
.accuracy-num.accent { color: var(--accent); text-shadow: 0 0 30px rgba(0, 210, 255, 0.3); }
.accuracy-arrow { display: flex; align-items: center; }

/* ===== PROCESS STEPS PREMIUM ===== */
.process-steps-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 3rem 0;
  position: relative;
  z-index: 2;
}
.process-steps-premium .process-step {
  background: transparent;
  border: none;
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.process-connector {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}
.process-connector svg line {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawChart 2s ease 0.5s forwards;
}

/* ===== ADVANTAGES PAGE ===== */
.adv-card {
  transition: all 0.4s ease;
}
.adv-card:hover {
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.7), rgba(0, 210, 255, 0.05)) !important;
}
.adv-num {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: var(--bg-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

/* ===== PREMIUM COMPARISON TABLE ===== */
.premium-table {
  border: 1px solid rgba(0, 210, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}
.premium-table thead tr {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.12), rgba(46, 134, 222, 0.08)) !important;
}
.premium-table th {
  background: transparent !important;
  padding: 1.25rem 1.5rem !important;
  font-size: 0.95rem !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.premium-table tbody tr:nth-child(odd) {
  background: rgba(10, 22, 40, 0.4);
}
.premium-table tbody tr:nth-child(even) {
  background: rgba(20, 46, 78, 0.3);
}
.premium-table tbody tr {
  transition: all 0.3s ease;
}
.premium-table tbody tr:hover {
  background: rgba(0, 210, 255, 0.06) !important;
}
.premium-table td {
  padding: 1.1rem 1.5rem !important;
}
.sw-highlight {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ===== INDUSTRY TAGS ===== */
.industry-tag {
  padding: 1rem 1.5rem !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: default;
}
.industry-tag:hover {
  transform: translateY(-3px) scale(1.03);
}

/* ===== TEAM PAGE ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.team-card {
  padding: 2.5rem !important;
  text-align: center;
  transition: all 0.4s ease;
}
.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 64px rgba(0, 210, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.4);
}
.team-avatar-lg {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--bg-primary);
  margin: 0 auto 1.5rem;
  border: 4px solid rgba(0, 210, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 210, 255, 0.2);
  animation: avatarGlow 4s ease-in-out infinite alternate;
  transition: all 0.4s ease;
}
.team-card:hover .team-avatar-lg {
  box-shadow: 0 0 60px rgba(0, 210, 255, 0.4);
  transform: scale(1.05);
}
.team-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 1rem;
  text-align: left;
}

/* ===== ANIMATED NUMBER COUNTERS ===== */
[data-count] {
  transition: all 0.3s ease;
}

/* ===== RESPONSIVE PREMIUM ===== */
@media (max-width: 1024px) {
  .about-split { flex-direction: column; }
  .about-image { flex: none; width: 100%; max-width: 500px; margin: 0 auto; }
  .accuracy-section { flex-direction: column; }
  .accuracy-image { flex: none; width: 100%; max-width: 500px; margin: 0 auto; }
  .accuracy-section .section-title { text-align: center !important; }
  .accuracy-numbers { justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .stats-row .stat-item.glass-card { padding: 1.5rem; min-width: 140px; }
  .process-steps-premium { flex-direction: column; }
  .process-connector { transform: rotate(90deg); }
  .stock-chart-bg { height: 120px; }
  .team-card { padding: 2rem !important; }
  .team-avatar-lg { width: 100px; height: 100px; font-size: 2rem; }
  .accuracy-num { font-size: 2.2rem; }
  .img-section-light { background-attachment: scroll !important; }
}

/* Page banners & image sections */
.page-banner{height:40vh;min-height:320px;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;position:relative;margin-top:72px;}
.page-banner .overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,22,40,0.5) 0%,rgba(10,22,40,0.9) 100%);}
.page-banner h1{position:relative;z-index:1;font-size:clamp(2rem,5vw,3.5rem);text-align:center;color:#fff;text-shadow:0 0 30px rgba(0,210,255,0.3);}
.page-banner .banner-sub{position:relative;z-index:1;color:#c8ddf0;font-size:1.1rem;text-align:center;max-width:600px;margin-top:12px;}
.img-divider{height:280px;background-size:cover;background-position:center;background-attachment:fixed;position:relative;}
.img-divider .overlay{position:absolute;inset:0;background:rgba(10,22,40,0.7);}
.img-divider .divider-text{position:relative;z-index:1;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;font-weight:600;text-shadow:0 0 20px rgba(0,210,255,0.3);}
.content-split{display:grid;grid-template-columns:1fr 1fr;gap:0;min-height:500px;}
.content-split .image-side{background-size:cover;background-position:center;}
.content-split .text-side{padding:60px 48px;display:flex;flex-direction:column;justify-content:center;}
@media(max-width:768px){.content-split{grid-template-columns:1fr;}.content-split .image-side{min-height:280px;}.content-split .text-side{padding:40px 24px;}}


/* Mobile image aspect ratio fixes */
@media(max-width:768px) {
  .page-banner { height: 30vh; min-height: 220px; }
  .page-banner h1 { font-size: 1.6rem; padding: 0 16px; }
  .page-banner .banner-sub { font-size: 0.9rem; padding: 0 16px; }
  .img-divider { height: 200px; background-attachment: scroll; }
  .split-image, .content-split .image-side { 
    min-height: 250px; 
    aspect-ratio: 16/9; 
    background-size: cover; 
    background-position: center;
  }
  .hero { min-height: 85vh; }
  .hero img, .hero-bg-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .parallax-section { background-attachment: scroll; }
}
