/* Base layout & theme inspired by modern dark crypto dashboards */
/* Reset / base */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #0b0b0f;
  --bg-card: #1a1a21;
  --bg-card-soft: #141419;
  --border-color: rgba(255,255,255,0.07);
  --text-primary: #ffffff;
  --text-dim: rgba(255,255,255,0.6);
  --text-soft: rgba(255,255,255,0.45);
  --accent: #6d6afc;
  --accent-hover: #8a86ff;
  --radius-xl: 1.25rem;
  --radius-lg: 0.9rem;
  --radius-md: 0.5rem;
  --radius-sm: 0.4rem;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  font-size: 16px;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Top banner */
.top-banner {
  background-color: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-banner .wrap {
  padding: 0.5rem 1.25rem;
}

.banner-text {
  color: #fff;
}

.banner-cta {
  background-color: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.2;
  transition: all .15s;
}
.banner-cta:hover {
  opacity: .9;
}

/* Nav */
.nav {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-mark {
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.03em;
}
.brand-sub {
  font-size: .7rem;
  color: var(--text-soft);
  letter-spacing: -0.03em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover {
  color: #fff;
}

.primary-cta {
  background-color: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  line-height: 1.2;
  transition: background-color .15s;
  white-space: nowrap;
}
.primary-cta:hover {
  background-color: var(--accent-hover);
}

.big-cta {
  display: inline-block;
  font-size: 1rem;
  padding: .8rem 1.1rem;
  border-radius: var(--radius-lg);
  text-align: center;
  min-width: 200px;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 20% 20%, rgba(109,106,252,.18) 0%, rgba(0,0,0,0) 60%),
              radial-gradient(circle at 80% 30%, rgba(255,255,255,.07) 0%, rgba(0,0,0,0) 70%);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media(min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0,1fr) minmax(0,480px);
    align-items: center;
  }
}

.hero-title {
  font-size: clamp(2rem, 2vw + 1rem, 2.5rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: .75rem;
}

.hero-body {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cta-note {
  color: var(--text-soft);
  font-size: .8rem;
  margin-top: .5rem;
}

/* Hero device preview card */
.hero-card {
  display: flex;
  justify-content: center;
}
.device-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 360px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 120px rgba(109,106,252,.3);
  overflow: hidden;
}
.device-header {
  display: flex;
  align-items: center;
  gap: .4rem;
  background-color: var(--bg-card-soft);
  border-bottom: 1px solid var(--border-color);
  padding: .6rem .8rem;
  font-size: .7rem;
  color: var(--text-soft);
  font-weight: 500;
}
.dot {
  width: .6rem;
  height: .6rem;
  border-radius: 999px;
}
.red { background-color: #ff5f57; }
.yellow { background-color: #febc2e; }
.green { background-color: #28c840; }
.device-label {
  margin-left: .25rem;
}
.device-body {
  padding: 1rem .8rem 1.25rem;
}
.chart-placeholder {
  background: radial-gradient(circle at 20% 20%, rgba(109,106,252,.18) 0%, rgba(0,0,0,0) 70%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 140px;
  position: relative;
  overflow: hidden;
}
.chart-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5,1fr);
}
.chart-grid div {
  border-right: 1px solid rgba(255,255,255,.05);
}
.chart-grid div:last-child {
  border-right: 0;
}
.chart-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.6) 30%, rgba(109,106,252,.8) 60%, transparent 100%);
  box-shadow: 0 0 16px rgba(109,106,252,.8);
}
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}
.stat-box {
  flex: 1;
  min-width: 120px;
  background-color: var(--bg-card-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: .6rem .75rem;
}
.stat-label {
  color: var(--text-soft);
  font-size: .7rem;
  margin-bottom: .25rem;
  font-weight: 500;
}
.stat-value {
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
}
.secure-note {
  color: var(--text-soft);
  font-size: .7rem;
  line-height: 1.4;
  margin-top: 1rem;
  text-align: center;
}

/* Sections */
.section {
  padding: 2.5rem 0;
  color: var(--text-primary);
}

.light-border {
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1rem;
}

.section p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Features grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media(min-width:700px){
  .feature-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media(min-width:1060px){
  .feature-grid {
    grid-template-columns: repeat(3,1fr);
  }
}
.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}
.feature-icon {
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
}
.feature-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .4rem;
  letter-spacing: -0.03em;
}
.feature-text {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background-color: var(--bg-card);
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
  margin-bottom: 1rem;
}
.compare-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
}
.compare-table th {
  background-color: var(--bg-card-soft);
  text-align: left;
  font-size: .8rem;
  color: var(--text-soft);
  font-weight: 500;
  padding: .75rem .9rem;
  border-bottom: 1px solid var(--border-color);
}
.compare-table td {
  font-size: .9rem;
  color: var(--text-primary);
  padding: .75rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.compare-table tr:last-child td {
  border-bottom: 0;
}

/* Summary / CTA card */
.summary-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.summary-list li {
  background: radial-gradient(circle at 20% 20%, rgba(109,106,252,.18) 0%, rgba(0,0,0,0) 70%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: .75rem .9rem;
  font-size: .9rem;
  color: #fff;
  line-height: 1.4;
  margin-bottom: .5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}

.callout-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1rem 1.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 120px rgba(109,106,252,.3);
  text-align: center;
}
.callout-text {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.bottom-note {
  margin-top: .5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  background-color: #0a0a0d;
  padding: 2rem 0 3rem;
  color: var(--text-soft);
  font-size: .8rem;
  line-height: 1.5;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media(min-width:700px){
  .footer-inner {
    grid-template-columns: 200px 1fr;
  }
}
.foot-brand .brand-mark {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
}
.foot-sub {
  margin-top: .25rem;
  font-size: .7rem;
  color: var(--text-soft);
}
.legal-text {
  color: var(--text-soft);
  margin-bottom: .75rem;
}
.legal-text.small {
  font-size: .7rem;
}
.legal-text a {
  color: var(--accent);
  text-decoration: none;
}
.legal-text a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Responsiveness polish */
@media(max-width:500px){
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    flex: 1 1 100%;
    order: 3;
    margin-left: 0;
  }
  .primary-cta {
    order: 2;
    margin-left: auto;
  }
  .nav-inner {
    gap: .5rem 1rem;
  }
}
