/* ============================================================
   UIET E-Cell — Master Design System (GSAP Design Language Spec)
   Theme: Dark Canvas | Near-Black Stage + Warm Surface Cream
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&family=Outfit:wght@600;700;800;900&display=swap');

/* ── GSAP TOKENS ───────────────────────────────────────────── */
:root {
  /* Colors */
  --color-just-black:         #0e100f;
  --color-surface-cream:      #fffce1;
  --color-surface-50:         #7c7c6f;
  --color-surface-25:         #42433d;
  --color-off-black:          #191919;
  --surface-nested-panel:     #141615;
  --color-shockingly-green:   #0ae448;
  --color-light-green:        #abff84;
  --gradient-green-stroke:    linear-gradient(114.41deg, #0ae448 20.74%, #abff84 65.5%);
  --color-orangey:            #ff8709;
  --color-pink:               #fec5fb;
  --color-lilac:              #9d95ff;
  --color-blue:               #00bae2;
  --color-core-green:         #dfffd1;
  --color-lipstick-pink:      #f100cb;

  /* Typography Families */
  --font-mori:                'Inter Tight', 'Outfit', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Typography Scale */
  --text-caption:             14px;
  --leading-caption:          1.4;
  --tracking-caption:         -0.14px;
  
  --text-body-sm:             16px;
  --leading-body-sm:          1.15;
  
  --text-body:                19px;
  --leading-body:             1.15;
  
  --text-body-lg:             23px;
  --leading-body-lg:          1.38;
  --tracking-body-lg:         -0.23px;
  
  --text-subheading:          34px;
  --leading-subheading:       1.2;
  --tracking-subheading:      -0.34px;
  
  --text-heading-sm:          44px;
  --leading-heading-sm:       1.2;
  --tracking-heading-sm:      -0.44px;
  
  --text-heading:             66px;
  --leading-heading:          1.2;
  --tracking-heading:         -0.66px;
  
  --text-heading-lg:          101px;
  --leading-heading-lg:       1.0;
  --tracking-heading-lg:      -1.11px;
  
  --text-display:             clamp(64px, 9vw, 120px);
  --leading-display:          0.90;
  --tracking-display:         -0.02em;

  /* Spacing */
  --spacing-8:                8px;
  --spacing-12:               12px;
  --spacing-16:               16px;
  --spacing-20:               20px;
  --spacing-24:               24px;
  --spacing-32:               32px;
  --spacing-76:               76px;
  --spacing-96:               96px;
  --spacing-108:              108px;

  /* Layout */
  --page-max-width:           1280px;
  --section-gap:              80px;
  --card-padding:             24px;
  --element-gap:              16px;
  --nav-height:               72px;

  /* Shapes & Radii */
  --radius-cards:             8px;
  --radius-pills:             9999px;
  --radius-buttons:           100px;
  --radius-smalltags:         8px;

  /* Shadows & Glows */
  --shadow-card:              0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow-green:        0 0 20px rgba(10, 228, 72, 0.25);

  /* Transitions */
  --t-fast:                   0.15s ease;
  --t-normal:                 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-just-black);
}

body {
  background-color: var(--color-just-black);
  color: var(--color-surface-cream);
  font-family: var(--font-mori);
  line-height: var(--leading-body);
  font-size: var(--text-body);
  font-weight: 400;
  letter-spacing: -0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-just-black);
}
::-webkit-scrollbar-thumb {
  background: var(--color-surface-25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-surface-50);
}

/* Text Selection */
::selection {
  background: var(--color-shockingly-green);
  color: var(--color-just-black);
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ── TEXT ALIGNMENT UTILITIES ─────────────────────────────── */
.text-center { text-align: center !important; }
.text-left   { text-align: left !important; }
.text-right  { text-align: right !important; }

/* ── TYPOGRAPHY HEROES ────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mori);
  font-weight: 600;
  color: var(--color-surface-cream);
  line-height: 1.05;
}

.hero-display-headline {
  font-size: var(--text-display);
  font-weight: 600;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: var(--color-surface-cream);
  text-transform: uppercase;
  word-break: break-word;
}

.heading-lg {
  font-size: clamp(48px, 8vw, 101px);
  line-height: var(--leading-heading-lg);
  letter-spacing: var(--tracking-heading-lg);
  font-weight: 600;
}

.heading-md {
  font-size: clamp(32px, 5vw, 66px);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  font-weight: 600;
}

.subheading {
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: var(--leading-subheading);
  letter-spacing: var(--tracking-subheading);
  color: var(--color-surface-cream);
  font-weight: 600;
}

p {
  color: var(--color-surface-50);
  font-size: var(--text-body);
  line-height: var(--leading-body-lg);
}

/* ── CURLY-BRACKET ANNOTATION SYSTEM ──────────────────────── */
.curly-annotation {
  font-family: var(--font-mori);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-surface-cream);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--spacing-16);
}
.curly-annotation::before { content: '{ '; color: var(--color-surface-50); }
.curly-annotation::after  { content: ' }'; color: var(--color-surface-50); }

/* ── CATEGORY COLOR TAXONOMY LABELS ───────────────────────── */
.category-label {
  font-family: var(--font-mori);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.01em;
  display: inline-block;
  margin-bottom: var(--spacing-8);
}
.category-label.green  { color: var(--color-shockingly-green); }
.category-label.orange { color: var(--color-orangey); }
.category-label.pink   { color: var(--color-pink); }
.category-label.lilac  { color: var(--color-lilac); }
.category-label.blue   { color: var(--color-blue); }

/* ── BUTTONS (100px Ghost Pill Controls) ──────────────────── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-buttons);
  border: 1px solid var(--color-surface-cream);
  background: transparent;
  color: var(--color-surface-cream);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.05;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}
.btn-pill:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-pill:active {
  transform: translateY(0);
}

/* Active Pill State for Event Tabs & Filters */
.btn-pill.active,
.events__tab.active,
.ev-filter-btn.active,
.app-tab.active {
  border-color: var(--color-shockingly-green);
  color: var(--color-shockingly-green);
  background: rgba(10, 228, 72, 0.1);
  box-shadow: var(--shadow-glow-green);
}

/* Gradient-Stroked CTA Pill (Primary Call to Action) */
.btn-pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: var(--radius-buttons);
  background: transparent;
  color: var(--color-surface-cream);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.05;
  cursor: pointer;
  position: relative;
  border: 1.5px solid transparent;
  background-image: linear-gradient(var(--color-just-black), var(--color-just-black)), var(--gradient-green-stroke);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: all var(--t-fast);
  text-decoration: none;
}
.btn-pill-cta:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-glow-green);
  transform: translateY(-1px);
}
.btn-pill-cta:active {
  transform: translateY(0);
}

/* ── HAIRLINE SECTION DIVIDER ─────────────────────────────── */
.hairline-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-surface-25);
  border: none;
  margin: 0;
}

/* ── ANNOUNCEMENT BANNER ──────────────────────────────────── */
.announcement-banner {
  width: 100%;
  background: var(--color-just-black);
  border-bottom: 1px solid var(--color-surface-25);
  padding: 10px 16px;
  text-align: center;
  font-size: var(--text-caption);
  color: var(--color-surface-cream);
}
.announcement-banner a {
  color: var(--color-shockingly-green);
  font-weight: 600;
  margin-left: 6px;
  text-decoration: none;
  transition: color var(--t-fast);
}
.announcement-banner a:hover {
  color: var(--color-light-green);
  text-decoration: underline;
}

/* ── NAVIGATION BAR ───────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(14, 16, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-surface-25);
}

.nav__inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--spacing-24);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__brand-logo {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  border: 1px solid var(--color-surface-25);
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
  transition: transform var(--t-fast);
}
.nav__brand:hover .nav__brand-logo {
  transform: scale(1.06);
}
.nav__brand-symbol {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-green-stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-just-black);
  font-weight: 800;
}
.nav__brand-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-surface-cream);
  letter-spacing: -0.01em;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--spacing-16);
}
@media (min-width: 860px) { .nav__links { display: flex; } }

.nav__link {
  font-size: var(--text-body-sm);
  color: var(--color-surface-50);
  padding: 8px 12px;
  transition: color var(--t-fast);
  font-weight: 400;
}
.nav__link:hover, .nav__link.active {
  color: var(--color-surface-cream);
}
.nav__link.active {
  font-weight: 600;
}

/* Category Nav Colors */
.nav__link.cat-green  { color: var(--color-shockingly-green); }
.nav__link.cat-orange { color: var(--color-orangey); }
.nav__link.cat-pink   { color: var(--color-pink); }
.nav__link.cat-lilac  { color: var(--color-lilac); }
.nav__link.cat-blue   { color: var(--color-blue); }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
@media (min-width: 860px) { .nav__hamburger { display: none; } }
.nav__hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--color-surface-cream);
  transition: transform var(--t-fast);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__cta-btn {
  padding: 8px 18px;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .nav__inner {
    padding: 0 14px;
  }
  .nav__brand {
    gap: 8px;
  }
  .nav__brand-title {
    font-size: 15px;
  }
  .nav__brand-logo {
    height: 36px;
    width: 36px;
  }
  .nav__actions {
    gap: 8px;
  }
  .nav__cta-btn {
    padding: 6px 12px;
    font-size: 13px;
    gap: 4px;
  }
}

@media (max-width: 380px) {
  .nav__brand-title {
    font-size: 13px;
  }
  .nav__cta-btn {
    padding: 5px 9px;
    font-size: 12px;
  }
}

.nav__mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--color-off-black);
  border-bottom: 1px solid var(--color-surface-25);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  box-shadow: 0 12px 32px rgba(0,0,0,0.8);
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
  font-size: var(--text-body);
  color: var(--color-surface-50);
  padding: 0.5rem 0;
  transition: color var(--t-fast);
}
.nav__mobile-link.active, .nav__mobile-link:hover {
  color: var(--color-surface-cream);
  font-weight: 600;
}

/* ── LAYOUT CONTAINERS ────────────────────────────────────── */
.container {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-24);
}

.section {
  padding: var(--section-gap) 0;
}

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero-stage {
  position: relative;
  padding: 80px 0 90px;
  background-color: var(--color-just-black);
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero-stage {
    padding: 40px 0 50px;
  }
}

/* 3D Hero Background Backdrop Image & Mask Overlay */
.hero-bg-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.32;
  filter: saturate(1.1) contrast(1.1) brightness(0.65);
  transform: scale(1.05);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(14, 16, 15, 0.7) 0%, rgba(14, 16, 15, 0.88) 55%, #0e100f 100%),
    radial-gradient(circle at top right, rgba(10, 228, 72, 0.12) 0%, transparent 60%),
    radial-gradient(circle at bottom left, rgba(254, 197, 251, 0.1) 0%, transparent 60%);
}

/* Soft 3D Ambient Multi-Stop Gradient Splashes */
.hero-ambient-glow-1 {
  position: absolute;
  top: -100px; right: -100px;
  width: 650px; height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 197, 251, 0.15) 0%, rgba(0, 186, 226, 0.08) 50%, transparent 70%);
  pointer-events: none;
}
.hero-ambient-glow-2 {
  position: absolute;
  bottom: -150px; left: -100px;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 135, 9, 0.12) 0%, rgba(10, 228, 72, 0.06) 50%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-quote {
  max-width: 680px;
  margin-top: 20px;
  font-size: clamp(18px, 4vw, 23px);
  line-height: 1.38;
  color: var(--color-surface-cream);
}
.hero-subtext {
  max-width: 640px;
  margin-top: 10px;
  font-size: clamp(15px, 3.2vw, 19px);
  line-height: 1.45;
  color: var(--color-surface-50);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-16);
  flex-wrap: wrap;
  margin-top: var(--spacing-32);
}
@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn-pill,
  .hero-actions .btn-pill-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

@media (max-width: 768px) {
  .hero-display-headline {
    font-size: clamp(36px, 11vw, 68px);
    line-height: 0.96;
    letter-spacing: -0.02em;
  }
}
@media (max-width: 480px) {
  .hero-display-headline {
    font-size: clamp(32px, 10vw, 46px);
  }
}

/* ── TOOL FEATURE BLOCK (Two-Column Section) ──────────────── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-32);
  align-items: center;
  padding: var(--section-gap) 0;
}
@media (min-width: 860px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-76);
  }
}

.feature-block__visual {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-cards);
  background: var(--color-off-black);
  border: 1px solid var(--color-surface-25);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .feature-block {
    padding: 32px 0;
    gap: 20px;
  }
  .feature-block__visual {
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 260px;
  }
}
.feature-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-block__visual:hover img {
  transform: scale(1.05);
}

/* ── SHOWCASE CARDS ───────────────────────────────────────── */
.grid-cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-24);
  margin-top: var(--spacing-32);
}
@media (min-width: 640px) { .grid-cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .grid-cards-3 { grid-template-columns: repeat(3, 1fr); } }

.showcase-card {
  background: var(--color-just-black);
  border: 1px solid var(--color-surface-25);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  transition: border-color var(--t-normal), transform var(--t-normal), box-shadow var(--t-normal);
}
.showcase-card:hover {
  border-color: var(--color-surface-50);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.showcase-card__title {
  font-size: var(--text-subheading);
  line-height: var(--leading-subheading);
  color: var(--color-surface-cream);
  font-weight: 600;
}
.showcase-card__desc {
  font-size: var(--text-body-sm);
  color: var(--color-surface-50);
  line-height: 1.4;
}

/* ── STATS BAR GRID ───────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-24);
  padding: var(--spacing-32) 0;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-box {
  padding: var(--spacing-24);
  border-left: 1px solid var(--color-surface-25);
}
.stat-box__val {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  line-height: 1;
  color: var(--color-surface-cream);
  letter-spacing: -0.02em;
}
.stat-box__lbl {
  font-size: var(--text-caption);
  color: var(--color-surface-50);
  margin-top: 8px;
}

/* ── TEAM CARDS & FOUNDING MEMBERS ────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--spacing-24);
  margin-top: var(--spacing-24);
}

.team-card {
  background: var(--color-off-black);
  border: 1px solid var(--color-surface-25);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  text-align: center;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.team-card:hover {
  border-color: var(--color-surface-cream);
  transform: translateY(-2px);
}
.team-card__avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto var(--spacing-16);
  border: 1px solid var(--color-surface-25);
  background: var(--color-just-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--color-surface-50);
  overflow: hidden;
}
.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__name {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-surface-cream);
  margin-bottom: 4px;
}
.team-card__role {
  font-size: var(--text-body-sm);
  color: var(--color-shockingly-green);
  margin-bottom: 6px;
}
.team-card__year {
  font-size: var(--text-caption);
  color: var(--color-surface-50);
  margin-bottom: var(--spacing-16);
}

/* Founding Member Badge */
.founding-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-orangey);
  background: rgba(255, 135, 9, 0.12);
  border: 1px solid rgba(255, 135, 9, 0.3);
  margin-bottom: 10px;
}

/* ── FORM & INPUT CONTROLS ────────────────────────────────── */
.form-stage {
  background: var(--color-off-black);
  border: 1px solid var(--color-surface-25);
  border-radius: var(--radius-cards);
  padding: clamp(24px, 5vw, 48px);
  max-width: 720px;
  margin: 0 auto;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-cards-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-24);
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .grid-cards-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.events-tabs-wrapper {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
@media (max-width: 480px) {
  .events-tabs-wrapper {
    gap: 8px;
  }
  .events-tabs-wrapper .btn-pill {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 12px 14px;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .form-stage {
    padding: 24px 16px;
  }
}

.form-group {
  margin-bottom: var(--spacing-20);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: var(--text-body-sm);
  color: var(--color-surface-cream);
}

.form-control {
  width: 100%;
  background: var(--color-just-black);
  border: 1px solid var(--color-surface-25);
  border-radius: var(--radius-cards);
  padding: 14px 18px;
  color: var(--color-surface-cream);
  font-size: 16px; /* Prevents auto-zoom on iOS */
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control::placeholder {
  color: var(--color-surface-50);
}
.form-control:focus {
  border-color: var(--color-shockingly-green);
  box-shadow: 0 0 0 3px rgba(10, 228, 72, 0.15);
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c7c6f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.char-counter {
  font-size: var(--text-caption);
  color: var(--color-surface-50);
  text-align: right;
  margin-top: 4px;
}

/* ── SPONSORS CHIPS ───────────────────────────────────────── */
.sponsor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-16);
  justify-content: center;
  margin-top: var(--spacing-32);
}
.sponsor-chip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-just-black);
  border: 1px solid var(--color-surface-25);
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: var(--text-body-sm);
  color: var(--color-surface-cream);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.sponsor-chip-item:hover {
  border-color: var(--color-surface-cream);
  transform: translateY(-1px);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--surface-nested-panel);
  border-top: 1px solid var(--color-surface-25);
  padding: var(--spacing-76) 0 var(--spacing-32);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-32);
  margin-bottom: var(--spacing-32);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-col h5 {
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-surface-50);
  margin-bottom: var(--spacing-16);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: var(--color-surface-cream);
  font-size: var(--text-body-sm);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--color-shockingly-green); }

.footer-bottom {
  border-top: 1px solid var(--color-surface-25);
  padding-top: var(--spacing-24);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  font-size: var(--text-caption);
  color: var(--color-surface-50);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ── ANIMATIONS & REVEAL ───────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(4deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TOAST ALERTS ─────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--color-off-black);
  border: 1px solid var(--color-shockingly-green);
  border-radius: var(--radius-cards);
  padding: 14px 24px;
  color: var(--color-surface-cream);
  font-size: var(--text-body-sm);
  z-index: 3000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.8);
  animation: toastIn 0.3s ease;
}

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

/* ── GSAP SPLIT-TEXT ANIMATION STYLES ────────────────────────── */
.gsap-text-perspective {
  perspective: 1000px;
}

.gsap-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.22em;
  padding-bottom: 0.08em;
  padding-top: 0.04em;
}

.gsap-word-inner {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* ── ADMIN DASHBOARD STYLING ────────────────────────────────── */
.admin-nav-item {
  transition: all var(--t-fast);
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  margin-right: 12px;
  font-weight: 500;
}
.admin-nav-item:hover {
  background: rgba(255, 252, 225, 0.06);
  color: var(--color-surface-cream) !important;
}
.admin-nav-item.active {
  background: rgba(10, 228, 72, 0.12);
  color: var(--color-shockingly-green) !important;
  border-left-color: var(--color-shockingly-green);
  font-weight: 600;
}

/* Glassmorphic Cards & Stat Modules */
.admin-card {
  background: var(--color-off-black);
  border: 1px solid var(--color-surface-25);
  border-radius: var(--radius-cards);
  padding: 24px;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.admin-card:hover {
  border-color: rgba(255, 252, 225, 0.2);
}

.admin-stat-card {
  background: var(--color-off-black);
  border: 1px solid var(--color-surface-25);
  border-radius: var(--radius-cards);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-fast);
}
.admin-stat-card:hover {
  border-color: var(--color-surface-50);
  transform: translateY(-2px);
}
.admin-stat-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 4px; height: 100%;
  background: var(--stat-accent, var(--color-shockingly-green));
}

/* Admin Status Badges & Pills */
.badge-pending {
  background: rgba(255, 135, 9, 0.15);
  color: var(--color-orangey);
  border: 1px solid rgba(255, 135, 9, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge-shortlisted {
  background: rgba(0, 186, 226, 0.15);
  color: var(--color-blue);
  border: 1px solid rgba(0, 186, 226, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge-accepted {
  background: rgba(10, 228, 72, 0.15);
  color: var(--color-shockingly-green);
  border: 1px solid rgba(10, 228, 72, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge-rejected {
  background: rgba(241, 0, 203, 0.15);
  color: var(--color-lipstick-pink);
  border: 1px solid rgba(241, 0, 203, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Admin Tables & Containers */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-surface-25);
  border-radius: var(--radius-cards);
  background: var(--color-off-black);
}
table.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--color-surface-cream);
}
table.admin-table th {
  background: rgba(25, 25, 25, 0.95);
  color: var(--color-surface-50);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-surface-25);
  font-weight: 700;
}
table.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-surface-25);
  vertical-align: middle;
}
table.admin-table tr:last-child td {
  border-bottom: none;
}
table.admin-table tr:hover td {
  background: rgba(255, 252, 225, 0.03);
}

/* Table Action Buttons */
.tbl-btn-action {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid var(--color-surface-25);
  background: var(--color-just-black);
  color: var(--color-surface-cream);
  cursor: pointer;
  transition: all var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tbl-btn-action:hover {
  border-color: var(--color-shockingly-green);
  color: var(--color-shockingly-green);
}
.tbl-btn-action.danger:hover {
  border-color: var(--color-orangey);
  color: var(--color-orangey);
}

/* ── MOBILE ADMIN RESPONSIVE SYSTEM ─────────────────────────── */
.admin-mobile-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--color-off-black);
  border-bottom: 1px solid var(--color-surface-25);
  position: sticky;
  top: 0;
  z-index: 1050;
}

/* Admin Header Bar & Responsive Layout */
.admin-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-surface-25);
  gap: 16px;
}

/* Admin Toolbar & Search/Filter Rows */
.admin-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Horizontal Scrollable Tabs */
.admin-tabs-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  width: 100%;
  max-width: 100%;
}
.admin-tabs-scroll .btn-pill {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Admin Bulk Strip */
.admin-bulk-strip {
  background: var(--color-off-black);
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--color-surface-25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Form Grid 3 */
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .form-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Modal Stage Overhaul */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 25, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.admin-modal-stage {
  background: var(--color-off-black);
  border: 1px solid var(--color-surface-25);
  border-radius: var(--radius-cards);
  padding: clamp(20px, 4vw, 36px);
  width: min(96%, 680px);
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.95);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-surface-25);
  padding-right: 36px;
}
.admin-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-just-black);
  border: 1px solid var(--color-surface-25);
  color: var(--color-surface-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.admin-modal-close:hover {
  border-color: var(--color-orangey);
  color: var(--color-orangey);
}
.admin-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--color-surface-25);
}

@media (max-width: 768px) {
  .admin-mobile-topbar {
    display: flex;
  }
  
  #admin-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    bottom: 0;
    width: 260px;
    z-index: 1500;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 6px 0 32px rgba(0,0,0,0.9);
  }

  #admin-sidebar.open {
    left: 0;
  }

  .admin-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    z-index: 1400;
  }

  .admin-backdrop.active {
    display: block;
  }

  main {
    padding: 20px 16px !important;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .admin-header-bar {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 20px;
    gap: 12px;
  }

  .admin-toolbar-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
  }
  .admin-toolbar-row > div {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .admin-toolbar-row .form-control,
  .admin-toolbar-row .btn-pill,
  .admin-toolbar-row .btn-pill-cta {
    width: 100% !important;
  }

  .admin-bulk-strip {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }
  .admin-bulk-strip > div {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .admin-bulk-strip .btn-pill,
  .admin-bulk-strip .btn-pill-cta,
  .admin-bulk-strip .form-control {
    width: 100% !important;
  }

  #admin-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .header-user-info {
    display: none !important;
  }
}

@media (max-width: 540px) {
  .admin-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .admin-modal-actions .btn-pill,
  .admin-modal-actions .btn-pill-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #admin-stats-grid {
    grid-template-columns: 1fr !important;
  }
  .form-stage {
    padding: 20px 16px;
  }
}

/* ============================================================
   TERMS & PRIVACY CONSENT POPUP MODAL (PRD v1.0)
   ============================================================ */
.terms-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 22, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.terms-overlay.active {
  opacity: 1;
  visibility: visible;
}

.terms-card {
  width: 100%;
  max-width: 520px;
  background: #141615;
  border: 1px solid rgba(255, 252, 225, 0.18);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(10, 228, 72, 0.15);
  padding: 32px;
  transform: translateY(24px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-surface-cream);
  font-family: var(--font-mori);
}

.terms-overlay.active .terms-card {
  transform: translateY(0) scale(1);
}

.terms-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.terms-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(10, 228, 72, 0.1);
  border: 1px solid rgba(10, 228, 72, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-badge-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.terms-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-surface-cream);
  margin: 0;
}

.terms-subtitle {
  font-size: 13px;
  color: var(--color-shockingly-green);
  font-weight: 600;
  margin-top: 2px;
  margin-bottom: 0;
}

.terms-body-box {
  background: rgba(25, 25, 25, 0.85);
  border: 1px solid rgba(255, 252, 225, 0.1);
  border-radius: 16px;
  padding: 20px;
  max-height: 230px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 252, 225, 0.85);
  margin-bottom: 20px;
}

.terms-body-box p {
  margin-top: 0;
  margin-bottom: 14px;
}

.terms-body-box::-webkit-scrollbar {
  width: 6px;
}
.terms-body-box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}
.terms-body-box::-webkit-scrollbar-thumb {
  background: rgba(10, 228, 72, 0.3);
  border-radius: 4px;
}

.terms-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}

.terms-bullet-icon {
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}

.terms-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 252, 225, 0.12);
  font-size: 13px;
}

.terms-link {
  color: var(--color-shockingly-green);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.terms-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}
.terms-sep {
  color: var(--color-surface-50);
}

.terms-checkbox-group {
  margin-bottom: 24px;
  background: rgba(10, 228, 72, 0.04);
  border: 1px solid rgba(10, 228, 72, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
}

.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--color-surface-cream);
}

.terms-checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-shockingly-green);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.terms-checkbox-text a {
  color: var(--color-shockingly-green);
  text-decoration: underline;
}

.terms-footer-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-terms-continue {
  width: 100%;
  padding: 16px 24px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mori);
  letter-spacing: -0.01em;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-25);
  color: rgba(255, 252, 225, 0.35);
  cursor: not-allowed;
}

.btn-terms-continue.enabled {
  background: var(--gradient-green-stroke);
  color: #000;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(10, 228, 72, 0.4);
}

.btn-terms-continue.enabled:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(10, 228, 72, 0.6);
}

@media (max-width: 540px) {
  .terms-card {
    padding: 24px 20px;
  }
}


