/* ═══════════════════════════════════════════════════
   HUBDIGILAB — Landing Page Styles
   Garden-meets-digital: dark, cinematic, organic
   ═══════════════════════════════════════════════════ */

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

:root {
  /* Greens — the garden */
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;

  /* Earth tones */
  --earth-100: #fef3c7;
  --earth-200: #fde68a;
  --earth-400: #fbbf24;
  --earth-600: #d97706;

  /* Dark canvas */
  --dark-950: #050a08;
  --dark-900: #0a1410;
  --dark-800: #0f1f18;
  --dark-700: #162920;
  --dark-600: #1e3a2d;
  --dark-500: #2a4d3c;

  /* Text on dark */
  --text-primary: #f0fdf4;
  --text-secondary: #86efac;
  --text-muted: #6b8f7c;

  /* Accents */
  --accent: #4ade80;
  --accent-glow: rgba(74, 222, 128, 0.15);
  --accent-glow-strong: rgba(74, 222, 128, 0.3);

  /* Spacing */
  --section-padding: clamp(5rem, 12vh, 10rem);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--dark-950);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ── Typography ──────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ── Reveal Animations ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-words {
  opacity: 0;
}

.reveal-words.visible {
  opacity: 1;
}

.reveal-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.reveal-words.visible .word {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section Header ──────────────────────────── */
.section-header {
  margin-bottom: 4rem;
}

.section-header--center {
  text-align: center;
}

.section-header__tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  padding: 0.4rem 1rem;
  border: 1px solid var(--dark-600);
  border-radius: 100px;
  margin-bottom: 1.5rem;
  background: var(--accent-glow);
}

.section-header__title {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  color: var(--text-primary);
  max-width: 700px;
  line-height: 1.25;
}

.section-header--center .section-header__title {
  margin: 0 auto;
}

.section-header__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 600px;
}

.section-header--center .section-header__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--dark-950);
}

.btn--primary:hover {
  background: var(--green-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--dark-500);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--large {
  padding: 1.1rem 2.8rem;
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem clamp(1.5rem, 4vw, 3rem);
  transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(5, 10, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(74, 222, 128, 0.08);
  padding: 0.8rem clamp(1.5rem, 4vw, 3rem);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.nav__seed {
  font-size: 1.3rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav__links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__cta {
  background: var(--accent);
  color: var(--dark-950) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--green-300) !important;
}

.nav__cta--outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
}

.nav__cta--outline:hover {
  background: var(--accent) !important;
  color: var(--dark-950) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(5, 10, 8, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

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

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.hero__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.65rem, 1.1vw, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 2rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero__title-line {
  display: block;
  padding: 0.15em 0;
}

.hero__title-accent {
  color: var(--accent);
  font-style: italic;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  z-index: 1;
}

.hero__scroll-indicator span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ═══════════════════════════════════════════════
   STATEMENT
   ═══════════════════════════════════════════════ */
.statement {
  padding: var(--section-padding) 0;
  border-bottom: 1px solid var(--dark-700);
}

.statement__text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 1.4;
  text-align: center;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto;
  border: none;
}

/* ═══════════════════════════════════════════════
   PROGRAMA
   ═══════════════════════════════════════════════ */
.programa {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--dark-950) 0%, var(--dark-900) 100%);
}

.programa__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.programa__card {
  padding: 2.5rem 2rem;
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 16px;
  transition: all 0.4s var(--ease-out-expo);
}

.programa__card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-glow);
}

.programa__card-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.programa__card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.programa__card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .programa__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .programa__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   XIFRES
   ═══════════════════════════════════════════════ */
.xifres {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--dark-700);
  border-bottom: 1px solid var(--dark-700);
}

.xifres__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.xifres__number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--accent);
  display: block;
  line-height: 1;
}

.xifres__label {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.5rem;
}

.xifres__number--text {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .xifres__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 600px) {
  .xifres__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════
   FORMACIÓ
   ═══════════════════════════════════════════════ */
.formacio {
  padding: var(--section-padding) 0;
  background: var(--dark-900);
}

.formacio__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--dark-600);
  border-radius: 16px;
  overflow: hidden;
}

.formacio__item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.5rem;
  background: var(--dark-800);
  transition: all 0.4s var(--ease-out-expo);
}

.formacio__item:hover {
  background: var(--dark-700);
  padding-left: 3rem;
}

.formacio__number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent);
}

.formacio__info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.formacio__info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.formacio__tools {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .formacio__item {
    grid-template-columns: 40px 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  .formacio__tools {
    grid-column: 1 / -1;
    white-space: normal;
  }
}

/* ═══════════════════════════════════════════════
   MENTORIA
   ═══════════════════════════════════════════════ */
.mentoria {
  padding: var(--section-padding) 0;
}

.mentoria__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mentoria__text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.mentoria__features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mentoria__features li {
  padding-left: 1.5rem;
  position: relative;
}

.mentoria__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.mentoria__features li strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.mentoria__features li span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Mentoria visual diagram */
.mentoria__visual {
  display: flex;
  justify-content: center;
}

.mentoria__diagram {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mentoria__node {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  z-index: 2;
}

.mentoria__node--artist {
  background: var(--accent);
  color: var(--dark-950);
  left: calc(50% - 80px);
  top: calc(50% - 40px);
}

.mentoria__node--mentor {
  background: var(--dark-600);
  border: 2px solid var(--accent);
  color: var(--accent);
  left: calc(50%);
  top: calc(50% - 40px);
}

.mentoria__connection {
  position: absolute;
  left: calc(50% - 20px);
  top: calc(50% - 1px);
  width: 40px;
  height: 2px;
  background: var(--accent);
  z-index: 1;
}

.mentoria__orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: orbitSpin 20s linear infinite;
}

.mentoria__satellite {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--dark-600);
  border-radius: 100px;
  background: var(--dark-800);
  white-space: nowrap;
}

.mentoria__satellite:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.mentoria__satellite:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); }
.mentoria__satellite:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.mentoria__satellite:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); }

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

.mentoria__satellite {
  animation: counterSpin 20s linear infinite;
}

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

/* Override the nth-child positioning to keep text right-side up */
.mentoria__satellite:nth-child(1) { top: 0; left: 50%; }
.mentoria__satellite:nth-child(2) { top: 50%; right: 0; left: auto; }
.mentoria__satellite:nth-child(3) { bottom: 0; left: 50%; top: auto; }
.mentoria__satellite:nth-child(4) { top: 50%; left: 0; }

@media (max-width: 900px) {
  .mentoria__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ═══════════════════════════════════════════════
   PROCESSFOLIO
   ═══════════════════════════════════════════════ */
.processfolio {
  padding: var(--section-padding) 0;
  background: var(--dark-900);
}

.processfolio__timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.processfolio__timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--dark-600));
}

.processfolio__entry {
  position: relative;
  padding-bottom: 3rem;
}

.processfolio__entry:last-child {
  padding-bottom: 0;
}

.processfolio__dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--dark-900);
  z-index: 1;
}

.processfolio__content {
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  transition: all 0.3s var(--ease-out-expo);
}

.processfolio__content:hover {
  border-color: var(--accent);
  transform: translateX(8px);
}

.processfolio__date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.processfolio__content h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.3rem 0;
}

.processfolio__content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════
   SHOWCASE
   ═══════════════════════════════════════════════ */
.showcase {
  padding: var(--section-padding) 0;
}

.showcase__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.showcase__feature {
  text-align: center;
}

.showcase__feature h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.showcase__feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Showcase mockup: mini browser */
.showcase__feature-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.showcase__mockup {
  width: 220px;
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 12px;
  overflow: hidden;
}

.showcase__mockup-bar {
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  background: var(--dark-700);
}

.showcase__mockup-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dark-500);
}

.showcase__mockup-content {
  padding: 12px;
}

.showcase__mockup-hero {
  height: 60px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: 6px;
  margin-bottom: 8px;
}

.showcase__mockup-text {
  height: 8px;
  width: 70%;
  background: var(--dark-600);
  border-radius: 4px;
  margin-bottom: 12px;
}

.showcase__mockup-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.showcase__mockup-gallery div {
  height: 30px;
  background: var(--dark-600);
  border-radius: 4px;
}

/* QR visual */
.showcase__qr {
  width: 120px;
  height: 120px;
  background: var(--text-primary);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase__qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
  height: 100%;
}

.showcase__qr-grid span {
  background: var(--dark-950);
  border-radius: 2px;
}

.showcase__qr-grid span:nth-child(5) {
  background: var(--accent);
}

/* Catalog visual */
.showcase__catalog {
  width: 160px;
  height: 120px;
  position: relative;
  perspective: 600px;
}

.showcase__catalog-page {
  position: absolute;
  width: 100px;
  height: 110px;
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 4px;
  transition: transform 0.4s var(--ease-out-expo);
}

.showcase__catalog-page--1 { left: 0; transform: rotateY(-5deg); z-index: 3; }
.showcase__catalog-page--2 { left: 20px; transform: rotateY(-3deg); z-index: 2; }
.showcase__catalog-page--3 { left: 40px; transform: rotateY(-1deg); z-index: 1; }

.showcase__feature:hover .showcase__catalog-page--1 { transform: rotateY(-15deg) translateX(-10px); }
.showcase__feature:hover .showcase__catalog-page--3 { transform: rotateY(5deg) translateX(10px); }

@media (max-width: 900px) {
  .showcase__features { grid-template-columns: 1fr; gap: 3rem; }
}

/* ═══════════════════════════════════════════════
   PLATAFORMA MOCKUP
   ═══════════════════════════════════════════════ */
.plataforma {
  padding: var(--section-padding) 0;
  background: var(--dark-900);
}

.plataforma__browser {
  max-width: 900px;
  margin: 0 auto;
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.plataforma__browser-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 12px 16px;
  background: var(--dark-700);
  border-bottom: 1px solid var(--dark-600);
}

.plataforma__browser-dots {
  display: flex;
  gap: 6px;
}

.plataforma__browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dark-500);
}

.plataforma__browser-dots span:first-child { background: #ff5f56; }
.plataforma__browser-dots span:nth-child(2) { background: #ffbd2e; }
.plataforma__browser-dots span:nth-child(3) { background: #27c93f; }

.plataforma__browser-url {
  flex: 1;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--dark-800);
  padding: 5px 16px;
  border-radius: 6px;
}

.plataforma__browser-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 300px;
}

.plataforma__sidebar {
  background: var(--dark-700);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plataforma__sidebar-logo {
  width: 60%;
  height: 12px;
  background: var(--accent);
  border-radius: 4px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.plataforma__sidebar-item {
  height: 12px;
  background: var(--dark-500);
  border-radius: 4px;
  width: 80%;
}

.plataforma__sidebar-item--active {
  background: var(--accent);
  opacity: 0.4;
}

.plataforma__main {
  padding: 24px;
}

.plataforma__main-header {
  height: 16px;
  width: 40%;
  background: var(--dark-600);
  border-radius: 4px;
  margin-bottom: 24px;
}

.plataforma__main-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.plataforma__main-card {
  height: 80px;
  background: var(--dark-700);
  border: 1px solid var(--dark-600);
  border-radius: 8px;
}

.plataforma__main-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plataforma__main-entry {
  height: 40px;
  background: var(--dark-700);
  border-radius: 8px;
}

@media (max-width: 600px) {
  .plataforma__browser-content {
    grid-template-columns: 1fr;
  }
  .plataforma__sidebar { display: none; }
}

/* ═══════════════════════════════════════════════
   CONVOCATÒRIA
   ═══════════════════════════════════════════════ */
.convocatoria {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--dark-950), var(--dark-800));
}

.convocatoria__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.convocatoria__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
  text-align: left;
}

.convocatoria__detail {
  padding: 1.5rem;
  background: var(--dark-900);
  border: 1px solid var(--dark-600);
  border-radius: 12px;
}

.convocatoria__detail-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.convocatoria__detail-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.convocatoria__perfil {
  text-align: left;
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--accent-glow);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 16px;
}

.convocatoria__perfil h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.convocatoria__perfil ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.convocatoria__perfil li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.convocatoria__perfil li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.convocatoria__actions {
  margin-top: 2rem;
}

.convocatoria__deadline {
  margin-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Formulari Participació ──────────────────── */
.convocatoria__form {
  margin-top: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.convocatoria__form-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
}

#participaForm .form__group {
  display: block;
  margin-bottom: 1.25rem;
}

#participaForm label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

#participaForm input,
#participaForm select,
#participaForm textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

#participaForm input[type="hidden"],
#participaForm input[name="_honey"] {
  display: none;
}

#participaForm input::placeholder,
#participaForm textarea::placeholder {
  color: var(--text-muted);
}

#participaForm input:focus,
#participaForm select:focus,
#participaForm textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

#participaForm select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386efac' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

#participaForm select option {
  background: var(--dark-900);
  color: var(--text-primary);
}

#participaForm textarea {
  resize: vertical;
  min-height: 100px;
}

#participaForm .form__submit {
  width: 100%;
  margin-top: 0.5rem;
  cursor: pointer;
  justify-content: center;
}

#participaForm .form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form__feedback {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
}

.form__feedback--success {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--green-300);
}

.form__feedback--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.convocatoria__form .convocatoria__deadline {
  text-align: center;
}

@media (max-width: 600px) {
  .convocatoria__details { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   PARTNERS
   ═══════════════════════════════════════════════ */
.partners {
  padding: 4rem 0;
  border-top: 1px solid var(--dark-700);
  text-align: center;
}

.partners__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.partners__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.partners__logo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-500);
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--dark-700);
  border-radius: 8px;
  transition: all 0.3s;
}

.partners__logo:hover {
  color: var(--text-muted);
  border-color: var(--dark-500);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  padding: 4rem 0 2rem;
  background: var(--dark-900);
  border-top: 1px solid var(--dark-700);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 4rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer__col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-700);
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer__content {
    flex-direction: column;
  }
  .footer__links {
    gap: 2rem;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .footer__links {
    flex-direction: column;
    gap: 1.5rem;
  }
}
