/* HyConnect — PRO & clean (single source of truth) */

:root{
  --bg0:#070a12;
  --bg1:#0b1020;
  --bg-soft: rgba(255,255,255,.06);
  --card: rgba(255,255,255,.065);
  --border: rgba(255,255,255,.14);

  --text:#eef3ff;
  --muted:#b6c1e2;

  --accent:#7c8cff;
  --accent2:#7a5cff;

  --shadow: 0 24px 80px rgba(0,0,0,.55);
  --glow: 0 0 28px rgba(124,140,255,.35);
}

*{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, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(124,140,255,.18), transparent 60%),
    radial-gradient(700px 450px at 78% 18%, rgba(122,92,255,.14), transparent 58%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

/* Links */
a{color:inherit;text-decoration:none}

/* Layout */
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(16px);
  background: rgba(10,15,35,.70);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  min-height:70px; gap:18px;
}
.logo{
  display:flex; align-items:center; gap:12px;
  font-weight:860; letter-spacing:.2px;
}
.logo img{width:40px;height:40px;object-fit:contain}
.menu{display:flex; gap:14px; align-items:center}
.menu a{
  padding:8px 14px; border-radius:12px;
  color:var(--muted);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.menu a:hover, .menu a.active{
  background: var(--bg-soft);
  color: var(--text);
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  user-select:none;
  font-weight:860;
  letter-spacing:.2px;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}
.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{box-shadow: 0 22px 52px rgba(0,0,0,.33)}
.btn-ghost{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
}
.btn-discord{
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, #5865f2, #7b83ff);
  color:#fff;
  box-shadow: 0 0 22px rgba(88,101,242,.35);
}
.btn-discord:hover{box-shadow: 0 0 30px rgba(88,101,242,.50)}
.btn-discord.big{padding:16px 28px; border-radius:18px; font-size:1rem}

/* Hero */
.hero{padding:92px 0 70px}
.hero.small{padding:70px 0 60px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:36px;
  align-items:center;
}
.hero-content{max-width:560px}
.hero h1{
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height:1.06;
  margin:0 0 16px;
}
.hero p{
  color:var(--muted);
  font-size:1.08rem;
  margin:0 0 26px;
}
.hero-visual{
  display:flex;
  justify-content:flex-end;
}
.hero-visual img{
  width:min(520px, 95%);
  height:auto;
  filter: drop-shadow(0 34px 70px rgba(0,0,0,.55));
  transform: translateY(0);
  animation: float 7s ease-in-out infinite;
}
@keyframes float{
  0%,100%{transform: translateY(0)}
  50%{transform: translateY(-10px)}
}

/* Grid / cards */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
}
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:20px;
  padding:24px;
  backdrop-filter: blur(12px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(124,140,255,.28);
  border-color: rgba(124,140,255,.35);
}
.card h3{margin:0 0 10px}
.card p{margin:0;color:var(--muted)}

/* Sections */
.features,.steps{padding:72px 0}
.cta,.faq{padding:72px 0; text-align:center}
.cta h2,.faq h2{margin:0 0 16px}
.cta p,.faq p{margin:0 0 22px; color:var(--muted)}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  padding:32px 0;
  text-align:center;
  color:var(--muted);
  margin-top:54px;
}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .hero-visual{justify-content:flex-start}
}
@media (max-width: 768px){
  .nav{flex-direction:column; gap:12px; padding:12px 0}
  .menu{flex-wrap:wrap; justify-content:center}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .hero-visual img{animation:none}
  .btn,.card,.menu a{transition:none !important}
}
