/* ts-binance.com — DigitalOcean-inspired cloud-blue theme */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a1628;
  --navy2: #0d1e35;
  --ocean: #1a3a5c;
  --blue: #0069ff;
  --blue2: #1a85ff;
  --teal: #17b5d8;
  --teal2: #00d4f5;
  --white: #ffffff;
  --gray1: #f0f5fc;
  --gray2: #c9d8ed;
  --gray3: #8099bb;
  --text: #e8f0fc;
  --text2: #a8bdd4;
  --border: rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.04);
  --radius: 10px;
  --radius2: 16px;
  --max-w: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(14px);
  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: 10px;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.nav-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray2);
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.2s;
}
.btn-nav-login:hover { color: var(--white); border-color: var(--gray3); }
.btn-nav-reg {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  background: var(--blue);
  transition: background 0.2s;
}
.btn-nav-reg:hover { background: var(--blue2); }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 105, 255, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(23, 181, 216, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid-line {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 105, 255, 0.15);
  border: 1px solid rgba(0, 105, 255, 0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal2);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, #0069ff 0%, #17b5d8 50%, #00d4f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray2);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  transition: all 0.2s;
  min-height: 50px;
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,105,255,0.35); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--teal2);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,212,245,0.4);
  transition: all 0.2s;
  min-height: 50px;
}
.btn-secondary:hover { background: rgba(0,212,245,0.08); border-color: var(--teal2); }

/* ── Stats band ── */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
}
.stat-num span { color: var(--teal2); }
.stat-label {
  font-size: 13px;
  color: var(--gray3);
  margin-top: 6px;
}

/* ── Section base ── */
section { padding: 80px 0; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.8px;
  color: var(--white);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--gray2);
  max-width: 540px;
  line-height: 1.65;
}

/* ── Why Choose – card grid ── */
.why-section {
  background: var(--navy2);
}
.why-header {
  margin-bottom: 52px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 32px 28px;
  transition: border-color 0.2s, background 0.2s;
}
.why-card:hover {
  border-color: rgba(0, 105, 255, 0.4);
  background: rgba(0, 105, 255, 0.06);
}
.why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}
.why-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card-text {
  font-size: 15px;
  color: var(--gray2);
  line-height: 1.65;
}

/* ── Products / Trading ── */
.trading-section {}
.trading-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.trading-visual {
  position: relative;
}
.chart-mockup {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 24px;
  overflow: hidden;
}
.chart-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.chart-pair {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.chart-price {
  font-size: 22px;
  font-weight: 800;
  color: #22c55e;
}
.chart-change {
  font-size: 13px;
  color: #22c55e;
}
.chart-svg-wrap {
  width: 100%;
  height: 160px;
}
.chart-stat-row {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}
.chart-stat {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 14px;
}
.chart-stat-label { font-size: 12px; color: var(--gray3); }
.chart-stat-value { font-size: 15px; font-weight: 700; color: var(--white); margin-top: 2px; }

.trading-features { list-style: none; padding: 0; }
.trading-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--teal2);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.feature-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.feature-desc {
  font-size: 14px;
  color: var(--gray2);
}

/* ── Security ── */
.security-section {
  background: var(--navy2);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.security-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 28px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.security-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.security-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.security-card-text {
  font-size: 14px;
  color: var(--gray2);
  line-height: 1.6;
}

/* ── Platform / Devices ── */
.platforms-section {}
.platforms-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.platform-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}
.platform-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color 0.2s;
}
.platform-item:hover { border-color: rgba(23,181,216,0.4); }
.platform-icon { width: 32px; height: 32px; flex-shrink: 0; }
.platform-name { font-size: 15px; font-weight: 600; color: var(--white); }
.platform-desc { font-size: 13px; color: var(--gray3); margin-top: 2px; }
.device-mockup {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 20px;
  text-align: center;
}

/* ── Numbers ── */
.numbers-section {
  background: linear-gradient(180deg, var(--navy2) 0%, var(--navy) 100%);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.number-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 36px 28px;
  text-align: center;
}
.number-big {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.number-big span { color: var(--teal2); }
.number-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray2);
  margin-bottom: 8px;
}
.number-sub {
  font-size: 13px;
  color: var(--gray3);
}

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, rgba(0,105,255,0.25) 0%, rgba(23,181,216,0.15) 100%);
  border-top: 1px solid rgba(0,105,255,0.2);
  border-bottom: 1px solid rgba(0,105,255,0.2);
  padding: 80px 0;
  text-align: center;
}
.cta-band-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-band-desc {
  font-size: 17px;
  color: var(--gray2);
  max-width: 520px;
  margin: 0 auto 36px;
}
.cta-band-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Footer ── */
footer {
  background: #060e1c;
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand-mark {
  width: 30px;
  height: 30px;
}
.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.footer-brand-desc {
  font-size: 13px;
  color: var(--gray3);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--gray3);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gray2); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray3);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a { color: var(--gray3); }
.footer-legal a:hover { color: var(--gray2); }

/* ── Mobile ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .trading-layout { grid-template-columns: 1fr; gap: 36px; }
  .security-grid { grid-template-columns: 1fr; }
  .platforms-layout { grid-template-columns: 1fr; gap: 32px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 72px 0 60px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .cta-band-btns { flex-direction: column; align-items: center; }
  .security-card { flex-direction: column; }
}

/* ── Misc utilities ── */
.text-teal { color: var(--teal2); }
.text-blue { color: var(--blue); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
