/* Base & Reset */
:root {
  --bg-color: #0b0f19;
  --bg-color-alt: #121827;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-1: #00f2fe;
  --accent-2: #4facfe;
  --accent-3: #ff416c;
  --accent-4: #ff4b2b;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(11, 15, 25, 0.7);
  --font-sans: 'Inter', 'Noto Sans SC', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: 100px 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-3));
  margin: 16px auto 24px;
  border-radius: 2px;
}

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

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

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

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-1);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.lang-switcher button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switcher button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  overflow: hidden;
}

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

.blob {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 20s infinite ease-in-out alternate;
}

.blob1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--accent-2);
  animation-delay: 0s;
}

.blob2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--accent-3);
  animation-delay: -5s;
}

.blob3 {
  top: 40%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background: #6a11cb;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, 10%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  animation: fadeUp 1s ease-out;
}

.hero .title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-1), #b224ef, var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 24px;
  animation: fadeUp 1s ease-out 0.4s backwards;
}

.hero .desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeUp 1s ease-out 0.6s backwards;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #000;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: var(--transition);
  animation: fadeUp 1s ease-out 0.8s backwards;
}

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

.arrow-icon {
  transition: transform 0.3s ease;
}

.cta-btn:hover .arrow-icon {
  transform: translateX(4px);
}

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

/* About Section */
.about {
  background-color: var(--bg-color-alt);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-box:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--accent-3);
}

.stat-box h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.stat-box p {
  color: var(--text-muted);
}

/* Products Section */
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.card {
  position: relative;
  background: var(--bg-color-alt);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  transition: var(--transition);
  overflow: hidden;
  z-index: 1;
}

.card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover .card-glow {
  opacity: 1;
}

.icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.wrap-rg {
  box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.1);
}

.wrap-tc {
  box-shadow: inset 0 0 20px rgba(255, 65, 108, 0.1);
}

.card h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

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

.tag-row span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  background: var(--bg-color);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-links p {
  color: var(--text-muted);
}

.beian-info {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.beian-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.beian-link:hover {
  color: var(--text-main);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Scroll Animation (Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile nav hide for purely demo purpose */
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
