:root{
  --bg:#020713;
  --nav:#060d1e;
  --panel:#0a142b;
  --text:#f6f8ff;
  --muted:#9eafc8;
  --cyan:#64dfff;
  --blue:#6d90ff;
  --violet:#aa7cff;
  --pink:#ff8bd9;
  --peach:#ffb28c;
  --green:#41f2a5;
  --red:#ff5f7a;
  --line:rgba(255,255,255,.105);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  min-height:100vh;
  font-family:Manrope,Inter,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 3% 38%,rgba(255,139,217,.25),transparent 18%),
    radial-gradient(circle at 23% 31%,rgba(82,154,255,.20),transparent 21%),
    radial-gradient(circle at 81% 18%,rgba(92,137,255,.17),transparent 20%),
    radial-gradient(circle at 95% 50%,rgba(255,139,217,.18),transparent 24%),
    linear-gradient(180deg,#020713 0%,#061027 48%,#020713 100%);
  overflow-x:hidden;
}

body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.026) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(to bottom,black 0%,black 55%,transparent 100%);
}

body:after{
  content:"";
  position:fixed;
  inset:-18% -10%;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(108deg,transparent 4%,rgba(81,159,255,.16) 28%,rgba(255,139,217,.24) 47%,rgba(255,178,140,.18) 58%,transparent 78%),
    radial-gradient(ellipse at 76% 48%,rgba(103,130,255,.22),transparent 35%);
  filter:blur(24px);
  opacity:.92;
  animation:flow4Body 11s ease-in-out infinite alternate;
}

@keyframes flow4Body{
  from{transform:translateX(-1.8%) translateY(.5%) scale(1)}
  to{transform:translateX(1.8%) translateY(-.8%) scale(1.025)}
}

a{color:inherit}
.flow-page{position:relative;z-index:2}
.flow-wrap{
  width:min(1350px,calc(100% - 72px));
  margin:0 auto;
  padding:34px 0 64px;
  position:relative;
  z-index:2;
}

.flow-wrap:before{
  content:"";
  position:absolute;
  left:-18%;
  top:210px;
  width:78%;
  height:320px;
  pointer-events:none;
  background:linear-gradient(113deg,transparent 0%,rgba(101,219,255,.20) 22%,rgba(255,139,217,.32) 50%,rgba(255,178,140,.23) 67%,transparent 86%);
  filter:blur(18px);
  transform:skewY(-13deg);
  opacity:.92;
  animation:leftRibbon 8s ease-in-out infinite alternate;
}

@keyframes leftRibbon{
  from{transform:translateX(-2%) skewY(-13deg)}
  to{transform:translateX(3%) skewY(-10deg)}
}

.hero{
  display:grid;
  grid-template-columns:510px 1fr;
  gap:34px;
  align-items:start;
  min-height:428px;
  position:relative;
}

.kicker{
  display:inline-flex;
  align-items:center;
  height:28px;
  padding:0 21px;
  border-radius:999px;
  background:rgba(11,22,48,.62);
  border:1px solid rgba(255,139,217,.62);
  color:#bdd7ff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.065em;
  box-shadow:0 0 28px rgba(255,139,217,.10);
}

h1{
  margin:17px 0 16px;
  font-size:61px;
  line-height:1.03;
  letter-spacing:-.065em;
  font-weight:1000;
  text-shadow:0 14px 68px rgba(101,219,255,.16);
}

.grad{
  background:linear-gradient(135deg,#ffffff 0%,#d6edff 25%,#b5b7ff 48%,#ff90d7 74%,#ffbd94 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  width:390px;
  color:#aebdd2;
  font-size:15px;
  line-height:1.62;
  margin:0;
}

.actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:20px;
}

.btn{
  height:46px;
  min-width:190px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.12);
  color:#eff7ff;
  background:rgba(9,17,36,.72);
  font-size:14px;
  font-weight:800;
}

.btn.primary{
  color:#fff;
  background:linear-gradient(135deg,#72b6ff 0%,#8a9fff 40%,#ff92d8 74%,#ffb28c 100%);
  box-shadow:0 18px 45px rgba(255,139,217,.20),0 12px 34px rgba(101,219,255,.13);
}

.card{
  background:linear-gradient(180deg,rgba(13,27,59,.72),rgba(5,12,28,.72));
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  box-shadow:0 24px 70px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter:blur(22px);
}

.chart-card{
  height:425px;
  padding:16px 18px 12px;
  border-radius:15px;
  position:relative;
  overflow:hidden;
  background:radial-gradient(circle at 64% 28%,rgba(101,219,255,.18),transparent 24%),linear-gradient(180deg,rgba(6,15,35,.77),rgba(3,8,20,.86));
}

.chart-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}

.pair-title{
  font-size:22px;
  font-weight:900;
  letter-spacing:-.035em;
}

.price-line{
  margin-top:8px;
  font-size:16px;
  font-weight:800;
  color:#dfeeff;
}

.live{
  display:inline-flex;
  margin-left:9px;
  padding:4px 8px;
  border-radius:7px;
  background:rgba(65,242,165,.13);
  border:1px solid rgba(65,242,165,.21);
  color:#83ffd1;
  font-size:10px;
  font-weight:900;
}

.frames{
  display:flex;
  gap:5px;
}

.frames span{
  padding:6px 8px;
  border-radius:7px;
  background:rgba(255,255,255,.045);
  color:#8492aa;
  font-size:11px;
  font-weight:800;
}

.frames span.active{
  background:linear-gradient(135deg,rgba(101,219,255,.25),rgba(157,120,255,.22));
  color:#f3f7ff;
}

.canvas-wrap{
  height:318px;
  margin-top:7px;
}

.canvas-wrap canvas{
  width:100%;
  height:100%;
  display:block;
}
.trust-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:13px;
  margin-top:20px;
  width:500px;
}

.trust{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:36px;
  color:#c7d6e9;
  font-size:11px;
  line-height:1.2;
  font-weight:800;
}

.trust:before{
  content:"";
  width:28px;
  height:28px;
  min-width:28px;
  border-radius:10px;
  background:linear-gradient(135deg,rgba(101,219,255,.28),rgba(255,139,217,.20));
  border:1px solid rgba(101,219,255,.36);
  box-shadow:0 0 20px rgba(101,219,255,.20);
}

.flow4-features{
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:13px;
  margin-top:18px;
}

.flow4-feature{
  height:118px;
  padding:17px 18px;
  display:grid;
  grid-template-columns:70px 1fr;
  align-items:center;
  gap:13px;
}

.flow4-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:18px;
  font-size:29px;
  background:linear-gradient(135deg,rgba(101,219,255,.17),rgba(255,139,217,.17));
  border:1px solid rgba(101,219,255,.18);
  box-shadow:0 0 34px rgba(101,219,255,.12);
}

.flow4-feature h3{
  margin:0 0 4px;
  font-size:16px;
  font-weight:900;
}

.flow4-feature p{
  margin:0;
  color:#aebbd0;
  font-size:12px;
  line-height:1.35;
}

.section{
  padding:18px 0 0;
  position:relative;
  z-index:4;
}

.grid4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:13px;
}

.plan{
  min-height:192px;
  padding:16px 18px;
  overflow:hidden;
  position:relative;
  border-radius:14px;
}

.plan:before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(101,219,255,.19),transparent 35%,rgba(255,139,217,.18) 70%,rgba(255,178,140,.16));
  opacity:.68;
}

.plan>*{
  position:relative;
  z-index:2;
}

.plan.popular{
  border-color:rgba(145,130,255,.48);
  box-shadow:0 22px 70px rgba(117,144,255,.16);
}

.tag{
  display:inline-flex;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(158,113,255,.20);
  color:#dacfff;
  font-size:10px;
  font-weight:900;
}

.plan h3{
  margin:8px 0 3px;
  font-size:16px;
  font-weight:900;
}

.price{
  margin-top:8px;
  font-size:25px;
  font-weight:1000;
}

.plan ul{
  margin:7px 0 10px;
  padding-left:15px;
  color:#c5d5e9;
  font-size:11px;
  line-height:1.55;
}

.plan .btn{
  height:32px;
  min-width:100%;
  border-radius:8px;
  font-size:11px;
}

.flow4-preview{
  margin-top:12px;
  padding:20px 26px;
  border-radius:15px;
  display:grid;
  grid-template-columns:250px 1fr;
  gap:26px;
  align-items:center;
}

.flow4-preview h2{
  margin:0 0 8px;
  font-size:24px;
}

.dashboard-mock{
  display:grid;
  grid-template-columns:105px 1fr 198px 240px;
  gap:10px;
}

.side-mock,.main-mock,.right-mock,.assets-mock{
  border-radius:11px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  padding:10px;
}

.side-mock div{
  padding:7px 8px;
  border-radius:8px;
  color:#b6c8dd;
  font-size:10px;
  font-weight:800;
}

.side-mock div.active{
  background:linear-gradient(135deg,rgba(101,219,255,.16),rgba(255,139,217,.12));
  color:#fff;
}

.mock-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:7px;
}

.mock-card{
  padding:9px;
  border-radius:9px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.07);
}

.mock-value{
  font-size:15px;
  font-weight:1000;
  margin-top:3px;
}

.good{color:var(--green)!important}
.bad{color:var(--red)!important}
.muted{color:var(--muted);line-height:1.58}
.tickers{display:none}
.auth-box{
  max-width:560px;
  margin:64px auto;
  padding:26px;
}

.form-grid{
  display:grid;
  gap:13px;
}

label{
  font-size:13px;
  font-weight:900;
  color:#dceaff;
}

input,select,textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(5,12,28,.72);
  color:var(--text);
  border-radius:14px;
  padding:14px 15px;
  font:inherit;
  outline:none;
}

input:focus,select:focus,textarea:focus{
  border-color:rgba(101,219,255,.55);
  box-shadow:0 0 0 4px rgba(101,219,255,.10);
}

.error{
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,93,120,.12);
  border:1px solid rgba(255,93,120,.24);
  color:#ffc9d1;
}

.app-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:13px;
}

.metric{padding:18px}
.metric-value{font-size:30px;font-weight:1000;margin-top:7px}

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
}

.settings-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
}

.footer{
  margin-top:18px;
  padding:24px 0 8px;
  text-align:center;
  color:#6f8198;
}

@media(max-width:1100px){
  .flow-menu{gap:10px}
  .hero{grid-template-columns:1fr}
  .lead,.trust-row{width:auto}
  .flow4-features,.grid4,.dashboard-mock,.flow4-preview,.app-grid,.grid2,.settings-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:720px){
  .flow-nav{
    position:relative;
    top:0;
    width:calc(100% - 24px);
    height:auto;
    align-items:flex-start;
    flex-direction:column;
  }

  .flow-menu{
    width:100%;
    gap:8px;
  }

  .flow-menu a{
    padding:8px 9px;
  }

  .flow-logo-tile{
    width:72px;
    height:72px;
    min-width:72px;
  }

  .flow-logo-tile img{
    width:66px;
    height:66px;
  }

  .flow-wrap{
    width:calc(100% - 24px);
    padding-top:20px;
  }

  h1{font-size:42px}

  .chart-card{height:440px}
  .canvas-wrap{height:300px}

  .flow4-features,.grid4,.dashboard-mock,.flow4-preview,.app-grid,.grid2,.settings-grid,.trust-row{
    grid-template-columns:1fr;
  }
}

/* PF logo size fix */
.flow-logo-tile{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:14px!important;
}

.flow-logo-tile img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  display:block!important;
}

.flow-logo{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}

/* PF nav hard fix */
.flow-nav{
  width:min(1180px,calc(100% - 36px))!important;
  margin:18px auto 0!important;
  padding:12px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:24px!important;
  background:rgba(5,12,30,.72)!important;
  backdrop-filter:blur(18px)!important;
  box-shadow:0 18px 70px rgba(0,0,0,.35)!important;
}

.flow-logo{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:900!important;
}

.flow-wordmark{
  color:#fff!important;
  font-size:18px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}

.flow-menu{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}

.flow-menu a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:40px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  color:#dbe8ff!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:800!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.10)!important;
}

.flow-menu a:hover{
  background:rgba(105,221,255,.14)!important;
  color:#fff!important;
}

.flow-menu a.primary{
  background:linear-gradient(135deg,#5ee7ff,#7866ff)!important;
  color:#061024!important;
  border:0!important;
}

.flow-menu a.ghost{
  background:rgba(255,255,255,.08)!important;
}

@media(max-width:760px){
  .flow-nav{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .flow-menu{
    width:100%!important;
    justify-content:flex-start!important;
  }
}
