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

/* ---------- Background and General ---------- */
body {
  font-family: 'Inter', 'Segoe UI', 'Arial', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: #1a1a1a;
  min-height: 100vh;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Back to Hub Link ---------- */
.backto-hub {
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.08);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6em 1.5em;
  margin-bottom: 3rem;
  text-decoration: none;
  border: 1.5px solid #4CAF50;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.backto-hub:hover {
  background: #4CAF50;
  color: #ffffff;
  transform: translateX(-4px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

/* ---------- Hero ---------- */
.hero {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.hero h1 {
  font-weight: 700;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #2c3e50 0%, #4CAF50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.3rem;
  color: #666;
  letter-spacing: 0.03em;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Pricing Cards Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  justify-items: center;
  margin: 0 auto;
  align-items: start;
}

/* ---------- Card ---------- */
.card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 2.2rem 2rem 2.2rem;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 450px;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* ---------- Card Titles and Prices ---------- */
.card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.8rem 0 1.8rem 0;
  line-height: 1;
}

/* ---------- Call To Action Button ---------- */
.cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta:hover::before {
  left: 100%;
}

.cta:hover {
  background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(76, 175, 80, 0.3);
}

/* ---------- Emphasis (Premium) ---------- */
.emphasis {
  border: 2px solid #4CAF50;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 12px 35px rgba(76, 175, 80, 0.15);
}

/* ---------- Features List ---------- */
.features {
  list-style: none;
  margin-top: 0.8rem;
  font-size: 1.05rem;
  width: 100%;
  color: #555;
  font-weight: 400;
  padding-left: 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s ease;
}

.feature:last-child {
  border-bottom: none;
}

.feature:hover {
  color: #4CAF50;
}

.icon {
  font-size: 1.3em;
  width: 24px;
  text-align: center;
  filter: grayscale(0.3);
  transition: filter 0.2s ease;
}

.feature:hover .icon {
  filter: grayscale(0);
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 768px) {
  .container {
    padding: 2.5rem 1.5rem;
    max-width: 100vw;
  }
  
  .hero {
    padding: 0;
    max-width: 100vw;
    margin-bottom: 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100vw;
  }
  
  .card {
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 100vw;
  }
  
  .card h3 {
    font-size: 1.3rem;
  }
  
  .price {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 2rem 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.8rem 1.2rem;
  }
  
  .card h3 {
    font-size: 1.2rem;
  }
  
  .price {
    font-size: 1.8rem;
  }
  
  .cta {
    padding: 0.9rem 0;
    font-size: 1rem;
  }
}