/* === Base === */
:root {
  --bg: #070a0f;
  --bg2: #0b1220;
  --bg3: #0e1726;
  --card: #0f1720;
  --text: #e9f1ff;
  --muted: #a7b3c7;
  --accent: #7ab7ff;
  --accent-2: #7cffc4;
  --ring: rgba(122,183,255,0.25);
  --border: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 70% -10%, #162745 0%, transparent 60%),
    radial-gradient(900px 600px at -10% 20%, #101b2c 0%, transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2) 60%, var(--bg3));
  line-height: 1.6;
}

.container { width: min(1100px, 92%); margin: 0 auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: .2px; }
h1 { font-size: clamp(2.4rem, 3.6vw + 1rem, 4rem); margin: 0.35em 0 0.15em; }
h2 { font-size: clamp(1.7rem, 1.3vw + 1rem, 2.3rem); margin: 0 0 0.6rem; }
h3 { font-size: clamp(1.1rem, 0.6vw + .9rem, 1.3rem); margin: 0 0 .35rem; }
p { margin: 0.3rem 0 1rem; }
.small { font-size: .9rem; color: var(--muted); }
a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Header === */
.skip-link {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { left: 1rem; top: 1rem; width: auto; height: auto; z-index: 1000; background:#111; color:#fff; padding:.6rem .8rem; border-radius:6px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,10,15,0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.site-header.elevated { box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 0;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; }
.logo { width: 28px; height: 28px; }
.brand-name { letter-spacing: .4px; }
.nav { display: flex; gap: 1.1rem; align-items: center; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); }
.btn-link {
  padding: .45rem .8rem; border: 1px solid var(--border); border-radius: 999px;
}

/* Mobile burger */
.burger { display:none; flex-direction:column; gap:5px; background:transparent; border:none; }
.burger span { width:22px; height:2px; background:#9db2ca; display:block; border-radius:2px; }

/* === Hero === */
.hero { position: relative; overflow: hidden; }
.hero-inner { padding: 7rem 0 5.5rem; position: relative; }
.hero-sub { color: var(--muted); max-width: 720px; font-size: 1.05rem; }
.accent { color: var(--accent); text-shadow: 0 0 24px rgba(122,183,255,.35); }
.cta-row { display: flex; gap: .8rem; margin-top: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px; padding: .85rem 1.1rem; border: 1px solid var(--border);
  font-weight: 700; text-decoration: none; letter-spacing:.2px;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color:#0a0f14; border: none; box-shadow: 0 10px 25px rgba(122,183,255,.25); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 35px rgba(122,183,255,.35); }
.btn.ghost { background: rgba(255,255,255,.04); color: var(--text); }
.btn.ghost:hover { background: rgba(255,255,255,.06); }
.btn.small { padding: .55rem .8rem; font-size: .95rem; }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* hero glow + ripples */
.glow { position:absolute; inset:-40% -10% auto -10%; height:120%; filter: blur(60px);
  background: radial-gradient(600px 380px at 20% 10%, rgba(122,183,255,.18), transparent 70%),
              radial-gradient(800px 520px at 90% -10%, rgba(124,255,196,.13), transparent 70%);
  z-index:-1;
}

.ripple-stack { position:absolute; right:-80px; bottom:-120px; width:520px; height:520px; pointer-events:none; opacity:.6; }
.ripple-stack span {
  position:absolute; inset:0; border:1.5px solid rgba(122,183,255,.25); border-radius:999px; animation: wave 9s infinite ease-in-out;
}
.ripple-stack span:nth-child(2) { animation-delay: .8s; }
.ripple-stack span:nth-child(3) { animation-delay: 1.6s; }
@keyframes wave { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06);} }

.hero-bottom-fade{ position:absolute; left:0; right:0; bottom:-1px; height:120px;
  background: linear-gradient(180deg, rgba(10,15,20,0), rgba(10,15,20,0.8) 70%, rgba(10,15,20,1));
}

/* === Sections === */
.section { padding: 4.2rem 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }
.section-intro { color: var(--muted); margin-bottom: 1.2rem; }

.values-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid var(--border); border-radius: 18px;
  padding: 1.1rem 1.2rem;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 3px var(--ring);
  border-color: rgba(122,183,255,.35);
}
.icon { font-size: 1.2rem; opacity: .85; }

.cards-row {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid var(--border); border-radius: 18px; padding: 1.25rem;
}

/* Community */
.community {
  display: grid; gap: 1.8rem; align-items: center;
  grid-template-columns: 1.2fr .8fr;
}
.community .stats { list-style: none; padding: 0; margin: .2rem 0 1rem; color: var(--muted); }
.community-art img { width: 100%; opacity: .9; filter: drop-shadow(0 8px 30px rgba(0,0,0,.3)); }

/* Logos */
.logos { display: flex; gap: .6rem; flex-wrap: wrap; }
.logo-pill {
  border: 1px solid var(--border); padding: .48rem .74rem; border-radius: 999px; color: var(--muted);
  background: rgba(255,255,255,.02); transition: border-color .2s ease, color .2s ease;
}
.logo-pill:hover { color: var(--text); border-color: var(--text); }

/* Contact */
.contact .grid { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
input, textarea {
  width: 100%; background: #0a121a; border: 1px solid var(--border); color: var(--text);
  border-radius: 12px; padding: .75rem .8rem; outline: none;
}
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
label { display: grid; gap: .35rem; font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 2rem 0; background: rgba(0,0,0,.25);
}
.footer-inner {
  display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.socials { display: flex; gap: .6rem; }
.socials a { border: 1px solid var(--border); padding: .3rem .55rem; border-radius: 8px; color: var(--muted); }
.socials a:hover { color: var(--text); border-color: var(--text); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(10px); }
.reveal.visible { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }

/* Responsive */
@media (max-width: 920px) {
  .burger { display:flex; }
  .nav { position: fixed; right: 1rem; top: 64px; background: rgba(8,12,18,.9); border:1px solid var(--border); border-radius: 14px;
    display:none; flex-direction: column; padding:.6rem; gap:.2rem; backdrop-filter: blur(10px); }
  .nav.open { display:flex; }
  .nav a { padding: .6rem .7rem; border-radius: 8px; }
  .nav a:hover { background: rgba(255,255,255,.04); }
}

@media (max-width: 860px) {
  .community { grid-template-columns: 1fr; }
  .contact .grid { grid-template-columns: 1fr; }
}
