/* ============================================
   环宇智能科技 - 睿哆金 Complete Stylesheet
   ============================================ */

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

:root {
  --black: #0a0a0f;
  --dark: #111118;
  --gray-900: #1a1a24;
  --gray-800: #2a2a36;
  --gray-700: #555566;
  --gray-500: #8888a0;
  --gray-300: #c8c8d8;
  --gray-100: #f2f2f8;
  --white: #ffffff;
  --primary: #4f6ef7;
  --primary-dark: #3b57d9;
  --primary-light: #7b93ff;
  --primary-glow: rgba(79, 110, 247, 0.25);
  --secondary: #00d4aa;
  --secondary-dark: #00b894;
  --accent: #ff6b6b;
  --purple: #a855f7;
  --orange: #f59e0b;
  --cream: #f8f9fc;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  position: relative;
}

.alt-bg {
  background: var(--cream);
}

.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 24px;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(34, 160, 230, 0)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(34, 160, 230, 0.4)); }
}

.preloader-bar {
  width: 140px;
  height: 3px;
  background: var(--gray-800);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  animation: preloaderBar 1.5s var(--transition-smooth) forwards;
}

@keyframes preloaderBar {
  0% { width: 0; }
  100% { width: 100%; }
}

.preloader-text {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gray-500);
  text-transform: uppercase;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--transition);
  padding: 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 40px;
  transition: height 0.4s ease;
}

.header.scrolled .header-inner {
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--white);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.logo-icon.light {
  background: linear-gradient(135deg, var(--primary), var(--purple));
}

.logo-icon-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon-img {
  transform: scale(1.08);
}

.preloader-icon-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 24px;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.logo:hover .logo-icon {
  transform: scale(1.08);
}

.logo-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-text {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--white);
  transition: color 0.4s ease;
  line-height: 1.2;
}

.logo-text.light {
  color: var(--white);
}

.header.scrolled .logo-text {
  color: var(--black);
}

.logo-sub {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.4s ease;
  line-height: 1.2;
}

.logo-sub.light {
  color: var(--gray-500);
}

.header.scrolled .logo-sub {
  color: var(--gray-500);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-item > a {
  display: block;
  padding: 26px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  position: relative;
}

.header.scrolled .nav-item > a {
  color: var(--gray-700);
}

.header.scrolled .nav-item > a:hover,
.header.scrolled .nav-item:hover > a {
  color: var(--primary);
}

.nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 22px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--transition);
}

.nav-item:hover > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-item:hover > a {
  color: var(--white);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s var(--transition);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--gray-700);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown a:hover {
  background: var(--gray-100);
  color: var(--primary);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.header-cta {
  padding: 9px 22px;
  background: var(--primary);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 0.4s var(--transition);
}

.header.scrolled .hamburger span {
  background: var(--black);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
  background: var(--black);
}

.hamburger.active span:nth-child(2) { opacity: 0; }

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
  background: var(--black);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--transition-smooth);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 100px 40px;
}

.mobile-nav-list {
  list-style: none;
  text-align: center;
}

.mobile-nav-list li {
  margin-bottom: 6px;
  overflow: hidden;
}

.mobile-nav-list a {
  display: inline-block;
  font-size: 28px;
  font-weight: 300;
  padding: 6px 0;
  transform: translateY(100%);
  transition: transform 0.6s var(--transition-smooth), color 0.3s ease;
}

.mobile-menu.active .mobile-nav-list a {
  transform: translateY(0);
}

.mobile-menu.active .mobile-nav-list li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-list li:nth-child(2) a { transition-delay: 0.13s; }
.mobile-menu.active .mobile-nav-list li:nth-child(3) a { transition-delay: 0.16s; }
.mobile-menu.active .mobile-nav-list li:nth-child(4) a { transition-delay: 0.19s; }
.mobile-menu.active .mobile-nav-list li:nth-child(5) a { transition-delay: 0.22s; }
.mobile-menu.active .mobile-nav-list li:nth-child(6) a { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-list li:nth-child(7) a { transition-delay: 0.28s; }
.mobile-menu.active .mobile-nav-list li:nth-child(8) a { transition-delay: 0.31s; }

.mobile-nav-list a:hover {
  color: var(--primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(79, 110, 247, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 80%, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
}

.hero-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.3;
  animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
  50% { transform: translateY(-40px) translateX(20px); opacity: 0.5; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 0 0 480px;
  max-width: 520px;
}

/* ── Hero Dashboard Preview ── */
.hero-dashboard {
  flex: 1;
  position: relative;
  min-width: 0;
}

.dashboard-preview {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(79, 110, 247, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.chrome-dot.red { background: #ff5f57; }
.chrome-dot.yellow { background: #febc2e; }
.chrome-dot.green { background: #28c840; }

.chrome-title {
  margin-left: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.dashboard-body {
  padding: 16px;
}

/* Dashboard Cards */
.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dash-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.dash-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-card-info {
  min-width: 0;
}

.dash-card-label {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
  white-space: nowrap;
}

.dash-card-value {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.dash-card-value small {
  font-size: 9px;
  font-weight: 400;
  opacity: 0.7;
  margin-left: 2px;
}

.dash-card-trend {
  display: inline-block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.dash-card-trend.up {
  color: #52c41a;
}

.dash-card-trend.up::before {
  content: '↑ ';
}

/* Dashboard Charts */
.dash-charts {
  display: flex;
  gap: 12px;
}

.dash-chart-main {
  flex: 1.2;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
}

.dash-chart-side {
  flex: 0.8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
}

.dash-section-title {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

/* Bar Chart */
.dash-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dash-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-bar-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  width: 24px;
  flex-shrink: 0;
}

.dash-bar-track {
  flex: 1;
  height: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
}

.dash-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #1677ff, #69b1ff);
  border-radius: 4px;
  animation: dashBarGrow 1.5s var(--transition-smooth) forwards;
  transform-origin: left;
}

@keyframes dashBarGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.dash-bar-val {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

/* Channel List */
.dash-channel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-channel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.dash-channel-head span {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
}

.dash-channel-head strong {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.dash-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.dash-progress-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 1s var(--transition-smooth);
}

/* Rank List */
.dash-rank-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-rank-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
}

.dash-rank-badge {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.dash-rank-badge.gold { background: linear-gradient(135deg, #f6d365, #f5a623); }
.dash-rank-badge.silver { background: linear-gradient(135deg, #c0c0c0, #8a8a8a); }
.dash-rank-badge.bronze { background: linear-gradient(135deg, #cd7f32, #a0522d); }

.dash-rank-rate {
  margin-left: auto;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #52c41a;
}

/* Float Cards */
.dashboard-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(17, 17, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.dashboard-float-card strong {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
}

.float-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: floatDotPulse 2s ease-in-out infinite;
}

@keyframes floatDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.float-card-1 {
  top: 20px;
  right: -20px;
  animation: floatCard1 4s ease-in-out infinite;
}

.float-card-2 {
  bottom: 30px;
  left: -30px;
  animation: floatCard2 5s ease-in-out infinite;
}

.float-card-3 {
  top: 50%;
  right: -35px;
  transform: translateY(-50%);
  animation: floatCard3 4.5s ease-in-out infinite;
}

.float-card-4 {
  bottom: 80px;
  right: -15px;
  animation: floatCard4 5.5s ease-in-out infinite;
}

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

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

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

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

/* Dashboard Responsive */
@media (max-width: 1100px) {
  .hero-inner {
    flex-direction: column;
    padding: 0 40px;
    gap: 40px;
  }

  .hero-content {
    flex: none;
    max-width: 100%;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-dashboard {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
  }

  .float-card-1 { right: 0; }
  .float-card-2 { left: 0; }
  .float-card-3 { right: 0; }
  .float-card-4 { right: 0; }
}

@media (max-width: 768px) {
  .dash-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 8px;
  }

  .dash-card {
    padding: 8px 6px;
    gap: 5px;
  }

  .dash-card-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  .dash-card-icon svg {
    width: 12px;
    height: 12px;
  }

  .dash-card-value {
    font-size: 13px;
  }

  .dash-card-label {
    font-size: 8px;
  }

  .dash-card-trend {
    font-size: 8px;
  }

  .dash-charts {
    flex-direction: row;
    gap: 6px;
  }

  .dash-chart-main,
  .dash-chart-side {
    padding: 8px;
  }

  .dash-section-title {
    font-size: 9px;
    margin-bottom: 6px;
  }

  .dash-bar-chart {
    gap: 4px;
  }

  .dash-bar-track {
    height: 10px;
  }

  .dash-bar-label {
    font-size: 8px;
    width: 18px;
  }

  .dash-bar-val {
    font-size: 8px;
  }

  .dash-channel {
    margin-bottom: 4px;
  }

  .dash-channel-head {
    font-size: 8px;
  }

  .dash-channel-head strong {
    font-size: 8px;
  }

  .dash-progress {
    height: 3px;
  }

  .dash-rank-item {
    font-size: 8px;
  }

  .dashboard-float-card {
    display: none;
  }
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary-light), var(--secondary), var(--purple), var(--primary-light), var(--secondary));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-ai-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: 1px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  max-width: 560px;
}

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

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.4s var(--transition);
}

.btn-primary-hero:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-primary-hero svg {
  transition: transform 0.3s ease;
}

.btn-primary-hero:hover svg {
  transform: translateX(4px);
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s var(--transition);
}

.btn-outline-hero:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-stat strong {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.hero-stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.hero-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: var(--primary);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(0); }
  100% { transform: translateY(100px); }
}

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

/* Hero animations */
.anim-item {
  opacity: 0;
  transform: translateY(40px);
}

.anim-item.animated {
  animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}

.anim-item:nth-child(1) { animation-delay: 0.1s; }
.anim-item:nth-child(2) { animation-delay: 0.25s; }
.anim-item:nth-child(3) { animation-delay: 0.4s; }
.anim-item:nth-child(4) { animation-delay: 0.55s; }
.anim-item:nth-child(5) { animation-delay: 0.7s; }

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

/* --- Section Common --- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--black);
}

.section-title-lg {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--black);
  text-align: center;
}

.section-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-700);
  max-width: 520px;
}

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

.section-header .section-desc {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.4s var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* --- Products Overview --- */
.products-overview {
  padding: 100px 0 80px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  transition: transform 0.6s var(--transition), box-shadow 0.6s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.product-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--transition);
}

.product-card:hover .product-card-bg {
  transform: scale(1.03);
}

.product-card-bg-1 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.product-card-bg-2 {
  background: linear-gradient(135deg, #0f0f23 0%, #1a0a2e 50%, #2d1b69 100%);
}

.product-card-bg-3 {
  background: linear-gradient(135deg, #0a1a1a 0%, #0d2b2b 50%, #0a3d3d 100%);
}

.product-card-bg-4 {
  background: linear-gradient(135deg, #1a1008 0%, #2e1a05 50%, #3d2410 100%);
}

.products-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.products-grid-4 .product-card {
  min-height: 420px;
}

.products-grid-4 .product-card-content {
  padding: 32px 28px;
}

.products-grid-4 .product-name {
  font-size: 22px;
}

.products-grid-4 .product-brief {
  font-size: 13px;
}

.product-card-content {
  position: relative;
  z-index: 2;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.product-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

.product-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.product-brief {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.product-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: auto;
  padding-bottom: 24px;
}

.product-modules span {
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-arch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 20px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.product-arch-link:hover {
  gap: 12px;
  color: var(--primary-light);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  transition: gap 0.3s ease;
  margin-top: auto;
}

.product-card:hover .product-link {
  gap: 12px;
}

.product-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.product-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.product-demo-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* --- Split Block --- */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}

.split-block.reverse {
  direction: rtl;
}

.split-block.reverse > * {
  direction: ltr;
}

/* --- Product Detail --- */
.product-detail {
  padding: 20px 0;
}

.feature-tags-wrap {
  margin-top: 28px;
}

.feature-tag-group {
  margin-bottom: 20px;
}

.feature-tag-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tags span {
  padding: 6px 16px;
  background: var(--gray-100);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.feature-tags span:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(79, 110, 247, 0.05);
}

/* --- Product Monitor 3D --- */
.split-visual {
  perspective: 1000px;
}

.product-monitor-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--transition);
}

.product-monitor-wrap.perspective-right {
  transform: rotateY(-15deg) rotateX(3deg);
}

.product-monitor-wrap.perspective-left {
  transform: rotateY(15deg) rotateX(3deg);
}

.product-monitor-wrap:hover {
  transform: rotateY(-5deg) rotateX(1deg);
}

.product-monitor-wrap.perspective-left:hover {
  transform: rotateY(5deg) rotateX(1deg);
}

.monitor-screen {
  position: relative;
  background: #0a0a14;
  border-radius: 14px 14px 0 0;
  padding: 10px 10px 0 10px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(79, 110, 247, 0.06);
}

/* 外壳：用 outline 做边框，不影响内部布局 */
.monitor-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px 14px 0 0;
  border: 3px solid #2a2a36;
  border-bottom: none;
  pointer-events: none;
  z-index: 2;
}

.product-monitor-wrap:hover .monitor-screen {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(79, 110, 247, 0.12);
}

.monitor-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px 4px 0 0;
}

.screen-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.02) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.monitor-chin {
  width: 100%;
  height: 22px;
  background: linear-gradient(180deg, #2a2a36, #222230);
  border-radius: 0 0 6px 6px;
  border: 3px solid #2a2a36;
  border-top: 1px solid #333;
  position: relative;
  margin-top: -1px;
}

.monitor-chin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 5px;
  border-radius: 3px;
  background: #3a3a48;
}

.monitor-stand {
  width: 60px;
  height: 45px;
  background: linear-gradient(180deg, #2a2a36, #1e1e2a);
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
  margin-top: -1px;
}

.monitor-base {
  width: 140px;
  height: 10px;
  background: linear-gradient(180deg, #2a2a36, #1a1a26);
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: -1px;
}

@media (max-width: 900px) {
  .product-monitor-wrap.perspective-right,
  .product-monitor-wrap.perspective-left {
    transform: rotateY(0) rotateX(0);
  }
}

/* --- Mockup Components --- */
.mockup-stack {
  position: relative;
  min-height: 420px;
}

.mockup-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.mockup-card.mockup-1 {
  position: relative;
  z-index: 1;
}

.mockup-card.mockup-2 {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 2;
  width: 180px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #28c840; }

.mockup-title {
  font-size: 11px;
  color: var(--gray-500);
  margin-left: 8px;
}

.mockup-body {
  padding: 20px;
}

/* Mock Chart */
.mock-chart-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 20px;
}

.mock-chart-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: 4px 4px 0 0;
  animation: barGrow 1s var(--transition-smooth) forwards;
  transform-origin: bottom;
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.mock-stats-row {
  display: flex;
  gap: 12px;
}

.mock-stat {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  background: var(--gray-100);
  border-radius: 8px;
}

.mock-stat span {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--black);
}

.mock-stat small {
  font-size: 10px;
  color: var(--gray-500);
}

/* Mock Device Grid */
.mock-device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mock-device {
  padding: 12px;
  background: var(--gray-100);
  border-radius: 10px;
  text-align: center;
}

.mock-device-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 auto 6px;
}

.mock-device.online .mock-device-status {
  background: var(--secondary);
  box-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
}

.mock-device.warning .mock-device-status {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
  animation: pulse-warning 1.5s ease-in-out infinite;
}

@keyframes pulse-warning {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.mock-device small {
  display: block;
  font-size: 10px;
  color: var(--gray-700);
  margin-bottom: 2px;
}

.mock-device span {
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
}

.mock-device.warning span {
  color: var(--accent);
}

/* Mock Phone */
.mockup-phone {
  border-radius: 20px;
}

.mockup-phone-header {
  padding: 8px 16px;
  text-align: center;
}

.mockup-phone-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-700);
}

.mockup-phone-body {
  padding: 10px 14px 16px;
}

.mock-app-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.mock-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mock-app-item {
  text-align: center;
  padding: 8px 4px;
}

.mock-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  margin: 0 auto 6px;
}

.mock-icon.bg-blue { background: linear-gradient(135deg, #4f6ef7, #7b93ff); }
.mock-icon.bg-green { background: linear-gradient(135deg, #00d4aa, #00f5c3); }
.mock-icon.bg-orange { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.mock-icon.bg-purple { background: linear-gradient(135deg, #a855f7, #c084fc); }

.mock-app-item small {
  font-size: 10px;
  color: var(--gray-700);
}

/* --- Terminals Section --- */
.terminals-section {
  padding: 0 0 80px;
}

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

.terminals-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.terminal-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.5s var(--transition), box-shadow 0.5s ease;
}

.alt-bg .terminal-card {
  background: var(--white);
}

.terminal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.terminal-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.terminal-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.terminal-features {
  list-style: none;
}

.terminal-features li {
  font-size: 13px;
  color: var(--gray-700);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.terminal-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}

/* --- Divider Banner --- */
.divider-banner {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.divider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.divider-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.divider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.85), rgba(79, 110, 247, 0.4));
}

.divider-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  padding: 0 40px;
}

.divider-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.divider-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

/* --- Core Features --- */
.core-features {
  padding: 100px 0;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.5s var(--transition), box-shadow 0.5s ease, border-color 0.3s ease;
}

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

.feature-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.08), rgba(168, 85, 247, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.feature-card:hover .feature-card-icon {
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: var(--white);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-700);
}

/* --- Platform Section --- */
.platform-section {
  padding: 100px 0;
  background: var(--cream);
}

.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.platform-tab {
  padding: 10px 24px;
  background: var(--white);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.platform-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.platform-panel {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  animation: panelFadeIn 0.5s var(--transition-smooth);
}

.platform-panel.active {
  display: grid;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-content h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.panel-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 24px;
}

.panel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-features span {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
}

/* Mockup Browser */
.mockup-browser {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.mockup-body.large {
  display: flex;
  height: 280px;
  padding: 0;
}

.mock-sidebar {
  width: 48px;
  background: var(--gray-900);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-sidebar-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-800);
}

.mock-sidebar-item.active {
  background: var(--primary);
}

.mock-main {
  flex: 1;
  padding: 16px;
  background: var(--gray-100);
}

.mock-topbar {
  height: 10px;
  width: 40%;
  background: var(--gray-300);
  border-radius: 5px;
  margin-bottom: 16px;
}

.mock-cards-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.mock-mini-card {
  flex: 1;
  height: 50px;
  border-radius: 8px;
}

.mock-mini-card.c1 { background: linear-gradient(135deg, #4f6ef7, #7b93ff); }
.mock-mini-card.c2 { background: linear-gradient(135deg, #00d4aa, #00f5c3); }
.mock-mini-card.c3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.mock-mini-card.c4 { background: linear-gradient(135deg, #a855f7, #c084fc); }

.mock-chart-area {
  flex: 1;
  background: var(--white);
  border-radius: 8px;
  min-height: 100px;
}

/* Mockup Tablet */
.mockup-tablet {
  background: var(--gray-900);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.mockup-tablet-body {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
}

.mock-pos-layout {
  display: flex;
  height: 100%;
}

.mock-pos-left {
  flex: 1;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-content: start;
}

.mock-pos-item {
  aspect-ratio: 1;
  background: var(--gray-100);
  border-radius: 10px;
}

.mock-pos-right {
  width: 140px;
  background: var(--gray-100);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.mock-pos-total {
  height: 40px;
  background: var(--white);
  border-radius: 8px;
}

.mock-pos-btn {
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
}

/* Mockup Phones */
.mockup-phones {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
}

.mockup-phone-device {
  width: 160px;
  background: var(--gray-900);
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.mockup-phone-device.left {
  transform: translateY(20px);
}

.mockup-phone-device.right {
  transform: translateY(-10px);
}

.mockup-phone-screen {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  height: 280px;
  padding: 12px;
}

.mock-mini-header {
  height: 12px;
  width: 60%;
  background: var(--gray-300);
  border-radius: 6px;
  margin-bottom: 12px;
}

.mock-mini-banner {
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  border-radius: 10px;
  margin-bottom: 12px;
}

.mock-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mock-mini-btn {
  height: 40px;
  background: var(--gray-100);
  border-radius: 8px;
}

.mock-mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-mini-list-item {
  height: 56px;
  background: var(--gray-100);
  border-radius: 10px;
}

/* --- Stats Section --- */
.stats {
  padding: 80px 0;
  background: var(--dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-suffix {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-light);
}

.stat-label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--gray-500);
}

/* --- About Section --- */
.about-section {
  padding: 80px 0 100px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-value-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(79, 110, 247, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.about-value span {
  font-size: 14px;
  font-weight: 600;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.8s var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(79, 110, 247, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 16px 24px;
}

.about-badge-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

/* --- Contact Section --- */
.contact-section {
  padding: 100px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.contact-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--transition), box-shadow 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.08), rgba(168, 85, 247, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 16px;
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.contact-info {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-form-wrap h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 28px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-input {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-select {
  cursor: pointer;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
  margin-bottom: 20px;
}

.form-submit {
  display: flex;
  margin: 0 auto;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 72px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-500);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--gray-500);
  padding: 4px 0;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--gray-500);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--transition);
  z-index: 100;
  box-shadow: 0 4px 20px var(--primary-glow);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

/* --- Scroll Reveal --- */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
  transition-delay: var(--delay, 0s);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .header-cta { display: none; }

  .products-grid { grid-template-columns: 1fr; }
  .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-card { min-height: 400px; }

  .split-block {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }
  .split-block.reverse { direction: ltr; }

  .terminals-grid { grid-template-columns: 1fr; }
  .terminals-grid.two-col { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .platform-panel { grid-template-columns: 1fr; gap: 32px; }
  .platform-panel.active { display: block; }
  .panel-content { margin-bottom: 32px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 0 24px; height: 64px; }

  .hero-content { padding: 0 24px; }
  .hero-title { font-size: clamp(32px, 10vw, 48px); }
  .hero-btns { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }

  .products-overview { padding: 72px 0 56px; }
  .products-grid-4 { grid-template-columns: 1fr; }
  .products-grid-4 .product-card { min-height: auto; }
  .products-grid-4 .product-card-content { padding: 28px 24px; }
  .products-grid-4 .product-name { font-size: 20px; }
  .product-name br { display: none; }
  .products-grid-4 .product-brief { font-size: 13px; margin-bottom: 16px; }
  .product-modules { gap: 6px; padding-bottom: 16px; }
  .product-btns { gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 40px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { text-align: center; }

  .mockup-card.mockup-2 { display: none; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .platform-tabs { gap: 6px; }
  .platform-tab { padding: 8px 16px; font-size: 12px; }
}
