/* tk-binance.com — Redis-inspired red + black theme */
:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --red-light: #f87171;
  --red-glow: rgba(220,38,38,.18);
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1c1c1c;
  --border: #2a2a2a;
  --border2: #333;
  --text: #f3f3f3;
  --muted: #9ca3af;
  --muted2: #6b7280;
  --code-bg: #111;
  --font: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --mono: 'Cascadia Code', 'Consolas', 'Courier New', monospace;
}

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

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); line-height: 1.75; }
a { color: var(--red-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg2); }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 32px; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link {
  color: var(--muted); font-size: 0.9rem; padding: 8px 14px;
  border-radius: 6px; transition: color .2s, background .2s;
  text-decoration: none;
}
.nav-link:hover { color: var(--text); background: var(--bg3); text-decoration: none; }
.nav-cta {
  background: var(--red); color: #fff; font-size: 0.9rem; font-weight: 600;
  padding: 8px 20px; border-radius: 6px; border: none; cursor: pointer;
  transition: background .2s, transform .1s;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-link {
  color: var(--muted); padding: 12px 16px; border-radius: 6px; font-size: 0.95rem;
  text-decoration: none;
}
.mobile-link:hover { color: var(--text); background: var(--bg3); }
.mobile-cta {
  background: var(--red); color: #fff; font-weight: 600; padding: 14px 16px;
  border-radius: 8px; border: none; cursor: pointer; font-size: 1rem;
  margin: 4px 0; transition: background .2s;
}
.mobile-cta:hover { background: var(--red-dark); }

/* ── HERO ── */
.hero {
  background: var(--bg);
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -30%; right: -15%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(220,38,38,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(220,38,38,.12); border: 1px solid rgba(220,38,38,.3);
  color: var(--red-light); font-size: 0.8rem; font-weight: 600; padding: 6px 14px;
  border-radius: 20px; margin-bottom: 20px; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero-title { margin-bottom: 20px; }
.hero-title span { color: var(--red); }
.hero-desc { font-size: 1.1rem; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--red); color: #fff; font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 8px; border: none; cursor: pointer;
  transition: background .2s, transform .15s; white-space: nowrap;
  min-height: 48px;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--text); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 8px; border: 1px solid var(--border2);
  cursor: pointer; transition: border-color .2s, background .2s; white-space: nowrap;
  min-height: 48px;
}
.btn-outline:hover { border-color: var(--red-light); background: rgba(220,38,38,.06); }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--red-light); }
.hero-stat span { font-size: 0.8rem; color: var(--muted2); }
.hero-visual {
  display: flex; flex-direction: column; gap: 12px;
}
.terminal-box {
  background: var(--code-bg); border: 1px solid var(--border2); border-radius: 10px;
  overflow: hidden;
}
.terminal-header {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px;
  background: var(--bg3); border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }
.terminal-title { font-size: 0.75rem; color: var(--muted2); margin-left: 4px; flex: 1; text-align: center; }
.terminal-body { padding: 16px 20px; font-family: var(--mono); font-size: 0.8rem; line-height: 1.8; }
.cmd { color: #a78bfa; } .c-green { color: #34d399; } .c-red { color: var(--red-light); }
.c-yellow { color: #fbbf24; } .c-gray { color: var(--muted2); } .c-white { color: #fff; }
.metric-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px;
}
.metric-card .label { font-size: 0.7rem; color: var(--muted2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.metric-card .value { font-size: 1.3rem; font-weight: 700; color: var(--red-light); }
.metric-card .sub { font-size: 0.7rem; color: var(--muted2); }

/* ── TRUST STRIP ── */
.trust-strip {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2); padding: 24px 0;
}
.trust-inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon { width: 20px; height: 20px; fill: var(--red); flex-shrink: 0; }
.trust-text { font-size: 0.85rem; color: var(--muted); }
.trust-text strong { color: var(--text); }
.trust-sep { width: 1px; height: 32px; background: var(--border); }

/* ── PLATFORM DOWNLOAD ── */
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
.platform-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px 24px; transition: border-color .25s, background .25s;
  display: flex; flex-direction: column; gap: 16px;
}
.platform-card:hover { border-color: var(--red); background: rgba(220,38,38,.04); }
.platform-icon { width: 48px; height: 48px; }
.platform-name { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.platform-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; flex: 1; }
.platform-btn {
  background: var(--red); color: #fff; font-weight: 600; font-size: 0.9rem;
  padding: 12px 20px; border-radius: 7px; border: none; cursor: pointer;
  min-height: 44px; transition: background .2s;
}
.platform-btn:hover { background: var(--red-dark); }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 600px; margin: 16px 0 0; }
.section-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red); background: rgba(220,38,38,.12);
  border: 1px solid rgba(220,38,38,.25); padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}

/* ── FEATURES ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.feat-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 28px;
  transition: transform .2s, border-color .2s;
}
.feat-card:hover { transform: translateY(-4px); border-color: rgba(220,38,38,.4); }
.feat-icon { width: 44px; height: 44px; margin-bottom: 16px; }
.feat-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feat-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ── STEPS ── */
.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px;
  position: relative;
}
.steps-row::after {
  content: '';
  position: absolute; top: 32px; left: calc(16.66% + 32px); right: calc(16.66% + 32px);
  height: 1px; background: linear-gradient(90deg, var(--red) 0%, var(--border) 50%, var(--red) 100%);
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 20px; position: relative; z-index: 1;
}
.step-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ── DATA / NUMBERS ── */
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 56px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.num-cell {
  background: var(--bg2); padding: 36px 28px; text-align: center;
  border-right: 1px solid var(--border);
}
.num-cell:last-child { border-right: none; }
.num-val { font-size: 2.4rem; font-weight: 800; color: var(--red-light); line-height: 1; }
.num-unit { font-size: 1rem; color: var(--muted); display: block; margin-top: 6px; }

/* ── SECURITY ── */
.security-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 56px; }
.security-list { display: flex; flex-direction: column; gap: 20px; }
.security-item { display: flex; gap: 14px; align-items: flex-start; }
.security-check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(220,38,38,.15); border: 1px solid rgba(220,38,38,.3);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.security-check svg { width: 14px; height: 14px; fill: var(--red-light); }
.security-item-title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.security-item-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.security-visual { position: relative; }
.shield-graphic {
  background: linear-gradient(135deg, var(--bg3) 0%, #1a0808 100%);
  border: 1px solid rgba(220,38,38,.2); border-radius: 16px; padding: 40px;
  text-align: center; position: relative; overflow: hidden;
}
.shield-graphic::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at top, rgba(220,38,38,.1) 0%, transparent 70%);
}

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.testi-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.testi-stars { color: var(--red); letter-spacing: 2px; font-size: 1rem; }
.testi-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; flex: 1; font-style: italic; }
.testi-author { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.testi-role { font-size: 0.78rem; color: var(--muted2); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #1a0000 0%, var(--bg3) 50%, #0a0a1a 100%);
  border: 1px solid rgba(220,38,38,.25); border-radius: 16px;
  padding: 72px 64px; text-align: center; position: relative; overflow: hidden;
  margin: 0 0 0;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(220,38,38,.12) 0%, transparent 70%);
}
.cta-banner h2 { margin-bottom: 16px; position: relative; }
.cta-banner p { font-size: 1.05rem; margin-bottom: 36px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ── */
.footer {
  background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; color: var(--muted); margin-top: 14px; line-height: 1.7; max-width: 300px; }
.footer-col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted2); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--red-light); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: gap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--muted2); }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badge {
  background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.2);
  color: var(--red-light); font-size: 0.72rem; padding: 4px 10px; border-radius: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num-cell:nth-child(2) { border-right: none; }
  .num-cell:nth-child(3) { border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .security-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 80px 0 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .platform-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 32px; }
  .steps-row::after { display: none; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 48px 24px; }
  .hero-stats { gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 390px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; }
  .metric-cards { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; }
  .num-cell { border-right: none; border-top: 1px solid var(--border); }
  .num-cell:first-child { border-top: none; }
}
