
:root {
  --primary: #ff6b8b;
  --primary-dark: #e05371;
  --secondary: #74ebd5;
  --accent: #fbc2eb;
  --cta: #ffb800;
  --cta-hover: #ffa000;
  --bg-gradient: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  --dark-text: #2d3748;
  --light-text: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.85);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-cta: 0 8px 25px rgba(255, 184, 0, 0.4);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  color: var(--dark-text);
  background-color: #f7f9fc;
  background-image: radial-gradient(circle at 20% 20%, rgba(251, 194, 235, 0.6) 0%, transparent 40%),
                    radial-gradient(circle at 80% 80%, rgba(116, 235, 215, 0.6) 0%, transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 2px 4px rgba(255, 107, 139, 0.2);
}

.logo-pig {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(255, 107, 139, 0.4);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links li a {
  font-size: 16px;
  font-weight: 700;
  color: #4a5568;
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: var(--cta);
  color: var(--dark-text) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 800 !important;
  box-shadow: var(--shadow-cta);
  transition: all 0.3s ease !important;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 139, 0.12);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1a202c;
}

.hero h1 span {
  color: var(--primary);
  position: relative;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--accent);
  opacity: 0.5;
  z-index: -1;
  border-radius: 10px;
}

.hero p {
  font-size: 20px;
  color: #4a5568;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  background: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(255, 107, 139, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(255, 107, 139, 0.6);
}

.btn-secondary {
  background: white;
  color: var(--dark-text);
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}

.hero-mascot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  animation: float 6s ease-in-out infinite;
}

.mascot-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.15));
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Features Section */
.features {
  padding: 120px 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 900;
  color: #1a202c;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: #718096;
}

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

.feature-card {
  background: var(--card-bg);
  padding: 40px 32px;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid white;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background: white;
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 28px;
  box-shadow: 0 10px 20px rgba(116, 235, 215, 0.3);
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #ffd3a5 0%, #fd6585 100%);
  box-shadow: 0 10px 20px rgba(253, 101, 133, 0.3);
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #f3e7e9 0%, #e3eeff 100%);
  box-shadow: 0 10px 20px rgba(227, 238, 255, 0.5);
}

.feature-card:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
  box-shadow: 0 10px 20px rgba(166, 193, 238, 0.3);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #2d3748;
}

.feature-card p {
  color: #718096;
  font-size: 16px;
  line-height: 1.7;
}

/* Pricing Section */
.pricing {
  padding: 120px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: 32px;
  padding: 50px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid white;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  background: white;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 24px;
  right: -35px;
  background: var(--primary);
  color: white;
  padding: 6px 40px;
  font-size: 13px;
  font-weight: 800;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(255,107,139,0.3);
}

.plan-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #2d3748;
}

.plan-desc {
  color: #718096;
  font-size: 15px;
  margin-bottom: 30px;
}

.plan-price {
  font-size: 54px;
  font-weight: 900;
  color: #1a202c;
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
}

.plan-price span {
  font-size: 18px;
  font-weight: 600;
  color: #718096;
  margin-left: 8px;
}

.plan-features {
  margin-bottom: 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 30px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #4a5568;
  font-size: 16px;
  font-weight: 500;
}

.plan-features li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.btn-pricing {
  width: 100%;
  padding: 18px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  display: block;
  transition: all 0.3s ease;
}

.btn-pricing.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 107, 139, 0.4);
}

.btn-pricing.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 139, 0.6);
}

.btn-pricing.outline {
  background: rgba(0,0,0,0.03);
  color: var(--dark-text);
}

.btn-pricing.outline:hover {
  background: var(--cta);
  color: #1a202c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}

/* FAQ Section */
.faq {
  padding: 120px 0;
  background: rgba(255,255,255,0.4);
  border-top: 1px solid var(--glass-border);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid white;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  background: white;
}

.faq-question {
  font-size: 20px;
  font-weight: 800;
  color: #2d3748;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-question::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 107, 139, 0.15);
  color: var(--primary);
  font-size: 16px;
  font-weight: 900;
}

.faq-answer {
  color: #718096;
  font-size: 16px;
  line-height: 1.8;
  padding-left: 42px;
}

/* Footer */
footer {
  background: #1a202c;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  color: white;
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero {
    padding: 140px 0 80px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .tagline {
    margin: 0 auto 24px;
  }
  .hero-actions {
    justify-content: center;
  }
  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero p {
    font-size: 18px;
  }
  .section-header h2 {
    font-size: 32px;
  }
  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
