:root {
  --primary-neon: #6366f1;
  --secondary-neon: #06b6d4;
  --accent-pink: #ec4899;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-sub: #475569;
  --border-color: rgba(99, 102, 241, 0.15);
  --shadow-neon: 0 10px 25px -5px rgba(6, 182, 212, 0.15), 0 8px 10px -6px rgba(99, 102, 241, 0.1);
  --radius-lg: 16px;
  --radius-md: 10px;
  --container-max: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

/* Background Atmosphere Glows */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 800px;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

/* Section Common Styles */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

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

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-neon);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-sub);
  max-width: 700px;
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.ai-page-home-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.ai-page-home-link:hover {
  color: var(--primary-neon);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 0; /* Strictly set gap to 0 per system rule */
  list-style: none;
  align-items: center;
}

.nav-links li a {
  display: block;
  padding: 8px 14px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.nav-links li a:hover {
  color: var(--primary-neon);
  background: rgba(99, 102, 241, 0.05);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-neon {
  background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary-neon);
  color: var(--primary-neon);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

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

/* Hero Section (No Images Allowed) */
.hero-section {
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 30px;
  font-size: 0.88rem;
  color: var(--secondary-neon);
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.1);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-sub);
  max-width: 820px;
  margin: 0 auto 35px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 55px;
  flex-wrap: wrap;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-neon);
}

.metric-item h4 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-neon);
  margin-bottom: 4px;
}

.metric-item p {
  font-size: 0.88rem;
  color: var(--text-sub);
}

/* Cards & Layout Shared */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
  border-color: rgba(6, 182, 212, 0.4);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-neon);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-sub);
}

/* Model Chips Tag Cloud */
.models-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.model-chip {
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.model-chip:hover {
  border-color: var(--secondary-neon);
  color: var(--secondary-neon);
  transform: scale(1.05);
}

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

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 15px;
}

/* Comparison Table Section */
.comparison-table-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-neon);
}

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

.comp-table th, .comp-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.comp-table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text-main);
}

.comp-highlight {
  background: rgba(99, 102, 241, 0.03);
  font-weight: 700;
  color: var(--primary-neon);
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fdba74;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  color: #c2410c;
  margin-bottom: 20px;
}

/* Content & Media Showcase */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.media-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.media-card-body {
  padding: 20px;
}

.ai-page-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

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

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-question {
  padding: 20px 25px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary-neon);
  transition: transform 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #f8fafc;
  color: var(--text-sub);
  font-size: 0.94rem;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 25px 20px;
}

/* Contact & Form Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-neon);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary-neon);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

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

.qr-box {
  text-align: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
}

.qr-box img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 8px;
}

/* Articles List Links */
.article-links-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-list li a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-list li a:hover {
  color: var(--primary-neon);
}

.article-list li a::before {
  content: "•";
  color: var(--secondary-neon);
  font-size: 1.4rem;
}

/* Footer Section */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid #1e293b;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
}

.friend-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.friend-links a:hover {
  color: var(--secondary-neon);
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
}

/* Floating Contact Widget */
.floating-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-neon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.float-btn:hover {
  transform: scale(1.1);
}

/* Responsive Rules */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}