:root {
  --bg-dark: #070913;
  --bg-card: rgba(22, 28, 45, 0.6);
  --bg-card-hover: rgba(30, 38, 60, 0.8);
  --primary: #00d2ff;
  --secondary: #3a7bd5;
  --accent: #ff416c;
  --text-main: #f8f9fa;
  --text-muted: #a0aabf;
  --border-light: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(12px);
  --green: #00e676;
  --red: #ff3d00;
  
  --font-base: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography & Utilities */
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(7, 9, 19, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.logo-icon {
  color: var(--primary);
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  padding: 8px 18px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; left: -100px;
}

.orb-2 {
  width: 500px; height: 500px;
  background: var(--secondary);
  bottom: -100px; right: -100px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
  opacity: 0.2;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 30px;
  color: var(--primary);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.hero-subtitle strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn svg {
  width: 20px; height: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 210, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-light);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Stats Section */
.stats-section {
  padding: 40px 0 100px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
}

.stat-card {
  text-align: center;
  border-right: 1px solid var(--border-light);
}

.stat-card:last-child {
  border-right: none;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-value .unit {
  font-size: 1.5rem;
  font-weight: 600;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Advantages Section */
.advantages {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 0%, rgba(10, 15, 30, 0.5) 0%, transparent 70%);
}

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

.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.adv-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(0, 210, 255, 0.3);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.icon-box svg {
  width: 30px;
  height: 30px;
}

.adv-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.adv-card p {
  color: var(--text-muted);
}

/* Supported Apps Section */
.supported-apps {
  padding: 100px 0;
}

.apps-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.apps-category h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s;
}

.app-item:hover {
  transform: translateY(-5px);
}

.app-item:hover .app-icon {
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.3);
}

.app-icon {
  width: 70px; height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s;
}

.app-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mock Colors for Apps to look vibrant without images */
.a-mijia { background: linear-gradient(135deg, #00C9A7, #00A68A); }
.a-roborock { background: linear-gradient(135deg, #FF4136, #C0392B); }
.a-ecovacs { background: linear-gradient(135deg, #0984E3, #0652DD); }
.a-dreame { background: linear-gradient(135deg, #2C3A47, #1E272E); }
.a-petkit { background: linear-gradient(135deg, #FF9FF3, #F368E0); }
.a-dji { background: linear-gradient(135deg, #D1D8E0, #A5B1C2); color: #333;}
.a-loock { background: linear-gradient(135deg, #FD9644, #FA8231); }
.a-smart { background: linear-gradient(135deg, #8A2387, #E94057, #F27121); }

.a-tencent { background: linear-gradient(135deg, #FFC312, #F79F1F); }
.a-iqiyi { background: linear-gradient(135deg, #A3CB38, #009432); }
.a-mango { background: linear-gradient(135deg, #ff7f50, #ff6348); }
.a-youku { background: linear-gradient(135deg, #12CBC4, #1289A7); }
.a-music { background: linear-gradient(135deg, #FFDF73, #FFD32A); color: #222;}
.a-wangyi { background: linear-gradient(135deg, #EA2027, #EE5A24); }
.a-bili { background: linear-gradient(135deg, #FDA7DF, #D980FA); }
.a-other { background: rgba(255,255,255,0.05); }

/* Compare Section */
.compare-section {
  padding: 100px 0;
  position: relative;
}

.compare-table-wrapper {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 24px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.compare-table th {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(0,0,0,0.2);
}

.compare-table .highlight-col {
  color: var(--primary);
  background: rgba(0, 210, 255, 0.05);
  font-weight: 700;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td.dim-td {
  color: var(--text-muted);
  font-weight: 600;
  width: 15%;
}

.compare-table td:nth-child(2) {
  background: rgba(0, 210, 255, 0.02);
  width: 45%;
  font-size: 1.05rem;
}

.compare-table td:nth-child(2) strong {
  color: var(--green);
  display: block;
  margin-bottom: 5px;
  font-size: 1.15rem;
}

.compare-table td.bad-td {
  color: var(--text-muted);
  width: 40%;
}

.compare-table td.bad-td::first-line {
  color: var(--red);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  padding: 120px 0;
  position: relative;
}

.contact-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(0,210,255,0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.contact-card {
  background: linear-gradient(180deg, rgba(30, 38, 60, 0.8) 0%, rgba(10, 15, 30, 0.9) 100%);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.contact-card h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 60px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.c-method {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px 20px;
  transition: all 0.3s;
}

.c-method.active, .c-method:hover {
  background: rgba(0, 210, 255, 0.05);
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-10px);
}

.c-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.c-icon.wechat { background: #07c160; }
.c-icon.whatsapp { background: #25D366; }
.c-icon.taobao { background: #ff5000; }

.c-method h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.c-qr-placeholder {
  width: 200px; height: 200px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  border: 2px dashed #ccc;
}

.c-method span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.disclaimer {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 10px;
}

/* Micro Animations & Media Queries */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 20px;}
  .stat-card { border-bottom: 1px solid var(--border-light); padding: 20px 0;}
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(3), .stat-card:nth-child(4) { border-bottom: none; }
  .app-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-methods { grid-template-columns: repeat(1, 1fr); max-width: 400px; margin: 0 auto;}
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.5rem; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .compare-table th, .compare-table td { padding: 15px; }
  .compare-table td.dim-td { display: none; }
}
