:root {
  --bg-main: #070b19;
  --bg-card: rgba(18, 26, 53, 0.75);
  --bg-card-hover: rgba(26, 38, 77, 0.9);
  --border-neon: rgba(0, 240, 255, 0.25);
  --border-neon-hover: rgba(0, 240, 255, 0.7);
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff007f;
  --neon-purple: #8a2be2;
  --neon-lime: #39ff14;
  --text-primary: #f0f4ff;
  --text-secondary: #9aa8cd;
  --text-muted: #62729a;
  --max-width: 1240px;
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-base);
  color: var(--text-primary);
  background: radial-gradient(circle at 50% 0%, #151d3b 0%, #070b19 70%);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.site-container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--neon-cyan);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 25, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap .ai-page-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: 4px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #070b19;
  background: linear-gradient(135deg, var(--neon-cyan), #00a8ff);
  border: 1px solid var(--neon-cyan);
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-neon:hover {
  color: #070b19;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.8);
  transform: translateY(-2px);
  text-shadow: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--neon-cyan);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.15);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section (No Images as per rule) */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid rgba(255, 0, 127, 0.4);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #ff52a4;
  margin-bottom: 24px;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--neon-magenta);
  box-shadow: 0 0 8px var(--neon-magenta);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 30%, var(--neon-cyan) 80%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 12px;
  padding: 24px 16px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-cyan);
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Common Section */
.section-wrap {
  padding: 70px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-subhead {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  margin-bottom: 8px;
  font-weight: 700;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* Card & Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

.card-neon {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
}

.card-neon:hover {
  background: var(--bg-card-hover);
  border-color: var(--neon-cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.15);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--neon-cyan);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Support Models Pills */
.model-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.model-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.model-pill:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

/* Comparison Table */
.table-responsive {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-neon);
  background: var(--bg-card);
}

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

.custom-table th,
.custom-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.custom-table th {
  background: rgba(0, 240, 255, 0.08);
  color: var(--neon-cyan);
  font-weight: 700;
}

.custom-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.highlight-row td {
  color: #fff;
  font-weight: 600;
}

.score-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(57, 255, 20, 0.15);
  border: 1px solid var(--neon-lime);
  color: var(--neon-lime);
  border-radius: 4px;
  font-weight: 700;
}

/* Steps Timeline */
.step-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-box {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--neon-cyan);
  color: #070b19;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 12px var(--neon-cyan);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.active {
  border-color: var(--neon-cyan);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  user-select: none;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--neon-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Testimonials */
.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.testi-info h4 {
  font-size: 1rem;
  color: #fff;
}

.testi-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Gallery & Media Area */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.media-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-neon);
  background: var(--bg-card);
  transition: transform 0.3s ease;
}

.media-item:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
}

.media-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-desc {
  padding: 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Form Area */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 16px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(7, 11, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-control:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Contact & QR */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.qr-box {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-box img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  margin-bottom: 14px;
  border: 2px solid var(--neon-cyan);
}

/* Article links & Friend links */
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-tag {
  display: inline-flex;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.link-tag:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

/* Footer */
.site-footer {
  background: #040711;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  margin-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--neon-cyan);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Floating Tools */
.float-bar {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 26, 53, 0.9);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.float-btn:hover {
  background: var(--neon-cyan);
  color: #070b19;
  box-shadow: 0 0 16px var(--neon-cyan);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4, .step-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3, .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .grid-2, .grid-3, .grid-4, .step-container, .media-grid, .contact-container, .footer-top {
    grid-template-columns: 1fr;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #070b19;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-neon);
  }
  .nav-links.active {
    display: flex;
  }
  .form-card {
    padding: 24px 16px;
  }
}