:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #121218;
  --bg-tertiary: #1a1a24;
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-glow: rgba(99, 102, 241, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(0,229,255,.14), transparent),
    radial-gradient(900px 500px at 85% 20%, rgba(124,77,255,.18), transparent),
    linear-gradient(180deg, #05060a, #080b14);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.9;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 10, 0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 229, 255, 0.08);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out 0.2s both;
}

.brand:hover {
  opacity: 1;
  transform: translateX(5px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
  border: 2px solid rgba(0, 229, 255, 0.2);
  filter: drop-shadow(0 0 20px rgba(124, 77, 255, 0.5));
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 0 30px rgba(124, 77, 255, 0.8));
  transform: scale(1.08) rotate(5deg);
  border-color: rgba(0, 229, 255, 0.5);
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1.08) rotate(5deg);
  }
  50% {
    transform: scale(1.15) rotate(5deg);
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, #00e5ff, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  animation: shimmer 3s ease-in-out infinite, neonPulse 2s ease-in-out infinite;
  background-size: 200% auto;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.8)) 
          drop-shadow(0 0 15px rgba(124, 77, 255, 0.6))
          drop-shadow(0 0 25px rgba(0, 229, 255, 0.4));
}

@keyframes neonPulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.8)) 
            drop-shadow(0 0 15px rgba(124, 77, 255, 0.6))
            drop-shadow(0 0 25px rgba(0, 229, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 1)) 
            drop-shadow(0 0 30px rgba(124, 77, 255, 0.9))
            drop-shadow(0 0 45px rgba(0, 229, 255, 0.7))
            drop-shadow(0 0 60px rgba(124, 77, 255, 0.5));
  }
}

@keyframes shimmer {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.brand-sub {
  font-size: 12px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 
               0 0 20px rgba(0, 229, 255, 0.3);
  opacity: 0.9;
}

.nav {
  display: flex;
  gap: 8px;
  flex: 1;
}

.nav a {
  padding: 8px 16px;
  color: #aab6d6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: fadeIn 0.6s ease-out both;
}

.nav a:nth-child(1) { animation-delay: 0.3s; }
.nav a:nth-child(2) { animation-delay: 0.4s; }
.nav a:nth-child(3) { animation-delay: 0.5s; }
.nav a:nth-child(4) { animation-delay: 0.6s; }

.nav a:hover {
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.08);
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
  transform: translateY(-2px);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e5ff, #7c4dff, #00ff9d);
  box-shadow: 0 0 10px currentColor;
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover::after {
  width: 85%;
}

.actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(0, 229, 255, 0.4);
  cursor: pointer;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.35), rgba(124, 77, 255, 0.35));
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
  letter-spacing: 0.5px;
  animation: fadeIn 0.6s ease-out 0.7s both;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.5), rgba(124, 77, 255, 0.5));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.6), 0 0 80px rgba(124, 77, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: #00e5ff;
}

.btn:hover::after {
  opacity: 1;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn.ghost {
  background: rgba(5, 6, 10, 0.6);
  border: 1px solid rgba(124, 77, 255, 0.4);
  color: #7c4dff;
  box-shadow: 0 0 15px rgba(124, 77, 255, 0.2);
  animation-delay: 0.75s;
}

.btn.ghost::after {
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.3), rgba(168, 85, 247, 0.3));
}

.btn.ghost:hover {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.15);
  box-shadow: 0 0 35px rgba(124, 77, 255, 0.5), 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #a78bfa;
}

.btn.big {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-secondary {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary::before {
  background: var(--bg-secondary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 229, 255, 0.3);
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  border-color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #00e5ff;
  border-radius: 2px;
  transition: all 0.3s;
  box-shadow: 0 0 5px rgba(0, 229, 255, 0.5);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 20px 24px;
  gap: 12px;
  background: rgba(5, 6, 10, 0.95);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  backdrop-filter: blur(20px);
  animation: slideDown 0.3s ease-out;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px;
  color: #aab6d6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
}

.mobile-nav a:hover {
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.mobile-actions .btn {
  width: 100%;
  justify-content: center;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 255, 157, 0.12);
  border: 1px solid rgba(0, 255, 157, 0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #00ff9d;
  width: fit-content;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.grad {
  background: linear-gradient(135deg, #00e5ff, #6366f1, #8b5cf6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.stat {
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.stat:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 60px rgba(139, 92, 246, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
}

.stat-k {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.stat-v {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.glass {
  background: rgba(26, 26, 36, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.frame {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  border: none;
  background: transparent;
}

.frame-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
}

.frame-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.mitu-3d-container {
  width: 100%;
  height: 500px;
  position: relative;
  z-index: 1;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mitu-3d-container:active {
  cursor: grabbing;
}

.mitu-3d-container canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.mini:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.5), 0 0 50px rgba(139, 92, 246, 0.3);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
}

.mini-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a855f7;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge.ok {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge.neon {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.section h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
  background: linear-gradient(135deg, #00e5ff, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.4));
}

.section p {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-head p {
  margin-bottom: 0;
}

.neon-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.neon-status {
  text-align: center;
  padding: 24px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #00ff9d;
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.neon-status:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 40px rgba(0, 255, 157, 0.6), 0 0 80px rgba(0, 255, 157, 0.4);
  background: rgba(0, 255, 157, 0.15);
  color: #00ffaa;
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.8);
}

.neon-status::after {
  content: "ONLINE";
  display: block;
  font-size: 11px;
  margin-top: 8px;
  color: var(--text-muted);
  font-weight: 600;
}

.neon-status::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse 2s infinite;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Xiaomi Models Section */
.models-search-box {
  margin-bottom: 32px;
  text-align: center;
}

.search-input {
  width: 100%;
  max-width: 600px;
  padding: 18px 24px;
  font-size: 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  background: linear-gradient(145deg, rgba(13, 19, 36, 0.85), rgba(7, 10, 20, 0.75));
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
  font-family: inherit;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.search-input:focus {
  border-color: var(--accent-primary);
  background: rgba(13, 19, 36, 0.95);
  box-shadow: 
    0 0 30px rgba(0, 229, 255, 0.35),
    0 0 15px rgba(99, 102, 241, 0.25),
    inset 0 1px 3px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.search-input::placeholder {
  color: rgba(170, 182, 214, 0.5);
}

.search-stats {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

.search-stats span {
  color: var(--accent-primary);
  font-weight: 800;
  font-size: 18px;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.model-card {
  padding: 28px;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.2);
  position: relative;
  overflow: hidden;
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00e5ff, #6366f1, #8b5cf6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.model-card:hover::before {
  transform: scaleX(1);
}

.model-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 60px rgba(139, 92, 246, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
}

.model-card.hidden {
  display: none;
}

.model-series {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00e5ff, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 2px solid rgba(99, 102, 241, 0.3);
  padding-bottom: 12px;
  filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.35));
}

.model-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.model-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.08);
  border-left: 3px solid var(--accent-primary);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.model-list li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: middle;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTIgMkw0IDE0SDEyTDEyIDIyTDIwIDEwSDEyTDEyIDJaIiBmaWxsPSIjRkY2OTAwIiBmaWxsLW9wYWNpdHk9IjAuOSIvPjwvc3ZnPg==');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(255, 105, 0, 0.5));
}

.model-list li:hover {
  background: rgba(99, 102, 241, 0.18);
  transform: translateX(8px);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  color: #a855f7;
  border-left-width: 4px;
}

.model-list li.highlight {
  background: rgba(0, 229, 255, 0.2);
  border-left-color: #00e5ff;
  animation: highlight 0.5s ease;
}

@keyframes highlight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  width: 90%;
  max-width: 600px;
  padding: 36px;
  position: relative;
  animation: slideUp 0.4s ease;
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 60px rgba(99, 102, 241, 0.6), 0 0 100px rgba(139, 92, 246, 0.4);
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.modal-close:hover {
  color: #ff4d6d;
  transform: rotate(90deg);
}

.modal-header h3 {
  margin: 0 0 24px;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #00e5ff, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(99, 102, 241, 0.4));
}

.modal-body h4 {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.feature-badge {
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.10));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.feature-badge:hover::before {
  transform: translateX(100%);
}

.feature-badge:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.6);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.18));
}

.feature-badge .feature-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.feature-badge .feature-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-badge .feature-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 600;
}

/* Feature Badge Colors */
.feature-badge[data-feature="FLASH"] {
  border-color: rgba(0, 229, 255, 0.4);
}

.feature-badge[data-feature="FLASH"]:hover {
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}

.feature-badge[data-feature="FRP"] {
  border-color: rgba(139, 92, 246, 0.4);
}

.feature-badge[data-feature="FRP"]:hover {
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
}

.feature-badge[data-feature="FDL"] {
  border-color: rgba(0, 255, 157, 0.4);
}

.feature-badge[data-feature="FDL"]:hover {
  box-shadow: 0 0 25px rgba(0, 255, 157, 0.6);
}

.feature-badge[data-feature="QCOM"],
.feature-badge[data-feature="MTK"] {
  border-color: rgba(255, 107, 107, 0.4);
}

.feature-badge[data-feature="QCOM"]:hover,
.feature-badge[data-feature="MTK"]:hover {
  box-shadow: 0 0 25px rgba(255, 107, 107, 0.6);
}

.models-note {
  padding: 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid var(--accent-primary);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.25);
}

.models-note p {
  font-size: 16px;
  color: var(--text-primary);
  margin: 0;
  font-weight: 600;
}

.models-note strong {
  color: var(--accent-primary);
  font-weight: 800;
}


.card {
  padding: 32px;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 60px rgba(139, 92, 246, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
}

.card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.callout {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
}

.callout-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.callout-sub {
  font-size: 14px;
  color: var(--text-secondary);
}

.callout-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0;
  margin-top: 80px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-sm {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  background: transparent;
  border: none;
}

.brand-name-sm {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-sub-sm {
  font-size: 12px;
  color: var(--text-secondary);
}

.foot-muted {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-title {
    font-size: 44px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .callout {
    flex-direction: column;
    text-align: center;
  }

  .callout-actions {
    flex-direction: column;
    width: 100%;
  }

  .callout-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 12px;
  }

  .neon-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav, .actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav.active {
    display: flex;
  }

  .hero {
    padding: 48px 0 80px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 32px;
  }

  .mini-cards {
    grid-template-columns: 1fr;
  }

  .mitu-3d-container {
    height: 350px;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }

  .neon-status-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
