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

:root {
  --bg-color: #BBDEFB; /* User requested background */
  --primary: #1976D2;
  --primary-hover: #1565C0;
  --text-dark: #1F2937;
  --text-light: #4B5563;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(at 0% 0%, rgba(255,255,255,0.4) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(144,202,249,0.4) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255,255,255,0.4) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(144,202,249,0.4) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* Glassmorphism Utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
}

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

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #3949AB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 1s ease-out;
}

.hero p {
  font-size: 20px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 40px;
  animation: fadeUp 1.2s ease-out;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeUp 1.4s ease-out;
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

/* Floating Elements for Dynamism */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.1));
  backdrop-filter: blur(5px);
  z-index: -1;
  animation: float 6s infinite ease-in-out;
}

.el-1 { width: 100px; height: 100px; top: 20%; left: 10%; animation-delay: 0s; }
.el-2 { width: 150px; height: 150px; bottom: 10%; right: 15%; animation-delay: -2s; }
.el-3 { width: 60px; height: 60px; top: 40%; right: 20%; animation-delay: -4s; }

/* Sections Common */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 700;
  color: var(--primary);
}

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

.feature-card {
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.9);
}

.feature-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}

.price-card {
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

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

.price-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  background: rgba(255,255,255,0.95);
}

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

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

.price-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.price-amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-amount span {
  font-size: 20px;
  margin-right: 5px;
}

.price-period {
  color: var(--text-light);
  margin-bottom: 25px;
}

.price-features {
  text-align: left;
  margin-bottom: 30px;
}

.price-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.price-features li i {
  color: #4CAF50;
  margin-top: 4px;
}

.price-features li.warn i { color: #FF9800; }
.price-features li.info i { color: #03A9F4; }
.price-features li.success { color: #4CAF50; font-weight: bold; }

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255,255,255,0.9);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
}

.faq-answer p {
  padding: 20px 0;
  color: var(--text-light);
}

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

.article-card {
  padding: 20px;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary);
}

.article-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Content Page (Articles) */
.article-header {
  padding: 120px 0 60px;
  text-align: center;
}

.article-header h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.article-content h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--primary);
}

.article-content p {
  margin-bottom: 20px;
  font-size: 16px;
}

.article-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

/* Footer & Keywords */
footer {
  background: rgba(255, 255, 255, 0.5);
  padding: 60px 0 20px;
  margin-top: 50px;
}

.keywords-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.keyword-tag {
  background: rgba(25, 118, 210, 0.1);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.keyword-tag:hover {
  background: var(--primary);
  color: var(--white);
}

.copyright {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-5px); }
}
