@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --primary: #ff6b8b;
  --primary-hover: #ff4771;
  --secondary: #4a90e2;
  --secondary-hover: #357abd;
  --bg-gradient: linear-gradient(135deg, #fff0f5 0%, #e6f2ff 100%);
  --card-bg: rgba(255, 255, 255, 0.9);
  --text-dark: #2c3e50;
  --text-light: #5a738e;
  --border-radius: 20px;
  --shadow-soft: 0 10px 30px rgba(255, 107, 139, 0.15);
  --shadow-hover: 0 15px 35px rgba(255, 107, 139, 0.25);
  --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
  font-family: 'Nunito', 'Noto Sans SC', sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Mouse Trail Canvas */
canvas#mouse-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(255, 240, 245, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px dashed rgba(255, 107, 139, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: 12px;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(255, 107, 139, 0.1);
}

.nav-links a.active {
  background: var(--primary);
  color: white;
}

.btn-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8da1 100%);
  color: white !important;
  border-radius: 25px !important;
  box-shadow: 0 5px 15px rgba(255, 107, 139, 0.3);
  border: 2px solid white;
}

.btn-cta:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 139, 0.4);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-mascot {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 10px 25px rgba(255, 107, 139, 0.25);
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
  object-fit: cover;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(45deg, var(--primary), #9c27b0, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 30px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8e9b 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 107, 139, 0.3);
  border: 3px solid white;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 107, 139, 0.45);
}

.btn-secondary {
  background: white;
  color: var(--secondary);
  border: 3px solid var(--secondary);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.1);
}

.btn-secondary:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--secondary);
  color: white;
  box-shadow: 0 12px 30px rgba(74, 144, 226, 0.3);
}

/* Pricing Section */
.pricing-section {
  padding: 60px 0;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0.6);
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

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

.price-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  border: 2px solid rgba(255, 107, 139, 0.15);
  padding: 30px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.price-card.featured {
  border: 3px solid var(--primary);
  transform: scale(1.03);
}

.price-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.price-badge {
  position: absolute;
  top: 15px;
  right: -35px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 35px;
  transform: rotate(45deg);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.card-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.card-price span {
  font-size: 1rem;
  color: var(--text-light);
}

.card-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.card-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.card-features li::before {
  content: '✓';
  color: #2ecc71;
  font-weight: 800;
}

.price-card .btn {
  width: 100%;
  padding: 10px 20px;
  font-size: 1rem;
}

/* Features Grid */
.features-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 40px;
  margin: 20px 0;
}

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

.feature-box {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 2px solid rgba(74, 144, 226, 0.1);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(74, 144, 226, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--secondary);
}

.feature-box.pink .feature-icon {
  background: rgba(255, 107, 139, 0.1);
  color: var(--primary);
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.feature-box p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Articles Section */
.articles-section {
  padding: 60px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.article-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: calc(var(--border-radius) - 4px);
  margin-bottom: 16px;
  border: 2px solid rgba(255, 107, 139, 0.1);
}

.article-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  border: 2px dashed rgba(255, 107, 139, 0.15);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-style: solid;
  border-color: var(--primary);
}

.article-meta {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.article-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.article-card h3 a {
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
}

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

.article-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-more {
  text-decoration: none;
  font-weight: 800;
  color: var(--secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.article-more:hover {
  color: var(--secondary-hover);
  gap: 8px;
}

/* User Reviews Section */
.reviews-section {
  padding: 60px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: relative;
}

.review-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 0.95rem;
  position: relative;
}

.review-text::before {
  content: '“';
  font-size: 3rem;
  color: rgba(255, 107, 139, 0.15);
  position: absolute;
  top: -25px;
  left: -15px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: #f0f0f0;
  object-fit: cover;
}

.review-name {
  font-weight: 800;
  font-size: 1rem;
}

.review-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  border: 2px solid rgba(74, 144, 226, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--secondary);
  transition: var(--transition);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  color: var(--primary);
}

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

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* Footer & PBN Links */
footer {
  background: #232c38;
  color: #b0c0d0;
  padding: 40px 0 20px;
  margin-top: 80px;
  border-top: 4px solid var(--primary);
}

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

.footer-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto 24px;
}

.friendship-links {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 0.85rem;
}

.friendship-links a {
  color: #9cb1c9;
  text-decoration: none;
  margin: 0 10px;
  transition: var(--transition);
}

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

.footer-copyright {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #708090;
}

/* Article Page Layout Styles */
.article-page {
  max-width: 800px;
  margin: 40px auto;
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 107, 139, 0.15);
}

.article-header {
  margin-bottom: 30px;
  border-bottom: 2px dashed rgba(255, 107, 139, 0.15);
  padding-bottom: 20px;
}

.article-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.article-body {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--text-dark);
  border-left: 5px solid var(--primary);
  padding-left: 12px;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 20px 0 10px;
  color: var(--text-dark);
}

.article-body p {
  margin-bottom: 20px;
  text-align: justify;
}

.article-body ul, .article-body ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--primary);
}

.article-nav-links {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 2px dashed rgba(255, 107, 139, 0.15);
  padding-top: 20px;
}

.article-nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 800;
  transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .pricing-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .pricing-row {
    grid-template-columns: 1fr;
  }
  .price-card.featured {
    transform: none;
  }
  .price-card.featured:hover {
    transform: translateY(-10px);
  }
  .article-page {
    padding: 20px;
    margin: 20px 10px;
  }
  .article-title {
    font-size: 1.6rem;
  }
}
