/* base.css -- extracted from xanguard.tech blog posts */

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

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1429;
  --bg-card: #141a2e;
  --bg-card-hover: #1a2240;
  --border: #1e2a4a;
  --border-glow: #00d4ff20;
  --accent: #00d4ff;
  --accent-dim: #0098b8;
  --accent-glow: #00d4ff30;
  --accent-secondary: #7b61ff;
  --text-primary: #e8edf5;
  --text-secondary: #8892a8;
  --text-muted: #5a6480;
  --success: #00e68a;
  --warning: #ffb020;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a:hover { color: #33dfff; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ accordion — BEM style (homepage, communities, tracker, eca, referral) */
.faq { padding: 100px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq__header { text-align: center; margin-bottom: 48px; }
.faq__list { max-width: 720px; margin: 0 auto; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq__item:hover { border-color: var(--accent-dim); }
.faq__question { width: 100%; padding: 20px 32px; background: var(--bg-card); border: none; color: var(--text-primary); font-size: 15px; font-weight: 600; text-align: center; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 16px; font-family: var(--font-sans); }
.faq__question-icon { font-size: 18px; color: var(--accent); transition: transform 0.3s; flex-shrink: 0; }
.faq__item.open .faq__question-icon { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq__item.open .faq__answer { max-height: 300px; }
.faq__answer-inner { padding: 0 48px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; background: var(--bg-card); text-align: center; }


/* Pricing cards — shared across homepage + product pages */
.pricing { padding: 100px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing__header { text-align: center; margin-bottom: 64px; }
.pricing__header .section-subtitle { margin: 0 auto; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; transition: all 0.3s ease; position: relative; }
.pricing-card:hover { transform: translateY(-4px); border-color: var(--accent-dim); }
.pricing-card--featured { border-color: var(--accent-dim); background: linear-gradient(180deg, var(--bg-card-hover), var(--bg-card)); box-shadow: 0 0 40px var(--accent-glow); }
.pricing-card--featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-secondary)); }
.pricing-card__popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.pricing-card__name { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.pricing-card__desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.pricing-card__price { margin-bottom: 24px; }
.pricing-card__amount { font-size: 42px; font-weight: 800; line-height: 1; }
.pricing-card__amount .currency { font-size: 22px; vertical-align: top; color: var(--text-muted); }
.pricing-card__period { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.pricing-card__per-account { font-size: 12px; color: var(--accent); margin-top: 4px; }
.pricing-card__features { list-style: none; flex: 1; margin-bottom: 24px; }
.pricing-card__features li { padding: 8px 0; font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.pricing-card__features li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-glow); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%2300d4ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.pricing-card .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) { .pricing__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing__grid { grid-template-columns: 1fr; } }

