/* ==========================================================================
   ARIES 白羊星官网 - Modern Light Celestial Theme (白色白羊座星空风格)
   Domain: baiyangxin.mom
   Theme: Crisp White Background with Subtle Pink/Purple Constellation Starfield
   ========================================================================== */

:root {
  --bg-body: #ffffff;
  --bg-card: #ffffff;
  --bg-card-alt: #f8fafc;
  --border-light: #e2e8f0;
  --border-pink: rgba(236, 72, 153, 0.25);
  
  --primary-pink: #db2777;
  --primary-pink-hover: #be185d;
  --primary-purple: #9333ea;
  --accent-blue: #2563eb;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --gradient-btn: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  --gradient-btn-hover: linear-gradient(135deg, #f472b6 0%, #c084fc 100%);
  --gradient-hero-title: linear-gradient(135deg, #0f172a 0%, #475569 50%, #db2777 100%);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(219, 39, 119, 0.08);
  --shadow-lg: 0 20px 40px rgba(147, 51, 234, 0.12);

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --max-width: 1240px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  background: #ffffff;
}

/* Light Canvas Starfield Background */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 10%, rgba(251, 207, 232, 0.25) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(233, 213, 255, 0.3) 0%, transparent 50%);
}

/* Floating Clean Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.brand:hover img.header-logo {
  transform: rotate(12deg) scale(1.08);
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-name span {
  color: var(--primary-pink);
}

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

.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary-pink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(219, 39, 119, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-btn-hover);
  box-shadow: 0 8px 25px rgba(219, 39, 119, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-pink);
  color: var(--primary-pink);
  transform: translateY(-2px);
}

.btn-recommend {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-recommend:hover {
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}

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

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 9rem 1.5rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-left {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.2);
  color: var(--primary-pink);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2.2rem;
}

.hero-subtitle strong {
  color: var(--primary-pink);
}

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

/* Hero Right: Interactive Dashboard Widget with Aries Constellation Watermark */
.hero-right {
  position: relative;
}

.dashboard-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-btn);
}

/* Aries Constellation Watermark Graphic */
.aries-constellation-watermark {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
}

.aries-constellation-watermark svg {
  width: 100%;
  height: 100%;
}

.dash-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.dash-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dash-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(219, 39, 119, 0.4);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.node-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.node-item:hover {
  transform: translateX(4px);
  border-color: rgba(219, 39, 119, 0.4);
}

.node-flag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
}

.node-ping {
  font-size: 0.85rem;
  font-weight: 800;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

/* Aries Constellation Header Emblem */
.aries-header-emblem {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.06) 0%, rgba(168, 85, 247, 0.06) 100%);
  border-radius: 12px;
  border: 1px solid rgba(236, 72, 153, 0.15);
  font-size: 0.82rem;
  color: var(--primary-pink);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.aries-header-emblem svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-pink);
}

/* Sections Structure */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-pink);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(236, 72, 153, 0.1);
  color: var(--primary-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

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

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

/* Pricing Grid */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-toggle-wrap span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pricing-toggle-wrap span.active {
  color: var(--primary-pink);
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 32px;
  background: #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  padding: 3px;
  transition: background 0.3s;
}

.toggle-switch .knob {
  width: 26px;
  height: 26px;
  background: var(--gradient-btn);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-switch.yearly .knob {
  transform: translateX(28px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border-color: var(--primary-pink);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--gradient-btn);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.9rem;
  border-radius: 9999px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

.pricing-card .price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-body);
}

.pricing-features li i {
  color: var(--primary-pink);
  font-weight: 900;
}

/* Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-md);
}

.article-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-pink);
  background: rgba(236, 72, 153, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.article-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-card h3 a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-card h3 a:hover {
  color: var(--primary-pink);
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
}

.read-more {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 700;
}

.read-more:hover {
  text-decoration: underline;
}

/* Testimonials / Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.review-text {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

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

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 800;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary-pink);
}

.faq-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  color: var(--primary-pink);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.8rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.8rem 1.4rem;
}

/* Footer Section & PBN Link Pipeline */
footer {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 1.5rem 2rem;
  text-align: center;
  margin-top: 5rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-brand span {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 620px;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-pink);
}

.friend-links {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.friend-links a:hover {
  color: var(--primary-pink);
}

.copyright {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Article Page Custom Light Theme Layout */
.article-page {
  position: relative;
  z-index: 1;
  padding: 8rem 1.5rem 5rem;
  max-width: 920px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin: 1rem 0;
  color: var(--text-main);
}

.article-body {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  box-shadow: var(--shadow-md);
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2rem 0 1rem;
  border-left: 4px solid var(--primary-pink);
  padding-left: 0.75rem;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-purple);
  margin: 1.5rem 0 0.75rem;
}

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

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

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

.article-body a {
  color: var(--primary-pink);
  text-decoration: none;
  font-weight: 700;
}

.article-body a:hover {
  text-decoration: underline;
}

.article-cta-box {
  margin: 2.5rem 0;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(236, 72, 153, 0.2);
  text-align: center;
}

.article-cta-box h3 {
  color: var(--text-main);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.article-cta-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7.5rem;
    text-align: center;
  }

  .hero-left {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}
