/* bianio.com — jest-inspired red/dark-red theme */
:root {
  --red: #c41230;
  --red-dark: #7a0e20;
  --red-mid: #a01028;
  --bg: #0d0204;
  --bg-card: #1a0408;
  --bg-card2: #220609;
  --border: #3d0d16;
  --text: #f5e6e8;
  --text-muted: #c09098;
  --text-dim: #8a5060;
  --white: #ffffff;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::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.65;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ───────────────── NAV ───────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,2,4,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(196,18,48,0.12); }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .15s;
  min-height: 44px;
}
.nav-cta:hover { background: var(--red-mid); transform: translateY(-1px); }

/* ───────────────── HERO ───────────────── */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 10% 40%, rgba(196,18,48,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,18,48,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,18,48,0.15);
  border: 1px solid rgba(196,18,48,0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #f08090;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .hl { color: var(--red); }
.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  min-height: 52px;
  box-shadow: 0 4px 20px rgba(196,18,48,0.35);
}
.btn-primary:hover { background: var(--red-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(196,18,48,0.45); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(196,18,48,0.5);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  min-height: 52px;
}
.btn-secondary:hover { border-color: var(--red); background: rgba(196,18,48,0.08); transform: translateY(-1px); }

/* Hero visual panel */
.hero-visual {
  position: relative;
}
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.hero-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4ade80;
  font-weight: 600;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.stat-row:last-child { border-bottom: none; }
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-value { font-size: 15px; font-weight: 700; color: var(--white); }
.stat-value.green { color: #4ade80; }
.stat-value.red { color: #f87171; }
.hero-card-footer {
  margin-top: 20px;
  padding: 14px;
  background: rgba(196,18,48,0.1);
  border: 1px solid rgba(196,18,48,0.2);
  border-radius: 10px;
  text-align: center;
}
.hero-card-footer p {
  font-size: 13px;
  color: #f08090;
  font-weight: 600;
}

/* ───────────────── SECTION COMMONS ───────────────── */
section { padding: 80px 24px; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.6px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ───────────────── STATS BAND ───────────────── */
.stats-band {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.stats-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 16px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.1;
}
.stat-num span { color: var(--red); }
.stat-desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ───────────────── FEATURES ───────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: rgba(196,18,48,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(196,18,48,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ───────────────── DOWNLOAD SECTION ───────────────── */
.download-section { background: var(--bg-card); }
.download-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.platform-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.platform-card:hover { border-color: var(--red); background: rgba(196,18,48,0.06); }
.platform-icon { font-size: 26px; }
.platform-name { font-size: 14px; font-weight: 700; color: var(--white); }
.platform-sub { font-size: 12px; color: var(--text-muted); }
.dl-badge {
  display: inline-block;
  background: rgba(196,18,48,0.15);
  border: 1px solid rgba(196,18,48,0.3);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  color: #f08090;
  font-weight: 600;
}

/* ───────────────── SECURITY SECTION ───────────────── */
.security-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.security-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.security-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.security-item:last-child { border-bottom: none; }
.security-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(196,18,48,0.15);
  border: 1.5px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.security-check svg { width: 14px; height: 14px; }
.security-item-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.security-item-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.security-list { list-style: none; }
.security-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
}
.security-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ───────────────── STEPS SECTION ───────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 1px;
  background: linear-gradient(to right, var(--border), var(--red), var(--border));
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  text-align: center;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(196,18,48,0.4);
}
.step-title { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ───────────────── CTA BANNER ───────────────── */
.cta-banner {
  background: linear-gradient(135deg, #1e0508 0%, #2d080f 50%, #1e0508 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(196,18,48,0.12) 0%, transparent 70%);
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-banner h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--white); margin-bottom: 16px; letter-spacing: -0.6px; }
.cta-banner p { font-size: 16px; color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ───────────────── FOOTER ───────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 24px 36px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-dim); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-copy a { color: var(--text-muted); }
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-mark { width: 24px; height: 24px; }

/* ───────────────── RESPONSIVE ───────────────── */
@media (max-width: 900px) {
  .hero-inner,
  .download-split,
  .security-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps-grid::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 16px; }
  .hero { padding: 64px 16px 56px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-title { letter-spacing: -0.8px; }
  .cta-row { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }
}
