/* Modern Fresh White & Cyan Meadow Theme for 小牛云 (xiaoniuyun.cyou) */
:root {
  --primary: #10b981; /* Emerald/Cyan Grassland Green */
  --primary-hover: #059669;
  --primary-light: rgba(16, 185, 129, 0.1);
  --secondary: #6366f1; /* High-tech Indigo */
  --secondary-hover: #4f46e5;
  --accent: #06b6d4; /* Vibrant Cyan */
  --bg-main: #ffffff;
  --bg-alt: #f0fdf4; /* Light Mint/Cyan Grass Meadow Tint */
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-hover: #a7f3d0;
  --glow-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.25);
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.08) 0px, transparent 50%);
}

a {
  color: var(--primary-hover);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

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

.nav-links a {
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #ffffff !important;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: #f1f5f9;
  color: #1e293b !important;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a !important;
}

.btn-outline {
  background: #ecfdf5;
  color: #059669 !important;
  border: 1px solid #a7f3d0;
}

.btn-outline:hover {
  background: #d1fae5;
}

/* Left & Right Side Background Decors (Cute Houses & Cows) */
.side-decor {
  position: absolute;
  top: 110px;
  z-index: 10;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.side-decor-left {
  left: 20px;
  width: 250px;
}

.side-decor-right {
  right: 20px;
  width: 250px;
}

.side-decor img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(16, 185, 129, 0.18));
}

/* Centered Hero Section */
.hero {
  position: relative;
  z-index: 20;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: #0f172a;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Section styling */
.section {
  position: relative;
  z-index: 20;
  padding: 4.5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-alt {
  background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
  border-radius: 24px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
}

/* Card Styling */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.12);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #ecfdf5;
  border-radius: 12px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

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

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

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.price-card.popular {
  border: 2px solid #10b981;
  background: #ffffff;
  box-shadow: 0 15px 35px -5px rgba(16, 185, 129, 0.2);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.price-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

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

.price-amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: #047857;
  margin: 1.25rem 0;
}

.price-amount span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  flex-grow: 1;
}

.price-features li {
  padding: 0.55rem 0;
  font-size: 0.92rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.price-features li::before {
  content: "✓";
  color: #10b981;
  font-weight: 900;
}

/* Articles Grid */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: #a7f3d0;
  box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.12);
}

.article-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tag {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-title a {
  color: #0f172a;
}

.article-title a:hover {
  color: #059669;
}

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

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

/* User Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
}

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

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.user-info h4 {
  font-size: 0.95rem;
  color: #0f172a;
}

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

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

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: #10b981;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

/* Footer & PBN Links area requirement */
footer {
  position: relative;
  z-index: 20;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 1.5rem 2rem;
  text-align: center;
}

.footer-content {
  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;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

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

.footer-links a {
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
}

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

/* Low-profile SEO Friend Links Pipe */
.friend-links {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.friend-links span {
  color: #94a3b8;
}

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

.friend-links a:hover {
  color: #059669;
}

.copyright {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

/* Responsive layout */
@media (max-width: 1350px) {
  .side-decor {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .nav-links { display: none; }
  .price-card.popular { transform: none; }
}
