/* ============================================
   AI工业云 - 现代科技设计系统 v2.0
   ============================================ */

/* === CSS Variables / Design Tokens === */
:root {
  /* Primary Palette */
  --color-primary: #0066FF;
  --color-primary-light: #3388FF;
  --color-primary-dark: #0044CC;
  --color-accent: #00D4FF;
  --color-accent-light: #66E5FF;
  --color-cta: #FF6B35;
  --color-cta-light: #FF8F66;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
  --gradient-dark: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
  --gradient-hero: linear-gradient(160deg, #0A0E27 0%, #0D1B3E 40%, #0A0E27 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(0,102,255,0.15) 0%, transparent 70%);
  --gradient-wave: linear-gradient(180deg, #F8FAFF 0%, #EDF2FF 100%);

  /* Neutrals */
  --color-bg-dark: #0A0E27;
  --color-bg-section: #F8FAFF;
  --color-bg-white: #FFFFFF;
  --color-text-primary: #1A1F3A;
  --color-text-secondary: #6B7280;
  --color-text-light: #9CA3AF;
  --color-text-white: #FFFFFF;
  --color-text-on-dark: #C8D1E0;
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Typography */
  --font-cn: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: "Inter", "SF Pro Display", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 30px rgba(0,102,255,0.3);
  --shadow-glow-accent: 0 0 30px rgba(0,212,255,0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index */
  --z-nav: 1000;
  --z-overlay: 900;
  --z-modal: 1100;
  --z-toast: 1200;
}

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

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

body {
  font-family: var(--font-cn);
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-primary-light);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-primary);
}

::selection {
  background: var(--color-primary);
  color: white;
}

/* === Scroll Animation Classes === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.reveal-blur {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.8s ease, filter 0.8s ease;
}
.reveal-blur.active {
  opacity: 1;
  filter: blur(0);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.6s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.7s; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

/* Top info bar */
.nav-topbar {
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  overflow: hidden;
  max-height: 40px;
}

.nav-topbar-left {
  display: flex;
  gap: 24px;
  padding: 8px 0;
}

.nav-topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.nav-topbar-item .mdi {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* Main nav bar */
.nav-main {
  background: rgba(10, 14, 39, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-main .nav-container {
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 72px;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 42px;
  width: auto;
  filter: brightness(1.1);
  transition: all var(--transition-fast);
}

.nav-logo:hover img {
  filter: brightness(1.3);
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-menu li a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-menu li a:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
  border-radius: 1px;
}

.nav-menu li a:hover::after,
.nav-menu li.active a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-menu li.active a {
  color: var(--color-accent);
}

/* CTA button in nav */
.nav-cta {
  background: var(--gradient-primary) !important;
  color: white !important;
  border-radius: var(--radius-full) !important;
  padding: 10px 24px !important;
  font-size: 15px !important;
  box-shadow: 0 4px 15px rgba(0,102,255,0.3);
  margin-left: 8px;
}

.nav-cta:hover {
  box-shadow: 0 6px 20px rgba(0,102,255,0.5) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Scrolled state */
.site-nav.scrolled .nav-topbar {
  max-height: 0;
  opacity: 0;
  padding: 0;
  border: none;
}

.site-nav.scrolled .nav-main {
  background: rgba(10, 14, 39, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* Mobile responsive */
@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 80px 24px 32px;
    transition: right var(--transition-base);
    box-shadow: -8px 0 30px rgba(0,0,0,0.4);
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu li a {
    font-size: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-menu li a::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: 16px;
    margin-left: 0 !important;
  }

  .nav-main .nav-container {
    height: 64px;
  }

  .nav-topbar {
    display: none;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Animated grid background */
.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0,102,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--color-accent);
  bottom: -15%;
  left: -10%;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: #7C3AED;
  top: 40%;
  left: 50%;
  animation-delay: -2s;
  opacity: 0.2;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Particle canvas */
#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,102,255,0.15);
  border: 1px solid rgba(0,102,255,0.3);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  margin-bottom: 24px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,102,255,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(0,102,255,0); }
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: dotBlink 2s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-description {
  font-size: 16px;
  color: var(--color-text-on-dark);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-en);
  line-height: 1;
}

.hero-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* Hero right side - QR Card */
.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.5;
}

.hero-card-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-card-desc {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-card .qr-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.hero-card .qr-hint {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-feature-item {
  text-align: center;
}

.hero-feature-icon {
  font-size: 28px;
  margin-bottom: 6px;
  display: block;
}

.hero-feature-text {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary-gradient {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0,102,255,0.4);
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,102,255,0.5);
  color: white;
}

.btn-primary-gradient:active {
  transform: translateY(0);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}

.btn-cta {
  background: var(--color-cta);
  color: white;
  box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

.btn-cta:hover {
  background: var(--color-cta-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.5);
  color: white;
}

/* Ripple effect */
.btn-modern::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}

.btn-modern:active::after {
  transform: scale(2.5);
  opacity: 0;
  transition: 0s;
}

/* ============================================
   WAVE DIVIDERS
   ============================================ */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

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

.wave-dark-to-light {
  background: var(--color-bg-dark);
}

.wave-light-to-dark {
  background: var(--color-bg-section);
}

/* ============================================
   SECTIONS - Common
   ============================================ */
.section-modern {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section-light {
  background: var(--color-bg-section);
}

.section-white {
  background: var(--color-bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-label-line {
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-dark .section-title {
  color: white;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-dark .section-subtitle {
  color: var(--color-text-on-dark);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 20px auto;
}

/* ============================================
   PRODUCT CARDS (Services Section)
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  transition: all var(--transition-base);
  position: relative;
}

.product-icon-bg {
  background: linear-gradient(135deg, rgba(0,102,255,0.08) 0%, rgba(0,212,255,0.08) 100%);
  color: var(--color-primary);
}

.product-card:hover .product-icon-bg {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.product-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
}

.about-content .lead-text {
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-content p {
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gradient-dark);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.3);
}

.about-play-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* Floating stat card */
.about-float-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about-float-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-en);
  line-height: 1;
}

.about-float-label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ============================================
   PARALLAX / CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--gradient-dark);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* Geometric decorations */
.cta-geo {
  position: absolute;
  border: 2px solid rgba(0,102,255,0.2);
  border-radius: var(--radius-md);
  animation: geoSpin 15s linear infinite;
}

.cta-geo-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 5%;
  animation-duration: 20s;
}

.cta-geo-2 {
  width: 80px;
  height: 80px;
  bottom: 15%;
  right: 8%;
  border-color: rgba(0,212,255,0.2);
  animation-duration: 25s;
  animation-direction: reverse;
}

.cta-geo-3 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 15%;
  border-color: rgba(124,58,237,0.2);
  border-radius: 50%;
  animation-duration: 18s;
}

@keyframes geoSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--color-border);
  background: white;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0,102,255,0.3);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  cursor: pointer;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.solution-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.solution-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.solution-card:hover .solution-card-image img {
  transform: scale(1.08);
}

.solution-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: white;
  backdrop-filter: blur(8px);
}

.tag-hot { background: rgba(255,107,53,0.9); }
.tag-custom { background: rgba(124,58,237,0.9); }
.tag-new { background: rgba(0,212,255,0.9); }

.solution-card-body {
  padding: 20px;
}

.solution-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.solution-card-info {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.solution-card-info li {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.solution-card-info li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.solution-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}

.solution-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-cta);
}

.solution-card .btn-modern {
  padding: 8px 20px;
  font-size: 13px;
}

/* Transition for filtered items */
.solution-card.hiding {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.solution-card.showing {
  animation: cardShow 0.4s ease forwards;
}

@keyframes cardShow {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================
   INDUSTRY SCENARIOS
   ============================================ */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.scenario-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}

.scenario-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scenario-card:hover .scenario-bg {
  transform: scale(1.1);
}

.scenario-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,39,0.9) 0%, rgba(10,14,39,0.3) 50%, transparent 100%);
  transition: all var(--transition-base);
}

.scenario-card:hover .scenario-overlay {
  background: linear-gradient(to top, rgba(0,102,255,0.8) 0%, rgba(0,102,255,0.2) 60%, transparent 100%);
}

.scenario-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px;
  color: white;
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.scenario-card:hover .scenario-content {
  transform: translateY(0);
}

.scenario-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.scenario-title span {
  display: block;
}

.scenario-btn {
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
  transition-delay: 0.1s;
}

.scenario-card:hover .scenario-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  border: 1px solid var(--color-border-light);
}

.testimonial-quote-icon {
  font-size: 48px;
  color: var(--color-primary);
  opacity: 0.2;
  margin-bottom: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.9;
  color: var(--color-text-primary);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-border-light);
  box-shadow: 0 0 0 3px var(--color-primary);
}

.testimonial-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.testimonial-position {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.testimonial-dot.active {
  background: var(--color-primary);
  width: 30px;
  border-radius: 5px;
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.download-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(0,102,255,0.1), transparent 30%);
  animation: downloadGlow 4s linear infinite;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.download-card:hover::before {
  opacity: 1;
}

@keyframes downloadGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.download-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,102,255,0.2);
}

.download-icon {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,102,255,0.08) 0%, rgba(0,212,255,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.download-card:hover .download-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.download-card-title {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.download-card-desc {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.download-card .btn-modern {
  position: relative;
  z-index: 1;
}

/* ============================================
   STATS / COUNTERS
   ============================================ */
.stats-section {
  background: var(--gradient-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0,102,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0,212,255,0.08) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: white;
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .counter-suffix {
  font-size: 0.6em;
  color: var(--color-accent);
}

.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

.stat-divider {
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  margin: 12px auto 0;
  border-radius: 1px;
}

/* ============================================
   BLOG / NEWS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  padding: 16px 20px 0;
  flex-wrap: wrap;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--color-text-light);
}

.blog-meta-item a {
  color: var(--color-text-light);
}
.blog-meta-item a:hover {
  color: var(--color-primary);
}

.blog-card-body {
  padding: 12px 20px 20px;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.blog-card-title a {
  color: var(--color-text-primary);
}

.blog-card-title a:hover {
  color: var(--color-primary);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-modern {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  max-width: 300px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0,102,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 16px;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-contact-text a {
  color: rgba(255,255,255,0.6);
}
.footer-contact-text a:hover {
  color: var(--color-accent);
}

/* Newsletter */
.footer-newsletter {
  margin-top: 8px;
}

.footer-newsletter p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 14px;
  outline: none;
  transition: all var(--transition-fast);
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.newsletter-input:focus {
  border-color: var(--color-primary);
  background: rgba(0,102,255,0.08);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

.newsletter-btn {
  padding: 12px 24px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.newsletter-btn:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  transition: all var(--transition-base);
}

.social-icon:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-3px) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-copyright a {
  color: rgba(255,255,255,0.4);
}
.footer-copyright a:hover {
  color: var(--color-accent);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-legal a:hover {
  color: var(--color-accent);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,102,255,0.5);
}

/* ============================================
   MODAL (Consultation)
   ============================================ */
.modal-content {
  border: none !important;
  border-radius: var(--radius-xl) !important;
  overflow: hidden;
  box-shadow: var(--shadow-xl) !important;
}

.modal-header {
  background: var(--gradient-primary) !important;
  color: white !important;
  border: none !important;
  padding: 24px 32px !important;
}

.modal-title {
  color: white !important;
  font-weight: 700 !important;
}

.modal-header .close {
  color: white !important;
  opacity: 0.8;
}

.modal-body {
  padding: 32px !important;
}

.modal .form-wrap {
  margin-bottom: 20px;
}

.modal .form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.modal .form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  outline: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.modal .form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

/* ============================================
   PRELOADER
   ============================================ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader-ring {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(0,102,255,0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: loaderSpin 1s linear infinite;
}

.loader-ring::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 3px solid rgba(0,212,255,0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite reverse;
}

@keyframes loaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .product-grid,
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }
  .hero-subtitle,
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .rd-navbar-nav > li > a {
    padding: 14px 12px !important;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .section-modern {
    padding: 64px 0;
  }
  .product-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .scenarios-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-card {
    padding: 28px 20px;
  }
  .hero-stats {
    gap: 24px;
  }
  .testimonial-card {
    padding: 32px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
}

.glow-border {
  position: relative;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.glow-border:hover::after {
  opacity: 1;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(0,102,255,0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0,102,255,0.5);
}
