/* HyConnect — classy & fluid (neutral links, no blue/purple) */

:root{
  --bg0:#070a12;
  --bg1:#0b1020;
  --card: rgba(255,255,255,.065);
  --border: rgba(255,255,255,.13);
  --text:#eef3ff;
  --muted:#b6c1e2;
  --muted2:#9eabd5;
  --shadow: 0 24px 80px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(120,140,255,.10), transparent 55%),
    radial-gradient(900px 700px at 80% 20%, rgba(60,220,255,.06), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

/* kill default blue/purple everywhere */
a{color:inherit}
a:visited{color:inherit}

.container{max-width:1100px;margin:0 auto;padding:0 18px}

/* background orbs */
.bg-orb{
  position:fixed;
  width:520px;height:520px;border-radius:50%;
  filter: blur(42px);
  opacity:.18;
  pointer-events:none;
  z-index:-1;
  animation: drift 18s ease-in-out infinite;
}
.orb-1{left:-180px; top:140px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.30), rgba(120,140,255,.08), transparent 70%)}
.orb-2{right:-220px; top:60px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.24), rgba(60,220,255,.06), transparent 70%); animation-delay:-7s}
@keyframes drift{
  0%,100%{transform: translate3d(0,0,0) scale(1)}
  50%{transform: translate3d(0,26px,0) scale(1.03)}
}

/* header */
.header{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(16px);
  background: rgba(7,10,18,.58);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0}

.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none; font-weight:860; letter-spacing:.2px;
}
.logo{width:42px;height:42px;object-fit:contain}

.menu{display:flex; gap:14px}
.menu a{
  color: var(--muted);
  text-decoration:none;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.menu a:hover{
  color: var(--text);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transform: translateY(-1px);
}
.menu a.active{
  color: var(--text);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}

/* layout */
.hero{
  display:grid;
  grid-template-columns: 1.4fr .8fr;
  gap:18px;
  padding:30px 0 44px;
}
@media (max-width: 900px){.hero{grid-template-columns:1fr}}

.hero-card, .side-card, .page-card{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.05));
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-card{padding:26px}
.side{display:flex; flex-direction:column; gap:18px}
.side-card{padding:18px}

/* pill */
.pill{
  display:inline-flex; align-items:center;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size:13px;
}

/* title */
.title-row{
  display:flex; align-items:center; gap:18px;
  margin-top:14px;
}
.title-logo{
  width:92px;height:92px;object-fit:contain;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.45));
}
h1{font-size:44px;margin:0;letter-spacing:-.8px}
.title-text{display:flex;flex-direction:column;gap:6px}
.subtitle{color: var(--muted2); margin:0; line-height:1.55}

/* buttons */
.actions{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 14px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  text-decoration:none;
  font-weight:860;
  letter-spacing:.2px;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn-primary{
  color:#0b1020;
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.30);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.btn-primary:hover{background: rgba(255,255,255,.98)}
.btn-ghost{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
}
.btn-ghost:hover{background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28)}

/* shine */
.shine{position:relative; overflow:hidden}
.shine:before{
  content:"";
  position:absolute;
  inset:-40% -60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-60%) rotate(15deg);
  opacity:0;
}
.shine:hover:before{
  opacity:.35;
  animation: sheen .9s ease;
}
@keyframes sheen{from{transform: translateX(-60%) rotate(15deg)}to{transform: translateX(70%) rotate(15deg)}}

/* meta */
.meta{display:flex; gap:10px; flex-wrap:wrap; color:var(--muted2); font-size:13px}
.sep{opacity:.6}

/* tiles */
.grid-3{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 900px){.grid-3{grid-template-columns:1fr}}
.tile{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  border-radius:18px;
  padding:16px;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.tile:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.tile h3{margin:0 0 8px}
.tile p{margin:0; color:var(--muted2); line-height:1.5}

.side-card h2{margin:0 0 10px}
.list{margin:10px 0 0; padding-left:18px; color:var(--muted2); line-height:1.55}
.muted{color:var(--muted2)}

code{
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  padding:2px 6px;
  border-radius:10px;
  color: rgba(255,255,255,.92);
}

.link-muted{
  display:inline-block;
  margin-top:10px;
  color: var(--muted2);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.12);
  padding-bottom:2px;
  transition: color .15s ease, border-color .15s ease;
}
.link-muted:hover{color: var(--text); border-color: rgba(255,255,255,.22)}

/* faq */
.page{padding:30px 0 44px}
.page-card{padding:26px}
.faq details{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius:18px;
  padding:12px 14px;
  margin:10px 0;
}
.faq summary{cursor:pointer; font-weight:860}
.faq p{margin:10px 0 0; color:var(--muted2); line-height:1.55}

/* footer */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0;
  background: rgba(7,10,18,.40);
}
.footer-inner{
  display:flex; justify-content:center; gap:10px;
  color: var(--muted2); font-size:13px;
}

/* animations */
.anim-up{animation: up .55s cubic-bezier(.2,.9,.2,1) both}
.delay-1{animation-delay:.06s}
.delay-2{animation-delay:.12s}
.delay-3{animation-delay:.18s}
@keyframes up{
  from{opacity:0; transform: translate3d(0,10px,0); filter: blur(2px)}
  to{opacity:1; transform: translate3d(0,0,0); filter: blur(0)}
}
.float{animation: floaty 3.6s ease-in-out infinite}
@keyframes floaty{0%,100%{transform: translate3d(0,0,0)}50%{transform: translate3d(0,-6px,0)}}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .anim-up,.float,.bg-orb{animation:none !important}
  .btn,.tile,.menu a{transition:none !important}
}


/* Animations */
* {
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}


button, .btn {
  transform: translateY(0);
}


button:hover, .btn:hover {
  transform: translateY(-1px);
}


.card, .box {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
