/* S-PORTALL landing — dark sports energy */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --sp-navy: #07111f;
  --sp-navy-2: #0b1a30;
  --sp-blue: #1f57e8;
  --sp-blue-bright: #3b82f6;
  --sp-cyan: #38bdf8;
  --sp-orange: #ff6a1a;
  --sp-orange-hot: #ff8533;
  --sp-white: #f8fafc;
  --sp-muted: #94a3b8;
  --sp-card: rgba(12, 28, 52, 0.72);
  --sp-line: rgba(148, 163, 184, 0.22);
  --sp-safe: env(safe-area-inset-bottom, 0px);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before, 
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.sp-home {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--sp-white);
  background: var(--sp-navy);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.sp-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* —— Header —— */
.sp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sp-line);
}

.sp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.sp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.sp-logo img {
  height: 2.85rem;
  width: auto;
  object-fit: contain;
}

.sp-logo__text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--sp-white);
}

.sp-nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #cbd5e1;
}

.sp-nav a:hover,
.sp-nav a[aria-current="page"] {
  color: #fff;
}

.sp-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.sp-lang {
  border: 1px solid var(--sp-line);
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  max-width: min(11.5rem, 42vw);
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.65rem 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sp-btn:hover {
  transform: translateY(-1px);
}

.sp-btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.sp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sp-btn--orange {
  background: linear-gradient(180deg, var(--sp-orange-hot), var(--sp-orange));
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 106, 26, 0.35);
  border: 0;
}

.sp-btn--orange:hover {
  box-shadow: 0 14px 34px rgba(255, 106, 26, 0.45);
}

.sp-btn--blue {
  background: linear-gradient(180deg, #3b6ef5, var(--sp-blue));
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 87, 232, 0.35);
}

.sp-btn--lg {
  font-size: 1rem;
  padding: 0.9rem 1.55rem;
  letter-spacing: 0.02em;
}

.sp-menu-btn {
  display: inline-flex;
  border: 1px solid var(--sp-line);
  background: transparent;
  color: #fff;
  border-radius: 10px;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sp-menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.sp-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--sp-line);
  background: rgba(7, 17, 31, 0.96);
}

.sp-mobile-nav.is-open {
  display: flex;
}

.sp-mobile-nav a {
  padding: 0.75rem 0.35rem;
  font-weight: 700;
  color: #e2e8f0;
  border-bottom: 1px solid var(--sp-line);
}

@media (min-width: 960px) {
  .sp-nav {
    display: flex;
  }

  .sp-menu-btn {
    display: none;
  }

  .sp-mobile-nav {
    display: none !important;
  }

  .sp-header__actions .sp-btn--auth {
    display: inline-flex;
  }
}

.sp-header__actions .sp-btn--auth {
  display: none;
}

@media (min-width: 960px) {
  .sp-header__actions .sp-btn--auth {
    display: inline-flex;
  }
}

/* —— Hero —— */
.sp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 0 2rem;
}

.sp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #07111f;
  background-image:
    linear-gradient(
      105deg,
      rgba(7, 17, 31, 0.96) 0%,
      rgba(7, 17, 31, 0.82) 34%,
      rgba(7, 17, 31, 0.32) 62%,
      rgba(7, 17, 31, 0.4) 100%
    ),
    url("assets/hero-fencing-analytics.png?v=3");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 78% 28%;
  transform-origin: 82% 30%;
  animation: sp-hero-drift 28s ease-in-out alternate infinite;
}

.sp-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 17, 31, 0.97) 0%, rgba(7, 17, 31, 0.4) 26%, transparent 52%),
    radial-gradient(ellipse 42% 48% at 84% 26%, rgba(56, 189, 248, 0.28), transparent 62%);
  pointer-events: none;
}

@media (max-width: 720px) {
  .sp-hero {
    min-height: min(100svh, 740px);
    padding: 4.75rem 0 1.25rem;
  }
  .sp-hero__bg {
    background-position: 88% 22%;
    background-image:
      linear-gradient(
        180deg,
        rgba(7, 17, 31, 0.72) 0%,
        rgba(7, 17, 31, 0.55) 38%,
        rgba(7, 17, 31, 0.9) 100%
      ),
      url("assets/hero-fencing-analytics.png?v=3");
  }
  .sp-hero__mark {
    width: 3.25rem;
    margin-bottom: 0.65rem;
  }
  .sp-hero__text {
    margin: 0.65rem 0 1rem;
    font-size: 0.95rem;
  }
  .sp-hero__cta {
    margin-bottom: 1rem;
  }
  .sp-btn--lg {
    min-height: 48px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .sp-benefit {
    padding: 0.65rem 0.8rem;
  }
  .sp-benefit__text {
    display: none;
  }
}

.sp-hero__content {
  max-width: 36rem;
  animation: sp-rise 0.8s ease both;
}

.sp-hero__mark {
  width: 4.5rem;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 24px rgba(56, 189, 248, 0.35));
  animation: sp-float 4.5s ease-in-out infinite;
}

.sp-hero__tagline {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sp-cyan);
}

.sp-hero__tagline span + span {
  margin-left: 0.35em;
}

.sp-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.sp-hero__text {
  margin: 1rem 0 1.5rem;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 32rem;
}

.sp-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.sp-hero__cta-secondary {
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.sp-hero__cta-secondary:hover {
  color: #e2e8f0;
  border-bottom-color: rgba(226, 232, 240, 0.35);
}

.sp-benefits {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 720px) {
  .sp-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sp-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--sp-card);
  border: 1px solid var(--sp-line);
  backdrop-filter: blur(10px);
  animation: sp-rise 0.9s ease both;
}

.sp-benefit:nth-child(2) {
  animation-delay: 0.08s;
}

.sp-benefit:nth-child(3) {
  animation-delay: 0.16s;
}

.sp-benefit__icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(31, 87, 232, 0.35);
  color: var(--sp-cyan);
}

.sp-benefit__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.sp-benefit__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.sp-benefit__text {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--sp-muted);
}

/* —— Sections —— */
.sp-section {
  padding: 4.5rem 0;
}

.sp-section--fencing {
  background:
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(31, 87, 232, 0.22), transparent 55%),
    linear-gradient(180deg, #081525, #0a1830);
}

.sp-fencing {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .sp-fencing {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.sp-kicker {
  margin: 0 0 0.5rem;
  color: var(--sp-cyan);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sp-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
  line-height: 0.98;
}

.sp-section__text {
  margin: 0.85rem 0 1.35rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 34rem;
}

.sp-feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.sp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 700;
}

.sp-feature-list__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.12);
  color: var(--sp-cyan);
  flex-shrink: 0;
}

.sp-feature-list__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.sp-feature-list span {
  padding-top: 0.25rem;
}

.sp-fencing__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--sp-line);
}

.sp-fencing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.sp-fencing__score {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: rgba(7, 17, 31, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.sp-section--tennis {
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(34, 197, 94, 0.18), transparent 55%),
    linear-gradient(180deg, #0a1830, #07111f);
}

.sp-tennis__score {
  border-color: rgba(74, 222, 128, 0.4);
}

/* —— About / sections strip —— */
.sp-section--about {
  background: var(--sp-navy);
}

.sp-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .sp-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sp-card {
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  background: rgba(15, 30, 55, 0.8);
  border: 1px solid var(--sp-line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.sp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
}

.sp-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.sp-card p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* —— CTA banner —— */
.sp-cta {
  padding: 1.5rem 0 4rem;
}

.sp-cta__box {
  border-radius: 22px;
  padding: 2.4rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.25), transparent 40%),
    linear-gradient(135deg, #12327a, #1f57e8 55%, #2563eb);
  box-shadow: 0 24px 50px rgba(31, 87, 232, 0.28);
}

.sp-cta__box h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
}

.sp-cta__box p {
  margin: 0.65rem auto 1.35rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.88);
}

.sp-cta__box .sp-btn--orange {
  min-width: 14rem;
}

/* —— Footer —— */
.sp-footer {
  border-top: 1px solid var(--sp-line);
  background: #050b14;
  padding: 2.5rem 0 calc(1.5rem + var(--sp-safe));
  color: var(--sp-muted);
  font-size: 0.9rem;
}

.sp-footer__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .sp-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.sp-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.sp-footer__brand img {
  height: 2rem;
}

.sp-footer h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-footer a:hover {
  color: #fff;
}

.sp-footer__links {
  display: grid;
  gap: 0.4rem;
}

.sp-footer__preview {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
}

.sp-footer__bottom {
  padding-top: 1.1rem;
  border-top: 1px solid var(--sp-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

.sp-socials {
  display: flex;
  gap: 0.55rem;
}

.sp-socials a {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--sp-line);
  display: grid;
  place-items: center;
  color: #e2e8f0;
}

.sp-socials a:hover {
  border-color: var(--sp-cyan);
  color: var(--sp-cyan);
}

.sp-socials svg {
  width: 1rem;
  height: 1rem;
}

@keyframes sp-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes sp-hero-drift {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.6%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-hero__content,
  .sp-benefit,
  .sp-hero__mark,
  .sp-card,
  .sp-hero__bg {
    animation: none !important;
  }
}

/* —— Roles comparison —— */
.sp-section--roles {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(31, 87, 232, 0.18), transparent 60%),
    linear-gradient(180deg, #0a1830, #07111f);
}

.sp-roles {
  margin-top: 1.75rem;
  border: 1px solid var(--sp-line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(12, 28, 52, 0.55);
}

.sp-roles__row {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--sp-line);
  font-size: 0.92rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.sp-roles__row:first-child {
  border-top: 0;
}

.sp-roles__row--head {
  background: rgba(15, 30, 55, 0.9);
  color: var(--sp-cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-roles__row strong {
  color: var(--sp-white);
  font-weight: 700;
}

@media (min-width: 720px) {
  .sp-roles__row {
    grid-template-columns: 0.7fr 1.2fr 1.3fr;
    align-items: start;
  }
}

@media (max-width: 719px) {
  .sp-roles__row--head {
    display: none;
  }

  .sp-roles__row {
    grid-template-columns: 1fr;
  }

  .sp-roles__row [role="cell"]:nth-child(2)::before,
  .sp-roles__row [role="cell"]:nth-child(3)::before {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sp-cyan);
    margin-bottom: 0.2rem;
  }

  .sp-roles__row [role="cell"]:nth-child(2)::before {
    content: "Needs";
  }

  .sp-roles__row [role="cell"]:nth-child(3)::before {
    content: "Tools";
  }
}

/* —— FAQ —— */
.sp-section--faq {
  background: #050b14;
  padding-bottom: 5rem;
}

.sp-faq {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}

.sp-faq__item {
  border: 1px solid var(--sp-line);
  border-radius: 12px;
  background: rgba(12, 28, 52, 0.55);
  padding: 0 1rem;
}

.sp-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  color: var(--sp-white);
}

.sp-faq__item summary::-webkit-details-marker {
  display: none;
}

.sp-faq__item summary::after {
  content: "+";
  float: right;
  color: var(--sp-cyan);
  font-weight: 800;
}

.sp-faq__item[open] summary::after {
  content: "–";
}

.sp-faq__item p {
  margin: 0 0 1rem;
  color: var(--sp-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}
