/* SaaS mock alignment: #0b0d17 · #a855f7 · #3b82f6 — loaded after styles.css */

:root {
  /* Altura aproximada del nav sticky para que el hero llene el resto de la ventana */
  --site-header-h: 4.5rem;
  --omega-ink: #060814;
  --omega-base: #0b0d17;
  --omega-mid: #0f111a;
  --surface: #131520;
  --surface-hover: #1a1d2e;
  --border: rgba(168, 85, 247, 0.18);
  --muted: #9ca3af;
  --purple: #a855f7;
  --purple-bright: #c084fc;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --pink: #ec4899;
  --omega-accent: var(--purple);
  --omega-accent-bright: var(--blue-bright);
  --omega-accent-deep: #9333ea;
  --omega-secondary: var(--blue);
  --omega-secondary-dim: rgba(59, 130, 246, 0.1);
  --flutter: #3b82f6;
  --flutter-glow: rgba(59, 130, 246, 0.35);
  --code: #d8b4fe;
  --grad-brand: linear-gradient(90deg, #a855f7 0%, #3b82f6 100%);
  --grad-cta: linear-gradient(135deg, #3b82f6 0%, #2563eb 40%, #6366f1 100%);
  --grad-star: linear-gradient(135deg, #a855f7 0%, #ec4899 55%, #3b82f6 100%);
  --grad-page-base: linear-gradient(
    165deg,
    #04060f 0%,
    #0a0d1a 22%,
    #0b0d17 48%,
    #0c1024 68%,
    #080a12 100%
  );
  --grad-page-wash: linear-gradient(
    125deg,
    rgba(168, 85, 247, 0.14) 0%,
    transparent 42%,
    transparent 58%,
    rgba(59, 130, 246, 0.1) 100%
  );
  --grad-page-floor: linear-gradient(
    180deg,
    transparent 0%,
    transparent 55%,
    rgba(8, 10, 35, 0.85) 100%
  );
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Pantalla de bienvenida a pantalla completa */
.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: block;
  background: #050510;
}

.welcome-screen__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.welcome-screen__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(5, 6, 20, 0.55) 78%,
    rgba(5, 6, 20, 0.92) 100%
  );
}

.welcome-screen.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

@media (prefers-reduced-motion: reduce) {
  .welcome-screen.is-dismissed {
    transition: none;
  }
}

body.welcome-active {
  overflow: hidden;
}

html {
  background-color: var(--omega-ink);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--omega-base);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -18%, rgba(168, 85, 247, 0.32), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 8%, rgba(59, 130, 246, 0.22), transparent 52%),
    radial-gradient(ellipse 75% 55% at 0% 100%, rgba(168, 85, 247, 0.12), transparent 58%),
    radial-gradient(ellipse 50% 40% at 88% 85%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(99, 102, 241, 0.08), transparent 60%),
    var(--grad-page-wash),
    var(--grad-page-floor),
    var(--grad-page-base);
  background-attachment: fixed;
}

.site-header {
  background: rgba(11, 13, 23, 0.88);
  border-bottom-color: rgba(168, 85, 247, 0.15);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.brand-omega {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-wordmark {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

.brand-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-heading .site-logo .brand-wordmark {
  display: inline;
  line-height: 1.15;
}

.site-heading .site-logo .brand-wordmark .brand-gradient {
  display: inline;
}

.btn-star-github {
  background: var(--grad-star);
  box-shadow: 0 4px 22px rgba(168, 85, 247, 0.35);
}

.header-github-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.header-github-link:hover {
  background: rgba(168, 85, 247, 0.12);
  color: #fff;
  text-decoration: none;
}

.header-github-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Hero billboard — pantalla completa, atmósfera tipo mock (brillo bajo el arte) */
.hero-billboard {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--site-header-h));
  min-height: calc(100dvh - var(--site-header-h));
  /* Un poco más de aire arriba que abajo: el bloque queda algo más bajo que el centro */
  padding-top: clamp(72px, 14vh, 140px);
  padding-bottom: clamp(36px, 6vh, 72px);
}

.hero-billboard .hero-visual::before {
  content: "";
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(140%, 1100px);
  height: min(52vh, 480px);
  background: radial-gradient(
    ellipse 78% 52% at 50% 100%,
    rgba(168, 85, 247, 0.42) 0%,
    rgba(99, 102, 241, 0.14) 38%,
    transparent 68%
  );
  pointer-events: none;
}

.hero-billboard .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0.7px, transparent 0.8px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 95% 85% at 45% 35%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 45% 35%, #000 0%, transparent 72%);
}

.hero-billboard .hero-visual .orb {
  z-index: 1;
}

.hero-shell {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Móvil: mascota (Omi) primero, copy debajo */
  grid-template-areas:
    "art"
    "copy";
  gap: clamp(32px, 5vw, 48px);
  align-items: center;
}

/* Tipografía del mock: titular blanco + “together” moro sólido con glow */
#hero-title {
  margin: 0 0 4px;
  max-width: 22rem;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 0 80px rgba(168, 85, 247, 0.18);
}

#hero-title .hero-gradient {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--purple);
  text-shadow:
    0 0 48px rgba(168, 85, 247, 0.55),
    0 0 100px rgba(99, 102, 241, 0.25);
}

.hero-col--copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(300px, 1.08fr) minmax(320px, 0.92fr);
    grid-template-areas: "art copy";
    gap: clamp(40px, 5vw, 64px);
    /* stretch: la columna del arte ocupa todo el alto de la fila y la mascota puede bajar */
    align-items: stretch;
  }

  .hero-col--copy {
    text-align: left;
    justify-self: stretch;
    max-width: 34rem;
  }

  .hero-col--copy .hero-actions {
    justify-content: flex-start;
  }

  .hero-col--copy .hero-workflow {
    justify-content: flex-start;
  }

  .hero-col--art {
    justify-self: center;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
  }

  .hero-col--art img {
    margin-top: auto;
  }
}

.hero-col--copy .badge {
  align-self: flex-start;
  margin-bottom: 0;
  color: var(--blue-bright);
  border-color: rgba(168, 85, 247, 0.5);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(168, 85, 247, 0.1));
  box-shadow: 0 0 32px rgba(59, 130, 246, 0.12);
}

/* Imagen sobre el mismo fondo que la página — sin “caja” ni degradado distinto */
.hero-col--art {
  grid-area: art;
  position: relative;
  margin: 0;
  padding: 0 0 clamp(20px, 4vw, 40px);
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  isolation: isolate;
}

/* Suelo: halo tenue + sombra de contacto bajo los pies */
.hero-col--art::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(10px, 2.5vw, 28px);
  z-index: 0;
  width: min(88%, 540px);
  height: clamp(40px, 12vw, 72px);
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(
    ellipse 55% 38% at 50% 100%,
    rgba(168, 85, 247, 0.28) 0%,
    rgba(99, 102, 241, 0.09) 42%,
    transparent 72%
  );
}

.hero-col--art::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(6px, 1.8vw, 18px);
  z-index: 0;
  width: min(42%, 280px);
  height: clamp(12px, 2.6vw, 18px);
  transform: translateX(-50%) scaleY(0.85);
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(88, 28, 120, 0.42) 48%,
    rgba(168, 85, 247, 0.12) 72%,
    transparent 100%
  );
  filter: blur(7px);
  opacity: 0.92;
}

.hero-col--art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: min(720px, 100vw);
  height: auto;
  margin: 0 auto;
  mix-blend-mode: normal;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 42px rgba(168, 85, 247, 0.35));
}

.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-bright);
}

.hero-live:hover {
  color: #fff;
}

.hero-live svg {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

/* Mission & vision */
.omega-mv {
  padding: clamp(48px, 9vw, 96px) clamp(20px, 4vw, 32px);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
}

.omega-mv-inner {
  max-width: 920px;
  margin: 0 auto;
}

.omega-mv h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 10px;
  color: #fff;
}

.omega-mv-intro {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 42rem;
  margin: 0 auto 36px;
}

.omega-mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .omega-mv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

.omega-mv-card {
  padding: 26px 22px 28px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(26, 29, 46, 0.92) 0%, var(--surface) 100%);
  border: 1px solid rgba(168, 85, 247, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.omega-mv-card h3 {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.omega-mv-card--vision h3 {
  color: var(--purple-bright);
}

.omega-mv-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.62;
  color: rgba(229, 231, 235, 0.95);
}

.omega-mv-card strong {
  color: #fff;
  font-weight: 600;
}

/* Problem diagram */
.omega-problem {
  padding: clamp(40px, 7vw, 80px) clamp(18px, 4vw, 28px) clamp(48px, 8vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
}

.omega-problem-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.omega-problem h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 12px;
  color: #fff;
}

.omega-problem-lead {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 44rem;
  margin: 0 auto 28px;
}

.omega-problem-figure {
  margin: 0;
  padding: clamp(12px, 2vw, 20px);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(19, 21, 32, 0.85) 0%, rgba(11, 13, 23, 0.6) 100%);
  border: 1px solid rgba(168, 85, 247, 0.12);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35);
}

.omega-problem-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Key features diagram */
.omega-features {
  padding: clamp(40px, 7vw, 80px) clamp(18px, 4vw, 28px) clamp(48px, 8vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
}

.omega-features-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.omega-features h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 12px;
  color: #fff;
}

.omega-features-lead {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 44rem;
  margin: 0 auto 28px;
}

.omega-features-figure {
  margin: 0;
  padding: clamp(12px, 2vw, 20px);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(19, 21, 32, 0.85) 0%, rgba(11, 13, 23, 0.6) 100%);
  border: 1px solid rgba(168, 85, 247, 0.12);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35);
}

.omega-features-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* How it works — UI communication diagram */
.omega-communication {
  padding: clamp(40px, 7vw, 80px) clamp(18px, 4vw, 28px) clamp(48px, 8vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
}

.omega-communication-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.omega-communication h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 12px;
  color: #fff;
}

.omega-communication-lead {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 46rem;
  margin: 0 auto 28px;
}

.omega-communication-lead strong {
  color: rgba(229, 231, 235, 0.98);
  font-weight: 600;
}

.omega-communication-figure {
  margin: 0;
  padding: clamp(12px, 2vw, 20px);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(19, 21, 32, 0.85) 0%, rgba(11, 13, 23, 0.6) 100%);
  border: 1px solid rgba(168, 85, 247, 0.12);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35);
}

.omega-communication-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Features showcase */
.features-showcase {
  padding: 64px 24px 72px;
  max-width: var(--max);
  margin: 0 auto;
}

.features-showcase > h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.features-lead {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1rem;
  line-height: 1.6;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 800px) {
  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 28px 22px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(26, 29, 46, 0.95) 0%, var(--surface) 100%);
  border: 1px solid rgba(168, 85, 247, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(168, 85, 247, 0.28);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.feature-card__icon--flutter {
  background: rgba(2, 86, 155, 0.16);
  border-color: rgba(69, 209, 253, 0.35);
}

.feature-card__flutter-img {
  display: block;
  width: 28px;
  height: auto;
  object-fit: contain;
}

.feature-card--angular .feature-card__icon {
  background: rgba(221, 0, 49, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
}

.feature-card--together .feature-card__icon {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  text-align: left;
  color: #fff;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.feature-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.feature-card__link:hover {
  text-decoration: none;
  gap: 10px;
}

.feature-card--channel .feature-card__link {
  color: var(--purple-bright);
}

.feature-card--flows .feature-card__link {
  color: var(--blue-bright);
}

.feature-card--agents .feature-card__link {
  color: var(--purple-bright);
}

.feature-card--angular .feature-card__link {
  color: #fb7185;
}

.feature-card--together .feature-card__link {
  color: var(--blue-bright);
}

.site-footer-tagline {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-heading {
  margin: 0;
  line-height: 1;
  font-size: inherit;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
  line-height: 1.65;
  max-width: 38rem;
}

.hero-billboard .hero-workflow {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.hero-billboard .hero-workflow .hero-wf-step {
  color: rgba(255, 255, 255, 0.92);
}

.hero-billboard .hero-workflow span.hero-wf-arrow {
  color: rgba(168, 85, 247, 0.75);
}

.hero-wf-icon {
  font-size: 0.7rem;
  opacity: 1;
  color: var(--purple);
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

@media (max-width: 959px) {
  .hero-col--copy {
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-col--copy .hero-actions {
    justify-content: center;
  }

  .hero-col--copy .hero-workflow {
    justify-content: center;
  }

  .hero-live {
    justify-content: center;
    width: 100%;
  }

  .hero-col--art img {
    transform: translateY(clamp(6px, 2.5vw, 20px));
  }
}

.feature-card__icon--ng {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  color: #dd0031;
  background: rgba(221, 0, 49, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
}

/* Orbes hero: nebulosa lateral + pie de escena morado bajo la mascota */
.hero-billboard .orb--a {
  opacity: 0.55 !important;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(168, 85, 247, 0.5),
    rgba(59, 130, 246, 0.14) 55%,
    transparent 72%
  ) !important;
}

.hero-billboard .orb--b {
  opacity: 0.45 !important;
  background: radial-gradient(circle at 45% 38%, rgba(59, 130, 246, 0.42), transparent 68%) !important;
}

.hero-billboard .orb--c {
  left: 8% !important;
  bottom: -4% !important;
  top: auto !important;
  width: min(420px, 72vw) !important;
  height: min(280px, 46vw) !important;
  opacity: 0.65 !important;
  background: radial-gradient(
    circle at 50% 62%,
    rgba(168, 85, 247, 0.42),
    rgba(147, 51, 234, 0.12) 52%,
    transparent 72%
  ) !important;
}

footer {
  border-top-color: rgba(168, 85, 247, 0.12) !important;
}

footer a {
  color: var(--blue-bright) !important;
}
