/* BitMatch — bitmatch.co */
:root {
  --bg: #070707;
  --card: rgba(255, 255, 255, 0.035);
  --card-solid: #121212;
  --accent: #ff6b6b;
  --peach: #ff9a6c;
  --amber: #ffb84d;
  --sage: #7ec8a0;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --stroke: rgba(255, 255, 255, 0.08);
  --grad: linear-gradient(115deg, #ff5e6c, #ff9a6c);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient glow */
body::before, body::after {
  content: ""; position: fixed; border-radius: 50%; filter: blur(140px);
  z-index: -1; pointer-events: none;
}
body::before { width: 560px; height: 560px; top: -180px; left: -140px; background: rgba(255, 107, 107, 0.16); }
body::after { width: 640px; height: 640px; bottom: -240px; right: -160px; background: rgba(179, 153, 255, 0.13); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand img.logo {
  width: 38px; height: 38px; border-radius: 10px;
  box-shadow: 0 4px 18px rgba(255, 107, 107, 0.35);
}
nav .links { display: flex; align-items: center; }
nav .links a { color: var(--muted); text-decoration: none; margin-left: 26px; font-size: 0.92rem; font-weight: 500; transition: color .15s; }
nav .links a:hover { color: var(--text); }
nav .links a.nav-cta {
  background: var(--grad); color: #fff; padding: 9px 18px; border-radius: 999px;
  font-weight: 700; box-shadow: 0 4px 18px rgba(255, 107, 107, 0.3);
}

/* Language toggle */
.lang-toggle {
  display: inline-flex; border: 1px solid var(--stroke); border-radius: 999px; overflow: hidden;
  margin-left: 22px; font-size: 0.8rem; font-weight: 700;
}
.lang-toggle button {
  background: transparent; border: none; color: var(--muted); padding: 7px 13px; cursor: pointer;
}
.lang-toggle button.active { background: var(--grad); color: #fff; }

/* Hero */
.hero { display: flex; align-items: center; gap: 48px; padding: 70px 0 90px; flex-wrap: wrap; }
.hero-copy { flex: 1 1 460px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.25);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .4; transform: scale(.8);} }

.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 850; letter-spacing: -0.03em; line-height: 1.06; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: #c0c0c0; font-size: 1.18rem; max-width: 520px; margin-top: 22px; }
.hero p.sub-tr { color: var(--muted); font-size: 0.98rem; max-width: 520px; margin-top: 12px; }

.cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 16px; background: var(--grad);
  color: #fff; font-weight: 750; text-decoration: none; font-size: 1rem;
  box-shadow: 0 10px 34px rgba(255, 107, 107, 0.38);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255, 107, 107, 0.5); }
.btn-ghost {
  display: inline-flex; padding: 15px 30px; border-radius: 16px;
  border: 1px solid var(--stroke); color: var(--text);
  text-decoration: none; font-weight: 600; background: var(--card);
  backdrop-filter: blur(8px); transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); }
.coming-soon { margin-top: 16px; color: var(--muted); font-size: 0.85rem; }

/* Phone mockup */
.hero-visual { flex: 0 1 360px; display: flex; justify-content: center; }
.phone {
  width: 300px; height: 610px; border-radius: 46px; padding: 12px;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 90px rgba(0,0,0,0.7), 0 0 80px rgba(255,154,108,0.14);
  position: relative; transform: rotate(2.5deg);
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(160deg, #1a0f16, #0a0a0c);
  display: flex; flex-direction: column; padding: 26px 22px;
}
.phone .notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; border-radius: 999px; background: #000; z-index: 2;
}
.m-head { display: flex; align-items: center; gap: 8px; margin-top: 30px; }
.m-head img.m-logo { width: 26px; height: 26px; border-radius: 7px; }
.m-head strong { font-size: 0.95rem; }
.m-label { margin-left: auto; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--peach); background: rgba(255,154,108,0.14); padding: 4px 9px; border-radius: 999px; }
.m-avatars { display: flex; justify-content: center; margin-top: 44px; }
.m-avatar {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 1.5rem; border: 3px solid #14080f;
}
.m-avatar { overflow: hidden; }
.m-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-avatar.a { background: rgba(255,107,107,0.22); border-color: rgba(255,107,107,0.55); }
.m-avatar.b { background: rgba(255,154,108,0.22); border-color: rgba(255,154,108,0.55); margin-left: -16px; }
.m-pct {
  text-align: center; font-size: 3.6rem; font-weight: 900; margin-top: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.m-names { text-align: center; color: #ddd; font-weight: 600; font-size: 0.85rem; margin-top: 2px; }
.m-sub { text-align: center; color: var(--muted); font-size: 0.72rem; margin-top: 4px; }
.m-verdict {
  margin-top: 22px; padding: 16px 14px; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,107,107,0.3);
  font-weight: 700; font-size: 0.86rem; line-height: 1.45;
}
.m-tags { display: flex; justify-content: center; gap: 7px; margin-top: 18px; flex-wrap: wrap; }
.m-tag { font-size: 0.66rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.09); color: #ddd; }
.m-foot { margin-top: auto; display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--muted); }
.m-foot .co { color: var(--accent); font-weight: 800; }

/* Food gallery strip */
.gallery-strip { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; padding: 10px 0 40px; }
.g-card {
  width: 158px; border-radius: 18px; overflow: hidden;
  background: var(--card-solid); border: 1px solid var(--stroke);
  transform: rotate(var(--tilt, 0deg));
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.g-card:hover { transform: rotate(0deg) translateY(-8px) scale(1.04); box-shadow: 0 26px 56px rgba(0,0,0,0.6); z-index: 2; position: relative; }
.g-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.g-meta { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; font-size: 0.72rem; font-weight: 600; color: #ddd; }
.g-rate { color: var(--amber); font-weight: 800; }
@media (max-width: 760px) { .g-card { width: 44%; } .g-card img { height: 120px; } }

/* Section headers */
section.block { padding: 50px 0; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 830; letter-spacing: -0.02em; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin: 12px auto 44px; max-width: 540px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--stroke); border-radius: 24px;
  padding: 30px 26px; backdrop-filter: blur(8px);
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(255, 107, 107, 0.35); }
.feature .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 18px;
  background: rgba(255, 107, 107, 0.12); border: 1px solid rgba(255, 107, 107, 0.2);
}
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 0.93rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--stroke); border-radius: 24px; padding: 30px 26px; }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; font-weight: 800; font-size: 0.95rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* Verified strip */
.verified-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(115deg, rgba(64,153,255,0.10), rgba(255,184,77,0.08));
  border: 1px solid rgba(64,153,255,0.22); border-radius: 26px; padding: 34px 36px;
}
.verified-strip h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.verified-strip p { color: var(--muted); max-width: 560px; margin-top: 6px; font-size: 0.95rem; }
.seal { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; padding: 6px 13px; border-radius: 999px; margin-right: 8px; }
.seal.blue { background: rgba(64,153,255,0.15); color: #5aa6ff; }
.seal.gold { background: rgba(255,184,77,0.15); color: var(--amber); }

/* Final CTA */
.final-cta {
  text-align: center; padding: 66px 30px; border-radius: 30px; margin: 30px 0 70px;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255,107,107,0.18), transparent 55%),
    radial-gradient(ellipse at 75% 100%, rgba(255,154,108,0.13), transparent 55%),
    var(--card-solid);
  border: 1px solid var(--stroke);
}
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 850; letter-spacing: -0.02em; }
.final-cta p { color: var(--muted); margin: 12px auto 30px; max-width: 480px; }

/* Legal pages */
.legal { padding: 50px 0 90px; max-width: 760px; }
.legal h1 { font-size: 2.1rem; margin-bottom: 6px; letter-spacing: -0.02em; }
.legal .updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.15rem; margin: 34px 0 10px; }
.legal p, .legal li { color: #b5b5b5; font-size: 0.95rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); }

/* Support */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 36px; }
.support-card {
  background: var(--card); border: 1px solid var(--stroke); border-radius: 24px;
  padding: 30px 28px; backdrop-filter: blur(8px); transition: transform .2s, border-color .2s;
}
.support-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); }
.support-card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.35rem; margin-bottom: 16px; background: rgba(255,255,255,0.06); border: 1px solid var(--stroke);
}
.support-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.support-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.mail-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92rem; font-weight: 600;
  color: var(--text); text-decoration: none;
  background: rgba(255,255,255,0.06); border: 1px solid var(--stroke);
  padding: 11px 18px; border-radius: 12px; transition: border-color .15s, background .15s;
}
.mail-chip:hover { border-color: var(--accent); background: rgba(255,107,107,0.08); }
.mail-chip .at { color: var(--accent); }

/* Footer */
footer { border-top: 1px solid var(--stroke); padding: 36px 0 50px; color: var(--muted); font-size: 0.88rem; }
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  .hero { padding-top: 30px; }
  .phone { transform: rotate(0deg); width: 270px; height: 550px; }
  .verified-strip { padding: 26px; }
}
