/* Guns.lol-inspired landing UI (no external libs) */

:root{
  --bg0:#050508;
  --bg1:#0b0b10;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.16);
  --card: rgba(255,255,255,.05);
  --purple1: #6b2fa3;
  --purple2: #9a4dff;
  --purple3: #3a1b55;
  --shadow: 0 20px 80px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1100px 550px at 50% 0%, rgba(154,77,255,.22), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(107,47,163,.18), transparent 60%),
    radial-gradient(900px 520px at 90% 20%, rgba(107,47,163,.14), transparent 62%),
    var(--bg0);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }

.bg-glow{
  position:fixed;
  inset:-20%;
  background:
    radial-gradient(600px 220px at 30% 15%, rgba(154,77,255,.24), transparent 60%),
    radial-gradient(700px 260px at 70% 10%, rgba(107,47,163,.18), transparent 65%);
  filter: blur(10px);
  opacity:.9;
  pointer-events:none;
  z-index:-1;
}

/* Top pill navbar */
.top{
  padding:22px 18px 0;
  display:flex;
  justify-content:center;
}
.nav{
  width:min(1180px, 100%);
  padding:14px 18px;
  border-radius:999px;
  background: rgba(15,15,22,.72);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
  backdrop-filter: blur(16px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  padding-left:6px;
  min-width: 180px;
}
.brand-mark{
  width:18px; height:18px;
  border-radius:6px;
  background: linear-gradient(135deg, rgba(154,77,255,.9), rgba(107,47,163,.9));
  box-shadow: 0 0 0 3px rgba(154,77,255,.15);
  transform: rotate(-10deg);
}
.brand-text{
  font-weight:800;
  letter-spacing:.2px;
  font-size:18px;
}
.brand-text .dot{
  color: rgba(154,77,255,.95);
}

.navlinks{
  display:flex;
  gap:34px;
  align-items:center;
  justify-content:center;
  flex: 1;
}
.navlinks a{
  font-size:16px;
  color: rgba(255,255,255,.85);
  opacity:.95;
}
.navlinks a:hover{
  color: rgba(255,255,255,.98);
}

/* Pills (buttons) */
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
  white-space:nowrap;
  user-select:none;
}
.pill.primary{
  border-color: rgba(154,77,255,.45);
  background: linear-gradient(180deg, rgba(154,77,255,.35), rgba(107,47,163,.22));
  box-shadow: 0 0 0 1px rgba(154,77,255,.18), 0 16px 40px rgba(154,77,255,.12);
}
.pill.ghost{
  border-color: rgba(255,255,255,.14);
  background: rgba(15,15,22,.55);
}
.pill.big{
  padding:14px 22px;
  font-size:18px;
}
.pill:hover{
  transform: translateY(-1px);
}
.pill:active{
  transform: translateY(0);
}

/* Main wrap */
.wrap{
  width:min(1180px, 100%);
  margin:0 auto;
  padding: 44px 18px 0;
}

/* Hero */
.hero{
  text-align:center;
  padding: 40px 0 10px;
}
.hero h1{
  margin: 22px auto 14px;
  font-size: clamp(44px, 5.5vw, 74px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
}
.hero p{
  margin: 0 auto;
  max-width: 880px;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--muted);
  line-height: 1.5;
}
.cta{
  margin-top: 26px;
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}

/* Showcase (angled UI cards) */
.showcase{
  position:relative;
  margin-top: 56px;
  min-height: 420px;
}
.left-card{
  position:absolute;
  left: 0;
  bottom: 0;
  width: min(620px, 56vw);
  height: 360px;
  border-radius: 22px;
  padding: 14px;
  background: rgba(10,10,14,.55);
  border: 1px solid rgba(154,77,255,.28);
  box-shadow: var(--shadow);
  transform-origin: bottom left;
}
.tilt-left{ transform: perspective(1200px) rotateY(18deg) rotateX(2deg) rotateZ(-7deg); }

.card-frame{
  width:100%;
  height:100%;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  position:relative;
}
.card-topbar{
  height: 38px;
  display:flex;
  align-items:center;
  gap:8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.card-topbar .dot{
  width:10px; height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.10);
}
.card-body{
  padding: 16px;
  height: calc(100% - 38px);
  display:grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
}
.mini-nav{
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.chart{
  border-radius: 16px;
  background:
    radial-gradient(400px 220px at 30% 30%, rgba(154,77,255,.18), transparent 60%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  position:relative;
  overflow:hidden;
}
.chart:after{
  content:"";
  position:absolute;
  inset: 34px 26px 34px 26px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, transparent, rgba(154,77,255,.20), transparent),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  clip-path: polygon(0% 70%, 15% 64%, 30% 72%, 45% 40%, 60% 62%, 75% 52%, 90% 66%, 100% 58%, 100% 100%, 0% 100%);
  opacity:.9;
  filter: blur(.2px);
}

.lines{
  grid-column: 1 / -1;
  display:flex;
  gap:10px;
  align-items:center;
}
.lines span{
  height: 10px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
}
.lines span:nth-child(2){ flex: 1.2; }
.lines span:nth-child(3){ flex: .9; }
.lines span:nth-child(4){ flex: 1.1; }

/* Right stack of "phones" */
.right-stack{
  position:absolute;
  right: 0;
  bottom: 0;
  width: min(520px, 46vw);
  height: 380px;
}

.phone{
  position:absolute;
  width: 290px;
  height: 340px;
  border-radius: 26px;
  padding: 12px;
  background: rgba(10,10,14,.55);
  border: 1px solid rgba(154,77,255,.28);
  box-shadow: var(--shadow);
  transform-origin: bottom right;
}
.phone-screen{
  width:100%;
  height:100%;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  overflow:hidden;
  background: rgba(255,255,255,.03);
}

/* Faux screenshots (just gradients so it works offline) */
.img1{
  background:
    radial-gradient(220px 160px at 70% 20%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.01)),
    radial-gradient(240px 240px at 30% 60%, rgba(154,77,255,.18), transparent 60%),
    #0b0b10;
}
.img2{
  background:
    radial-gradient(260px 180px at 30% 20%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
    radial-gradient(220px 220px at 70% 70%, rgba(107,47,163,.22), transparent 60%),
    #0b0b10;
}
.img3{
  background:
    radial-gradient(240px 180px at 40% 20%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
    radial-gradient(240px 240px at 60% 70%, rgba(154,77,255,.20), transparent 60%),
    #0b0b10;
}

/* positions/tilts */
.tilt-back{ right: 160px; bottom: 10px; transform: perspective(1200px) rotateY(-10deg) rotateX(3deg) rotateZ(7deg); opacity:.7; }
.tilt-front{ right: 70px; bottom: 0; transform: perspective(1200px) rotateY(-14deg) rotateX(4deg) rotateZ(10deg); }
.tilt-front2{ right: 0; bottom: -10px; transform: perspective(1200px) rotateY(-18deg) rotateX(6deg) rotateZ(14deg); }

/* Below preview */
.below{
  padding: 70px 0 40px;
}
.mini-title{
  font-size: 13px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  text-align:center;
  margin-bottom: 14px;
}
.preview-wrap{
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 24px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,10,14,.55);
  box-shadow: 0 26px 90px rgba(0,0,0,.55);
}
iframe{
  width:100%;
  height: 520px;
  border:0;
  background:#000;
}

.footer{
  width:min(1180px,100%);
  margin: 18px auto 26px;
  padding: 18px 18px 0;
  color: rgba(255,255,255,.55);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer .muted{ color: rgba(255,255,255,.45); }

/* Responsive */
@media (max-width: 980px){
  .navlinks{ display:none; }
  .brand{ min-width:auto; }
  .showcase{
    min-height: 620px;
  }
  .left-card{
    position:relative;
    width:100%;
    height: 300px;
    transform: none;
    margin: 0 auto 22px;
  }
  .right-stack{
    position:relative;
    width:100%;
    height: 360px;
  }
  .phone{
    width: 240px;
    height: 300px;
  }
  .tilt-back{ right: 140px; }
  .tilt-front{ right: 60px; }
  .tilt-front2{ right: 0; }
}

@media (max-width: 560px){
  .pill.big{ width:100%; }
  .showcase{ min-height: 700px; }
  .right-stack{ height: 420px; }
  .phone{ width: 220px; height: 290px; }
  .tilt-back{ right: 120px; }
  .tilt-front{ right: 50px; }
}
