:root {
  --bg: #08090d;
  --bg-soft: #0d0f15;
  --panel: rgba(17, 20, 29, 0.72);
  --panel-solid: #11141d;
  --line: rgba(255, 255, 255, 0.08);
  --line-bright: rgba(143, 124, 255, 0.32);
  --text: #f4f5f7;
  --muted: #9a9fab;
  --muted-2: #6f7480;
  --accent: #7a6cff;
  --accent-2: #57a8ff;
  --accent-rgb: 122, 108, 255;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -10%, rgba(77, 71, 145, .16), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

::selection { background: rgba(var(--accent-rgb), .35); color: white; }

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), .08), transparent 67%);
  opacity: 0;
  transition: opacity .25s ease;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section { position: relative; padding: 110px 0; }
.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.006));
  border-top: 1px solid rgba(255,255,255,.035);
  border-bottom: 1px solid rgba(255,255,255,.035);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 9, 13, .76);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.nav-wrap { height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: .04em; font-size: 14px; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: 14px; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 9px; }

.btn {
  min-height: 46px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 13px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .01em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.18); }
.btn-primary {
  background: linear-gradient(135deg, #7567ff, #5c79ff);
  border-color: transparent;
  box-shadow: 0 12px 34px rgba(var(--accent-rgb), .18);
}
.btn-primary:hover { box-shadow: 0 18px 44px rgba(var(--accent-rgb), .28); }
.btn-ghost { background: rgba(255,255,255,.035); backdrop-filter: blur(10px); }
.btn-small { min-height: 40px; padding: 0 14px; border-radius: 11px; }
.icon { width: 18px; height: 18px; flex: 0 0 18px; }

.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 12px; position: relative; }
.menu-toggle span { position: absolute; left: 12px; width: 18px; height: 1px; background: white; transition: transform .25s ease, top .25s ease; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle.active span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle.active span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

.hero { min-height: 100vh; padding-top: 150px; padding-bottom: 95px; display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,13,.86) 0%, rgba(8,9,13,.58) 44%, rgba(8,9,13,.25) 70%, rgba(8,9,13,.75) 100%),
    radial-gradient(circle at 77% 45%, rgba(99, 83, 207, .11), transparent 25%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 200px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.hero-copy { max-width: 690px; }
.eyebrow { color: #b8bcc6; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.hero h1 { margin: 20px 0 8px; max-width: 760px; font-size: clamp(54px, 8vw, 108px); line-height: .92; letter-spacing: -.055em; font-weight: 820; text-transform: uppercase; }
.hero-tagline { margin: 0 0 18px; font-size: clamp(20px, 2.5vw, 30px); color: #d7d9df; letter-spacing: -.025em; }
.hero-description { max-width: 610px; margin: 0; color: var(--muted); font-size: 16px; }
.hero-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.meta-chip { padding: 8px 11px; border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 10px; color: #c6c9d1; font-size: 12px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }

.hero-emblem-wrap { position: relative; min-height: 540px; display: grid; place-items: center; }
.hero-emblem { position: relative; z-index: 3; width: min(88%, 510px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 35px 80px rgba(0,0,0,.48)); }
.emblem-ring { position: absolute; width: min(91%, 530px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(139, 123, 255, .18); box-shadow: inset 0 0 50px rgba(var(--accent-rgb), .08); }
.emblem-ring::before, .emblem-ring::after { content: ""; position: absolute; inset: -22px; border: 1px dashed rgba(255,255,255,.06); border-radius: 50%; }
.emblem-ring::after { inset: 18px; border-style: solid; border-color: rgba(255,255,255,.05); }
.emblem-glow { position: absolute; width: 68%; aspect-ratio: 1; border-radius: 50%; background: rgba(var(--accent-rgb), .16); filter: blur(72px); }
.emblem-caption { position: absolute; z-index: 4; right: 5%; bottom: 8%; padding: 12px 15px; min-width: 118px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7,8,12,.7); backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.emblem-caption span { display: block; color: var(--muted-2); font-size: 10px; letter-spacing: .18em; }
.emblem-caption strong { font-size: 18px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .2; }
.hero-orb-one { width: 340px; height: 340px; background: #4235c3; right: 4%; top: 22%; }
.hero-orb-two { width: 240px; height: 240px; background: #1a78d1; right: 28%; bottom: 9%; opacity: .1; }
.scroll-cue { position: absolute; z-index: 5; bottom: 24px; left: 50%; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; transform: translateX(-50%); display: grid; place-items: center; }
.scroll-cue span { width: 7px; height: 7px; border-right: 1px solid white; border-bottom: 1px solid white; transform: rotate(45deg) translate(-1px,-1px); animation: scrollCue 1.8s ease infinite; }
@keyframes scrollCue { 50% { transform: rotate(45deg) translate(3px,3px); opacity: .4; } }

.section-heading { max-width: 780px; margin-bottom: 50px; }
.section-heading.compact { margin-bottom: 36px; }
.section-heading h2 { margin: 14px 0 15px; font-size: clamp(36px, 5vw, 62px); line-height: 1.02; letter-spacing: -.045em; }
.section-heading p { margin: 0; max-width: 690px; color: var(--muted); font-size: 17px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.014); }
.stat { padding: 28px; min-height: 136px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat span { color: var(--muted-2); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .16em; }
.stat strong { font-size: clamp(22px, 2.5vw, 31px); line-height: 1.1; letter-spacing: -.035em; }

.principles-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle-card, .activity-card, .leader-card { position: relative; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.028), rgba(255,255,255,.012)); border-radius: var(--radius-md); overflow: hidden; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.principle-card:hover, .activity-card:hover, .leader-card:hover { transform: translateY(-4px); border-color: var(--line-bright); box-shadow: 0 24px 60px rgba(0,0,0,.24); }
.principle-card { padding: 28px; display: grid; grid-template-columns: 46px 1fr; gap: 20px; }
.principle-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .16); color: #b8b1ff; }
.principle-card h3 { margin: 2px 0 6px; font-size: 18px; }
.principle-card p { margin: 0; color: var(--muted); font-size: 14px; }

.activities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.activity-card { min-height: 290px; padding: 28px; display: flex; flex-direction: column; }
.activity-number { color: #747985; font-size: 12px; letter-spacing: .18em; }
.activity-card h3 { margin: auto 0 10px; font-size: 28px; letter-spacing: -.035em; }
.activity-card p { margin: 0; color: var(--muted); }
.activity-card::after { content: ""; position: absolute; right: -35px; top: -35px; width: 130px; height: 130px; border-radius: 50%; background: rgba(var(--accent-rgb), .1); filter: blur(35px); }

.leaders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.leader-card { min-height: 355px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.leader-avatar { width: 94px; height: 94px; border-radius: 22px; object-fit: cover; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(var(--accent-rgb), .18), rgba(255,255,255,.03)); display: grid; place-items: center; font-size: 31px; font-weight: 800; color: #d8d5ff; }
.leader-role { margin-top: 24px; color: #9b91ff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.leader-card h3 { margin: 6px 0 3px; font-size: 24px; letter-spacing: -.035em; }
.leader-class { color: var(--muted); font-size: 13px; }
.social-row { display: flex; gap: 8px; margin-top: auto; padding-top: 24px; }
.social-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #cfd1d7; transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease; }
.social-btn:hover { transform: translateY(-2px); color: white; border-color: var(--line-bright); background: rgba(var(--accent-rgb), .08); }
.empty-social { margin-top: auto; padding-top: 24px; color: var(--muted-2); font-size: 12px; }

.join-section { overflow: hidden; }
.join-aura { position: absolute; width: 720px; height: 300px; left: 50%; bottom: -100px; transform: translateX(-50%); background: rgba(var(--accent-rgb), .11); filter: blur(90px); border-radius: 50%; }
.join-card { position: relative; z-index: 1; padding: clamp(30px, 5vw, 58px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; border-radius: 32px; border: 1px solid rgba(var(--accent-rgb), .22); background: linear-gradient(135deg, rgba(28,28,43,.92), rgba(12,14,21,.92)); box-shadow: var(--shadow); }
.join-copy h2 { margin: 14px 0 14px; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.045em; }
.join-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.requirements { display: grid; gap: 9px; align-content: start; }
.requirement { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #d2d4da; font-size: 14px; }
.requirement svg { color: #8e82ff; flex: 0 0 16px; }
.join-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }

.creator-section { padding: 0 0 44px; }
.creator-card { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; color: var(--muted); font-size: 13px; background: rgba(255,255,255,.018); }
.creator-links { display: flex; align-items: center; gap: 10px; }
.creator-link { display: inline-flex; align-items: center; gap: 7px; color: #c3c6ce; transition: color .2s ease; }
.creator-link:hover { color: white; }

.site-footer { padding: 38px 0 48px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer-grid strong { font-size: 14px; letter-spacing: .05em; }
.footer-grid p { margin: 7px 0 0; color: var(--muted-2); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.footer-links a { color: var(--muted); font-size: 12px; }
.footer-links a:hover { color: white; }
.copyright { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.045); color: #5e626b; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }

@media (max-width: 980px) {
  .desktop-nav, .nav-actions { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    position: fixed;
    inset: 78px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 26px 20px;
    background: rgba(8, 9, 13, .97);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu > a { padding: 14px 2px; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--line); }
  .mobile-socials { display: flex; gap: 10px; margin-top: 18px; }

  .hero { min-height: auto; padding-top: 145px; padding-bottom: 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-copy .eyebrow, .hero-meta, .hero-actions { justify-content: center; }
  .hero-emblem-wrap { min-height: 430px; }
  .hero-emblem { width: min(72vw, 430px); }
  .emblem-ring { width: min(75vw, 450px); }
  .emblem-caption { right: 12%; bottom: 7%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .activities-grid, .leaders-grid { grid-template-columns: 1fr; }
  .activity-card { min-height: 220px; }
  .leader-card { min-height: 300px; }
  .join-card { grid-template-columns: 1fr; gap: 28px; }
  .join-actions { grid-column: auto; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 80px 0; }
  .nav-wrap { height: 70px; }
  .mobile-menu { inset: 70px 0 0; }
  .brand span { max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero { padding-top: 115px; }
  .hero h1 { font-size: clamp(46px, 15vw, 72px); }
  .hero-description { font-size: 15px; }
  .hero-emblem-wrap { min-height: 330px; }
  .emblem-caption { right: 5%; bottom: 4%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px; min-height: 116px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle-card { grid-template-columns: 42px 1fr; padding: 22px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading p { font-size: 15px; }
  .creator-card { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; flex: 1 1 180px; }
  .join-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
