/* ═══════════════════════════════════════════════════════════════════════
   KYVRONIX TECHNOLOGIES — WORLD-CLASS REDESIGN v2.0
   Inspired by: Linear · Stripe · Vercel · Framer · Apple · Arc Browser
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;1,14..32,300&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── DESIGN TOKENS ──────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:          #04040d;
  --bg-2:        #07071a;
  --surface:     rgba(255,255,255,0.03);
  --surface-2:   rgba(255,255,255,0.055);
  --surface-3:   rgba(255,255,255,0.08);

  /* Borders */
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);
  --border-accent: rgba(124,58,237,0.45);

  /* Brand Colors */
  --violet:      #7c3aed;
  --violet-l:    #a78bfa;
  --violet-ll:   #ddd6fe;
  --cyan:        #06b6d4;
  --cyan-l:      #67e8f9;
  --logo-cyan:   #4FC8FF;
  --logo-blue:   #185FA5;
  --emerald:     #10b981;
  --rose:        #f43f5e;
  --amber:       #f59e0b;

  /* Text */
  --text-1:      #f8fafc;
  --text-2:      #94a3b8;
  --text-3:      #475569;

  /* Gradients */
  --grad-hero:   linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --grad-card:   linear-gradient(145deg, rgba(124,58,237,0.08), rgba(6,182,212,0.04));

  /* Typography */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing */
  --section-gap: 9rem;
  --container:   1240px;

  /* Radii */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 9999px;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; cursor: none !important; }
img { max-width: 100%; display: block; }
button { cursor: none !important; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ── SCROLLBAR ──────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: var(--r-full); }

/* ── SELECTION ──────────────────────────────────────────────────────── */
::selection { background: rgba(124,58,237,0.35); color: var(--violet-ll); }

/* ── NOISE OVERLAY ──────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.6;
}

/* ── CUSTOM CURSOR ──────────────────────────────────────────────────── */
#cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;
  width: 8px; height: 8px;
  background: var(--violet-l);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  pointer-events: none;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(167,139,250,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.08s linear;
}
body.cursor-hover #cursor-dot { width: 16px; height: 16px; background: #fff; }
body.cursor-hover #cursor-ring { width: 52px; height: 52px; border-color: rgba(167,139,250,0.2); }
body.cursor-click #cursor-dot { transform: translate(-50%,-50%) scale(0.6); }

/* ── MESH GRADIENT BACKGROUNDS ──────────────────────────────────────── */
.mesh-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.mesh-orb {
  position: absolute; border-radius: 50%; filter: blur(120px);
  animation: orbDrift 18s ease-in-out infinite alternate;
}
.orb-v { background: rgba(124,58,237,0.15); }
.orb-c { background: rgba(6,182,212,0.1); }
.orb-r { background: rgba(244,63,94,0.07); }
@keyframes orbDrift {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(40px,-60px) scale(1.15); }
  66%  { transform: translate(-30px,40px) scale(0.9); }
  100% { transform: translate(20px,-20px) scale(1.05); }
}

/* Grid dot pattern */
.grid-dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 100%);
}

/* ── PAGE LOADER ────────────────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-logo-img {
  filter: drop-shadow(0 0 24px rgba(79, 200, 255, 0.35)) drop-shadow(0 0 6px rgba(167, 139, 250, 0.2));
}
.loader-progress {
  width: 160px; height: 2px;
  background: var(--surface-2);
  border-radius: var(--r-full);
  overflow: hidden;
}
.loader-progress-bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: var(--r-full);
  animation: loaderProgress 1.4s var(--ease-out) forwards;
}
@keyframes loaderProgress {
  to { width: 100%; }
}
@keyframes loaderLogoPulse {
  0%   { opacity: 0.7; transform: scale(1);    filter: drop-shadow(0 0 16px rgba(79,200,255,0.2)); }
  100% { opacity: 1;   transform: scale(1.03); filter: drop-shadow(0 0 30px rgba(79,200,255,0.5)); }
}

/* ── LOGO BRAND STYLES ───────────────────────────────────────────── */
.logo-r {
  color: var(--logo-cyan) !important;
}
.loader-logo-svg .logo-line {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawLine 1.2s var(--ease-out) forwards 0.3s;
}
.loader-logo-svg .logo-dash-line {
  animation: dashFlow 2s linear infinite;
}
.loader-logo-svg .logo-dot-top {
  transform-origin: 32px 8px;
  animation: scaleDot 0.6s var(--ease-spring) forwards 0.8s;
  opacity: 0;
}
.loader-logo-svg .logo-dot-bottom-l {
  transform-origin: 8px 56px;
  animation: scaleDot 0.6s var(--ease-spring) forwards 1s;
  opacity: 0;
}
.loader-logo-svg .logo-dot-bottom-r {
  transform-origin: 56px 56px;
  animation: scaleDot 0.6s var(--ease-spring) forwards 1s;
  opacity: 0;
}

@keyframes drawPoly {
  to { stroke-dashoffset: 0; }
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes dashFlow {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}
@keyframes scaleDot {
  to { transform: scale(1); opacity: 1; }
}

/* ── NAVIGATION ─────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  width: min(1160px, calc(100% - 3rem));
  padding: 0.85rem 1.5rem;
  background: rgba(4,4,13,0.7);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  animation: navReveal 0.8s 1.8s var(--ease-out) forwards;
}
@keyframes navReveal { to { opacity: 1; } }
#nav.scrolled {
  background: rgba(4,4,13,0.88);
  border-color: var(--border);
  top: 1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  letter-spacing: -0.5px; color: var(--text-1);
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: none !important;
  border-radius: 0;
  display: block;
}
.nav-logo span { color: var(--logo-cyan) !important; }

.footer-brand-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.5rem;
}
.footer-brand-logo-container .footer-brand-name {
  margin-bottom: 0;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem; font-weight: 450; color: var(--text-2);
  border-radius: var(--r-md);
  transition: all 0.2s var(--ease-out);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text-1); background: var(--surface-2); }
.nav-cta {
  padding: 0.55rem 1.3rem;
  background: var(--violet);
  color: #fff; font-size: 0.875rem; font-weight: 500;
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(124,58,237,0.4);
}
.nav-cta:hover {
  background: var(--violet-l);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
}
.hamburger {
  display: none; flex-direction: column; gap: 4px;
  padding: 4px; border-radius: var(--r-sm);
}
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text-2); transition: all 0.3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(4,4,13,0.97); backdrop-filter: blur(30px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
  transform: translateY(-100%); transition: transform 0.4s var(--ease-out);
}
#mobile-menu.open { transform: translateY(0); }
.mobile-link {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: var(--text-2); transition: color 0.2s;
}
.mobile-link:hover { color: var(--text-1); }

/* ── CONTAINER ──────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }
section { position: relative; overflow: hidden; }

/* ── SECTION HEADERS ────────────────────────────────────────────────── */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--violet-l);
  padding: 0.35rem 0.9rem 0.35rem 0.7rem;
  border: 1px solid rgba(124,58,237,0.25);
  background: rgba(124,58,237,0.08);
  border-radius: var(--r-full);
  margin-bottom: 1.2rem;
}
.label-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-l);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -1.5px;
  color: var(--text-1);
}
.section-title .gradient-text {
  background: linear-gradient(135deg, var(--violet-l) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-2); line-height: 1.75;
  max-width: 560px; margin-top: 1rem; font-weight: 300;
}

/* ── REVEAL ANIMATIONS ──────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── HERO SECTION ───────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 10rem 0 6rem;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--violet-l);
  margin-bottom: 1.6rem;
  animation: fadeUp 0.8s 1.9s var(--ease-out) both;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--emerald);
  animation: pulseDot 2s ease-in-out infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -2.5px;
  color: var(--text-1);
  margin-bottom: 1.6rem;
  animation: fadeUp 0.9s 2s var(--ease-out) both;
}
.hero-title .hero-line-2 {
  background: linear-gradient(135deg, var(--violet-l) 0%, var(--cyan) 60%, #67e8f9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-2); line-height: 1.75;
  max-width: 480px; font-weight: 300;
  animation: fadeUp 0.9s 2.1s var(--ease-out) both;
}
.hero-actions {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem;
  animation: fadeUp 0.9s 2.2s var(--ease-out) both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--violet); color: #fff;
  font-size: 0.925rem; font-weight: 500;
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
  box-shadow: 0 4px 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,58,237,0.45); }
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border: 1px solid var(--border-2); color: var(--text-2);
  font-size: 0.925rem; font-weight: 450;
  border-radius: var(--r-md);
  background: var(--surface);
  transition: all 0.3s var(--ease-out);
}
.btn-ghost:hover { border-color: rgba(124,58,237,0.5); color: var(--text-1); background: rgba(124,58,237,0.06); transform: translateY(-2px); }

/* Hero terminal */
.hero-visual {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-end; gap: 1rem;
  animation: fadeUp 1s 2.3s var(--ease-out) both;
  margin-top: 13rem;
}

/* Hero background logo */
.hero-bg-logo-svg {
  position: absolute;
  right: 100px;
  top: -245px;
  width: 220px;
  height: auto;
  opacity: 0.95;
  animation: heroOverlayFloat 3s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}
@keyframes heroOverlayFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(3deg); }
}
.terminal-window {
  position: relative;
  z-index: 2;
  width: 100%; max-width: 520px;
  background: rgba(10,10,25,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,58,237,0.15);
  backdrop-filter: blur(20px);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.td-red   { background: #ff5f57; }
.td-amber { background: #febc2e; }
.td-green { background: #28c840; }
.terminal-title {
  flex: 1; text-align: center; font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--text-3); letter-spacing: 0.04em;
}
.terminal-body { padding: 1.4rem; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.85; }
.t-comment  { color: #475569; }
.t-keyword  { color: #a78bfa; }
.t-string   { color: #6ee7b7; }
.t-func     { color: #93c5fd; }
.t-var      { color: var(--text-2); }
.t-num      { color: #fca5a5; }
.t-cursor   { display: inline-block; width: 2px; height: 0.9em; background: var(--violet-l); animation: blink 1.1s step-end infinite; vertical-align: -1px; margin-left: 1px; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* Floating stat chips above terminal */
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end;
}
.hero-chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-full);
  font-size: 0.78rem; font-weight: 450; color: var(--text-2);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}
.hero-chip .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); flex-shrink: 0; animation: pulseDot 2s infinite; }

/* Hero scroll indicator */
.scroll-indicator {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  margin-top: 5rem; color: var(--text-3); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: fadeUp 1s 2.8s var(--ease-out) both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--violet-l), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.4; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.3); } }

/* Hero stats strip */
.hero-stats {
  display: flex; gap: 0; margin-top: 5rem;
  padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  animation: fadeUp 0.9s 2.5s var(--ease-out) both;
}
.hero-stat {
  flex: 1; text-align: center;
  padding: 0 2rem;
  position: relative;
}
.hero-stat + .hero-stat::before {
  content: ''; position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px; background: var(--border);
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--text-1), var(--text-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-value .stat-suffix { font-size: 1.8rem; color: var(--violet-l); background: none; -webkit-background-clip: unset; background-clip: unset; }
.stat-label { font-size: 0.8rem; color: var(--text-3); margin-top: 0.4rem; letter-spacing: 0.06em; }
/* skill-badge-icon */
/* ── MARQUEE STRIP ──────────────────────────────────────────────────── */
.marquee-section {
  padding: 2rem 0; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.marquee-track {
  display: flex; gap: 0;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0 3rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--text-3); white-space: nowrap;
  transition: color 0.2s;
}
.marquee-item:hover { color: var(--text-2); }
.marquee-sep {
  width: 4px; height: 4px; border-radius: 50%; background: var(--violet); flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT SECTION ──────────────────────────────────────────────────── */
#about {
  padding: var(--section-gap) 0;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.about-text .section-title { max-width: 480px; }
.about-philosophy {
  margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem;
}
.philosophy-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.35s var(--ease-out);
}
.philosophy-item:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateX(6px); }
.philosophy-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
}
.philosophy-icon svg { width: 16px; height: 16px; stroke: var(--violet-l); fill: none; stroke-width: 2; }
.philosophy-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.2rem; }
.philosophy-desc { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; }

.about-visual {
  position: relative;
}
.brand-card {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  position: relative; overflow: hidden;
}
.brand-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(124,58,237,0.1), transparent 60%);
}
.brand-word {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1;
  color: var(--text-1); margin-bottom: 0.3rem;
  position: relative; z-index: 1;
}
.brand-word .bw-accent { color: var(--violet-l); }
.brand-subtitle { font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; margin-bottom: 2rem; position: relative; z-index: 1; }
.brand-etymology {
  display: flex; flex-direction: column; gap: 0.6rem;
  position: relative; z-index: 1;
}
.etym-row {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.83rem;
}
.etym-part {
  font-family: var(--font-mono); color: var(--violet-l); font-weight: 500;
  min-width: 40px;
}
.etym-sep { color: var(--text-3); }
.etym-meaning { color: var(--text-2); }

.founding-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.8rem;
  padding: 0.5rem 1rem;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-full);
  font-size: 0.78rem; color: var(--emerald);
  position: relative; z-index: 1;
}

/* ── FOUNDER SECTION ────────────────────────────────────────────────── */
#founder {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.025) 50%, transparent);
}
.founder-layout {
  display: grid; grid-template-columns: 420px 1fr; gap: 6rem; align-items: start;
}

/* Founder Card */
.founder-card {
  position: sticky; top: 6rem;
}
.founder-photo-wrap {
  position: relative; display: inline-block; width: 100%;
}
.founder-photo-container {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.1);
  aspect-ratio: 4/4.5; width: 100%;
}
.founder-photo-container img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform 0.6s var(--ease-out);
}
.founder-photo-container:hover img { transform: scale(1.04); }
.founder-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(4,4,13,0.8) 100%);
}
.founder-photo-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.2rem;
  background: rgba(4,4,13,0.75); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2); border-radius: var(--r-md);
}
.founder-badge-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.founder-badge-title { font-size: 0.75rem; color: var(--violet-l); }
.founder-badge-status {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; color: var(--emerald);
}
.founder-badge-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}
/* hero-visual */
/* Floating skill badges */
.skill-badge {
  position: absolute;
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: rgba(4,4,13,0.85); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2); border-radius: var(--r-full);
  font-size: 0.72rem; font-weight: 500; color: var(--text-1);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.skill-badge.sb-1 { top: 1rem; right: -2rem; animation: badgeFloat 4s ease-in-out infinite; }
.skill-badge.sb-2 { top: 35%; right: -3rem; animation: badgeFloat 4.5s 1s ease-in-out infinite; }
.skill-badge.sb-3 { bottom: 5.5rem; right: -2rem; animation: badgeFloat 5s 0.5s ease-in-out infinite; }
.skill-badge.sb-4 { top: 20%; left: -2.5rem; animation: badgeFloat 4.2s 1.5s ease-in-out infinite; }
.skill-badge.sb-5 { top: 65%; left: -2.5rem; animation: badgeFloat 4.2s 1.5s ease-in-out infinite; }
.skill-badge-icon { font-size: 0.9rem; }
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Founder info (right column) */
.founder-info { display: flex; flex-direction: column; gap: 3rem; }
.founder-quote-block {
  border-left: 3px solid var(--violet);
  padding: 1.2rem 1.8rem;
  background: rgba(124,58,237,0.05);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.founder-quote {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  line-height: 1.4; letter-spacing: -0.5px; color: var(--text-1);
  font-style: italic;
}
.founder-quote-author {
  font-size: 0.78rem; color: var(--text-3); margin-top: 0.8rem;
  letter-spacing: 0.06em;
}

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid; grid-template-columns: 90px 1px 1fr; gap: 0 1.5rem;
  position: relative; padding-bottom: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  color: var(--violet-l); text-align: right; padding-top: 0.15rem;
  letter-spacing: 0.02em;
}
.timeline-line-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.timeline-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--violet);
  border: 2px solid rgba(124,58,237,0.3);
  box-shadow: 0 0 12px rgba(124,58,237,0.5);
  flex-shrink: 0; position: relative; z-index: 1; margin-top: 0.2rem;
}
.timeline-dot.active { background: var(--cyan); box-shadow: 0 0 16px rgba(6,182,212,0.6); border-color: rgba(6,182,212,0.3); }
.timeline-connector {
  flex: 1; width: 1px;
  background: linear-gradient(to bottom, var(--border-2), transparent);
  margin-top: 4px;
}
.timeline-item:last-child .timeline-connector { display: none; }
.timeline-content {
  padding-top: 0;
}
.timeline-event { font-size: 0.92rem; font-weight: 500; color: var(--text-1); margin-bottom: 0.3rem; }
.timeline-detail { font-size: 0.8rem; color: var(--text-2); line-height: 1.6; }
.timeline-tag {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 0.5rem;
  padding: 0.25rem 0.65rem; border-radius: var(--r-full);
  font-size: 0.68rem; font-weight: 500;
  background: rgba(124,58,237,0.1); color: var(--violet-l);
  border: 1px solid rgba(124,58,237,0.2);
}
.timeline-tag.green { background: rgba(16,185,129,0.1); color: var(--emerald); border-color: rgba(16,185,129,0.2); }

/* Founder stats */
.founder-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.f-stat {
  text-align: center; padding: 1.4rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease-out);
}
.f-stat:hover { background: var(--surface-2); border-color: var(--border-accent); }
.f-stat-val {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
  background: linear-gradient(135deg, var(--violet-l), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.f-stat-label { font-size: 0.75rem; color: var(--text-3); margin-top: 0.4rem; }

/* Skills grid */
.skills-section { }
.skills-title { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.skills-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-chip {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.8rem; color: var(--text-2);
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}
.skill-chip:hover {
  background: rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.3); color: var(--violet-ll);
  transform: translateY(-2px);
}
.skill-chip .sc-dot {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
}
.sc-violet { background: var(--violet-l); }
.sc-cyan   { background: var(--cyan); }
.sc-emerald{ background: var(--emerald); }
.sc-amber  { background: var(--amber); }
.sc-rose   { background: #f43f5e; }

/* ── PROJECTS SECTION ───────────────────────────────────────────────── */
#projects { padding: var(--section-gap) 0; }
.projects-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem; flex-wrap: wrap; gap: 1.5rem;
}
.view-all-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--violet-l);
  border-bottom: 1px solid rgba(167,139,250,0.3);
  padding-bottom: 2px;
  transition: all 0.2s;
}
.view-all-link:hover { color: var(--text-1); border-color: var(--text-1); gap: 0.8rem; }
.view-all-link svg { width: 14px; height: 14px; }

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

/* Project card base */
.proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  transition: all 0.4s var(--ease-out);
  cursor: none;
  transform-style: preserve-3d;
}
.proj-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.15);
}

/* Spotlight effect (JS-driven via CSS var) */
.proj-card::before {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(124,58,237,0.12), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
  border-radius: inherit;
}
.proj-card:hover::before { opacity: 1; }

/* Card sizes in bento */
.proj-card-xl { grid-column: span 7; }
.proj-card-md { grid-column: span 5; }
.proj-card-sm { grid-column: span 4; }

.proj-card-inner { padding: 2rem; height: 100%; display: flex; flex-direction: column; position: relative; z-index: 2; }

/* Project card header */
.proj-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.2rem;
}
.proj-category {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: var(--r-full);
}
.cat-mobile { color: #34d399; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.2); }
.cat-web    { color: #60a5fa; background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.2); }
.cat-automation { color: #fb923c; background: rgba(251,146,60,0.1); border: 1px solid rgba(251,146,60,0.2); }
.cat-research { color: #e879f9; background: rgba(232,121,249,0.1); border: 1px solid rgba(232,121,249,0.2); }
.cat-scraper{ color: #fbbf24; background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.2); }

.proj-links { display: flex; gap: 0.5rem; }
.proj-icon-btn {
  width: 30px; height: 30px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); transition: all 0.2s;
}
.proj-icon-btn:hover { background: var(--surface-3); color: var(--text-1); border-color: var(--border-2); }
.proj-icon-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Project name */
.proj-name {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.5px; color: var(--text-1); margin-bottom: 0.6rem;
  line-height: 1.2;
}
.proj-card-xl .proj-name { font-size: 2rem; }
.proj-desc {
  font-size: 0.875rem; color: var(--text-2); line-height: 1.7;
  margin-bottom: 1.5rem; flex: 1;
}
.proj-card-xl .proj-desc { font-size: 0.95rem; max-width: 400px; }

/* Project highlights */
.proj-highlights {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.proj-highlight {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.8rem; color: var(--text-2);
}
.proj-highlight::before {
  content: '→'; color: var(--violet-l); flex-shrink: 0; font-size: 0.8rem;
}

/* Tech chips */
.proj-tech {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem;
}
.tech-chip {
  font-family: var(--font-mono); font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--text-2);
}

/* Metric bar */
.proj-metrics {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.proj-metric {
  display: flex; flex-direction: column;
}
.pm-val {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--text-1); line-height: 1;
}
.pm-label { font-size: 0.68rem; color: var(--text-3); margin-top: 0.2rem; letter-spacing: 0.06em; }

/* Project card visual area (xl) */
.proj-visual {
  height: 180px; background: linear-gradient(145deg, rgba(124,58,237,0.1), rgba(6,182,212,0.05));
  border-top: 1px solid var(--border); margin: 0 -2rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; flex-shrink: 0;
}
.proj-visual-inner {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.proj-visual-code {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3);
  text-align: left; padding: 1rem;
  background: rgba(0,0,0,0.3); border-radius: var(--r-sm);
  border: 1px solid var(--border); min-width: 280px;
  backdrop-filter: blur(10px);
}
.pvc-line { margin-bottom: 0.3rem; }
.pvc-k { color: var(--violet-l); } .pvc-s { color: #6ee7b7; } .pvc-c { color: #475569; }

/* Store badge */
.store-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.4); border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  font-size: 0.75rem; color: var(--text-2);
  text-decoration: none; transition: all 0.2s;
}
.store-badge:hover { background: rgba(0,0,0,0.6); color: var(--text-1); }
.store-badge svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ── TECH STACK SECTION ─────────────────────────────────────────────── */
#stack { padding: var(--section-gap) 0; background: linear-gradient(180deg, transparent, rgba(6,182,212,0.02) 50%, transparent); }
.stack-header { text-align: center; margin-bottom: 4.5rem; }
.stack-header .section-sub { margin: 0.8rem auto 0; }

.stack-categories { display: flex; flex-direction: column; gap: 3rem; }
.stack-category { }
.stack-cat-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.stack-cat-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.stack-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.stack-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 1.2rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.875rem; font-weight: 450; color: var(--text-2);
  transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
}
.stack-item::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: var(--grad-card);
  transition: opacity 0.3s;
}
.stack-item:hover { border-color: var(--border-2); color: var(--text-1); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.stack-item:hover::before { opacity: 1; }
.stack-item-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; position: relative; z-index: 1;
}
.stack-item span { position: relative; z-index: 1; }
.stack-item-level {
  margin-left: auto; padding-left: 0.8rem;
  display: flex; gap: 3px; position: relative; z-index: 1;
}
.level-dot {
  width: 5px; height: 5px; border-radius: 50%;
}
.level-dot.filled { background: var(--violet-l); }
.level-dot.empty  { background: var(--border-2); }

/* ── GITHUB SECTION ─────────────────────────────────────────────────── */
#github { padding: var(--section-gap) 0; }
.github-header { margin-bottom: 4rem; }

.github-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.github-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2rem;
  transition: all 0.35s var(--ease-out);
}
.github-card:hover { background: var(--surface-2); border-color: var(--border-2); }
.github-card-title {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.github-card-title svg { width: 14px; height: 14px; stroke: var(--text-3); fill: none; stroke-width: 2; }
.github-card-full { grid-column: span 2; }

/* Profile card */
.gh-profile {
  display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem;
}
.gh-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: #fff;
  flex-shrink: 0; position: relative;
}
.gh-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: absolute; inset: 0; z-index: 2; }
.gh-avatar-ring {
  position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(135deg, var(--violet), var(--cyan)) border-box;
  z-index: 1;
}
#gh-avatar-initials {
  position: relative;
  z-index: 2;
}
.gh-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.2rem; }
.gh-handle { font-size: 0.82rem; color: var(--text-3); font-family: var(--font-mono); }
.gh-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.gh-stat-item { text-align: center; }
.gh-stat-val {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--text-1), var(--text-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gh-stat-lab { font-size: 0.72rem; color: var(--text-3); margin-top: 0.2rem; }

/* Contribution graph */
.contrib-graph {
  display: flex; flex-direction: column; gap: 3px;
  overflow: hidden;
}
.contrib-row { display: flex; gap: 3px; }
.contrib-cell {
  width: 12px; height: 12px; border-radius: 2px;
  background: var(--surface-3); flex-shrink: 0;
  transition: all 0.2s;
}
.contrib-cell:hover { transform: scale(1.3); }
.contrib-cell.l1 { background: rgba(124,58,237,0.2); }
.contrib-cell.l2 { background: rgba(124,58,237,0.45); }
.contrib-cell.l3 { background: rgba(124,58,237,0.7); }
.contrib-cell.l4 { background: var(--violet); box-shadow: 0 0 6px rgba(124,58,237,0.5); }

/* Language chart */
.lang-chart { display: flex; flex-direction: column; gap: 0.9rem; }
.lang-item { display: flex; flex-direction: column; gap: 0.35rem; }
.lang-header { display: flex; justify-content: space-between; align-items: center; }
.lang-name { font-size: 0.82rem; font-weight: 500; color: var(--text-1); }
.lang-pct  { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); }
.lang-bar  { height: 4px; background: var(--surface-3); border-radius: var(--r-full); overflow: hidden; }
.lang-fill { height: 100%; border-radius: var(--r-full); transition: width 1.5s var(--ease-out); }

/* Repo cards */
.repo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.repo-card {
  padding: 1.2rem 1.4rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease-out);
}
.repo-card:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-2px); }
.repo-name { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500; color: var(--violet-l); margin-bottom: 0.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.repo-desc { font-size: 0.78rem; color: var(--text-2); line-height: 1.5; margin-bottom: 0.8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.repo-meta { display: flex; align-items: center; gap: 1rem; }
.repo-meta-item { display: flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; color: var(--text-3); }
.repo-meta-item svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }
.repo-lang-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── CONTACT SECTION ────────────────────────────────────────────────── */
#contact { padding: var(--section-gap) 0; background: linear-gradient(180deg, transparent, rgba(124,58,237,0.03) 50%, transparent); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
  margin-top: 3rem;
}
.contact-left { }
.contact-big {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; letter-spacing: -2px; line-height: 1.08;
  color: var(--text-1); margin-bottom: 1.5rem;
}
.contact-big .cb-accent {
  background: linear-gradient(135deg, var(--violet-l), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-channels { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 2.5rem; }
.contact-channel {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); transition: all 0.3s var(--ease-out);
}
.contact-channel:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateX(4px); }
.cc-icon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cc-icon svg { width: 16px; height: 16px; stroke: var(--violet-l); fill: none; stroke-width: 2; }
.cc-label { font-size: 0.72rem; color: var(--text-3); margin-bottom: 0.15rem; letter-spacing: 0.06em; text-transform: uppercase; }
.cc-val { font-size: 0.88rem; font-weight: 500; color: var(--text-1); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label { font-size: 0.78rem; font-weight: 500; color: var(--text-2); letter-spacing: 0.04em; }
.form-label span { color: var(--violet-l); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.85rem 1.1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); color: var(--text-1);
  font-family: var(--font-body); font-size: 0.9rem;
  outline: none; transition: all 0.25s var(--ease-out);
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(124,58,237,0.5); background: rgba(124,58,237,0.04);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select option { background: #07071a; }

.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; padding: 0.95rem;
  background: linear-gradient(135deg, var(--violet), #6d28d9);
  color: #fff; font-size: 0.925rem; font-weight: 600;
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.btn-submit::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,58,237,0.45); }
.btn-submit:hover::before { opacity: 1; }
.btn-submit:active { transform: translateY(0); }
.btn-submit.loading .btn-text { opacity: 0; }
.btn-submit.loading::after {
  content: ''; position: absolute; width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: none; padding: 1rem 1.2rem; border-radius: var(--r-md);
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3);
  color: var(--emerald); font-size: 0.875rem;
}
.form-error {
  display: none; padding: 1rem 1.2rem; border-radius: var(--r-md);
  background: rgba(244,63,94,0.08); border: 1px solid rgba(244,63,94,0.25);
  color: var(--rose); font-size: 0.875rem;
}
.form-success a, .form-error a { text-decoration: underline; }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
footer {
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand { }
.footer-brand-name {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  letter-spacing: -1px; margin-bottom: 0.3rem;
}
.footer-brand-name span { color: var(--violet-l); }
.footer-tagline {
  font-size: 0.85rem; color: var(--text-3); line-height: 1.7;
  max-width: 260px; margin-top: 0.5rem;
}
.footer-est {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.2rem; padding: 0.35rem 0.8rem;
  background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--r-full); font-size: 0.72rem; color: var(--text-3);
}
.footer-heading {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 1.2rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-link {
  font-size: 0.875rem; color: var(--text-2); transition: color 0.2s;
  display: flex; align-items: center; gap: 0.4rem;
}
.footer-link:hover { color: var(--text-1); }

.footer-social { display: flex; flex-direction: column; gap: 0.6rem; }
.social-link {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0.9rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.8rem; color: var(--text-2);
  transition: all 0.25s var(--ease-out);
}
.social-link:hover { background: var(--surface-2); border-color: var(--border-2); color: var(--text-1); transform: translateX(4px); }
.social-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2.5rem; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-3); flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: var(--text-2); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text-1); }

/* India flag chip */
.india-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-full); font-size: 0.75rem;
}

/* ── MAGNETIC BUTTON ────────────────────────────────────────────────── */
.magnetic { display: inline-block; }

/* ── TOAST ──────────────────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9000;
  padding: 0.9rem 1.4rem;
  background: rgba(7,7,26,0.9); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2); border-radius: var(--r-md);
  font-size: 0.875rem; color: var(--text-1);
  display: flex; align-items: center; gap: 0.7rem;
  transform: translateY(80px); opacity: 0;
  transition: all 0.4s var(--ease-spring);
  pointer-events: none; max-width: 320px;
}
#toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1rem; flex-shrink: 0; }

/* ── ANIMATIONS ─────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .proj-card-xl, .proj-card-md, .proj-card-sm { grid-column: span 1; }
  .github-grid { grid-template-columns: 1fr; }
  .github-card-full { grid-column: span 1; }
  .repo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-bg-logo-svg { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .founder-layout { grid-template-columns: 1fr; gap: 4rem; }
  .founder-card { position: static; }
  .founder-photo-container { max-width: 380px; }
  .skill-badge { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .github-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --section-gap: 6rem; }
  .container { padding: 0 1.2rem; }
  #nav { width: calc(100% - 2rem); padding: 0.75rem 1.1rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats { flex-direction: column; gap: 2rem; }
  .hero-stat::before { display: none; }
  .hero-stat { padding: 0; }
  .bento-grid { grid-template-columns: 1fr; }
  .stack-row { gap: 0.5rem; }
  .stack-item { padding: 0.6rem 1rem; font-size: 0.82rem; }
  .founder-stats { grid-template-columns: 1fr 1fr; }
  .timeline-item { grid-template-columns: 70px 1px 1fr; }
  .contact-big { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-chips { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; letter-spacing: -1.5px; }
  .section-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .founder-stats { grid-template-columns: 1fr; }
}
