/* ========== CSS RESET & BASE ========== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:#0a0e1a;
  color:#e0e0e0;
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
img{max-width:100%;display:block}
button{cursor:pointer;border:none;outline:none;font-family:inherit}

/* ========== CUSTOM PROPERTIES ========== */
:root{
  --primary:#00d4ff;
  --primary-dark:#0099cc;
  --secondary:#7b2dff;
  --accent:#ff3c7d;
  --bg-dark:#0a0e1a;
  --bg-card:rgba(15,22,42,0.85);
  --bg-card-hover:rgba(20,30,55,0.95);
  --border:rgba(0,212,255,0.15);
  --border-hover:rgba(0,212,255,0.4);
  --text-main:#e8edf5;
  --text-muted:#8a9bb8;
  --text-bright:#ffffff;
  --glow:0 0 20px rgba(0,212,255,0.3);
  --glow-strong:0 0 40px rgba(0,212,255,0.5), 0 0 80px rgba(0,212,255,0.2);
  --radius:12px;
  --radius-lg:20px;
  --transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(40px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(0,212,255,0.4)}
  50%{box-shadow:0 0 0 15px rgba(0,212,255,0)}
}
@keyframes shimmer{
  0%{background-position:-200% center}
  100%{background-position:200% center}
}
@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
@keyframes gradientMove{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@keyframes borderGlow{
  0%,100%{border-color:rgba(0,212,255,0.2)}
  50%{border-color:rgba(0,212,255,0.6)}
}

/* ========== LAYOUT HELPERS ========== */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}
.section{
  padding:80px 0;
  position:relative;
}
.section-title{
  text-align:center;
  margin-bottom:60px;
}
.section-title h2{
  font-size:clamp(1.8rem,4vw,2.8rem);
  font-weight:800;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-bottom:12px;
  letter-spacing:2px;
}
.section-title p{
  color:var(--text-muted);
  font-size:1.1rem;
}
.section-title .line{
  width:60px;
  height:3px;
  background:linear-gradient(90deg,var(--primary),var(--secondary));
  margin:15px auto 0;
  border-radius:2px;
}

/* ========== TOP BAR ========== */
.top-bar{
  background:rgba(8,12,25,0.95);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  transition:var(--transition);
}
.top-bar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:70px;
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:1.4rem;
  font-weight:800;
  color:var(--text-bright);
}
.logo-icon{
  width:40px;height:40px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;
  box-shadow:var(--glow);
}
.nav-links{
  display:flex;
  gap:8px;
}
.nav-links a{
  padding:8px 18px;
  border-radius:8px;
  font-size:0.9rem;
  font-weight:500;
  color:var(--text-muted);
  transition:var(--transition);
  position:relative;
}
.nav-links a:hover,
.nav-links a.active{
  color:var(--primary);
  background:rgba(0,212,255,0.08);
}
.nav-links a.active::after{
  content:'';
  position:absolute;
  bottom:0;left:50%;transform:translateX(-50%);
  width:20px;height:2px;
  background:var(--primary);
  border-radius:1px;
}
.mobile-menu-btn{
  display:none;
  width:36px;height:36px;
  background:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  padding:0;
}
.mobile-menu-btn span{
  display:block;
  width:22px;height:2px;
  background:var(--text-main);
  border-radius:2px;
  transition:var(--transition);
}

/* ========== HERO ========== */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  padding-top:70px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,212,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(123,45,255,0.08) 0%, transparent 50%),
    var(--bg-dark);
}
.hero::before{
  content:'';
  position:absolute;
  top:-50%;left:-50%;
  width:200%;height:200%;
  background:conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0,212,255,0.02) 60deg, transparent 120deg, rgba(123,45,255,0.02) 180deg, transparent 240deg, rgba(0,212,255,0.02) 300deg, transparent 360deg);
  animation:gradientMove 20s linear infinite;
}
.hero-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
}
.hero .container{
  position:relative;
  z-index:2;
  text-align:center;
  animation:fadeInUp 1s ease-out;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 20px;
  background:rgba(0,212,255,0.08);
  border:1px solid rgba(0,212,255,0.25);
  border-radius:50px;
  font-size:0.85rem;
  color:var(--primary);
  margin-bottom:30px;
  animation:borderGlow 3s ease-in-out infinite;
}
.hero-badge .dot{
  width:8px;height:8px;
  background:var(--primary);
  border-radius:50%;
  animation:pulse 2s ease-in-out infinite;
}
.hero h1{
  font-size:clamp(2.5rem,7vw,5rem);
  font-weight:900;
  color:var(--text-bright);
  line-height:1.15;
  margin-bottom:20px;
  letter-spacing:3px;
}
.hero h1 .gradient-text{
  background:linear-gradient(135deg,var(--primary),var(--secondary),var(--accent));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  background-size:200% auto;
  animation:shimmer 4s linear infinite;
}
.hero-sub{
  font-size:clamp(1rem,2.5vw,1.35rem);
  color:var(--text-muted);
  max-width:700px;
  margin:0 auto 40px;
  line-height:1.8;
}
.hero-buttons{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:50px;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 36px;
  border-radius:12px;
  font-size:1rem;
  font-weight:700;
  transition:var(--transition);
  letter-spacing:1px;
}
.btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  box-shadow:0 4px 25px rgba(0,212,255,0.35);
}
.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 40px rgba(0,212,255,0.5);
}
.btn-outline{
  background:transparent;
  color:var(--primary);
  border:1.5px solid rgba(0,212,255,0.35);
}
.btn-outline:hover{
  background:rgba(0,212,255,0.08);
  border-color:var(--primary);
  transform:translateY(-3px);
}
.hero-stats{
  display:flex;
  justify-content:center;
  gap:50px;
  flex-wrap:wrap;
}
.hero-stat{
  text-align:center;
}
.hero-stat .num{
  font-size:2rem;
  font-weight:900;
  color:var(--primary);
}
.hero-stat .label{
  font-size:0.85rem;
  color:var(--text-muted);
  margin-top:4px;
}

/* ========== MAIN IMAGE SHOWCASE ========== */
.showcase{
  background:
    radial-gradient(ellipse 50% 40% at 30% 60%, rgba(123,45,255,0.06) 0%, transparent 60%),
    var(--bg-dark);
}
.showcase-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.showcase-card{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--bg-card);
  transition:var(--transition);
  animation:fadeInUp 0.8s ease-out both;
}
.showcase-card:nth-child(1){animation-delay:0.1s}
.showcase-card:nth-child(2){animation-delay:0.25s}
.showcase-card:nth-child(3){animation-delay:0.4s}
.showcase-card:hover{
  border-color:var(--border-hover);
  transform:translateY(-8px);
  box-shadow:var(--glow-strong);
}
.showcase-img{
  width:100%;
  aspect-ratio:16/10;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:3rem;
  position:relative;
  overflow:hidden;
}
.showcase-img.img1{
  background:linear-gradient(135deg,#0f2027,#203a43,#2c5364);
}
.showcase-img.img2{
  background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460);
}
.showcase-img.img3{
  background:linear-gradient(135deg,#0d0d0d,#1a1a2e,#2d132c);
}
.showcase-img .overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display:flex;
  align-items:flex-end;
  padding:24px;
}
.showcase-img .overlay span{
  font-size:0.9rem;
  color:var(--text-bright);
  font-weight:600;
  background:rgba(0,0,0,0.5);
  padding:6px 14px;
  border-radius:8px;
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.1);
}
.showcase-card .card-body{
  padding:24px;
}
.showcase-card .card-body h3{
  font-size:1.15rem;
  color:var(--text-bright);
  margin-bottom:8px;
}
.showcase-card .card-body p{
  font-size:0.9rem;
  color:var(--text-muted);
  line-height:1.7;
}

/* ========== FEATURES ========== */
.features{
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(0,212,255,0.04) 0%, transparent 60%),
    var(--bg-dark);
}
.features-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
}
.feature-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px 28px;
  transition:var(--transition);
  position:relative;
  overflow:hidden;
  animation:fadeInUp 0.6s ease-out both;
}
.feature-card:nth-child(1){animation-delay:0.05s}
.feature-card:nth-child(2){animation-delay:0.15s}
.feature-card:nth-child(3){animation-delay:0.25s}
.feature-card:nth-child(4){animation-delay:0.35s}
.feature-card:nth-child(5){animation-delay:0.45s}
.feature-card:nth-child(6){animation-delay:0.55s}
.feature-card::before{
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:3px;
  background:linear-gradient(90deg,var(--primary),var(--secondary));
  opacity:0;
  transition:var(--transition);
}
.feature-card:hover{
  border-color:var(--border-hover);
  transform:translateY(-6px);
  box-shadow:var(--glow);
  background:var(--bg-card-hover);
}
.feature-card:hover::before{opacity:1}
.feature-icon{
  width:56px;height:56px;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-size:1.5rem;
  margin-bottom:20px;
  background:linear-gradient(135deg,rgba(0,212,255,0.12),rgba(123,45,255,0.12));
  border:1px solid rgba(0,212,255,0.15);
}
.feature-card h3{
  font-size:1.15rem;
  color:var(--text-bright);
  margin-bottom:10px;
  font-weight:700;
}
.feature-card p{
  font-size:0.9rem;
  color:var(--text-muted);
  line-height:1.7;
}

/* ========== DOWNLOAD SECTION ========== */
.download{
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,212,255,0.06) 0%, transparent 60%),
    var(--bg-dark);
  text-align:center;
}
.download-box{
  max-width:700px;
  margin:0 auto;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:50px 40px;
  position:relative;
  overflow:hidden;
}
.download-box::before{
  content:'';
  position:absolute;
  top:-50%;left:-50%;
  width:200%;height:200%;
  background:conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0,212,255,0.03) 90deg, transparent 180deg, rgba(123,45,255,0.03) 270deg, transparent 360deg);
  animation:gradientMove 15s linear infinite;
}
.download-box > *{position:relative;z-index:2}
.download-icon{
  width:80px;height:80px;
  margin:0 auto 24px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  border-radius:20px;
  display:flex;align-items:center;justify-content:center;
  font-size:2.2rem;
  box-shadow:var(--glow-strong);
  animation:float 3s ease-in-out infinite;
}
.download h2{
  font-size:clamp(1.5rem,3.5vw,2.2rem);
  color:var(--text-bright);
  margin-bottom:12px;
}
.download p{
  color:var(--text-muted);
  margin-bottom:30px;
  font-size:1rem;
}
.btn-download{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:16px 48px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  font-size:1.15rem;
  font-weight:800;
  border-radius:14px;
  box-shadow:0 6px 30px rgba(0,212,255,0.4);
  transition:var(--transition);
  letter-spacing:2px;
}
.btn-download:hover{
  transform:translateY(-4px) scale(1.03);
  box-shadow:0 12px 50px rgba(0,212,255,0.6);
}
.btn-download .arrow{
  font-size:1.3rem;
  transition:var(--transition);
}
.btn-download:hover .arrow{
  transform:translateX(4px);
}
.version-info{
  margin-top:20px;
  font-size:0.85rem;
  color:var(--text-muted);
}

/* ========== DEPLOYMENT GUIDE ========== */
.deploy{
  background:var(--bg-dark);
}
.deploy-steps{
  max-width:800px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.deploy-step{
  display:flex;
  gap:24px;
  align-items:flex-start;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:28px;
  transition:var(--transition);
  animation:fadeInUp 0.6s ease-out both;
}
.deploy-step:nth-child(1){animation-delay:0.1s}
.deploy-step:nth-child(2){animation-delay:0.2s}
.deploy-step:nth-child(3){animation-delay:0.3s}
.deploy-step:nth-child(4){animation-delay:0.4s}
.deploy-step:nth-child(5){animation-delay:0.5s}
.deploy-step:hover{
  border-color:var(--border-hover);
  box-shadow:var(--glow);
}
.step-num{
  flex-shrink:0;
  width:48px;height:48px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;
  font-weight:900;
  color:#fff;
  box-shadow:0 4px 15px rgba(0,212,255,0.3);
}
.step-content h4{
  color:var(--text-bright);
  font-size:1.1rem;
  margin-bottom:6px;
}
.step-content p{
  color:var(--text-muted);
  font-size:0.9rem;
  line-height:1.7;
}
.step-content code{
  display:inline-block;
  background:rgba(0,212,255,0.08);
  border:1px solid rgba(0,212,255,0.15);
  border-radius:6px;
  padding:2px 10px;
  font-size:0.85rem;
  color:var(--primary);
  font-family:"Courier New",monospace;
  margin-top:6px;
}

/* ========== FAQ ========== */
.faq{
  background:
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(123,45,255,0.05) 0%, transparent 60%),
    var(--bg-dark);
}
.faq-list{
  max-width:850px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.faq-item{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  transition:var(--transition);
  animation:fadeInUp 0.5s ease-out both;
}
.faq-item:nth-child(1){animation-delay:0.05s}
.faq-item:nth-child(2){animation-delay:0.15s}
.faq-item:nth-child(3){animation-delay:0.25s}
.faq-item:nth-child(4){animation-delay:0.35s}
.faq-item:nth-child(5){animation-delay:0.45s}
.faq-item:nth-child(6){animation-delay:0.55s}
.faq-item:hover{
  border-color:var(--border-hover);
}
.faq-q{
  padding:22px 28px;
  display:flex;
  align-items:center;
  gap:16px;
  cursor:default;
}
.faq-q .q-icon{
  width:36px;height:36px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
  color:#fff;
  font-size:0.9rem;
  flex-shrink:0;
}
.faq-q h4{
  font-size:1rem;
  color:var(--text-bright);
  font-weight:600;
}
.faq-a{
  padding:0 28px 22px 80px;
  color:var(--text-muted);
  font-size:0.9rem;
  line-height:1.8;
}

/* ========== BOTTOM PARAMS ========== */
.params{
  background:var(--bg-dark);
}
.params-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}
.param-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  text-align:center;
  transition:var(--transition);
  animation:fadeInUp 0.5s ease-out both;
}
.param-card:nth-child(1){animation-delay:0.05s}
.param-card:nth-child(2){animation-delay:0.15s}
.param-card:nth-child(3){animation-delay:0.25s}
.param-card:nth-child(4){animation-delay:0.35s}
.param-card:nth-child(5){animation-delay:0.45s}
.param-card:nth-child(6){animation-delay:0.55s}
.param-card:hover{
  border-color:var(--border-hover);
  transform:translateY(-4px);
  box-shadow:var(--glow);
}
.param-card .param-icon{
  font-size:2rem;
  margin-bottom:12px;
}
.param-card h4{
  color:var(--text-bright);
  font-size:0.95rem;
  margin-bottom:6px;
}
.param-card p{
  color:var(--text-muted);
  font-size:0.85rem;
}

/* ========== FOOTER ========== */
.footer{
  background:rgba(6,9,18,0.98);
  border-top:1px solid var(--border);
  padding:50px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:40px;
  margin-bottom:40px;
}
.footer-brand .logo{
  margin-bottom:16px;
}
.footer-brand p{
  color:var(--text-muted);
  font-size:0.9rem;
  line-height:1.7;
}
.footer-col h4{
  color:var(--text-bright);
  font-size:0.95rem;
  margin-bottom:14px;
  font-weight:700;
}
.footer-col ul li{
  margin-bottom:8px;
}
.footer-col ul li a{
  color:var(--text-muted);
  font-size:0.9rem;
  transition:var(--transition);
}
.footer-col ul li a:hover{color:var(--primary)}
.footer-bottom{
  border-top:1px solid var(--border);
  padding-top:24px;
  text-align:center;
  color:var(--text-muted);
  font-size:0.85rem;
}
.footer-bottom a{color:var(--primary);transition:var(--transition)}
.footer-bottom a:hover{text-decoration:underline}

/* ========== RESPONSIVE ========== */
@media(max-width:900px){
  .showcase-grid{grid-template-columns:1fr}
  .hero-stats{gap:30px}
  .nav-links{display:none}
  .mobile-menu-btn{display:flex}
  .section{padding:60px 0}
  .download-box{padding:40px 24px}
  .deploy-step{flex-direction:column;gap:16px}
  .faq-a{padding-left:28px}
}
@media(max-width:480px){
  .hero h1{letter-spacing:1px}
  .hero-buttons{flex-direction:column;align-items:center}
  .btn{padding:12px 28px;font-size:0.95rem}
  .hero-stats{gap:20px}
  .hero-stat .num{font-size:1.5rem}
  .feature-card{padding:24px 20px}
  .footer-grid{gap:30px}
}

/* ========== MOBILE NAV OVERLAY ========== */
.mobile-nav{
  display:none;
  position:fixed;
  inset:0;
  z-index:999;
  background:rgba(6,9,18,0.98);
  backdrop-filter:blur(20px);
  padding:100px 30px 40px;
}
.mobile-nav.active{display:flex;flex-direction:column;align-items:center;gap:10px;animation:fadeIn 0.3s ease-out}
.mobile-nav a{
  display:block;
  width:100%;
  text-align:center;
  padding:14px;
  font-size:1.1rem;
  color:var(--text-muted);
  border-radius:12px;
  transition:var(--transition);
}
.mobile-nav a:hover{color:var(--primary);background:rgba(0,212,255,0.06)}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar{width:8px}
::-webkit-scrollbar-track{background:var(--bg-dark)}
::-webkit-scrollbar-thumb{background:rgba(0,212,255,0.2);border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:rgba(0,212,255,0.4)}

/* ========== SELECTION ========== */
::selection{background:rgba(0,212,255,0.25);color:#fff}