:root{
  --bg:#090513;
  --bg2:#12071e;
  --card:#130b23;
  --card2:#1a0f2e;
  --stroke:rgba(255,255,255,.08);
  --text:#f6f2ff;
  --muted:#b8abc9;
  --gold:#f5bf4f;
  --amber:#ff9f43;
  --emerald:#31d0aa;
  --ruby:#ff6b7a;
  --violet:#7c4fff;
  --copper:#d8893b;
  --shadow:0 24px 80px rgba(0,0,0,.35);
  --radius:28px;
  --max:1240px;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Zen Maru Gothic',system-ui,sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(245,191,79,.16), transparent 24%),
    radial-gradient(circle at 90% 14%, rgba(49,208,170,.12), transparent 26%),
    radial-gradient(circle at 75% 75%, rgba(216,137,59,.13), transparent 24%),
    linear-gradient(180deg, #07030f 0%, #0b0614 28%, #0e0719 60%, #07030f 100%);
  color:var(--text);
  overflow-x:hidden;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(var(--max), calc(100% - 32px));
  margin-inline:auto;
}

.top-strip{
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.02);
  backdrop-filter:blur(10px);
  display:none;
}

.top-strip__inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  min-height:48px;
  font-size:13px;
  color:var(--muted);
}

.top-strip__left,
.top-strip__right{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--emerald);
  box-shadow:0 0 16px var(--emerald);
}

.hero{
  position:relative;
  padding:42px 0 80px;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:52px 52px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.85), transparent 92%);
  pointer-events:none;
}

.hero__wrap{
  position:relative;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:28px;
  align-items:center;
  min-height:calc(100vh - 120px);
}

.hero__wrap > *{
  min-width:0;
}

.hero__badge{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:11px 16px;
  border-radius:999px;
  border:1px solid rgba(245,191,79,.22);
  background:linear-gradient(90deg, rgba(245,191,79,.14), rgba(49,208,170,.08));
  color:#ffe7af;
  font-size:13px;
  font-weight:700;
  letter-spacing:.4px;
  margin-bottom:18px;
  box-shadow:0 12px 34px rgba(245,191,79,.1);
}

.hero h1{
  font-size:clamp(40px, 7vw, 76px);
  line-height:.98;
  font-weight:900;
  letter-spacing:-1.8px;
  max-width:720px;
}

.hero h1 .grad{
  background:linear-gradient(90deg, #f5bf4f 0%, #ff9f43 38%, #31d0aa 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero__sub{
  margin-top:20px;
  max-width:650px;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

.hero__chips{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.chip{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  padding:11px 15px;
  border-radius:999px;
  font-size:13px;
  color:#eee3ff;
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.hero__actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px;
}

.btn{
  min-height:56px;
  padding:0 22px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.2px;
  transition:.28s ease;
  border:1px solid transparent;
}

.btn--primary{
  color:#201100;
  background:linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow:0 20px 40px rgba(245,191,79,.28);
}

.btn--primary:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 46px rgba(245,191,79,.34);
}

.btn--ghost{
  background:rgba(255,255,255,.03);
  border-color:rgba(255,255,255,.08);
  color:var(--text);
}

.btn--ghost:hover{
  transform:translateY(-2px);
  border-color:rgba(245,191,79,.3);
}

.market-bar{
  margin-top:30px;
  padding:18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  width:100%;
  max-width:100%;
  margin-inline:auto;
}

.market-card{
  border-radius:20px;
  padding:16px 18px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  min-width:0;
  width:100%;
}

.market-card__name{
  font-size:12px;
  color:#dfd0f9;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.market-card__price{
  font-size:28px;
  font-weight:900;
  margin-top:10px;
  word-break:break-word;
}

.market-card__chg{
  margin-top:8px;
  font-size:13px;
  font-weight:700;
}

.up{color:var(--emerald);}
.down{color:var(--ruby);}

.dashboard{
  position:relative;
  border-radius:34px;
  padding:22px;
  background:linear-gradient(180deg, rgba(24,14,40,.92), rgba(12,7,22,.94));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
  overflow:hidden;
  width:100%;
  max-width:100%;
  margin-inline:auto;
}

.dashboard::before{
  content:"";
  position:absolute;
  inset:auto -60px -60px auto;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(245,191,79,.20), transparent 68%);
  pointer-events:none;
}

.dash-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}

.dash-title{
  font-size:18px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:12px;
}

.live-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(49,208,170,.09);
  border:1px solid rgba(49,208,170,.16);
  color:#bff6e8;
  font-size:12px;
  font-weight:800;
  flex-shrink:0;
}

.spot-box{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  padding:16px 18px;
  border-radius:22px;
  background:linear-gradient(90deg, rgba(245,191,79,.10), rgba(49,208,170,.06));
  border:1px solid rgba(255,255,255,.06);
  width:100%;
}

.spot-box > div{
  min-width:0;
}

.label{
  font-size:12px;
  color:#dccff4;
  text-transform:uppercase;
  letter-spacing:.7px;
}

.value{
  font-size:30px;
  font-weight:900;
  margin-top:7px;
  word-break:break-word;
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  margin-top:10px;
  max-width:100%;
}

.tag--up{
  background:rgba(49,208,170,.12);
  color:#c4ffef;
}

.tag--gold{
  background:rgba(245,191,79,.12);
  color:#ffe8b0;
}

.chart-card,
.table-card{
  margin-top:18px;
  border-radius:24px;
  padding:18px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  width:100%;
  max-width:100%;
}

.chart-wrap{
  height:240px;
  position:relative;
  width:100%;
  overflow:hidden;
}

.chart-wrap svg{
  width:100%;
  height:100%;
}

.chart-labels{
  display:flex;
  justify-content:space-between;
  color:#c5b8da;
  font-size:12px;
  margin-top:10px;
  gap:8px;
  flex-wrap:wrap;
}

.table-card h3{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:16px;
  margin-bottom:14px;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  padding:14px 10px;
  text-align:left;
  font-size:14px;
}

th{
  color:#cebfe6;
  font-weight:700;
  border-bottom:1px solid rgba(255,255,255,.08);
}

td{
  border-bottom:1px solid rgba(255,255,255,.05);
  color:#f5edff;
}

tbody tr:hover{
  background:rgba(255,255,255,.025);
}

.section{
  padding:32px 0;
  position:relative;
}

.sec-head{
  max-width:760px;
  margin:0 auto 40px;
  text-align:center;
}

.sec-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(245,191,79,.10);
  border:1px solid rgba(245,191,79,.18);
  color:#ffe5aa;
  font-size:13px;
  font-weight:800;
}

.sec-head h2{
  font-size:clamp(30px,4vw,52px);
  line-height:1.08;
  margin-top:16px;
  font-weight:900;
}

.sec-head h2 span{
  color:var(--gold);
}

.sec-head p{
  margin-top:14px;
  color:var(--muted);
  font-size:16px;
  line-height:1.8;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

.service-card{
  position:relative;
  padding:24px;
  border-radius:26px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.07);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.service-card::after{
  content:"";
  position:absolute;
  top:-40px;
  right:-20px;
  width:120px;
  height:120px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(245,191,79,.16), transparent 70%);
}

.icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:22px;
  margin-bottom:18px;
  background:linear-gradient(135deg, rgba(245,191,79,.16), rgba(255,159,67,.14));
  border:1px solid rgba(245,191,79,.18);
  color:var(--gold);
}

.service-card h3{
  font-size:20px;
  margin-bottom:10px;
}

.service-card p{
  color:var(--muted);
  line-height:1.8;
  font-size:15px;
}

.split{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  align-items:stretch;
}

.feature-panel,
.risk-panel{
  border-radius:28px;
  padding:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.07);
  box-shadow:var(--shadow);
}

.feature-list{
  display:grid;
  gap:16px;
  margin-top:22px;
}

.feature-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.feature-item i{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(49,208,170,.10);
  color:var(--emerald);
  border:1px solid rgba(49,208,170,.18);
  flex:none;
}

.feature-item strong{
  display:block;
  margin-bottom:6px;
}

.feature-item p{
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}

.risk-panel{
  background:linear-gradient(180deg, rgba(255,107,122,.08), rgba(255,255,255,.025));
}

.risk-panel ul{
  margin-top:18px;
  display:grid;
  gap:12px;
  padding-left:18px;
}

.risk-panel li{
  color:#ecdffb;
  line-height:1.7;
}

.cta{
  padding:34px;
  border-radius:30px;
  background:linear-gradient(135deg, rgba(245,191,79,.16), rgba(49,208,170,.08));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
}

.cta h3{
  font-size:34px;
  line-height:1.08;
  max-width:620px;
}

.cta p{
  color:#f5e9ff;
  opacity:.82;
  margin-top:10px;
  max-width:580px;
}

footer{
  padding:28px 0 50px;
  color:#baaed0;
}

.footer-line{
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  margin-bottom:22px;
}

.footer-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

/* =========================
   LARGE TABLET
========================= */
@media (max-width:1100px){
  .hero{
    padding-top:28px;
  }

  .hero__wrap{
    min-height:auto;
    grid-template-columns:1fr;
    gap:24px;
  }

  .market-bar{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .grid-3{
    grid-template-columns:repeat(2, 1fr);
  }

  .dashboard{
    max-width:100%;
  }
}

/* =========================
   TABLET
========================= */
@media (max-width:768px){
  .container{
    width:min(var(--max), calc(100% - 28px));
  }

  .hero{
    padding:28px 0 60px;
  }

  .hero__wrap{
    gap:20px;
    justify-items:center;
  }

  .hero__wrap > div{
    width:100%;
  }

  .hero h1{
    font-size:clamp(32px, 9vw, 52px);
    letter-spacing:-1px;
    max-width:100%;
  }

  .hero__sub{
    font-size:15px;
    line-height:1.7;
    max-width:100%;
  }

  .hero__chips{
    gap:10px;
  }

  .chip{
    font-size:12px;
    padding:10px 14px;
  }

  .hero__actions{
    width:100%;
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

  .market-bar{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    padding:14px;
    gap:12px;
    border-radius:22px;
  }

  .market-card{
    padding:16px;
    border-radius:18px;
  }

  .market-card__price{
    font-size:24px;
  }

  .dashboard{
    padding:16px;
    border-radius:28px;
  }

  .dash-head{
    flex-direction:row;
    align-items:flex-start;
    gap:12px;
    flex-wrap:wrap;
  }

  .dash-title{
    font-size:16px;
    line-height:1.4;
  }

  .live-badge{
    margin-left:auto;
  }

  .spot-box{
    grid-template-columns:1fr;
    gap:14px;
    padding:16px;
    border-radius:20px;
  }

  .value{
    font-size:22px;
  }

  .chart-card,
  .table-card{
    padding:16px;
    border-radius:20px;
  }

  .chart-wrap{
    height:210px;
  }

  .chart-labels{
    font-size:11px;
  }

  .grid-3{
    grid-template-columns:1fr;
  }

  .cta{
    padding:24px;
  }

  .cta h3{
    font-size:28px;
  }

  th, td{
    font-size:13px;
    padding:12px 8px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width:576px){
  .container{
    width:min(var(--max), calc(100% - 24px));
  }

  .hero{
    padding:22px 0 48px;
  }

  .hero__badge{
    font-size:12px;
    padding:10px 14px;
    line-height:1.4;
    flex-wrap:wrap;
  }

  .hero h1{
    font-size:clamp(28px, 10vw, 40px);
    line-height:1.06;
  }

  .hero__sub{
    margin-top:14px;
    font-size:14px;
  }

  .hero__chips{
    gap:8px;
  }

  .chip{
    width:100%;
    justify-content:flex-start;
  }

  .market-bar{
    grid-template-columns:1fr;
    width:100%;
    max-width:100%;
    margin-inline:auto;
    padding:12px;
    gap:12px;
  }

  .market-card{
    width:100%;
    max-width:100%;
    margin-inline:auto;
  }

  .dashboard{
    width:100%;
    max-width:100%;
    margin-inline:auto;
    padding:14px;
    border-radius:24px;
  }

  .dash-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .live-badge{
    margin-left:0;
  }

  .dash-title{
    font-size:15px;
  }

  .spot-box{
    padding:14px;
  }

  .value{
    font-size:20px;
  }

  .tag{
    width:fit-content;
    max-width:100%;
    white-space:normal;
  }

  .chart-card,
  .table-card{
    padding:14px;
  }

  .table-card{
    overflow-x:auto;
  }

  table{
    min-width:460px;
  }

  .chart-wrap{
    height:190px;
  }

  .chart-labels{
    justify-content:space-between;
    gap:6px;
  }

  .feature-panel,
  .risk-panel,
  .service-card,
  .cta{
    padding:20px;
  }

  .cta h3{
    font-size:24px;
  }
}

/* =========================
   EXTRA SMALL MOBILE
========================= */
@media (max-width:400px){
  .container{
    width:min(var(--max), calc(100% - 20px));
  }

  .hero h1{
    font-size:26px;
  }

  .market-card__price{
    font-size:22px;
  }

  .dashboard{
    padding:12px;
  }

  .spot-box,
  .chart-card,
  .table-card{
    padding:12px;
  }

  .value{
    font-size:18px;
  }

  .cta h3{
    font-size:22px;
  }
}