:root {
  --bg: #0D0D0D;
  --surface: #161616;
  --border: rgba(230, 59, 46, 0.15);
  --primary: #E63B2E;
  --secondary: #FF6B5B;
  --gradient: linear-gradient(135deg, #E63B2E, #C0392B);
  --text: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --glow: 0 0 30px rgba(230, 59, 46, 0.2);
  --card-hover: 0 8px 32px rgba(230, 59, 46, 0.25);
  --alt-bg: rgba(230, 59, 46, 0.04);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

a { color: var(--primary); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .85; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }

p { color: var(--text-secondary); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

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

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

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

.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gradient);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 6px 20px rgba(230, 59, 46, 0.25);
}
a.btn, a.btn:visited { color: #ffffff !important; text-decoration: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(230, 59, 46, 0.45); opacity: 1; }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--text) !important;
}
a.btn-outline, a.btn-outline:visited { color: var(--text) !important; }
.btn-outline:hover { border-color: var(--primary); box-shadow: var(--glow); }

/* Hero */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(230, 59, 46, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  background: linear-gradient(180deg, #fff 0%, #d1d5db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stat-badge {
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.hero-icon {
  width: 180px;
  height: 180px;
  border-radius: 40px;
  box-shadow: var(--glow), 0 20px 60px rgba(230, 59, 46, 0.35);
}

/* Section */
section { padding: 80px 0; position: relative; }

.section-alt { background: var(--alt-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head p { font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(230, 59, 46, 0.12);
  color: var(--secondary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Grid */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover);
  border-color: rgba(230, 59, 46, 0.35);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.card p { font-size: 0.98rem; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-big {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { color: var(--text-secondary); font-weight: 500; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 32px;
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: var(--glow);
}

.step h3 { margin-top: 14px; }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--glow);
  transform: scale(1.03);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  text-transform: uppercase;
}

.price-name { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; margin-bottom: 10px; }

.price-amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }
.price-period { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }

.price-card ul { list-style: none; text-align: left; margin: 0 0 28px; }
.price-card li { padding: 8px 0; color: var(--text-secondary); border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.95rem; }
.price-card li:last-child { border-bottom: 0; }

.price-card .btn { margin-top: auto; width: 100%; }

.pricing-note { text-align: center; margin-top: 32px; color: var(--text-muted); font-size: 0.9rem; }

/* CTA */
.cta {
  text-align: center;
  padding: 90px 24px;
  background: linear-gradient(135deg, rgba(230, 59, 46, 0.15), rgba(192, 57, 43, 0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta h2 { margin-bottom: 16px; }
.cta p { max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }

/* Footer */
.footer {
  padding: 56px 24px 40px;
  border-top: 1px solid var(--border);
  background: #0a0a0a;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand strong { font-size: 1.1rem; }
.footer p { max-width: 340px; font-size: 0.92rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: flex-end; }
.footer-links a { color: var(--text-secondary); font-weight: 500; font-size: 0.92rem; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Article (privacy/terms/blog) */
.page-head {
  padding: 60px 0 24px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-head p { max-width: 640px; margin: 12px auto 0; }

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.article h2 { font-size: 1.5rem; margin: 36px 0 14px; color: var(--text); }
.article h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.article p, .article li { color: var(--text-secondary); margin-bottom: 12px; font-size: 1rem; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 16px; }
.article li { margin-bottom: 6px; }
.article a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.article strong { color: var(--text); }

.article .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; padding: 56px 24px 40px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(230, 59, 46, 0.4); }

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { padding: 0 24px 22px; color: var(--text-secondary); }

.support-contact {
  max-width: 820px;
  margin: 24px auto 80px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
}
.support-contact h3 { margin-bottom: 10px; }
.support-contact .contact-actions { margin-top: 20px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 56px auto 80px;
  padding: 0 24px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover); }

.blog-card .tag {
  display: inline-block;
  background: rgba(230, 59, 46, 0.1);
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.blog-card h3 { margin-bottom: 10px; }
.blog-card .skeleton-date { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 60px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-icon { width: 140px; height: 140px; border-radius: 32px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .pricing { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .blog-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }

  section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; padding: 20px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .nav-toggle { display: inline-flex; }

  .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  h1 { font-size: 2rem; }
  .footer-bottom { flex-direction: column; }
}
