/* ============================================================
   BohraConnect — brand tokens from src/constants/theme.ts
   Dark, glassy, animated. Serif display + Inter body.
   ============================================================ */
:root {
  --navy: #1A2B4A;
  --navy-dark: #0D1117;
  --bg: #0A0E16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.09);
  --teal: #0A9B7F;
  --teal-bright: #00D9B4;
  --gold: #FFB347;
  --gold-dark: #D4A574;
  --rose: #E65B7A;
  --text: #E6EDF3;
  --muted: #8B949E;
  --error: #FF6B6B;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

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

::selection { background: rgba(0, 217, 180, 0.35); }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; }
a { color: var(--teal-bright); text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ---------- ambient background orbs ---------- */
.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(110px); opacity: 0.5;
  animation: drift 26s var(--ease) infinite alternate;
}
.orb-teal { width: 560px; height: 560px; background: rgba(10, 155, 127, 0.35); top: -180px; right: -120px; }
.orb-gold { width: 420px; height: 420px; background: rgba(255, 179, 71, 0.16); bottom: 5%; left: -160px; animation-delay: -8s; }
.orb-rose { width: 380px; height: 380px; background: rgba(230, 91, 122, 0.13); top: 55%; right: 12%; animation-delay: -16s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-60px, 50px) scale(1.12); }
  100% { transform: translate(50px, -40px) scale(0.94); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.scrolled {
  background: rgba(10, 14, 22, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--stroke);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.logo span { color: var(--gold); }
.logo-mark { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(255,179,71,0.35)); }
.nav .links { display: flex; gap: 30px; align-items: center; }
.nav .links a { color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 500; position: relative; transition: color 0.2s; }
.nav .links a:not(.cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--teal-bright), var(--gold));
  border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav .links a:not(.cta):hover { color: #fff; }
.nav .links a:not(.cta):hover::after { width: 100%; }
.nav .links a.cta {
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  color: var(--navy-dark); font-weight: 700; padding: 10px 24px; border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav .links a.cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 30px rgba(0, 217, 180, 0.35); }
.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 34px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative; overflow: hidden;
}
.btn.primary { background: linear-gradient(135deg, var(--teal), var(--teal-bright)); color: var(--navy-dark); }
.btn.primary::before {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn.primary:hover::before { left: 130%; }
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0, 217, 180, 0.4); }
.btn.ghost { border: 1.5px solid var(--stroke); color: #fff; background: var(--surface); backdrop-filter: blur(8px); }
.btn.ghost:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold); }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 100px; position: relative; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--stroke); backdrop-filter: blur(8px);
  color: var(--gold); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 8px 18px; border-radius: 999px; margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 217, 180, 0.6); }
  60% { box-shadow: 0 0 0 9px rgba(0, 217, 180, 0); }
}
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); font-weight: 800; color: #fff; margin-bottom: 24px; }
.hero h1 .shimmer {
  font-style: italic;
  background: linear-gradient(90deg, var(--teal-bright), var(--gold), var(--teal-bright));
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero .lead { color: var(--muted); font-size: 1.14rem; max-width: 33rem; margin-bottom: 38px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 0.83rem; color: rgba(139, 148, 158, 0.7); }

/* staggered entrance */
.stagger > * { opacity: 0; transform: translateY(28px); animation: rise 0.9s var(--ease) forwards; }
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.18s; }
.stagger > *:nth-child(3) { animation-delay: 0.31s; }
.stagger > *:nth-child(4) { animation-delay: 0.44s; }
.stagger > *:nth-child(5) { animation-delay: 0.57s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- phone mockup ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.phone {
  width: 290px; background: #05070C; border-radius: 44px; padding: 13px;
  border: 1px solid var(--stroke);
  box-shadow: 0 40px 90px rgba(0,0,0,0.65), 0 0 80px rgba(0, 217, 180, 0.10);
  transform: rotateY(-9deg) rotateX(4deg);
  animation: floaty 7s ease-in-out infinite;
  transition: transform 0.4s var(--ease);
}
.phone-wrap:hover .phone { transform: rotateY(0deg) rotateX(0deg); }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
.phone .screen { background: #0F1419; border-radius: 32px; overflow: hidden; }
.screen-head { background: linear-gradient(135deg, var(--navy), #14384f); padding: 22px 18px 16px; }
.screen-head .app-name { font-family: var(--serif); font-weight: 700; color: #fff; font-size: 1.1rem; }
.screen-head .app-name span { color: var(--gold); }
.mode-pill { display: inline-flex; margin-top: 12px; background: rgba(255,255,255,0.1); border-radius: 999px; padding: 3px; font-size: 0.64rem; font-weight: 700; }
.mode-pill b { background: var(--teal-bright); color: var(--navy-dark); border-radius: 999px; padding: 4px 13px; }
.mode-pill i { font-style: normal; color: rgba(255,255,255,0.65); padding: 4px 13px; }
.p-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); margin: 11px 13px; border-radius: 16px; padding: 13px; }
.p-row { display: flex; align-items: center; gap: 10px; }
.p-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-bright)); flex-shrink: 0; }
.p-avatar.g { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.p-line { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.12); }
.w40 { width: 40%; } .w60 { width: 60%; } .w80 { width: 80%; margin-top: 7px; }
.p-media { height: 84px; border-radius: 12px; margin-top: 11px; background: linear-gradient(120deg, #14384f, var(--teal)); position: relative; overflow: hidden; }
.p-media::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.14) 50%, transparent 60%);
  animation: sheen 3.6s ease-in-out infinite;
}
@keyframes sheen { 0%, 30% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
.p-media::after {
  content: '🔒 End-to-end encrypted'; position: absolute; right: 9px; bottom: 9px;
  font-size: 0.56rem; color: #fff; background: rgba(5,7,12,0.62); padding: 4px 9px; border-radius: 999px;
}
.p-coins { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; font-weight: 700; color: var(--text); }
.p-coins .amount { color: var(--gold); font-size: 0.95rem; }

/* floating chips around phone */
.chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: rgba(15, 20, 25, 0.75); border: 1px solid var(--stroke); backdrop-filter: blur(12px);
  padding: 10px 16px; border-radius: 14px; font-size: 0.78rem; font-weight: 600; color: var(--text);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  animation: floaty 6s ease-in-out infinite;
  z-index: 2;
}
.chip .ic { font-size: 1rem; }
.chip-1 { top: 5%; left: 1%; animation-delay: -1.5s; }
.chip-2 { bottom: 20%; left: -3%; animation-delay: -3s; }
.chip-3 { top: 26%; right: -1%; animation-delay: -4.5s; }
.chip-4 { bottom: 4%; right: 1%; animation-delay: -2.2s; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--stroke); padding: 20px 0; overflow: hidden; background: rgba(255,255,255,0.02); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); white-space: nowrap; }
.marquee-track span em { color: var(--gold); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section.block { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 64px; }
.section-head .kicker { color: var(--teal-bright); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); color: #fff; margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* ---------- purpose (mumineen helping mumineen) ---------- */
.purpose-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.purpose-copy .kicker { color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.purpose-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: #fff; margin: 14px 0 20px; }
.purpose-copy p { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.prof-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.prof-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--stroke); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 8px 16px; font-size: 0.82rem; font-weight: 600; color: var(--text);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.prof-pill:hover { transform: translateY(-3px); border-color: rgba(255,179,71,0.45); }
.how-cards { display: grid; gap: 18px; }
.how-cards .card { padding: 26px 26px; }
.how-cards .card h3 { font-size: 1.2rem; }
.how-cards .card .icon { width: 46px; height: 46px; font-size: 1.3rem; margin-bottom: 14px; }
.world-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px;
  border-top: 1px solid var(--stroke); padding-top: 44px;
}
.world-item { text-align: center; }
.world-item .big { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--gold); }
.world-item .sml { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }

/* ---------- bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--stroke); border-radius: 22px;
  padding: 34px 30px; backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0, 217, 180, 0.35); }
.card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 217, 180, 0.10), transparent 65%);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card.span-3 { grid-column: span 3; }
.card.span-2 { grid-column: span 2; }
.card .icon {
  width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0,217,180,0.18), rgba(0,217,180,0.06));
  border: 1px solid rgba(0,217,180,0.22);
}
.card.gold .icon { background: linear-gradient(135deg, rgba(255,179,71,0.18), rgba(255,179,71,0.05)); border-color: rgba(255,179,71,0.25); }
.card.rose .icon { background: linear-gradient(135deg, rgba(230,91,122,0.18), rgba(230,91,122,0.05)); border-color: rgba(230,91,122,0.25); }
.card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.stat { text-align: center; padding: 30px 16px; background: var(--surface); border: 1px solid var(--stroke); border-radius: 20px; backdrop-filter: blur(10px); }
.stat .num { font-family: var(--serif); font-weight: 800; font-size: 2.4rem; color: #fff; }
.stat .num em { color: var(--teal-bright); font-style: normal; }
.stat .lbl { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

/* ---------- dual-mode flip ---------- */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.modes .copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: #fff; margin-bottom: 18px; }
.modes .copy p { color: var(--muted); margin-bottom: 26px; }
.mode-toggle {
  display: inline-flex; background: var(--surface); border: 1px solid var(--stroke);
  border-radius: 999px; padding: 5px; cursor: pointer; user-select: none;
}
.mode-toggle span { padding: 10px 26px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: var(--muted); transition: 0.3s var(--ease); }
.mode-toggle span.active { color: var(--navy-dark); }
.mode-toggle.social span.s { background: linear-gradient(135deg, var(--teal), var(--teal-bright)); color: var(--navy-dark); }
.mode-toggle.pro span.p { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy-dark); }
.flip-scene { perspective: 1400px; }
.flip-card { position: relative; width: 100%; height: 340px; transform-style: preserve-3d; transition: transform 0.8s var(--ease); }
.flip-card.flipped { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden;
  border-radius: 24px; border: 1px solid var(--stroke); padding: 34px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.flip-face.front { background: linear-gradient(150deg, rgba(10,155,127,0.20), rgba(15,20,25,0.9)); }
.flip-face.back { background: linear-gradient(150deg, rgba(255,179,71,0.18), rgba(15,20,25,0.9)); transform: rotateY(180deg); }
.flip-face .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.flip-face.front .tag { color: var(--teal-bright); }
.flip-face.back .tag { color: var(--gold); }
.flip-face h3 { font-size: 1.6rem; color: #fff; margin: 10px 0 8px; }
.flip-face p { color: var(--muted); font-size: 0.92rem; }
.flip-face ul { list-style: none; display: grid; gap: 9px; margin-top: 18px; }
.flip-face li { display: flex; gap: 10px; font-size: 0.88rem; color: var(--text); }
.flip-face.front li::before { content: '✦'; color: var(--teal-bright); }
.flip-face.back li::before { content: '✦'; color: var(--gold); }

/* ---------- privacy ---------- */
.privacy-wrap {
  border-radius: 28px; padding: 64px 56px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, rgba(26,43,74,0.75), rgba(10,14,22,0.9));
  border: 1px solid var(--stroke);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.privacy-wrap::before {
  content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,217,180,0.14), transparent 70%);
  top: -180px; right: -120px; pointer-events: none;
}
.privacy-wrap h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.privacy-wrap > div > p { color: var(--muted); margin-bottom: 24px; }
.lock-list { list-style: none; display: grid; gap: 16px; }
.lock-list li {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--stroke); border-radius: 16px;
  font-size: 0.92rem; font-weight: 600; backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.lock-list li:hover { transform: translateX(8px); border-color: rgba(0,217,180,0.4); }
.lock-list .ic {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
  background: rgba(0,217,180,0.14); border: 1px solid rgba(0,217,180,0.25);
}

/* ---------- download ---------- */
.download-wrap { text-align: center; position: relative; overflow: hidden; }
.glow-ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 620px; height: 620px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0,217,180,0.13), transparent 60%);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.8; } 50% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; } }
.download-wrap h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: #fff; margin-bottom: 16px; }
.download-wrap p { color: var(--muted); margin-bottom: 40px; }
.store-note { margin-top: 22px; font-size: 0.84rem; color: rgba(139,148,158,0.75); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--stroke); padding: 52px 0; background: rgba(255,255,255,0.02); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.footer-tag { color: var(--muted); font-size: 0.85rem; font-family: var(--serif); font-style: italic; margin-top: 6px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.87rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-bright); }
.footer-meta { text-align: right; color: var(--muted); font-size: 0.82rem; display: grid; gap: 4px; }
.footer-meta .made em { color: var(--rose); font-style: normal; }

/* ---------- legal pages ---------- */
.legal-hero { padding: 170px 0 60px; text-align: center; }
.legal-hero .kicker { color: var(--teal-bright); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; margin: 14px 0 10px; }
.legal-hero .updated { color: var(--muted); font-size: 0.88rem; }
.legal-body { max-width: 780px; margin: 0 auto; padding: 20px 28px 110px; }
.legal-body .intro { color: var(--muted); font-size: 1.05rem; text-align: center; max-width: 620px; margin: 0 auto 54px; }
.legal-card {
  background: var(--surface); border: 1px solid var(--stroke); border-radius: 22px;
  padding: 34px 36px; margin-bottom: 22px; backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}
.legal-card:hover { border-color: rgba(0,217,180,0.25); }
.legal-card.accent { border-left: 3px solid var(--teal-bright); }
.legal-card.danger { border-left: 3px solid var(--error); }
.legal-card.danger:hover { border-color: rgba(255,107,107,0.35); }
.legal-card h2 { color: #fff; font-size: 1.35rem; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.legal-card h2 .n {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700; color: var(--teal-bright);
  background: rgba(0,217,180,0.1); border: 1px solid rgba(0,217,180,0.25);
  width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.legal-card p, .legal-card li { color: #B6C2CE; font-size: 0.94rem; }
.legal-card ul, .legal-card ol { padding-left: 20px; display: grid; gap: 8px; margin-top: 10px; }
.legal-card b { color: var(--text); }
.legal-card .pill {
  display: inline-block; background: rgba(0,217,180,0.1); color: var(--teal-bright);
  border: 1px solid rgba(0,217,180,0.25);
  font-size: 0.76rem; font-weight: 700; border-radius: 999px; padding: 5px 16px; margin-bottom: 14px;
}
.legal-card .pill.warn { background: rgba(255,179,71,0.1); color: var(--gold); border-color: rgba(255,179,71,0.3); }
.legal-card table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.9rem; }
.legal-card th, .legal-card td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--stroke); color: #B6C2CE; }
.legal-card th { color: #fff; font-weight: 600; }

/* ---------- how-to-use guide ---------- */
.guide { padding: 20px 0 110px; }
.guide-step {
  display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center;
  padding: 44px 0; border-bottom: 1px solid var(--stroke);
}
.guide-step:nth-child(even) { grid-template-columns: 1fr 340px; }
.guide-step:nth-child(even) .guide-shot { order: 2; }
.guide-shot { display: flex; justify-content: center; }
.guide-shot img {
  width: 280px; border-radius: 34px; border: 1px solid var(--stroke);
  padding: 10px; background: #05070C; display: block;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 60px rgba(0, 217, 180, 0.07);
  transition: transform 0.4s var(--ease);
}
.guide-shot img:hover { transform: translateY(-8px) scale(1.02); }
.step-num {
  display: inline-block; color: var(--teal-bright); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(0,217,180,0.1); border: 1px solid rgba(0,217,180,0.25);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 16px;
}
.guide-copy h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 14px; }
.guide-copy p { color: var(--muted); font-size: 0.98rem; margin-bottom: 16px; }
.guide-copy b { color: var(--text); }
.guide-copy ul { list-style: none; display: grid; gap: 10px; }
.guide-copy li { position: relative; padding-left: 24px; color: #B6C2CE; font-size: 0.93rem; }
.guide-copy li::before { content: '✦'; color: var(--gold); position: absolute; left: 0; }
.guide-cta { text-align: center; padding: 80px 0 20px; }
.guide-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.guide-cta p { color: var(--muted); margin-bottom: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .container, .modes, .privacy-wrap, .purpose-grid { grid-template-columns: 1fr; }
  .guide-step, .guide-step:nth-child(even) { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .guide-step:nth-child(even) .guide-shot { order: 0; }
  .guide-copy ul { text-align: left; max-width: 30rem; margin: 0 auto; }
  .world-strip { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-top: 120px; text-align: center; }
  .hero .actions { justify-content: center; }
  .hero .lead { margin-inline: auto; }
  .phone-wrap { margin-top: 30px; }
  .chip-2 { left: 0; } .chip-3, .chip-4 { right: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.span-3, .card.span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-meta { text-align: center; }
}
@media (max-width: 680px) {
  .nav .links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 6px;
    background: rgba(10,14,22,0.97); backdrop-filter: blur(20px);
    padding: 20px 28px 30px; border-bottom: 1px solid var(--stroke);
    transform: translateY(-130%); transition: transform 0.4s var(--ease);
  }
  .nav .links.open { transform: none; }
  .nav .links a { padding: 10px 0; font-size: 1rem; }
  .burger { display: flex; }
  .bento, .stats { grid-template-columns: 1fr; }
  .privacy-wrap { padding: 40px 26px; }
  .chip { display: none; }
  .legal-card { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
