:root {
  --bg-dark: #1a0b2e;
  --bg-card: rgba(45, 20, 75, 0.6);
  --primary: #a855f7;
  --accent: #d946ef;
  --cyan: #22d3ee;
  --text-main: #f3e8ff;
  --text-sub: #c4b5fd;
  --border: rgba(168, 85, 247, 0.2);
  --transition: all 0.3s ease-out;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(217, 70, 239, 0.1) 0%, transparent 40%),
    radial-gradient(1px 1px at 10% 10%, #fff 100%, transparent),
    radial-gradient(1px 1px at 20% 40%, #fff 100%, transparent),
    radial-gradient(1px 1px at 40% 70%, #fff 100%, transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, #d946ef 100%, transparent),
    radial-gradient(1px 1px at 90% 80%, #fff 100%, transparent),
    radial-gradient(2px 2px at 50% 90%, #a855f7 100%, transparent),
    radial-gradient(1px 1px at 30% 80%, #fff 100%, transparent),
    radial-gradient(1.5px 1.5px at 80% 60%, #22d3ee 100%, transparent);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Header */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}
.nav-capsule {
  margin-top: 20px;
  background: rgba(26, 11, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1024px;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
  transition: var(--transition);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.1rem; }
.nav-logo img { height: 32px; object-fit: contain; }
.nav-links { display: flex; gap: 24px; font-size: 0.95rem; }
.nav-links a { color: var(--text-sub); transition: var(--transition); }
.nav-links a:hover { color: var(--cyan); text-shadow: 0 0 8px rgba(34, 211, 238, 0.5); }
.btn-download {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 80px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 30px;
}
.hero-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.tag-pill {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--primary);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-cta { display: flex; gap: 16px; }
.btn-primary, .btn-outline {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-main);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}
.planet-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 60%);
  border-radius: 50%;
  animation: pulse 4s infinite alternate;
}
.planet-main {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #2d1475, #1a0b2e);
  border-radius: 50%;
  box-shadow: inset -20px -20px 40px rgba(0,0,0,0.6), 0 0 40px rgba(168, 85, 247, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.play-btn {
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 40px solid var(--cyan);
  margin-left: 10px;
  filter: drop-shadow(0 0 10px var(--cyan));
}
.float-card {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--text-sub);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.card-1 { top: 40px; left: 20px; }
.card-2 { bottom: 40px; right: 20px; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}

/* Marquee */
.marquee-section {
  background: rgba(45, 20, 75, 0.8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 15px 0;
  width: 100%;
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.marquee-content:hover { animation-play-state: paused; }
.marquee-item {
  margin: 0 30px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Core Engines */
.section-padding { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 10px;
}
.section-title p { color: var(--text-sub); }

.engines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.engine-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}
.engine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
  border-color: var(--primary);
}
.engine-header {
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--cyan));
  background-size: 200% 100%;
  transition: var(--transition);
}
.engine-card:hover .engine-header { animation: flow 1s linear infinite; }
@keyframes flow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
.engine-body { padding: 30px; }
.engine-body h3 { color: var(--cyan); margin-bottom: 15px; font-size: 1.3rem; }
.engine-list { margin-bottom: 20px; }
.engine-list li { color: var(--text-sub); margin-bottom: 10px; padding-left: 15px; position: relative; }
.engine-list li::before {
  content: "•"; color: var(--primary); position: absolute; left: 0;
}
.engine-link { color: var(--accent); font-weight: 600; display: inline-block; }
.engine-link:hover { color: #fff; }

/* Top Chart */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  gap: 15px;
  position: relative;
  transition: var(--transition);
}
.chart-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.chart-cover {
  width: 100px;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.chart-cover img { width: 100%; height: 100%; object-fit: cover; }
.chart-info { display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.chart-title { font-size: 1.05rem; font-weight: bold; color: #fff; margin-bottom: 5px; }
.chart-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-sub); margin-bottom: 10px; }
.chart-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
}
.chart-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0;
  transition: width 1s ease-out;
}
.chart-rank {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
}
.rank-up { color: var(--cyan); background: rgba(34, 211, 238, 0.1); }
.rank-down { color: var(--accent); background: rgba(217, 70, 239, 0.1); }

/* AI Interactive */
.ai-banner {
  background: linear-gradient(135deg, rgba(45, 20, 75, 0.9), rgba(26, 11, 46, 0.9));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 60px auto;
  max-width: 1200px;
}
.ai-text h3 { font-size: 1.8rem; margin-bottom: 15px; color: #fff; }
.ai-text p { color: var(--text-sub); margin-bottom: 25px; }
.ai-progress { margin-bottom: 25px; }
.progress-labels { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; font-weight: bold; }
.label-a { color: var(--accent); }
.label-b { color: var(--cyan); }
.progress-track {
  height: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex;
  overflow: hidden;
}
.p-track-a { width: 60%; background: var(--accent); }
.p-track-b { width: 40%; background: var(--cyan); }
.ai-tags { display: flex; gap: 10px; }
.ai-tags span {
  font-size: 0.8rem;
  padding: 4px 10px;
  border: 1px solid var(--primary);
  border-radius: 12px;
  color: var(--primary);
}
.ai-core-wrap { display: flex; justify-content: center; align-items: center; position: relative; }
.ai-core {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--primary), var(--accent), transparent);
  animation: spin 3s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ai-core::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  background: var(--bg-dark);
  border-radius: 50%;
}
.ai-core-btn {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--primary), var(--accent));
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 20px var(--accent);
  cursor: pointer;
  animation: pulse-btn 2s infinite alternate;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse-btn { 0% { transform: scale(0.95); } 100% { transform: scale(1.05); } }

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid var(--border);
  border-radius: 60px;
  transition: var(--transition);
  cursor: pointer;
}
.cat-node:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(217, 70, 239, 0.3);
  transform: scale(1.05);
}
.cat-node span { font-weight: 600; font-size: 1.1rem; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.feature-item {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.feature-icon { font-size: 2rem; color: var(--cyan); margin-bottom: 15px; }
.feature-item h4 { font-size: 1.2rem; margin-bottom: 10px; color: #fff; }
.feature-item p { color: var(--text-sub); font-size: 0.95rem; }
.energy-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
}
.energy-fill {
  height: 100%;
  width: 0;
  background: var(--cyan);
  transition: width 0.5s ease-out;
}
.feature-item:hover .energy-fill { width: 100%; }

/* Download Section */
.download-section {
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.dl-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  z-index: -1;
}
.download-section h2 { font-size: 2.5rem; margin-bottom: 15px; }
.download-section p { color: var(--text-sub); margin-bottom: 40px; font-size: 1.1rem; }
.dl-btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.dl-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--primary);
  padding: 15px 30px;
  border-radius: 12px;
  transition: var(--transition);
  text-align: left;
}
.dl-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.dl-btn-text { display: flex; flex-direction: column; }
.dl-btn-text span:first-child { font-size: 0.8rem; color: var(--text-sub); }
.dl-btn-text span:last-child { font-size: 1.1rem; font-weight: bold; color: #fff; }
.dl-note { margin-top: 20px; font-size: 0.85rem; color: var(--text-sub); }

/* Reviews & FAQ */
.dual-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; justify-content: center; align-items: center;
  font-weight: bold;
}
.review-stars { color: var(--accent); font-size: 0.9rem; }
.review-text { font-size: 0.95rem; color: var(--text-sub); }
.faq-item {
  border-left: 2px solid var(--border);
  padding: 10px 20px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.faq-item:hover { border-left-color: var(--accent); }
.faq-q { font-weight: bold; color: var(--primary); margin-bottom: 8px; font-size: 1.05rem; }
.faq-a { color: var(--text-sub); font-size: 0.95rem; }

/* Footer */
.site-footer {
  background: rgba(15, 5, 25, 0.9);
  border-top: 1px solid var(--border);
  padding: 60px 20px 20px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h5 { color: #fff; margin-bottom: 20px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-sub); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.footer-logo-wrap img { height: 28px; }
.footer-slogan { color: var(--text-sub); font-size: 0.9rem; margin-bottom: 20px; }
.footer-contact { font-size: 0.85rem; color: var(--primary); }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: #6b7280;
}
.footer-bottom p { margin-bottom: 5px; }
.footer-bottom a { color: #6b7280; transition: var(--transition); }
.footer-bottom a:hover { color: var(--text-sub); }

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.8rem; }
  .hero-tags, .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .engines-grid, .chart-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .engines-grid, .chart-grid, .features-grid, .dual-col { grid-template-columns: 1fr; }
  .ai-banner { grid-template-columns: 1fr; text-align: center; }
  .ai-tags { justify-content: center; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.2rem; }
}