/* ==========================================================================
   SparkFlow — base, tokens, and layout
   ========================================================================== */

:root {
  --sf-blue: #465fff;
  --sf-blue-hover: #3550e8;
  --sf-blue-soft: #e8edff;
  --sf-nav-cta: #0071ff;
  --sf-nav-cta-hover: #0066e6;
  --sf-navy: #07111f;
  --sf-text: #16181d;
  --sf-muted: #6b7280;
  --sf-border: #e6eaf2;
  --sf-card: #f6f7fb;
  --sf-white: #ffffff;
  --sf-radius: 12px;
  --sf-radius-lg: 20px;
  --sf-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --sf-shadow-sm: 0 4px 18px rgba(16, 24, 40, 0.06);
  --sf-nav-h: 64px;
  --sf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sf-container: 80%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--sf-text);
  background: var(--sf-white);
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--sf-blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  background: var(--sf-blue);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  color: #fff;
  outline-color: #fff;
}

.container,
.container-lg {
  width: var(--sf-container);
  max-width: var(--sf-container);
}

.sf-section {
  padding: 88px 0;
}

.sf-section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sf-text);
  margin: 14px 0 0;
  line-height: 1.2;
}

.sf-lead {
  color: var(--sf-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                      */
/* -------------------------------------------------------------------------- */

.sf-navbar {
  height: var(--sf-nav-h);
  background: #fff;
  box-shadow: none;
  padding: 0;
}

.sf-navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.sf-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.sf-brand:hover {
  color: var(--sf-text);
}

.sf-brand img {
  width: auto;
  height: 32px;
  display: block;
}

.sf-navbar .navbar-collapse {
  align-items: center;
}

.sf-nav {
  align-items: center;
  gap: 3.5rem;
}

.sf-nav .nav-link {
  position: relative;
  color: #8f8f8f;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
  padding: 0 !important;
  transition: color 0.3s ease;
}

.sf-nav .nav-link:hover,
.sf-nav .nav-link:focus,
.sf-nav .nav-link.active {
  color: #6f6f6f;
}

.sf-navbar .btn-sf-nav {
  margin-left: 3.5rem;
  border-radius: 999px;
}

.navbar-toggler {
  border: 1px solid var(--sf-border);
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(0, 113, 255, 0.18);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */

.sf-hero {
  position: relative;
  display: grid;
  background-color: #1b2430;
  isolation: isolate;
  overflow: hidden;
}

.sf-hero-img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
  align-self: start;
  z-index: 0;
}

.sf-hero .container {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  width: var(--sf-container);
  max-width: var(--sf-container);
  position: relative;
  z-index: 2;
}

.sf-hero-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: rgba(18, 18, 20, 0.48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  border-radius: 56px 56px 0 0;
  padding: 48px 56px 44px;
  text-align: center;
  color: #fff;
}

.sf-hero-card h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.sf-hero-card p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.sf-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sf-hero-actions .btn {
  border-radius: 999px;
  padding: 0.72rem 1.7rem;
  min-width: 148px;
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* About                                                                       */
/* -------------------------------------------------------------------------- */

.sf-3d {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-3d__mark {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

/* -------------------------------------------------------------------------- */
/* Platform                                                                    */
/* -------------------------------------------------------------------------- */

.sf-platform-head {
  text-align: center;
  margin-bottom: 40px;
}

.sf-dash-wrap {
  position: relative;
  background: transparent;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
}

.sf-dash-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background: #0b1220;
}

.sf-dash-wrap.is-playing .sf-play {
  display: none;
}

.sf-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: transparent;
  z-index: 2;
  cursor: pointer;
}

.sf-play:hover,
.sf-play:focus {
  background: transparent;
}

.sf-play i {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* Challenges                                                                  */
/* -------------------------------------------------------------------------- */

.sf-challenge-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.sf-challenge-media img {
  width: 100%;
  max-width: 420px;
  height: 420px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.sf-challenge-shape {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* Tablet                                                                      */
/* -------------------------------------------------------------------------- */

.sf-tablet-section {
  padding: 24px 0 0;
  background: var(--sf-white);
}

.sf-tablet-photo {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */

.sf-footer {
  position: relative;
  background: #050a1a;
  color: #c9d2e3;
  padding: 80px 0 96px;
  overflow: hidden;
  margin-top: -21px;
}

.sf-footer .container {
  z-index: 1;
}

.sf-footer-grid {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 2.5rem;
  align-items: flex-start;
}

.sf-footer-mark {
  position: absolute;
  left: 50%;
  bottom: -0.32em;
  transform: translateX(-50%);
  font-size: clamp(72px, 15.5vw, 176px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.sf-footer a {
  color: #c9d2e3;
}

.sf-footer a:hover {
  color: #fff;
}

.sf-footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  text-decoration: none;
}

.sf-footer-brand img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.sf-footer-copy {
  font-size: 14px;
  line-height: 1.75;
  max-width: 340px;
  margin: 0 0 22px;
  color: #c9d2e3;
}

.sf-footer-follow {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

.sf-footer h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 6px 0 18px;
  letter-spacing: -0.01em;
}

.sf-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sf-footer-links li {
  margin-bottom: 12px;
}

.sf-footer-links a {
  font-size: 14.5px;
  line-height: 1.5;
}

.sf-footer-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #c9d2e3;
}

.sf-footer-line i {
  color: #d5deee;
  font-size: 16px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.sf-footer-line strong {
  display: block;
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}

.sf-footer-line span,
.sf-footer-line address {
  display: block;
  margin: 0;
  font-style: normal;
}

.sf-footer-line a {
  white-space: nowrap;
}

.sf-footer-connect .sf-footer-line {
  flex-wrap: nowrap;
}

/* -------------------------------------------------------------------------- */
/* Footer bottom / copyright                                                   */
/* -------------------------------------------------------------------------- */

.sf-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 48px;
  padding-top: 24px;
}

.sf-footer-copyright {
  font-size: 13px;
  color: rgba(201, 210, 227, 0.6);
  margin: 0;
  text-align: center;
  letter-spacing: 0.01em;
}

/* -------------------------------------------------------------------------- */
/* Sticky CTA                                                                   */
/* -------------------------------------------------------------------------- */

.sf-sticky-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.68rem 1.3rem;
  background: var(--sf-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(70, 95, 255, 0.38);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s var(--sf-ease), transform 0.4s var(--sf-ease),
    background-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform, opacity;
}

.sf-sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sf-sticky-cta:hover,
.sf-sticky-cta:focus-visible {
  background: var(--sf-blue-hover);
  color: #fff;
  box-shadow: 0 12px 36px rgba(70, 95, 255, 0.48);
  transform: translateY(-3px);
}

.sf-sticky-cta i {
  font-size: 15px;
  flex: 0 0 auto;
}
