@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: rgba(0,113,227,0.3); color: #fff; }

:root {
  --bg:           #000;
  --bg-2:         #0a0a0a;
  --bg-3:         #111;
  --bg-glass:     rgba(255,255,255,0.03);
  --bg-glass-2:   rgba(255,255,255,0.06);
  --border:       rgba(255,255,255,0.08);
  --border-glow:  rgba(0,113,227,0.4);
  --text:         #f5f5f7;
  --text-2:       rgba(245,245,247,0.6);
  --text-3:       rgba(245,245,247,0.32);
  --blue:         #0071e3;
  --purple:       #7c3aed;
  --pink:         #ec4899;
  --cyan:         #06b6d4;
  --green:        #22c55e;
  --text-secondary: rgba(245,245,247,0.6);
  --text-tertiary:  rgba(245,245,247,0.32);
  --bg-secondary:   #0a0a0a;
  --bg-tertiary:    #111;
  --border-subtle:  rgba(255,255,255,0.08);
  --accent:         #0071e3;
  --grad-main:    linear-gradient(135deg, #0071e3 0%, #7c3aed 50%, #ec4899 100%);
  --grad-text:    linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
  --grad-subtle:  linear-gradient(135deg, rgba(0,113,227,0.15), rgba(124,58,237,0.15), rgba(236,72,153,0.15));
  --glow-blue:    0 0 30px rgba(0,113,227,0.35), 0 0 80px rgba(0,113,227,0.15);
  --glow-purple:  0 0 30px rgba(124,58,237,0.35), 0 0 80px rgba(124,58,237,0.15);
  --shadow-card:  0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  --radius:       20px;
  --radius-sm:    12px;
  --radius-pill:  999px;
  --ease:         cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: -apple-system, 'Inter', BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }

/* ─── CUSTOM CURSOR ─── */
#cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  position: fixed; top: 0; left: 0; z-index: 99999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
  mix-blend-mode: difference;
}
#cursor-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  position: fixed; top: 0; left: 0; z-index: 99998;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s, opacity 0.3s;
}
body.cursor-hover #cursor-dot { width: 12px; height: 12px; }
body.cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: rgba(0,113,227,0.7); }

/* ─── SCROLL PROGRESS ─── */
#scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99997;
  height: 2px; background: var(--grad-main);
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ─── LAYOUT ─── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.container-full { max-width: 100%; padding: 0 40px; }

/* ─── ANIMATED MESH BG ─── */
.mesh-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.mesh-orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.18;
  animation: meshFloat 20s ease-in-out infinite;
}
.mesh-orb:nth-child(1) { width: 600px; height: 600px; background: var(--blue); top: -150px; left: -100px; animation-duration: 22s; }
.mesh-orb:nth-child(2) { width: 500px; height: 500px; background: var(--purple); bottom: -100px; right: -100px; animation-duration: 18s; animation-delay: -8s; }
.mesh-orb:nth-child(3) { width: 400px; height: 400px; background: var(--pink); top: 50%; left: 50%; animation-duration: 25s; animation-delay: -14s; }
@keyframes meshFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(40px,-30px) scale(1.08); }
  66%       { transform: translate(-30px,40px) scale(0.94); }
}

/* ─── HEADER ─── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9900;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
header.scrolled { border-color: var(--border); background: rgba(0,0,0,0.88); }
header .container { display: flex; align-items: center; justify-content: space-between; height: 54px; max-width: 100%; padding: 0 28px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 700; letter-spacing: -0.3px;
}
.logo-icon {
  width: 28px; height: 28px;
  background: var(--grad-main);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(0,113,227,0.4);
}
.logo-icon svg { width: 16px; height: 16px; fill: #fff; }

nav { display: flex; align-items: center; gap: 2px; }
nav a {
  text-decoration: none; color: var(--text-2);
  font-size: 0.82rem; font-weight: 400;
  padding: 6px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s; letter-spacing: 0.1px;
  cursor: none;
}
nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
nav a.active { color: var(--text); }
.mobile-toggle {
  display: none; background: none; border: none;
  color: var(--text); font-size: 1.2rem; cursor: none;
  width: 36px; height: 36px; border-radius: 8px;
}
.mobile-toggle:hover { background: rgba(255,255,255,0.05); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: 0.9rem; letter-spacing: 0px;
  text-decoration: none; border: none; cursor: none;
  font-family: inherit; transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background 0.3s;
}
.btn:hover::before { background: rgba(255,255,255,0.08); }
.btn-grad {
  background: var(--grad-main); color: #fff;
  box-shadow: 0 4px 24px rgba(0,113,227,0.3);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(0,113,227,0.5); }
.btn-glass {
  background: var(--bg-glass-2); color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); transform: translateY(-1px); }
.btn-ghost { background: none; color: var(--blue); padding: 0; border-radius: 0; }
.btn-ghost:hover { color: #60a5fa; gap: 12px; }
.btn-ghost::before { display: none; }
.btn-lg, .btn-large { padding: 16px 36px; font-size: 1rem; font-weight: 600; }
.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.btn-primary {
  background: var(--grad-main); color: #fff;
  box-shadow: 0 4px 24px rgba(0,113,227,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(0,113,227,0.5); }
.btn-secondary {
  background: var(--bg-glass-2); color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); transform: translateY(-1px); }
.btn-secondary-outline {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); transform: translateY(-1px); }

/* ─── HERO ─── */
.hero-section {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 40px 100px;
  position: relative; overflow: hidden;
}
.hero-section .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 6px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  margin-bottom: 32px; font-size: 0.78rem; font-weight: 500;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.1s both;
  cursor: none;
}
.hero-badge .badge-pill {
  background: var(--grad-main); color: #fff;
  padding: 2px 10px; border-radius: var(--radius-pill);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.5px;
}
.hero-badge .badge-text { color: var(--text-2); }

.hero-section h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 800; letter-spacing: -5px; line-height: 0.95;
  color: #fff; margin-bottom: 28px;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.25s both;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradShift 4s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 300;
  color: var(--text-2); max-width: 540px; margin: 0 auto 44px;
  line-height: 1.7; letter-spacing: 0.1px;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.4s both;
}
.hero-buttons {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.55s both;
}

/* Animated scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: fadeSlideUp 1s var(--ease-out) 1s both;
}
.scroll-mouse {
  width: 22px; height: 34px; border-radius: 11px;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 6px;
}
.scroll-mouse-dot {
  width: 3px; height: 6px; border-radius: 2px;
  background: rgba(255,255,255,0.5);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%       { transform: translateY(10px); opacity: 0; }
  61%       { transform: translateY(0); opacity: 0; }
}
.scroll-text { font-size: 0.6rem; color: var(--text-3); letter-spacing: 2px; text-transform: uppercase; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── MARQUEE ─── */
.marquee-wrapper {
  position: relative; z-index: 1; overflow: hidden;
  padding: 14px 0;
  background: rgba(255,255,255,0.025);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-wrapper::before, .marquee-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; z-index: 2; width: 80px;
  pointer-events: none;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 24px;
  padding: 0 24px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3); white-space: nowrap;
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--grad-main); flex-shrink: 0; }

/* ─── SECTIONS ─── */
.section { padding: 120px 0; position: relative; z-index: 1; }
.section-sm { padding: 80px 0; position: relative; z-index: 1; }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 14px auto 0; }

.eyebrow {
  display: block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 68px); font-weight: 800;
  letter-spacing: -3px; line-height: 1.02; color: #fff;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.75; max-width: 520px; margin-top: 14px;
}

/* ─── BENTO GRID ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bento-wide { grid-column: span 2; }
.bento-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 36px;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
  cursor: none;
}
.bento-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: var(--grad-subtle); opacity: 0;
  transition: opacity 0.4s;
}
.bento-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.15); box-shadow: var(--shadow-card); }
.bento-card:hover::before { opacity: 1; }
.bc-icon { font-size: 2.6rem; margin-bottom: 24px; display: block; line-height: 1; }
.bc-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 64px); font-weight: 800;
  letter-spacing: -3px; line-height: 1; margin-bottom: 8px;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bento-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.5px;
  color: #fff; margin-bottom: 10px;
}
.bento-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.75; }
.bento-card .bento-tag {
  display: inline-block; margin-top: 20px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue);
}

/* ─── SHOWCASE ─── */
.showcase-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; padding: 80px 0;
  border-top: 1px solid var(--border);
}
.showcase-row:first-child { border-top: none; padding-top: 0; }
.showcase-row.flip { direction: rtl; }
.showcase-row.flip > * { direction: ltr; }
.showcase-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 48px); font-weight: 800;
  letter-spacing: -2px; line-height: 1.05; color: #fff; margin-bottom: 16px;
}
.showcase-text p { font-size: 0.95rem; color: var(--text-2); line-height: 1.8; margin-bottom: 28px; }
.showcase-visual {
  border-radius: 22px; overflow: hidden; position: relative;
  background: var(--bg-2); border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.showcase-visual:hover { border-color: rgba(0,113,227,0.4); box-shadow: 0 0 40px rgba(0,113,227,0.1); }
.showcase-visual .sv-emoji { font-size: 5rem; }
.showcase-visual img { width: 100%; height: 100%; object-fit: cover; }
/* glass shimmer */
.showcase-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── GLASS CARD (generic) ─── */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  transition: all 0.4s var(--ease-out); cursor: none;
}
.glass-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: var(--bg-glass-2);
  box-shadow: var(--shadow-card);
}

/* ─── REPO GRID ─── */
.repo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.repo-card {
  padding: 32px 28px; border-radius: var(--radius);
  background: var(--bg-glass); border: 1px solid var(--border);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: all 0.35s var(--ease-out); position: relative; overflow: hidden;
  cursor: none;
}
.repo-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: var(--grad-subtle); opacity: 0; transition: opacity 0.35s;
}
.repo-card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.repo-card:hover::after { opacity: 1; }
.repo-card h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
.repo-card p  { font-size: 0.83rem; color: var(--text-2); line-height: 1.65; flex: 1; margin-bottom: 20px; position: relative; z-index: 1; }
.repo-meta { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.repo-lang { font-size: 0.72rem; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.repo-lang .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.repo-arrow { font-size: 0.8rem; color: var(--blue); opacity: 0; transform: translateX(-6px); transition: all 0.25s var(--ease-out); }
.repo-card:hover .repo-arrow { opacity: 1; transform: translateX(0); }

/* ─── STATS GRID ─── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--border);
  gap: 1px; position: relative; z-index: 1;
}
.stat-item {
  background: var(--bg-2); padding: 44px 28px; text-align: center;
  transition: background 0.3s;
}
.stat-item:hover { background: var(--bg-3); }
.stat-item .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  letter-spacing: -3px; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item .lbl { font-size: 0.8rem; color: var(--text-2); margin-top: 8px; }

/* ─── MANIFESTO ─── */
.manifesto-section {
  padding: 140px 40px; text-align: center; position: relative; overflow: hidden; z-index: 1;
}
.manifesto-section blockquote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 4vw, 52px); font-weight: 700;
  letter-spacing: -2px; line-height: 1.25; color: #fff;
  max-width: 900px; margin: 0 auto;
}
.manifesto-section blockquote .dim { color: var(--text-2); }
.manifesto-attr { margin-top: 32px; font-size: 0.8rem; color: var(--text-3); letter-spacing: 1px; }

/* ─── CTA ─── */
.cta-section {
  padding: 160px 40px; text-align: center; position: relative; overflow: hidden; z-index: 1;
}
.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5.5vw, 72px); font-weight: 800;
  letter-spacing: -3.5px; line-height: 1; color: #fff; margin-bottom: 20px;
}
.cta-section p { font-size: 1.05rem; color: var(--text-2); max-width: 440px; margin: 0 auto 40px; line-height: 1.75; }

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 160px 40px 100px; text-align: center;
  position: relative; overflow: hidden; z-index: 1;
}
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 7vw, 90px); font-weight: 800;
  letter-spacing: -4px; line-height: 0.95; color: #fff; margin-bottom: 20px;
  animation: fadeSlideUp 0.7s var(--ease-out) 0.15s both;
}
.page-hero p {
  font-size: 1.1rem; color: var(--text-2); max-width: 480px;
  margin: 0 auto; line-height: 1.7;
  animation: fadeSlideUp 0.7s var(--ease-out) 0.3s both;
}

/* ─── ABOUT ─── */
.about-lead {
  text-align: center; max-width: 780px; margin: 0 auto; padding-bottom: 80px;
}
.about-lead p {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--text-2);
  line-height: 1.75; font-weight: 300;
}
.about-lead strong { color: #fff; font-weight: 600; }

.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pillar-card {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px 32px;
  transition: all 0.4s var(--ease-out); position: relative; overflow: hidden;
  cursor: none;
}
.pillar-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-subtle); opacity: 0; transition: opacity 0.4s;
}
.pillar-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pillar-card:hover::before { opacity: 1; }
.pillar-card .pnum {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 20px; display: block; position: relative; z-index: 1;
}
.pillar-card h4 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
.pillar-card p { font-size: 0.87rem; color: var(--text-2); line-height: 1.75; position: relative; z-index: 1; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-info h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 52px); font-weight: 800;
  letter-spacing: -2px; line-height: 1.05; color: #fff; margin-bottom: 16px;
}
.contact-info > p { font-size: 0.92rem; color: var(--text-2); line-height: 1.8; margin-bottom: 44px; }

.cinfo-list { display: flex; flex-direction: column; gap: 10px; }
.cinfo-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 20px;
  transition: all 0.3s;
}
.cinfo-item:hover { border-color: rgba(255,255,255,0.14); background: var(--bg-glass-2); }
.cinfo-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-subtle); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.cinfo-item h4 { font-size: 0.82rem; font-weight: 600; color: #fff; margin-bottom: 2px; }
.cinfo-item p { font-size: 0.8rem; color: var(--text-2); }
.social-row { display: flex; gap: 10px; margin-top: 28px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 12px; cursor: none;
  background: var(--bg-glass-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  text-decoration: none; transition: all 0.3s var(--ease-out);
}
.social-btn:hover { background: rgba(0,113,227,0.15); border-color: rgba(0,113,227,0.4); transform: translateY(-2px); }

.form-card {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s;
}
.form-card:focus-within { border-color: rgba(0,113,227,0.35); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px; color: var(--text-3); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; font-family: inherit;
  background: rgba(255,255,255,0.03); color: var(--text);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; outline: none;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue); background: rgba(0,113,227,0.04);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── PROJECTS ─── */
.project-showcase {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.proj-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--bg-glass); border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out); cursor: none;
  min-height: 340px; display: flex; flex-direction: column;
}
.proj-card:hover { border-color: rgba(255,255,255,0.18); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.proj-card-visual {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; min-height: 200px;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
  position: relative; overflow: hidden;
}
.proj-card-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.6));
}
.proj-card-body { padding: 28px; }
.proj-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.proj-tag {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text-2);
}
.proj-tag-wip { color: #fbbf24; background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.2); }
.proj-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.proj-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.7; margin-bottom: 18px; }

/* ─── DIVIDER ─── */
.divider { height: 1px; background: var(--border); margin: 0; border: none; position: relative; z-index: 1; }

/* ─── FOOTER ─── */
footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 64px 0 36px; position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
footer h5 { font-size: 0.72rem; font-weight: 600; color: var(--text); margin-bottom: 18px; letter-spacing: 0.2px; }
footer a { display: block; font-size: 0.82rem; color: var(--text-3); text-decoration: none; line-height: 2.2; transition: color 0.2s; cursor: none; }
footer a:hover { color: var(--text-2); }
.footer-brand p { font-size: 0.82rem; color: var(--text-3); line-height: 1.75; margin-top: 16px; max-width: 260px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--text-3);
}
.footer-live { display: flex; align-items: center; gap: 7px; }
.footer-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

/* ─── AURORA BG ─── */
.aurora { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.aurora-blob {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.12;
  animation: auroraFloat 24s ease-in-out infinite;
}
.aurora-blob:nth-child(1) { width: 700px; height: 700px; background: var(--blue); top: -200px; left: -100px; animation-duration: 26s; }
.aurora-blob:nth-child(2) { width: 500px; height: 500px; background: var(--purple); bottom: -150px; right: -80px; animation-duration: 20s; animation-delay: -6s; }
.aurora-blob:nth-child(3) { width: 400px; height: 400px; background: var(--pink); top: 40%; left: 40%; animation-duration: 22s; animation-delay: -12s; }
@keyframes auroraFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(50px,-40px) scale(1.1); }
  66%       { transform: translate(-40px,50px) scale(0.92); }
}

/* ─── GRID OVERLAY ─── */
.grid-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ─── NAV CTA ─── */
.nav-cta {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important; border-radius: 8px !important;
  font-weight: 500 !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta:hover { background: rgba(255,255,255,0.12) !important; border-color: rgba(255,255,255,0.2) !important; }

/* ─── MINI CARD (repo grid / generic) ─── */
.mini-card {
  padding: 32px 28px; border-radius: var(--radius);
  background: var(--bg-glass); border: 1px solid var(--border);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: all 0.35s var(--ease-out); position: relative; overflow: hidden;
  cursor: none;
}
.mini-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: var(--grad-subtle); opacity: 0; transition: opacity 0.35s;
}
.mini-card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.mini-card:hover::after { opacity: 1; }
.mini-card h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
.mini-card p  { font-size: 0.83rem; color: var(--text-2); line-height: 1.65; flex: 1; margin-bottom: 20px; position: relative; z-index: 1; }
.mc-icon { font-size: 2rem; display: block; margin-bottom: 16px; position: relative; z-index: 1; }
.mc-lang { font-size: 0.72rem; position: relative; z-index: 1; margin-bottom: 8px; display: flex; align-items: center; gap: 4px; }
.mini-card-arrow { font-size: 0.8rem; color: var(--blue); position: relative; z-index: 1; }

/* ─── HERO EYEBROW ─── */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 6px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  margin-bottom: 32px; font-size: 0.78rem; font-weight: 500;
  cursor: none;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ─── STATS ROW ─── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1080px; margin: 0 auto; padding: 0 40px; gap: 1px;
  position: relative; z-index: 1;
}
.stat-cell {
  background: var(--bg-2); padding: 44px 28px; text-align: center;
  border: 1px solid var(--border); border-radius: 0;
  transition: background 0.3s;
}
.stat-cell:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stat-cell:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.stat-cell:hover { background: var(--bg-3); }
.stat-cell .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  letter-spacing: -3px; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-cell .label { font-size: 0.8rem; color: var(--text-2); margin-top: 8px; }

/* ─── HERO SCROLL ─── */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-2), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ─── LOGO TEXT (multi-line variant) ─── */
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .top { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.logo-text .bottom { font-size: 0.6rem; font-weight: 400; color: var(--text-3); letter-spacing: 0.5px; }

/* ─── CONTACT ITEMS ─── */
.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 10px;
  transition: all 0.3s;
}
.contact-item:hover { border-color: rgba(255,255,255,0.14); background: var(--bg-glass-2); }
.cic { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-subtle); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item h4 { font-size: 0.82rem; font-weight: 600; color: #fff; margin-bottom: 2px; }
.contact-item p { font-size: 0.8rem; color: var(--text-2); }
.contact-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg-glass-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--text-2); transition: all 0.3s var(--ease-out);
}
.social-link:hover { background: rgba(0,113,227,0.15); border-color: rgba(0,113,227,0.4); transform: translateY(-2px); color: #fff; }

/* ─── ABOUT VALUES ─── */
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 60px; }
.value-item {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px 32px;
  transition: all 0.4s var(--ease-out); position: relative; overflow: hidden;
}
.value-item::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-subtle); opacity: 0; transition: opacity 0.4s;
}
.value-item:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.value-item:hover::before { opacity: 1; }
.value-item .num {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 20px; display: block; position: relative; z-index: 1;
}
.value-item h4 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
.value-item p { font-size: 0.87rem; color: var(--text-2); line-height: 1.75; position: relative; z-index: 1; }

.about-image-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-image-cell {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 52px 40px; text-align: center;
  transition: all 0.4s var(--ease-out); position: relative; overflow: hidden;
}
.about-image-cell:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.about-image-cell .big-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 6vw, 72px); font-weight: 800;
  letter-spacing: -4px; line-height: 1; margin-bottom: 12px;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.about-image-cell h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.about-image-cell p { font-size: 0.87rem; color: var(--text-2); line-height: 1.75; }

/* ─── BLOG CARDS ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.blog-card {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.4s var(--ease-out);
}
.blog-card:hover { border-color: rgba(255,255,255,0.18); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.blog-thumb { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.blog-body { padding: 28px; }
.blog-body .date { font-size: 0.72rem; color: var(--text-3); margin-bottom: 8px; }
.blog-body h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.blog-body h3 a { color: inherit; text-decoration: none; }
.blog-body h3 a:hover { color: var(--blue); }
.blog-body p { font-size: 0.83rem; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.blog-body .more { font-size: 0.82rem; font-weight: 500; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.blog-body .more:hover { gap: 8px; }

/* ─── SHOWCASE REVERSE ─── */
.showcase-section .reverse { direction: rtl; }
.showcase-section .reverse > * { direction: ltr; }
.showcase-visual-emoji { font-size: 5rem; }

/* ─── FOOTER BADGE ─── */
.footer-badge { display: flex; align-items: center; gap: 7px; }
.glow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: livePulse 2s ease-in-out infinite; }

/* ─── FOOTER TOP ─── */
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }

/* ─── SHOWCASE.ROWS ─── */
.showcase-section { padding: 80px 0; }

/* ─── FORM CARD ─── */
.form-card { background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; backdrop-filter: blur(12px); transition: border-color 0.3s; }

/* ─── LEGAL ─── */
.legal-page { max-width: 700px; margin: 0 auto; padding-bottom: 120px; position: relative; z-index: 1; }
.legal-page .updated { font-size: 0.78rem; color: var(--text-3); margin-bottom: 52px; }
.legal-page h2 { font-size: 1.2rem; font-weight: 700; color: #fff; margin: 44px 0 12px; }
.legal-page p { font-size: 0.9rem; color: var(--text-2); line-height: 1.85; margin-bottom: 14px; }
.legal-page ul { color: var(--text-2); line-height: 1.85; padding-left: 20px; margin-bottom: 14px; font-size: 0.9rem; }
.legal-page strong { color: var(--text); }

/* ─── SCROLL ANIMATIONS ─── */
.anim-fade {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.anim-fade.visible { opacity: 1; transform: translateY(0); }
.anim-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.anim-left.visible { opacity: 1; transform: translateX(0); }
.anim-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.anim-right.visible { opacity: 1; transform: translateX(0); }
.anim-scale {
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.anim-scale.visible { opacity: 1; transform: scale(1); }
.stagger-child {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stagger-child.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-wide { grid-column: span 2; }
  .showcase-row { gap: 52px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .repo-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .project-showcase { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .about-image-row { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:first-child { border-radius: var(--radius) 0 0 0; }
  .stat-cell:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
  .stat-cell:nth-child(3) { border-radius: 0 0 0 var(--radius); }
  .stat-cell:last-child { border-radius: 0 0 var(--radius) 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  nav { display: none; }
  nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 54px; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.97); backdrop-filter: blur(20px);
    padding: 24px; gap: 4px; z-index: 9890;
  }
  nav.open a { padding: 13px 16px; font-size: 0.95rem; border-radius: 10px; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .showcase-row { grid-template-columns: 1fr; }
  .showcase-row.flip { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .container-full { padding: 0 20px; }
  .hero-section { padding: 100px 20px 80px; }
  .page-hero { padding: 120px 20px 70px; }
  .section { padding: 80px 0; }
  .manifesto-section, .cta-section { padding: 100px 20px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .pillars-grid { grid-template-columns: 1fr; }
  .repo-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-radius: 0 !important; }
  .stat-cell:nth-child(1) { border-radius: var(--radius) 0 0 0 !important; }
  .stat-cell:nth-child(2) { border-radius: 0 var(--radius) 0 0 !important; }
  .stat-cell:nth-child(3) { border-radius: 0 0 0 var(--radius) !important; }
  .stat-cell:nth-child(4) { border-radius: 0 0 var(--radius) 0 !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
