/* ===== Paleta — Prosix.ai ===== */
:root {
  --dark:          #09091f;
  --navy:          #0d0d2b;
  --surface:       #12123a;
  --surface-2:     #16164a;

  --purple:        #a855f7;
  --purple-deep:   #7c3aed;
  --purple-bright: #c084fc;
  --magenta:       #ec4899;
  --magenta-deep:  #db2777;
  --cyan:          #06b6d4;

  --grad-primary: linear-gradient(135deg, #a855f7, #06b6d4);
  --grad-cyan:    linear-gradient(135deg, #06b6d4, #a855f7);
  --grad-subtle:  linear-gradient(135deg, rgba(168,85,247,0.18), rgba(6,182,212,0.10));

  --white:  #ffffff;
  --gray:   #a0a0c0;
  --font:   'Outfit', system-ui, sans-serif;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
  background: var(--dark);
  overflow-x: hidden;
}

/* Noise */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: rgba(9, 9, 31, 0.92);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  backdrop-filter: blur(12px);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header__logo { flex-shrink: 0; }
.header__logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  display: block;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}
.header__nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--white); }
@media (max-width: 700px) {
  .header__nav { display: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--grad-primary);
  color: var(--white);
  border: none;
}
.btn--primary:hover {
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.4);
}
.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn--block { width: 100%; }
.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ===== Section common ===== */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.6rem;
  display: inline-block;
}
.section-label--center { display: block; text-align: center; }
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  margin: 0 0 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.block { position: relative; padding: 5.5rem 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Stadium photo */
.hero__stadium {
  position: absolute;
  inset: 0;
  background-image: url('stadium.jpg');
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
}
.hero__stadium::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(9, 9, 31, 0.60) 0%,
      rgba(9, 9, 31, 0.80) 50%,
      rgba(9, 9, 31, 0.97) 100%),
    linear-gradient(135deg,
      rgba(124, 58, 237, 0.28) 0%,
      rgba(6, 182, 212, 0.25) 100%);
}

/* Dot grid */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(168, 85, 247, 0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* Glow spots */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.hero__glow--left {
  width: 600px;
  height: 600px;
  top: -100px;
  left: -200px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, transparent 70%);
}
.hero__glow--right {
  width: 500px;
  height: 500px;
  top: 50px;
  right: -100px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
}

/* Background shield decoration */
.hero__shield-bg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 700px;
  opacity: 0.04;
  pointer-events: none;
  filter: blur(2px);
}

/* Hero layout */
.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr 420px;
  }
}

.hero__content { max-width: 620px; }

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.32);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--grad-primary);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}
.hero__title em {
  font-style: normal;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 2.25rem;
  line-height: 1.65;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero visual */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero__logo-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(168, 85, 247, 0.14) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__logo-hero {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(168, 85, 247, 0.35));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@media (max-width: 899px) {
  .hero__visual { display: none; }
}

/* ===== Stats ===== */
.stats {
  padding: 2.5rem 0;
  background: var(--navy);
  border-top: 1px solid rgba(6, 182, 212, 0.18);
  border-bottom: 1px solid rgba(6, 182, 212, 0.18);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.stats__item:last-child { border-right: none; }
.stats__value {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stats__value em {
  font-style: normal;
  font-size: 0.55em;
  vertical-align: super;
  -webkit-text-fill-color: transparent;
}
.stats__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

/* ===== Problems ===== */
.block--problems { background: var(--navy); }
.problems__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.problem-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.25s, background 0.25s;
}
.problem-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.06);
}
.problem-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}
.problem-card__icon svg { width: 100%; height: 100%; }
.problem-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--white);
}
.problem-card__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  line-height: 1.55;
}

/* ===== Features ===== */
.block--features {
  background: var(--dark);
  overflow: hidden;
}
.features__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(6, 182, 212, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(168, 85, 247, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--grad-subtle);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 16px 48px rgba(6, 182, 212, 0.15);
}
.feature-card__number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}
.feature-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.feature-card__desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  line-height: 1.6;
}

/* ===== Audience ===== */
.block--audience { background: var(--navy); }
.audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.audience-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(236, 72, 153, 0.14);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 72, 153, 0.35);
  background: rgba(236, 72, 153, 0.06);
}
.audience-card__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.85rem;
}
.audience-card__title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--white);
}
.audience-card__desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.55;
}

/* ===== Clients ===== */
.block--clients {
  background: var(--dark);
  padding: 3.5rem 0;
}
.clients__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.client-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  transition: border-color 0.2s;
}
.client-badge:hover { border-color: rgba(6, 182, 212, 0.45); box-shadow: 0 0 18px rgba(6, 182, 212, 0.12); }
.client-badge__icon { font-size: 1.2rem; }
.client-badge__logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}
.client-badge__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Demo / Form ===== */
.block--demo {
  background: var(--navy);
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
}
.demo__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(168, 85, 247, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.demo__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 860px) {
  .demo__layout { grid-template-columns: 1fr 420px; }
}
.demo__copy { max-width: 500px; }
.demo__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.demo__title em {
  font-style: normal;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.demo__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
.demo__list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.demo__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}
.demo__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.demo__powered {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}
.demo__azure {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

/* Form box */
.demo__box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 20px;
  padding: 2rem;
  position: sticky;
  top: 6rem;
  backdrop-filter: blur(10px);
}
.demo__form .field { margin-bottom: 1.2rem; }
.demo__form label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
}
.demo__form input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.demo__form input::placeholder { color: rgba(255, 255, 255, 0.3); }
.demo__form input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}
.demo__form button[type="submit"] { margin-top: 0.5rem; }

.demo__success {
  text-align: center;
  padding: 3rem 1.5rem;
}
.demo__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: rgba(168, 85, 247, 0.18);
  color: var(--purple-bright);
  font-size: 2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo__success-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}
.demo__success-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  margin: 0;
}

/* ===== Footer ===== */
.footer {
  padding: 2.5rem 0;
  background: var(--dark);
  border-top: 1px solid rgba(168, 85, 247, 0.12);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.footer__logo {
  height: 52px;
  width: 52px;
  object-fit: contain;
  margin-bottom: 0.25rem;
  opacity: 0.8;
}
.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-style: italic;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

/* ===== Animations ===== */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.38s; }

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stats__item:nth-child(2n) { border-right: none; }
  .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
}
