/* ==========================================================================
   仙路湾 (Xianluwan) - Modern Super-Minimalist Design System
   ========================================================================== */

:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
  --bg-gradient: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #eff6ff 100%);
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(226, 232, 240, 0.8);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 9999px;
  --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 40px -10px rgba(99, 102, 241, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: #1e1b4b;
  letter-spacing: -0.02em;
}

.brand-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(99, 102, 241, 0.5);
  opacity: 0.95;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.btn-secondary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  border-color: #cbd5e1;
}



/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.25rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-features-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  max-width: 900px;
  margin: 0 auto;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.feature-pill svg {
  color: var(--primary);
}

/* ==========================================================================
   Section Common Styling
   ========================================================================== */
.section {
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Core Advantages (3 Cards)
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.advantage-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(99, 102, 241, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   Streaming & AI Support Cards
   ========================================================================== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.support-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.support-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  flex-shrink: 0;
}

.support-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

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

/* Specific Service Colors */
.bg-netflix { background: linear-gradient(135deg, #e50914, #b81d24); }
.bg-chatgpt { background: linear-gradient(135deg, #10a37f, #0d8a6a); }
.bg-youtube { background: linear-gradient(135deg, #ff0000, #cc0000); }
.bg-claude  { background: linear-gradient(135deg, #d97706, #b45309); }
.bg-disney  { background: linear-gradient(135deg, #113ccf, #081b74); }
.bg-midjourney { background: linear-gradient(135deg, #6366f1, #4338ca); }

/* ==========================================================================
   Pricing Table
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.18);
  transform: translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.plan-price {
  margin-bottom: 1.5rem;
}

.plan-price .currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.plan-price .amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--text-main);
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.8);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   User Reviews / Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.user-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

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

.rating-stars {
  color: #f59e0b;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s;
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
}

.faq-answer {
  padding: 0 1.75rem 1.35rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}

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

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

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

/* ==========================================================================
   Footer - Strict 4 Titles standard
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--card-border);
  padding: 3rem 1.5rem;
  margin-top: 5rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

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

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  list-style: none;
}

.footer-nav a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: #f8fafc;
  border: 1px solid var(--card-border);
}

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

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

/* ==========================================================================
   Article Pages & Hub Layouts
   ========================================================================== */
.page-header {
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(248, 250, 252, 0) 100%);
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--card-border);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--card-border);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a:not(.btn) {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.article-content a.btn,
.article-cta-box a.btn {
  text-decoration: none;
}

.article-content a.btn-primary,
.article-cta-box a.btn-primary {
  color: #ffffff !important;
}

.article-content a.btn-secondary,
.article-cta-box a.btn-secondary {
  color: var(--text-main) !important;
}

.article-cta-box {
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-lg);
  text-align: center;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.article-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

html, body {
  overflow-x: hidden;
}

/* ==========================================================================
   Mobile Navigation Component
   ========================================================================== */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
  border-radius: var(--radius-sm, 6px);
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 17px;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--text-main, #1e1b4b);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: translateY(7.25px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: translateY(-7.25px) rotate(-45deg);
}

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

/* ==========================================================================
   Responsive Media Queries (@media)
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-3, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--card-border);
    z-index: 99;
  }

  .nav-menu.is-active {
    display: block;
    animation: navSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    width: 100%;
    font-size: 1rem;
  }

  .grid-3, .testimonials-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: none;
  }
  .hero-section {
    padding: 3rem 1rem 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .footer-nav li {
    width: 100%;
    text-align: center;
  }
  .footer-nav a {
    display: block;
    width: 100%;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
