/* =========================================================
   VITonomous — Global Stylesheet
   Typography: Clash Display (display) + Inter (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@200,300,400,500,600,700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --clr-bg:        #0d0d0d;
  --clr-surface:   #131318;
  --clr-card:      #16161e;
  --clr-border:    rgba(255,255,255,0.08);
  --clr-accent:    #7c3aed;
  --clr-accent2:   #a855f7;
  --clr-accent3:   #06b6d4;
  --clr-gold:      #c084fc;
  --clr-white:     #ffffff;
  --clr-muted:     rgba(255,255,255,0.55);
  --clr-nav-bg:    rgba(255,255,255,0.97);
  --clr-nav-text:  #111111;
  --clr-nav-border:#e2e2e2;

  --ff-display:    'Clash Display', sans-serif;
  --ff-body:       'Inter', sans-serif;

  --radius-pill:   9999px;
  --radius-card:   20px;
  --radius-lg:     16px;

  --shadow-nav:    0 8px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  --shadow-card:   0 20px 60px rgba(0,0,0,0.5), 0 4px 16px rgba(124,58,237,0.08);
  --shadow-glow:   0 0 60px rgba(124,58,237,0.35);

  --transition:    cubic-bezier(0.4, 0, 0.2, 1);
  --bounce:        cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-accent); border-radius: 3px; }

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */

@keyframes morphLogo {
  0%   { border-radius: 50%; transform: rotate(0deg) scale(1); }
  25%  { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(90deg) scale(1.05); }
  50%  { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(180deg) scale(0.97); }
  75%  { border-radius: 30% 70% 70% 30% / 70% 30% 70% 30%; transform: rotate(270deg) scale(1.03); }
  100% { border-radius: 50%; transform: rotate(360deg) scale(1); }
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

@keyframes floatSide {
  0%, 100% { transform: translateX(0px) rotate(0deg); }
  50%       { transform: translateX(12px) rotate(8deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(124,58,237,0.4), 0 0 60px rgba(124,58,237,0.1); }
  50%       { box-shadow: 0 0 40px rgba(168,85,247,0.7), 0 0 100px rgba(124,58,237,0.3); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes rotateReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

@keyframes morphShape {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg) scale(1); }
  20%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(72deg) scale(1.05); }
  40%  { border-radius: 70% 30% 50% 50% / 30% 70% 50% 50%; transform: rotate(144deg) scale(0.95); }
  60%  { border-radius: 50% 50% 30% 70% / 50% 50% 70% 30%; transform: rotate(216deg) scale(1.08); }
  80%  { border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%; transform: rotate(288deg) scale(0.98); }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(360deg) scale(1); }
}

@keyframes morphShape2 {
  0%   { border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%; transform: rotate(0deg); }
  33%  { border-radius: 70% 30% 40% 60% / 40% 70% 30% 60%; transform: rotate(120deg); }
  66%  { border-radius: 30% 70% 70% 30% / 50% 40% 60% 50%; transform: rotate(240deg); }
  100% { border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%; transform: rotate(360deg); }
}

@keyframes particleDrift {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
  25%  { transform: translateY(-30px) translateX(15px) scale(1.1); opacity: 1; }
  50%  { transform: translateY(-20px) translateX(-10px) scale(0.9); opacity: 0.8; }
  75%  { transform: translateY(-40px) translateX(20px) scale(1.05); opacity: 0.5; }
  100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
}

@keyframes textShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes countUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@keyframes slideInLeft  { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(60px);  } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp    { from { opacity: 0; transform: translateY(50px);  } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn       { from { opacity: 0; }                               to { opacity: 1; }                           }

@keyframes orbit {
  from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes borderPulse {
  0%, 100% { border-color: rgba(124,58,237,0.4); }
  50%       { border-color: rgba(168,85,247,0.9); }
}

@keyframes dotGrid {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.4); }
}

@keyframes waveform {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1.2); }
}

@keyframes cursor3d {
  0%,100% { transform: perspective(400px) rotateX(0deg) rotateY(0deg); }
  25%     { transform: perspective(400px) rotateX(5deg) rotateY(5deg); }
  50%     { transform: perspective(400px) rotateX(-3deg) rotateY(8deg); }
  75%     { transform: perspective(400px) rotateX(6deg) rotateY(-4deg); }
}

@keyframes navGlow {
  0%, 100% { box-shadow: var(--shadow-nav); }
  50%       { box-shadow: var(--shadow-nav), 0 0 30px rgba(124,58,237,0.12); }
}

/* ============================================================
   BACKGROUND — animated mesh gradient
   ============================================================ */
.bg-mesh {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%,  rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 80%,  rgba(6,182,212,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(13,13,13,1) 40%, transparent 100%),
    var(--clr-bg);
  animation: gradientShift 12s ease infinite;
  background-size: 300% 300%;
}

.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: center; align-items: center;
  padding: 14px 24px;
}

.navbar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--clr-nav-bg);
  border: 2px solid var(--clr-nav-border);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 10px;
  width: min(900px, calc(100vw - 48px));
  box-shadow: var(--shadow-nav);
  animation: navGlow 4s ease-in-out infinite;
  transition: background 0.3s var(--transition);
  backdrop-filter: blur(20px);
}

/* Logo container — morphing shape */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img-wrap {
  width: 40px; height: 40px; overflow: hidden; flex-shrink: 0;
  animation: morphLogo 6s ease-in-out infinite;
  will-change: border-radius, transform;
}

.nav-logo-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}

.nav-brand {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-nav-text);
  letter-spacing: -0.02em;
}

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 4px;
}

.nav-links a {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-nav-text);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--transition), color 0.2s;
  position: relative;
}

.nav-links a:hover { background: rgba(0,0,0,0.06); }

.nav-links a.active {
  background: #111;
  color: #fff;
}

/* Contact button */
.nav-cta {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  background: #111;
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  transition: background 0.25s var(--transition), transform 0.2s var(--bounce), box-shadow 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--clr-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.45);
}

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 6px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #111; border-radius: 2px;
  transition: all 0.3s var(--transition);
}

/* Mobile nav */
.nav-mobile { display: none; }

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-120%);
    transition: transform 0.35s var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    pointer-events: none;
    opacity: 0;
    transition: transform 0.35s var(--transition), opacity 0.35s var(--transition);
  }

  .nav-mobile.open {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
  }
  .nav-mobile a {
    font-family: var(--ff-body); font-size: 1rem; font-weight: 500;
    color: #111; padding: 12px 16px; border-radius: 12px;
    transition: background 0.2s;
  }
  .nav-mobile a:hover { background: rgba(0,0,0,0.06); }
  .nav-mobile a.active { background: #111; color: #fff; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0a2e 50%, #0d1a2e 100%);
}

.hero-bg-img::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}

/* Floating 3D blobs */
.hero-blob {
  position: absolute; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(40px); pointer-events: none; will-change: border-radius, transform;
}

.hero-blob-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(124,58,237,0.4), transparent 70%);
  top: -80px; left: -100px;
  animation: morphShape 10s ease-in-out infinite;
}

.hero-blob-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(6,182,212,0.3), transparent 70%);
  bottom: -60px; right: -80px;
  animation: morphShape2 8s ease-in-out infinite;
}

.hero-blob-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(168,85,247,0.25), transparent 70%);
  top: 30%; right: 15%;
  animation: morphShape 14s ease-in-out infinite reverse;
}

/* Dot grid decor */
.dot-grid {
  position: absolute; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  pointer-events: none;
}
.dot-grid.dot-tl { top: 18%; left: 5%; }
.dot-grid.dot-br { bottom: 20%; right: 8%; }

.dot-grid span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  animation: dotGrid 2.5s ease-in-out infinite;
}
.dot-grid span:nth-child(2) { animation-delay: 0.15s; }
.dot-grid span:nth-child(3) { animation-delay: 0.30s; }
.dot-grid span:nth-child(4) { animation-delay: 0.45s; }
.dot-grid span:nth-child(5) { animation-delay: 0.60s; }
.dot-grid span:nth-child(6) { animation-delay: 0.75s; }
.dot-grid span:nth-child(7) { animation-delay: 0.90s; }
.dot-grid span:nth-child(8) { animation-delay: 1.05s; }
.dot-grid span:nth-child(9) { animation-delay: 1.20s; }

/* Floating lines decor */
.lines-decor {
  position: absolute; left: 6%; top: 38%;
  display: flex; flex-direction: column; gap: 7px;
  transform: rotate(-20deg);
  animation: floatSide 5s ease-in-out infinite;
}
.lines-decor span {
  display: block; height: 2px; background: rgba(255,255,255,0.3); border-radius: 1px;
}
.lines-decor span:nth-child(1) { width: 60px; }
.lines-decor span:nth-child(2) { width: 50px; }
.lines-decor span:nth-child(3) { width: 40px; }
.lines-decor span:nth-child(4) { width: 30px; }

/* Hero content */
.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--clr-gold);
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.25);
  padding: 6px 18px; border-radius: var(--radius-pill);
  animation: slideInUp 0.8s var(--bounce) both;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--clr-gold);
  animation: pulseGlow 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 0%, #c084fc 40%, #06b6d4 80%, #ffffff 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 4s linear infinite, slideInUp 0.9s var(--bounce) 0.1s both;
}

.hero-sub {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: var(--clr-muted);
  max-width: 520px;
  line-height: 1.7;
  animation: slideInUp 1s var(--bounce) 0.2s both;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body); font-size: 0.975rem; font-weight: 600;
  background: rgba(255,255,255,0.97); color: #111;
  padding: 14px 32px; border-radius: var(--radius-pill);
  transition: all 0.3s var(--bounce);
  animation: slideInUp 1.1s var(--bounce) 0.3s both;
  position: relative; overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent3));
  opacity: 0; transition: opacity 0.3s;
}

.hero-cta:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.hero-cta:hover::before { opacity: 1; }
.hero-cta:hover span, .hero-cta:hover svg { position: relative; z-index: 1; color: white; }
.hero-cta span { position: relative; z-index: 1; }
.hero-cta svg { position: relative; z-index: 1; width: 18px; height: 18px; transition: transform 0.3s var(--bounce); }
.hero-cta:hover svg { transform: translateX(5px); }

/* Stats row */
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: center;
  animation: slideInUp 1.2s var(--bounce) 0.5s both;
}

.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}

.stat-num {
  font-family: var(--ff-display);
  font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--clr-white), var(--clr-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.stat-label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--clr-muted);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: floatUp 2.5s ease-in-out infinite;
}

.scroll-hint span {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--clr-muted); font-weight: 500;
}

.scroll-hint-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--clr-muted), transparent);
}

/* ============================================================
   SECTIONS — shared utilities
   ============================================================ */
section { padding: 100px 24px; position: relative; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-gold));
  border-radius: 1px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--clr-white) 0%, var(--clr-gold) 50%, var(--clr-accent3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.section-desc {
  font-size: 1.0625rem; color: var(--clr-muted); max-width: 560px; line-height: 1.75;
}

/* Reveal animation (JS adds .revealed) */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   FEATURE CARDS — 2x2 Desktop, 1x1 Mobile
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

/* Desktop styles - emojis visible */
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  animation: floatUp 4s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--clr-white);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.7;
}

/* Hide tag on desktop */
.feature-tag {
  display: none;
}

/* ===== MOBILE OVERRIDES ===== */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .feature-card {
    padding: 24px 20px;
    border-radius: 16px;
    animation: none !important;
    transition: transform 0.3s var(--bounce), box-shadow 0.3s;
    display: flex;
    flex-direction: column;
  }

  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
  }

  .feature-card::before {
    display: none;
  }

  /* Hide emojis ONLY on mobile */
  .feature-icon {
    display: none !important;
  }

  .feature-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  /* Colored line before title - ONLY on mobile */
  .feature-title::before {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent3));
  }

  .feature-card:nth-child(1) .feature-title::before {
    background: linear-gradient(90deg, #7c3aed, #a855f7);
  }
  .feature-card:nth-child(2) .feature-title::before {
    background: linear-gradient(90deg, #0891b2, #06b6d4);
  }
  .feature-card:nth-child(3) .feature-title::before {
    background: linear-gradient(90deg, #7c3aed, #c084fc);
  }
  .feature-card:nth-child(4) .feature-title::before {
    background: linear-gradient(90deg, #059669, #34d399);
  }

  .feature-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--clr-muted);
  }

  /* Show tag ONLY on mobile */
  .feature-tag {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--clr-gold);
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .feature-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-title::before {
    width: 28px;
    height: 2.5px;
    margin-bottom: 8px;
  }

  .feature-desc {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .feature-tag {
    font-size: 0.55rem;
    padding: 3px 10px;
    margin-top: 12px;
  }
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  height: 1px; max-width: 1100px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--clr-border), transparent);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #0a0a10;
  border-top: 1px solid var(--clr-border);
  padding: 70px 24px 30px;
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--clr-border);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-logo-wrap {
  display: flex; align-items: center; gap: 12px;
}

.footer-logo-img {
  width: 40px; height: 40px; border-radius: 50%;
  animation: morphShape 8s ease-in-out infinite;
  overflow: hidden;
}

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

.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 1.25rem; font-weight: 700;
  background: linear-gradient(135deg, var(--clr-white), var(--clr-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.footer-tagline {
  font-size: 0.875rem; color: var(--clr-muted); line-height: 1.65;
}

.footer-contact-list {
  display: flex; flex-direction: column; gap: 10px; margin-top: 8px;
}

.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--clr-muted);
  transition: color 0.2s;
}

.footer-contact-item:hover { color: var(--clr-white); }

.footer-contact-item .fci {
  width: 24px; height: 24px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
}

.footer-col-title {
  font-family: var(--ff-display);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--clr-white); margin-bottom: 20px; text-transform: uppercase;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem; color: var(--clr-muted);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-links a:hover { color: var(--clr-gold); transform: translateX(4px); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
}

.footer-copy {
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
}

.footer-socials { display: flex; gap: 10px; }

.social-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--clr-muted);
  transition: all 0.3s var(--bounce);
}

.social-btn:hover {
  background: var(--clr-accent); border-color: var(--clr-accent);
  color: white; transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124,58,237,0.45);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-hero {
  min-height: 52vh; display: flex; align-items: flex-end;
  padding-top: 120px; padding-bottom: 60px;
  position: relative; overflow: hidden;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.team-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 0;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--bounce), box-shadow 0.4s, border-color 0.3s;
}

.team-card::after {
  pointer-events: none;
  z-index: 0;
}

.team-card > * {
  position: relative;
  z-index: 1;
}

.team-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.team-link-btn {
  position: relative;
  z-index: 2;
}

.team-card:hover { transform: translateY(-10px) scale(1.01); box-shadow: var(--shadow-card); border-color: rgba(124,58,237,0.35); }
.team-card:hover::after { opacity: 1; }

.team-avatar-wrap {
  position: relative; width: 88px; height: 88px; margin-bottom: 20px;
}

.team-avatar-bg {
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--clr-accent), var(--clr-accent3), var(--clr-gold), var(--clr-accent));
  animation: rotateSlow 4s linear infinite;
}

.team-short-desc {
  color: var(--clr-muted);
  font-size: 0.84rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.team-card:not(.team-card-lead) {
  min-height: 430px;
}

.team-card:not(.team-card-lead) .team-avatar-wrap {
  margin-bottom: 22px;
}

.team-card:not(.team-card-lead) .skill-tags {
  margin-bottom: 22px;
}

.team-avatar-bg-mask {
  position: absolute; inset: 2px; border-radius: 50%;
  background: var(--clr-card);
}

.team-avatar {
  position: relative; z-index: 1;
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  animation: floatUp 5s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.team-card:nth-child(2) .team-avatar { animation-delay: -1.2s; }
.team-card:nth-child(3) .team-avatar { animation-delay: -2.4s; }
.team-card:nth-child(4) .team-avatar { animation-delay: -3.6s; }

.team-role {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--clr-gold); margin-bottom: 6px;
}

.team-name {
  font-family: var(--ff-display);
  font-size: 1.4rem; font-weight: 700; line-height: 1.15;
  color: var(--clr-white); margin-bottom: 14px;
}

.team-info {
  display: flex; flex-direction: column; gap: 5px; margin-bottom: 22px;
}

.team-info-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--clr-muted);
}

.team-info-row .badge {
  display: inline-block; padding: 2px 8px; border-radius: var(--radius-pill);
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.25);
  font-size: 0.7rem; font-weight: 500; color: var(--clr-gold);
}

.team-links { display: flex; gap: 10px; margin-top: auto; }

.team-link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600;
  padding: 7px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  background: rgba(255,255,255,0.04);
  transition: all 0.3s var(--bounce);
}

.team-link-btn:hover {
  background: var(--clr-accent); border-color: var(--clr-accent);
  color: white; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.4);
}

/* ============================================================
   EVENTS PAGE
   ============================================================ */
.events-hero { min-height: 52vh; display: flex; align-items: flex-end; padding-top: 120px; padding-bottom: 60px; position: relative; overflow: hidden; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.event-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 20px; overflow: hidden;
  transition: transform 0.4s var(--bounce), box-shadow 0.4s, border-color 0.3s;
  position: relative;
}

.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: rgba(124,58,237,0.35); }

.event-card-img {
  width: 100%; height: 200px; object-fit: cover;
  background: linear-gradient(135deg, #1a0a2e, #0d1a2e);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.event-img-placeholder {
  font-size: 4rem;
  animation: floatUp 4s ease-in-out infinite;
}

.event-card-body { padding: 26px; }

.event-date-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clr-accent3);
  background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.2);
  padding: 4px 12px; border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.event-title {
  font-family: var(--ff-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--clr-white); margin-bottom: 10px; line-height: 1.25;
}

.event-desc { font-size: 0.875rem; color: var(--clr-muted); line-height: 1.7; margin-bottom: 18px; }

.event-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.event-tag {
  font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-pill);
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.22); color: var(--clr-gold);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start;
}

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

.contact-img-wrap {
  position: sticky; top: 110px;
  border-radius: 28px; overflow: hidden;
  animation: morphShape 10s ease-in-out infinite;
  will-change: border-radius;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
}

.contact-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

.contact-form-wrap { display: flex; flex-direction: column; gap: 28px; }

.contact-form-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1;
}

.contact-form-sub { font-size: 0.9375rem; color: var(--clr-muted); line-height: 1.65; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-label {
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
}

.form-label .req { color: var(--clr-gold); margin-left: 2px; }

.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--clr-border);
  border-radius: 12px; padding: 12px 16px;
  font-family: var(--ff-body); font-size: 0.9rem; color: var(--clr-white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  -webkit-appearance: none;
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
  background: rgba(255,255,255,0.07);
}

.form-textarea { resize: vertical; min-height: 140px; }

.form-file-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 12px; padding: 20px;
  text-align: center; cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.form-file-wrap:hover { border-color: var(--clr-accent); background: rgba(124,58,237,0.05); }
.form-file-wrap span { font-size: 0.85rem; color: var(--clr-muted); }
.form-file-wrap input[type="file"] { display: none; }

.form-note { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

.form-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  color: white; font-family: var(--ff-body); font-size: 0.975rem; font-weight: 700;
  padding: 14px 36px; border-radius: var(--radius-pill);
  border: none; cursor: pointer;
  transition: all 0.3s var(--bounce);
  position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(124,58,237,0.4);
}

.form-submit::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--clr-accent2), var(--clr-accent3));
  opacity: 0; transition: opacity 0.3s;
}

.form-submit:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(124,58,237,0.6); }
.form-submit:hover::after { opacity: 1; }
.form-submit span { position: relative; z-index: 1; }
.form-submit svg { position: relative; z-index: 1; transition: transform 0.3s var(--bounce); }
.form-submit:hover svg { transform: translateX(5px); }

/* ============================================================
   PAGE HERO — shared for inner pages
   ============================================================ */
.page-hero {
  padding: 160px 24px 80px;
  position: relative; overflow: hidden;
}

.page-hero-inner { max-width: 1100px; margin: 0 auto; }

.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clr-gold);
  background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.2);
  padding: 6px 16px; border-radius: var(--radius-pill);
  margin-bottom: 20px; display: inline-flex;
}

.page-hero-label::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%; background: var(--clr-gold);
  animation: pulseGlow 2s ease-in-out infinite;
}

.page-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  margin-bottom: 18px;
}

.page-hero-desc {
  font-size: 1.0625rem; color: var(--clr-muted); max-width: 500px; line-height: 1.75;
}

/* Page blobs */
.page-blob-1 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.15), transparent 70%);
  top: -100px; right: -100px; pointer-events: none; filter: blur(60px);
  animation: morphShape 12s ease-in-out infinite;
}

.page-blob-2 {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.1), transparent 70%);
  bottom: -50px; left: 10%; pointer-events: none; filter: blur(50px);
  animation: morphShape2 9s ease-in-out infinite;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-48 { margin-bottom: 48px; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}