:root {
  --bg-color: #0b0f17;
  --surface-color: #131b26;
  --surface-elevated: #1a2536;
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-color: #ff6a00;
  --accent-hover: #ff8533;
  --accent-glow: rgba(255, 106, 0, 0.25);
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1040px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 23, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}

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

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

.btn-cta {
  background: linear-gradient(135deg, #ff6a00 0%, #f97316 100%);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px var(--accent-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.35);
}

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

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, rgba(11, 15, 23, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.25);
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
}

/* Feature Grid */
.features {
  padding: 40px 0 80px;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

.card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent-color);
  border: 1px solid var(--border-color);
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Detox Table */
.detox-section {
  padding: 40px 0 80px;
}

.detox-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table th, .table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
}

.table th {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.table td {
  font-size: 0.95rem;
}

.badge-level {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem;
}

.level-1 { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.level-2 { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.level-3 { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.level-4 { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* Content Article (Privacy, Terms, Support) */
.doc-article {
  max-width: 800px;
  margin: 40px auto 80px;
  padding: 40px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.doc-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.doc-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.doc-content h2 {
  font-size: 1.45rem;
  margin: 36px 0 16px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.doc-content h3 {
  font-size: 1.15rem;
  margin: 20px 0 10px;
  color: var(--text-primary);
}

.doc-content p, .doc-content ul, .doc-content ol {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

.doc-content ul, .doc-content ol {
  padding-left: 24px;
}

.doc-content li {
  margin-bottom: 8px;
}

.highlight-box {
  background: var(--surface-elevated);
  border-left: 4px solid var(--accent-color);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  color: var(--text-secondary);
}

.highlight-box strong {
  color: var(--text-primary);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-question::before {
  content: "Q";
  color: var(--accent-color);
  font-weight: 800;
  font-size: 0.9rem;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 24px;
}

/* Contact Card */
.contact-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 8px;
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: rgba(11, 15, 23, 0.95);
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }
  .doc-article { padding: 24px 18px; margin: 20px 0 40px; }
  .doc-header h1 { font-size: 1.8rem; }
  .footer-wrap { flex-direction: column; text-align: center; }
  .nav-links { gap: 14px; }
}
