/* ============================================================
   GROWCO AI FILMMAKER — Premium Landing Page Stylesheet
   ============================================================
   Design System: Glassmorphism · Neon Accents · Smooth Motion
   ============================================================ */

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

/* ────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ──────────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-base: #F6F7FB;
  --bg-card: #FFFFFF;
  --bg-dark: #0C0F1E;
  --bg-dark-card: #161A30;

  /* Brand Colors */
  --cyan: #00D1FF;
  --cyan-bright: #00B4FF;
  --cyan-dim: #E6F8FF;
  --blue-deep: #0033FF;

  /* Accent (CTA) */
  --accent: #CCFF00;
  --accent-hover: #B4E600;

  /* Semantic */
  --red-main: #EF4444;
  --green-main: #22C55E;

  /* Text */
  --text-primary: #0C0F1E;
  --text-secondary: #6B728C;

  /* Borders */
  --border: #E2E7F2;
  --border-dark: #282C46;

  /* Radius */
  --radius: 16px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 51, 255, 0.06);
  --shadow-cyan: 0 4px 24px rgba(0, 209, 255, 0.15);

  /* Motion */
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

button {
  font-family: inherit;
}

/* ────────────────────────────────────────────────────────────
   3. TYPOGRAPHY
   ──────────────────────────────────────────────────────────── */
.section-title {
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-title .highlight {
  color: var(--blue-deep);
}

.section-title .highlight-cyan {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 209, 255, 0.4);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-top: 16px;
}

/* ────────────────────────────────────────────────────────────
   4. NAVBAR
   ──────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 15, 30, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(12, 15, 30, 0.95);
  padding: 8px 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom-color: rgba(0, 209, 255, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity var(--transition);
}

.nav-logo-img:hover {
  opacity: 1;
}

.nav-pills {
  display: flex;
  gap: 8px;
}

.nav-pill {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  white-space: nowrap;
}

.nav-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.nav-pill.active {
  background: var(--cyan);
  color: var(--bg-dark);
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.3);
}

/* Mobile hamburger area */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: var(--transition);
}

/* ────────────────────────────────────────────────────────────
   5. HERO
   ──────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--bg-dark);
  color: white;
  padding-top: 100px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind hero */
#hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.hero-graphic {
  position: absolute;
  right: -120px;
  top: 58%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 750px;
  height: 750px;
  transition: all 0.4s ease;
}

/* Decorative glow inside hero graphic */
.hero-graphic::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.2) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-logo-3d {
  width: 100%;
  height: auto;
  max-width: 750px;
  filter: drop-shadow(0 20px 60px rgba(0, 51, 255, 0.5));
}

.hero-title-wrapper {
  position: relative;
  width: 100%;
}

.hero-mobile-logo {
  display: none;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 24px;
}

.hero-title .performance {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 209, 255, 0.45);
  font-style: italic;
}

.hero-description {
  max-width: 600px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ────────────────────────────────────────────────────────────
   6. BUTTONS
   ──────────────────────────────────────────────────────────── */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 16px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(204, 255, 0, 0.3);
}

.btn-accent:hover::after {
  opacity: 1;
}

.btn-accent:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 4px 20px rgba(0, 209, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* Dark variant for dark backgrounds */
.btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.btn-outline-dark:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ────────────────────────────────────────────────────────────
   7. VIDEO SHOWCASE
   ──────────────────────────────────────────────────────────── */
#showcase {
  padding: 100px 40px;
  background: var(--bg-base);
  overflow: hidden;
}

#showcase .section-title {
  text-align: center;
  margin-bottom: 20px;
}

.video-marquee-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.video-marquee-wrapper:active,
.video-marquee-wrapper.dragging {
  cursor: grabbing;
}

.video-marquee {
  display: flex;
  gap: 20px;
  animation: scroll-left 40s linear infinite;
  width: max-content;
}

.video-marquee:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.video-card {
  flex: 0 0 auto;
  width: 280px;
  height: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
  border: 2px solid transparent;
}

.video-card video,
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 209, 255, 0.3);
  border: 2px solid var(--cyan);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 15, 30, 0.9) 0%, rgba(12, 15, 30, 0.3) 40%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.video-overlay-title {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.video-overlay-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 209, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.4);
}

.video-card:hover .video-play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-label {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ────────────────────────────────────────────────────────────
   8. UGC REFERENCE / PROFILES
   ──────────────────────────────────────────────────────────── */
#ugc-reference {
  padding: 100px 40px;
  background: white;
}

#ugc-reference .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.profile-card {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-base);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.profile-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-4px);
}

.profile-card img,
.profile-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-secondary);
}

.profile-placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--cyan);
}

.profile-placeholder-text {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:hover .profile-info {
  transform: translateY(0);
}

.profile-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.profile-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.profile-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(0, 209, 255, 0.2);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ────────────────────────────────────────────────────────────
   9. CONFIGURATOR
   ──────────────────────────────────────────────────────────── */
#configurador {
  padding: 100px 40px;
  background: var(--bg-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Ambient background glow */
#configurador::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

#configurador .section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.configurator-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
}

/* Stepper */
.stepper {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.step-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.5);
}

.step-dot.completed {
  background: var(--green-main);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

/* Step Content */
.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

/* Avatar Grid */
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.avatar-placeholder {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder:hover {
  border-color: var(--cyan);
  background: rgba(0, 209, 255, 0.08);
}

.avatar-placeholder.selected {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.3);
}

/* Scenario Pills */
.scenario-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.scenario-pill {
  padding: 10px 24px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 14px;
  font-weight: 500;
}

.scenario-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.scenario-pill.selected {
  background: var(--cyan);
  color: var(--bg-dark);
  border-color: var(--cyan);
  font-weight: 600;
}

/* Config Input */
.config-input {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: white;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: all var(--transition);
}

.config-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.config-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.15);
}

/* Result Preview */
.result-preview {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 400px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-preview video,
.result-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Config Navigation */
.config-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

/* ────────────────────────────────────────────────────────────
   10. METRICS (BENTO GRID)
   ──────────────────────────────────────────────────────────── */
#metricas {
  padding: 100px 40px;
  background: var(--bg-base);
}

#metricas .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.metric-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.metric-card:hover {
  transform: translateY(-4px);
}

.metric-card.bento-dark {
  background: var(--bg-dark);
  color: white;
}

.metric-card.bento-dark:hover {
  box-shadow: 0 8px 40px rgba(12, 15, 30, 0.3);
}

.metric-card.bento-cyan {
  background: linear-gradient(135deg, rgba(0, 209, 255, 0.15) 0%, rgba(0, 51, 255, 0.1) 100%);
  border: 1px solid rgba(0, 209, 255, 0.2);
  color: var(--text-primary);
}

.metric-card.bento-cyan:hover {
  box-shadow: var(--shadow-cyan);
  border-color: rgba(0, 209, 255, 0.4);
}

.metric-card.bento-white {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.metric-card.bento-white:hover {
  box-shadow: var(--shadow-md);
}

.metric-value {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
}

.bento-dark .metric-value {
  color: white;
}

.bento-cyan .metric-value {
  color: var(--cyan);
}

.metric-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  opacity: 0.7;
}

.metric-sub {
  font-size: 13px;
  opacity: 0.5;
  margin-top: 8px;
  line-height: 1.5;
}

/* Decorative glow inside metric card */
.metric-card.bento-dark::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ────────────────────────────────────────────────────────────
   11. CONTACT
   ──────────────────────────────────────────────────────────── */
#contacto {
  padding: 100px 40px;
  background: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.contact-info {
  padding-right: 20px;
}

.contact-info .section-title {
  margin-bottom: 24px;
}

.contact-info .section-subtitle {
  margin-bottom: 40px;
}

.contact-form {
  background: rgba(246, 247, 251, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--text-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

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

.form-select {
  width: 100%;
  padding: 14px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--text-primary);
  appearance: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.contact-bullets {
  list-style: none;
  padding: 0;
}

.contact-bullets li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.contact-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
  font-size: 16px;
}

/* ────────────────────────────────────────────────────────────
   12. FOOTER
   ──────────────────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 40px 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: white;
  font-size: 18px;
}

.footer-logo-img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
  font-size: 14px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 13px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ────────────────────────────────────────────────────────────
   13. VIDEO MODAL
   ──────────────────────────────────────────────────────────── */
#video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#video-modal.modal-active {
  opacity: 1;
  pointer-events: all;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-video {
  max-width: 400px;
  max-height: 90vh;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 209, 255, 0.2);
}

.modal-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ────────────────────────────────────────────────────────────
   14. ANIMATIONS
   ──────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 209, 255, 0.4);
  }
}

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

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

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
  animation: glow 3s ease-in-out infinite;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Processing / Loading Spinner */
.processing-animation {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(0, 209, 255, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.06) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius);
}

/* ────────────────────────────────────────────────────────────
   15. UTILITY CLASSES
   ──────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-cyan    { color: var(--cyan); }
.text-blue    { color: var(--blue-deep); }
.text-accent  { color: var(--accent); }
.text-white   { color: white; }
.text-muted   { color: var(--text-secondary); }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.mx-auto { margin-left: auto; margin-right: auto; }

.max-w-narrow  { max-width: 600px; }
.max-w-medium  { max-width: 900px; }
.max-w-wide    { max-width: 1280px; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Badge / Tag */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-cyan {
  background: rgba(0, 209, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 209, 255, 0.2);
}

.badge-accent {
  background: rgba(204, 255, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(204, 255, 0, 0.2);
}

.badge-dark {
  background: var(--bg-dark);
  color: white;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
  border: none;
}

.divider-dark {
  background: rgba(255, 255, 255, 0.1);
}

/* ────────────────────────────────────────────────────────────
   16. RESPONSIVE DESIGN
   ──────────────────────────────────────────────────────────── */

/* ── Tablet / Small Desktop ── */
@media (max-width: 1024px) {
  #hero {
    padding-top: 80px;
  }

  .hero-content {
    padding: 40px 24px;
  }

  #showcase,
  #ugc-reference,
  #configurador,
  #metricas,
  #contacto {
    padding: 80px 24px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .configurator-card {
    padding: 36px 28px;
  }

  footer {
    padding: 40px 24px 24px;
  }
}

/* ── Tablet Portrait ── */
@media (max-width: 768px) {
  /* Navbar */
  #navbar {
    padding: 10px 20px;
  }

  .nav-pills {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Mobile nav menu */
  .nav-pills.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.3s ease;
  }

  /* Hero */
  .hero-banner img {
    height: 250px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }

  .hero-graphic {
    display: none;
  }

  .hero-text {
    align-items: flex-start;
    text-align: left;
  }

  .hero-title-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
  }

  .hero-title {
    margin-bottom: 0;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    text-align: left;
    max-width: 75%;
    position: relative;
    z-index: 2;
  }

  .hero-mobile-logo {
    display: block;
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-30%);
    width: 320px;
    height: 320px;
    flex-shrink: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.75;
  }

  .hero-mobile-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 209, 255, 0.45));
  }

  .hero-description {
    font-size: 16px;
    text-align: left;
    max-width: 600px;
    position: relative;
    z-index: 2;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    position: relative;
    z-index: 2;
  }

  /* Grids */
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .avatar-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    padding-right: 0;
    text-align: center;
  }

  .contact-info .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  /* Video cards */
  .video-card {
    width: 220px;
    height: 390px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  #hero {
    padding-top: 70px;
  }

  .hero-content {
    padding: 30px 16px;
  }

  .hero-graphic {
    display: none;
  }

  .hero-title-wrapper {
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.3rem);
    text-align: left;
    max-width: 70%;
  }

  .hero-mobile-logo {
    width: 260px;
    height: 260px;
    right: -50px;
    top: 50%;
    transform: translateY(-30%);
  }

  .hero-banner img {
    height: 180px;
  }

  #showcase,
  #ugc-reference,
  #configurador,
  #metricas,
  #contacto {
    padding: 60px 16px;
  }

  /* Single column grids */
  .profiles-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .avatar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Buttons */
  .btn-accent,
  .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
  }

  /* Contact form */
  .contact-form {
    padding: 24px;
  }

  /* Configurator */
  .configurator-card {
    padding: 24px 16px;
  }

  .stepper {
    gap: 20px;
  }

  .scenario-pills {
    gap: 8px;
  }

  .scenario-pill {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Video cards */
  .video-card {
    width: 180px;
    height: 320px;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  /* Section subtitle */
  .section-subtitle {
    font-size: 15px;
  }

  /* Modal */
  .modal-video {
    max-width: 90vw;
  }

  /* Navbar */
  #navbar {
    padding: 10px 16px;
  }

  .nav-logo {
    font-size: 16px;
  }

  footer {
    padding: 30px 16px 20px;
  }
}

/* ────────────────────────────────────────────────────────────
   17. SELECTION & SCROLLBAR
   ──────────────────────────────────────────────────────────── */
::selection {
  background: rgba(0, 209, 255, 0.2);
  color: var(--text-primary);
}

/* Custom scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* ────────────────────────────────────────────────────────────
   18. PRINT STYLES
   ──────────────────────────────────────────────────────────── */
@media print {
  #navbar,
  #video-modal,
  .video-marquee-wrapper,
  footer {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section-title {
    color: black !important;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
