/* VIPASS — shared stylesheet */

:root {
  --red:    #cc0000;
  --red-hi: #e60000;
  --gold:   #d4af37;
  --bg:     #0d0d0d;
  --bg2:    #111111;
  --bg3:    #1a0000;
  --border: #2a0000;
  --text:   #ffffff;
  --muted:  #aaaaaa;
  --radius: clamp(8px, 1.5vw, 12px);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hi); }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: clamp(52px, 8vw, 64px);
}

.logo { display: flex; align-items: center; gap: clamp(6px, 1.5vw, 10px); }
.logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.logo-text { font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 800; letter-spacing: .04em; }
.logo-text span { color: var(--red); }

nav { display: flex; gap: clamp(16px, 3vw, 28px); }
nav a { color: var(--muted); font-size: clamp(.8rem, 1.8vw, .9rem); font-weight: 500; transition: color .2s; }
nav a:hover, nav a.active { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: clamp(7px, 1.2vw, 10px) clamp(12px, 2.5vw, 22px);
  border-radius: clamp(6px, 1vw, 8px);
  font-size: clamp(.8rem, 1.8vw, .9rem); font-weight: 700; letter-spacing: .02em;
  transition: all .2s; cursor: pointer; border: none;
}
.btn-red   { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hi); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(204,0,0,.4); }
.btn-outline { background: transparent; border: 2px solid var(--red); color: var(--text); }
.btn-outline:hover { background: var(--red); }
.btn-lg { padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 36px); font-size: clamp(.95rem, 2vw, 1.05rem); border-radius: clamp(8px, 1.2vw, 10px); }
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: #c9a227; color: #000; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,175,55,.35); }

/* ── HERO ──────────────────────────────────────────────── */
.hero-banner {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-banner img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: .18;
  display: block;
}

.hero {
  position: relative;
  padding: clamp(60px, 10vw, 100px) 0 clamp(48px, 8vw, 80px);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #2a0000 0%, var(--bg) 70%);
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(204,0,0,.15); border: 1px solid rgba(204,0,0,.3);
  color: var(--red); padding: clamp(4px, 1vw, 6px) clamp(10px, 2vw, 16px); border-radius: 999px;
  font-size: clamp(.72rem, 1.5vw, .8rem); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: clamp(18px, 3vw, 28px);
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 900; line-height: 1.15;
  margin-bottom: clamp(14px, 2.5vw, 20px); letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--red); }
.hero h1 .gold   { color: var(--gold); }

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: var(--muted); max-width: 560px; margin: 0 auto clamp(28px, 5vw, 40px);
}

.hero-cta { display: flex; gap: clamp(8px, 2vw, 14px); justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: clamp(20px, 5vw, 40px); justify-content: center; flex-wrap: wrap;
  margin-top: clamp(36px, 6vw, 60px); padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 900; color: var(--red); }
.stat-label { font-size: clamp(.72rem, 1.5vw, .8rem); color: var(--muted); margin-top: 2px; }

/* ── SECTION COMMON ───────────────────────────────────── */
section { padding: clamp(48px, 8vw, 80px) 0; }

.section-label {
  font-size: clamp(.7rem, 1.5vw, .75rem); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: clamp(8px, 1.5vw, 12px);
}

.section-title {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: clamp(10px, 2vw, 16px);
}

.section-sub {
  font-size: clamp(.9rem, 1.8vw, 1rem); color: var(--muted);
  max-width: 560px; margin-bottom: clamp(32px, 5vw, 48px);
}

/* ── PAIN ─────────────────────────────────────────────── */
.pain { background: var(--bg2); }

.pain-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(12px, 2.5vw, 20px); margin-top: clamp(32px, 5vw, 48px);
}

.pain-card {
  background: var(--bg); border: 1px solid #1e1e1e;
  border-radius: var(--radius); padding: clamp(16px, 3vw, 24px);
  display: flex; align-items: flex-start; gap: clamp(10px, 2vw, 14px);
}

.pain-icon {
  width: clamp(30px, 5vw, 36px); height: clamp(30px, 5vw, 36px); flex-shrink: 0;
  background: rgba(204,0,0,.12); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(.85rem, 1.8vw, 1rem);
}

.pain-card h3 { font-size: clamp(.88rem, 1.8vw, .95rem); font-weight: 700; margin-bottom: 4px; }
.pain-card p  { font-size: clamp(.8rem, 1.6vw, .85rem); color: var(--muted); }

/* ── FEATURES ─────────────────────────────────────────── */
.features { background: var(--bg3); }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.feature-card {
  background: rgba(0,0,0,.5); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(20px, 4vw, 32px) clamp(18px, 3.5vw, 28px);
  transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--red); }

.feature-icon { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: clamp(12px, 2.5vw, 18px); }
.feature-card h3 { font-size: clamp(1rem, 2vw, 1.1rem); font-weight: 800; margin-bottom: clamp(6px, 1.5vw, 10px); }
.feature-card p  { font-size: clamp(.85rem, 1.7vw, .9rem); color: var(--muted); }

/* ── HOW IT WORKS ─────────────────────────────────────── */
.how { background: var(--bg); }

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(20px, 4vw, 32px); margin-top: 8px;
}

.step { text-align: center; padding: 0 clamp(8px, 2vw, 16px); }

.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(44px, 7vw, 56px); height: clamp(44px, 7vw, 56px); border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 900; margin: 0 auto clamp(14px, 2.5vw, 20px);
}

.step h3 { font-size: clamp(.95rem, 2vw, 1.05rem); font-weight: 700; margin-bottom: clamp(4px, 1vw, 8px); }
.step p  { font-size: clamp(.85rem, 1.7vw, .9rem); color: var(--muted); }

.steps-divider { display: none; }

/* ── COMPARE TABLE ───────────────────────────────────── */
.compare { background: var(--bg2); }

.compare-table { width: 100%; border-collapse: collapse; margin-top: clamp(24px, 4vw, 40px); }
.compare-table th, .compare-table td {
  padding: clamp(10px, 2vw, 16px) clamp(12px, 2.5vw, 20px); text-align: left;
  border-bottom: 1px solid #1e1e1e; font-size: clamp(.85rem, 1.8vw, .95rem);
}
.compare-table th { font-weight: 800; font-size: clamp(.78rem, 1.6vw, .85rem); letter-spacing: .04em; text-transform: uppercase; }
.compare-table th:first-child { color: var(--muted); }
.compare-table th.col-vipass { color: var(--red); }
.compare-table th.col-other  { color: #555; }

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,.02); }

.check  { color: #22c55e; font-weight: 900; font-size: clamp(1rem, 2vw, 1.1rem); }
.cross  { color: #555; font-weight: 900; font-size: clamp(1rem, 2vw, 1.1rem); }
.vipass-val { color: var(--text); font-weight: 700; }
.other-val  { color: #666; }

/* ── CTA ─────────────────────────────────────────────── */
.cta-section {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center; padding: clamp(60px, 10vw, 100px) 0;
}

.cta-section .section-title { margin-bottom: clamp(8px, 1.5vw, 12px); }
.cta-section p { color: var(--muted); font-size: clamp(.9rem, 1.8vw, 1rem); margin-bottom: clamp(24px, 4vw, 36px); }

/* ── BLOG PREVIEW ─────────────────────────────────────── */
.blog-preview { background: var(--bg); }

.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.blog-card {
  background: var(--bg2); border: 1px solid #1e1e1e;
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--red); }

.blog-card-body { padding: clamp(16px, 3vw, 24px); }
.blog-cat {
  font-size: clamp(.68rem, 1.4vw, .72rem); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red); margin-bottom: clamp(6px, 1.5vw, 10px);
}
.blog-card h3 { font-size: clamp(.9rem, 1.8vw, 1rem); font-weight: 700; margin-bottom: clamp(4px, 1vw, 8px); line-height: 1.4; }
.blog-card p  { font-size: clamp(.8rem, 1.6vw, .85rem); color: var(--muted); }
.blog-card-footer {
  padding: clamp(10px, 2vw, 14px) clamp(16px, 3vw, 24px); border-top: 1px solid #1e1e1e;
  display: flex; justify-content: space-between; align-items: center;
  font-size: clamp(.72rem, 1.5vw, .78rem); color: var(--muted);
}
.blog-card-footer a { color: var(--red); font-weight: 600; }
.blog-card-footer a:hover { color: var(--red-hi); }

.blog-more { text-align: center; margin-top: clamp(24px, 4vw, 40px); }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #080808; border-top: 1px solid #1a1a1a;
  padding: clamp(32px, 6vw, 48px) 0 clamp(20px, 4vw, 32px);
}

.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(24px, 4vw, 40px);
  margin-bottom: clamp(24px, 4vw, 40px);
}

.footer-brand p { font-size: clamp(.8rem, 1.6vw, .85rem); color: var(--muted); margin-top: clamp(8px, 1.5vw, 12px); max-width: 240px; }

.footer-col h4 { font-size: clamp(.78rem, 1.6vw, .85rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: clamp(10px, 2vw, 14px); color: var(--muted); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: clamp(6px, 1.2vw, 8px); }
.footer-col li a { font-size: clamp(.82rem, 1.7vw, .88rem); color: #666; }
.footer-col li a:hover { color: var(--text); }

.footer-bottom {
  padding-top: clamp(16px, 3vw, 24px); border-top: 1px solid #1a1a1a;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: clamp(8px, 2vw, 12px);
  font-size: clamp(.74rem, 1.5vw, .8rem); color: #444;
}

/* ── BLOG PAGE ─────────────────────────────────────────── */
.page-hero {
  padding: clamp(40px, 8vw, 64px) 0 clamp(28px, 5vw, 48px);
  background: radial-gradient(ellipse 60% 40% at 50% 0%, #1a0000 0%, var(--bg) 80%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: clamp(8px, 1.5vw, 12px); }
.page-hero p  { color: var(--muted); font-size: clamp(.9rem, 1.8vw, 1rem); max-width: 500px; margin: 0 auto; }

.blog-main { padding: clamp(36px, 6vw, 64px) 0; }

.blog-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: clamp(28px, 5vw, 48px); align-items: start;
}

.blog-list { display: flex; flex-direction: column; gap: clamp(16px, 3vw, 24px); }

.blog-article-card {
  position: relative;
  background: var(--bg2); border: 1px solid #1e1e1e;
  border-radius: var(--radius); padding: clamp(18px, 3.5vw, 28px);
  transition: border-color .2s;
}
.blog-article-card:hover { border-color: var(--red); }
.blog-article-card .meta {
  font-size: clamp(.72rem, 1.5vw, .78rem); color: var(--muted);
  display: flex; gap: clamp(8px, 2vw, 12px); margin-bottom: clamp(6px, 1.5vw, 10px); align-items: center;
}
.blog-article-card .meta .cat { color: var(--red); font-weight: 700; }
.blog-article-card h2 { font-size: clamp(1rem, 2.2vw, 1.15rem); font-weight: 700; margin-bottom: clamp(6px, 1.5vw, 10px); line-height: 1.4; color: var(--text); }
.blog-article-card p { font-size: clamp(.85rem, 1.7vw, .9rem); color: var(--muted); margin-bottom: clamp(10px, 2vw, 16px); }
.read-more {
  font-size: clamp(.8rem, 1.6vw, .85rem); font-weight: 700; color: var(--red);
}
.read-more::after {
  content: ''; position: absolute; inset: 0;
}
.blog-article-card:hover .read-more { color: var(--red-hi); }

.sidebar { position: sticky; top: clamp(70px, 10vw, 80px); }

.sidebar-widget {
  background: var(--bg2); border: 1px solid #1e1e1e;
  border-radius: var(--radius); padding: clamp(16px, 3vw, 24px);
  margin-bottom: clamp(16px, 3vw, 24px);
}
.sidebar-widget h3 {
  font-size: clamp(.78rem, 1.6vw, .85rem); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: clamp(10px, 2vw, 16px);
}
.tag-list { display: flex; flex-wrap: wrap; gap: clamp(6px, 1.2vw, 8px); }
.tag {
  background: #1e1e1e; border-radius: 999px;
  padding: clamp(3px, .8vw, 4px) clamp(8px, 1.5vw, 12px);
  font-size: clamp(.72rem, 1.5vw, .78rem); color: var(--muted);
  transition: background .2s, color .2s;
}
.tag:hover { background: var(--red); color: #fff; }

/* ── ARTICLE PAGE ─────────────────────────────────────── */
.article-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: clamp(28px, 5vw, 48px);
  align-items: start; padding: clamp(36px, 6vw, 56px) 0 clamp(48px, 8vw, 80px);
}
.article-layout > article,
.article-layout > aside,
.blog-layout > .blog-list,
.blog-layout > aside { min-width: 0; }
.article-header { margin-bottom: clamp(20px, 4vw, 32px); }
.article-header .meta { font-size: clamp(.76rem, 1.6vw, .82rem); color: var(--muted); display: flex; gap: clamp(10px, 2vw, 14px); margin-bottom: clamp(10px, 2vw, 14px); }
.article-header .meta .cat { color: var(--red); font-weight: 700; }
.article-header h1 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); font-weight: 900; line-height: 1.25; margin-bottom: clamp(10px, 2vw, 14px); }
.article-header .lead { font-size: clamp(.95rem, 2vw, 1.05rem); color: var(--muted); }

.article-body { font-size: clamp(.95rem, 1.8vw, 1rem); line-height: 1.8; overflow-wrap: break-word; word-break: break-word; }
.article-body h2 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); font-weight: 800; margin: clamp(24px, 4vw, 36px) 0 clamp(10px, 2vw, 14px); }
.article-body h3 { font-size: clamp(1rem, 2vw, 1.1rem); font-weight: 700; margin: clamp(18px, 3vw, 28px) 0 clamp(6px, 1.5vw, 10px); }
.article-body p  { margin-bottom: clamp(12px, 2vw, 16px); }
.article-body ul, .article-body ol { padding-left: clamp(18px, 3vw, 24px); margin-bottom: clamp(12px, 2vw, 16px); }
.article-body li { margin-bottom: clamp(4px, 1vw, 8px); }
.article-body strong { color: #fff; }
.article-body a { color: var(--red); text-decoration: underline; }
.article-body blockquote {
  border-left: 3px solid var(--red); padding: clamp(8px, 1.5vw, 12px) clamp(14px, 2.5vw, 20px);
  background: var(--bg2); border-radius: 0 8px 8px 0;
  margin: clamp(16px, 3vw, 24px) 0; color: var(--muted); font-style: italic;
}

/* ── COUNTRIES ──────────────────────────────────────────── */
.countries {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.country-grid {
  display: flex; flex-wrap: wrap; gap: clamp(8px, 1.5vw, 12px);
  justify-content: center; margin-top: clamp(24px, 4vw, 40px);
}
.country-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 18px;
  font-size: clamp(.85rem, 1.7vw, .95rem); font-weight: 600;
  transition: border-color .2s, transform .2s;
}
.country-pill:hover { border-color: var(--red); transform: translateY(-2px); }
.country-pill .flag { display: block; border-radius: 2px; flex-shrink: 0; }
.country-note {
  margin-top: clamp(20px, 3.5vw, 32px); text-align: center;
  color: var(--muted); font-size: clamp(.85rem, 1.7vw, .95rem); line-height: 1.6;
}
.country-note strong { color: var(--text); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .blog-layout, .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
