@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&family=Inter:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #3B82F6;
  --blue-dim: rgba(59,130,246,0.10);
  --blue-border: rgba(59,130,246,0.28);
  --w05: rgba(255,255,255,0.05);
  --w08: rgba(255,255,255,0.08);
  --w12: rgba(255,255,255,0.12);
  --w30: rgba(255,255,255,0.30);
  --w45: rgba(255,255,255,0.45);
  --bg: #070709;
  --bg2: #0D0D10;
  --bg3: #131318;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.site { position: relative; z-index: 1; }

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 48px;
  border-bottom: 0.5px solid var(--w08);
  background: rgba(7,7,9,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--w30);
  transition: color .2s;
}

nav a:hover { color: #fff; }

/* ── PAGE HEADER ── */
.page-header {
  padding: 88px 48px 72px;
  border-bottom: 0.5px solid var(--w08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.04em;
}

.page-header h1 .accent { color: var(--blue); }
.page-header h1 .dim { color: rgba(255,255,255,.16); font-weight: 300; }

.tagline {
  font-size: 13px;
  color: var(--w30);
  line-height: 1.75;
  max-width: 240px;
  text-align: right;
}

/* ── SECTIONS ── */
.sec {
  padding: 64px 48px;
  border-bottom: 0.5px solid var(--w08);
}

.sec-label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--w08);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.from-left { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.visible { opacity: 1; transform: translate(0); }

/* ── CHANNEL GRID ── */
.ch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--w08);
}

.ch-card {
  background: rgba(13,13,16,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background .3s;
}

.ch-card:hover { background: rgba(20,20,26,0.9); }

.ch-top { display: flex; align-items: center; gap: 16px; }

.ch-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1c1c24;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid var(--w12);
}

.ch-avatar img { width: 100%; height: 100%; object-fit: cover; }

.av-fb {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.ch-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
}

.ch-handle { font-size: 12px; color: var(--w30); margin-top: 3px; }

.ch-stats { display: flex; gap: 32px; }

.stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -.02em;
}

.stat-val.loading {
  width: 56px; height: 28px;
  background: var(--w05);
  border-radius: 3px;
  animation: sk 1.4s ease-in-out infinite;
}

@keyframes sk {
  0%, 100% { opacity: .2; }
  50% { opacity: .6; }
}

.stat-lbl {
  font-size: 10px;
  color: rgba(255,255,255,.25);
  margin-top: 4px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ch-links { display: flex; gap: 8px; flex-wrap: wrap; }

.ch-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--w45);
  border: 0.5px solid var(--w08);
  border-radius: 6px;
  padding: 6px 12px;
  transition: color .2s, border-color .2s;
}

.ch-link:hover { color: #fff; border-color: var(--w30); }
.ch-link.primary { color: var(--blue); border-color: var(--blue-border); }
.ch-link.primary:hover { background: var(--blue-dim); }

/* ── APP GRID ── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--w08);
}

.app-card {
  background: rgba(13,13,16,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .3s;
}

.app-card:hover { background: rgba(20,20,26,0.9); }
.app-card.dim { opacity: .35; }

.app-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg3);
  border: 0.5px solid var(--w08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.app-icon img { width: 100%; height: 100%; object-fit: cover; }

.app-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.app-desc { font-size: 13px; color: var(--w45); line-height: 1.65; }

.app-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 20px;
  background: var(--w05);
  color: var(--w30);
}

.tag.blue { background: var(--blue-dim); color: #60A5FA; }

.app-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  border: 0.5px solid var(--blue-border);
  border-radius: 7px;
  padding: 8px 14px;
  width: fit-content;
  transition: background .2s;
}

.app-btn:hover { background: var(--blue-dim); }

/* ── ABOUT ── */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--w08);
}

.about-left {
  background: rgba(13,13,16,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-left h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.about-left p { font-size: 14px; color: var(--w45); line-height: 1.9; }

.about-right {
  background: rgba(10,10,13,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 48px 40px;
}

.pillar {
  padding: 20px 0;
  border-bottom: 0.5px solid var(--w08);
  display: flex;
  gap: 16px;
}

.pillar:first-child { padding-top: 0; }
.pillar:last-child { border-bottom: none; padding-bottom: 0; }

.p-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.15);
  font-weight: 500;
  padding-top: 2px;
  min-width: 24px;
}

.p-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.p-desc { font-size: 13px; color: var(--w30); line-height: 1.6; }

/* ── CONTACT ── */
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-inner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.contact-inner h2 em { font-style: normal; color: rgba(255,255,255,.2); }

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 14px 28px;
  border-radius: 10px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}

.btn-contact:hover { background: #2563EB; transform: translateY(-1px); }

.contact-note { font-size: 11px; color: rgba(255,255,255,.2); }

/* ── FOOTER ── */
footer {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 0.5px solid var(--w08);
}

.footer-logo {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--bg2);
  border: 0.5px solid var(--w08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-logo img { width: 100%; height: 100%; object-fit: contain; }

.footer-fb {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue);
  letter-spacing: -.02em;
}

footer span { font-size: 11px; color: rgba(255,255,255,.15); letter-spacing: .04em; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav { gap: 20px; padding: 16px 20px; flex-wrap: wrap; }
  .page-header { flex-direction: column; gap: 20px; padding: 60px 20px 48px; }
  .tagline { text-align: left; max-width: 100%; }
  .sec { padding: 48px 20px; }
  .ch-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .contact-right { align-items: flex-start; }
  footer { padding: 36px 20px; }
}
