:root {
  --primary-500: #f97316;
  --primary-600: #ea580c;
  --coral-500: #f43f5e;
  --neutral-900: #1c1917;
  --neutral-600: #57534e;
  --neutral-500: #78716c;
  --neutral-100: #f5f5f4;
  --neutral-50: #fafaf9;
  --white: #ffffff;
  --success: #22c55e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--neutral-900);
  line-height: 1.6;
  background-color: var(--white);
}

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

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--coral-500) 100%);
  color: var(--white);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.logo span {
  font-size: 1.25rem;
  font-weight: 600;
}

header nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 24px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

header nav a:hover {
  opacity: 1;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--coral-500) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  text-align: center;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: 1.5rem;
  opacity: 0.95;
  margin-bottom: 24px;
}

.hero .value-prop {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero .highlight {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--neutral-900);
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.store-btn svg {
  width: 24px;
  height: 24px;
}

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

section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 48px;
  color: var(--neutral-900);
}

/* Problem Section */
.problem {
  background: var(--neutral-50);
}

.problem-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.problem-content p {
  font-size: 1.25rem;
  color: var(--neutral-600);
  margin-bottom: 24px;
}

.price-comparison {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.price-box {
  background: var(--white);
  padding: 32px 48px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.price-box.old {
  text-decoration: line-through;
  opacity: 0.6;
}

.price-box.new {
  border: 3px solid var(--primary-500);
}

.price-box .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neutral-900);
}

.price-box.new .amount {
  color: var(--primary-500);
}

.price-box .period {
  color: var(--neutral-500);
  font-size: 0.875rem;
}

/* How it Works */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--coral-500) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--neutral-900);
}

.step p {
  color: var(--neutral-600);
}

/* Features */
.features {
  background: var(--neutral-50);
}

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

.feature {
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.feature h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature p {
  color: var(--neutral-600);
  font-size: 0.9375rem;
}

/* Privacy Section */
.privacy-section {
  text-align: center;
}

.privacy-content {
  max-width: 600px;
  margin: 0 auto;
}

.privacy-content p {
  font-size: 1.125rem;
  color: var(--neutral-600);
  margin-bottom: 16px;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: #166534;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  margin-top: 24px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--coral-500) 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 1.125rem;
}

/* Footer */
footer {
  background: var(--neutral-900);
  color: var(--neutral-100);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand p {
  color: var(--neutral-500);
  margin-top: 8px;
  font-size: 0.875rem;
}

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

.footer-links a {
  color: var(--neutral-100);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--neutral-500);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 8px;
}

/* Legal Pages */
.legal-page {
  padding: 40px 0 80px;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  color: var(--neutral-500);
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  text-align: left;
}

.legal-page p,
.legal-page ul {
  color: var(--neutral-600);
  margin-bottom: 16px;
}

.legal-page ul {
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--primary-500);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .tagline {
    font-size: 1.25rem;
  }

  .hero-icon {
    width: 100px;
    height: 100px;
  }

  section {
    padding: 60px 0;
  }

  section h2 {
    font-size: 1.75rem;
  }

  .price-comparison {
    gap: 20px;
  }

  .price-box {
    padding: 24px 36px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  header nav {
    display: none;
  }
}

/* ========================================
   BLOG STYLES
   ======================================== */

/* Blog Listing Page */
.blog-header {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--coral-500) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.blog-header p {
  opacity: 0.9;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.blog-listing {
  padding: 60px 0;
  background: var(--neutral-50);
  min-height: 50vh;
}

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

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-content {
  padding: 28px;
}

.blog-card h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--neutral-900);
  text-align: left;
  line-height: 1.4;
}

.blog-card p {
  color: var(--neutral-600);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.blog-card-meta {
  font-size: 0.875rem;
  color: var(--neutral-500);
  display: flex;
  gap: 16px;
}

/* Blog Article Page */
.blog-article {
  padding: 40px 0 80px;
}

/* Remove sticky header on blog articles */
body:has(.blog-article) header {
  position: relative;
}

.blog-article .container {
  max-width: 760px;
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--neutral-500);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--primary-500);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article-header {
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--coral-500) 100%);
  padding: 40px;
  border-radius: 16px;
}

.article-header h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
  position: static;
}

.article-meta {
  display: flex;
  gap: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content .lead {
  font-size: 1.25rem;
  color: var(--neutral-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 48px 0 20px;
  text-align: left;
  color: var(--neutral-900);
}

.article-content h3 {
  font-size: 1.375rem;
  margin: 32px 0 16px;
  color: var(--neutral-900);
}

.article-content p {
  margin-bottom: 20px;
  color: var(--neutral-600);
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--neutral-600);
}

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

.article-content a {
  color: var(--primary-500);
}

.article-content strong {
  color: var(--neutral-900);
}

.article-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

/* Article CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--coral-500) 100%);
  color: var(--white);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin-top: 48px;
}

.cta-box h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--white);
}

.cta-box p {
  opacity: 0.9;
  margin-bottom: 24px;
  color: var(--white);
}

.cta-box .store-btn {
  display: inline-block;
}

/* Related Articles */
.related-articles {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--neutral-100);
}

.related-articles h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  text-align: center;
  color: var(--neutral-900);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.related-card {
  background: var(--neutral-50);
  padding: 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}

.related-card:hover {
  background: var(--neutral-100);
}

.related-card h4 {
  color: var(--neutral-900);
  font-size: 1rem;
  margin-bottom: 8px;
}

.related-card p {
  color: var(--neutral-500);
  font-size: 0.875rem;
}

/* Responsive Blog */
@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 2rem;
  }

  .article-header h1 {
    font-size: 1.875rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

  .article-content .lead {
    font-size: 1.125rem;
  }

  .cta-box {
    padding: 32px 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}
