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

:root {
  --bg-color: #050505;
  --text-color: #f0f0f0;
  --text-muted: #a1a1aa;
  --card-bg: #121212;
  --card-border: #27272a;
  --primary: #f43f5e;
  --primary-hover: #e11d48;
  --secondary: #f97316;
  --secondary-hover: #ea580c;
  --accent: #8b5cf6;
  --gradient-text: linear-gradient(135deg, #f43f5e, #f97316);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(244, 63, 94, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.23);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.15) 0%, rgba(5, 5, 5, 0) 70%);
  z-index: -1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero h1 span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

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

/* Features */
.features {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-color) 0%, #0a0a0a 100%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 700;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 63, 94, 0.5);
}

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

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

.feature-card p {
  color: var(--text-muted);
}

/* Pricing - Exactly matching provided image layout conceptually */
.pricing {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 50px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.pricing-card.popular {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(244, 63, 94, 0.1);
}

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

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.4);
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-color);
}

.plan-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 5px;
}

.plan-features {
  margin-bottom: 40px;
}

.plan-features li {
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Reviews */
.reviews {
  padding: 80px 0;
  background: #0a0a0a;
}

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

.review-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
}

.stars {
  color: #fbbf24;
  margin-bottom: 15px;
}

.review-text {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer {
  font-weight: 600;
}

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

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

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.4;
}

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

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

.read-more:hover {
  text-decoration: underline;
}

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

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 200px;
}

.faq-icon {
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
footer {
  background: #000;
  padding: 60px 0 30px;
  border-top: 1px solid var(--card-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
  .nav-links {
    display: none; /* simple mobile nav approach for landing page */
  }
}

/* Article Page Specific Styles */
.article-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.article-header {
  text-align: center;
  margin-bottom: 60px;
}

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 50px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
}

.article-body h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #fff;
}

.article-body h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  color: #fff;
}

.article-body p {
  margin-bottom: 20px;
  color: #d4d4d8;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #d4d4d8;
}

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

.article-body a {
  color: var(--primary);
  text-decoration: underline;
}

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

.article-cta {
  margin-top: 50px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.article-cta h3 {
  margin-bottom: 15px;
  margin-top: 0;
}
