/* ===== Design tokens ===== */
:root {
  --azure: #1e9df1;
  --azure-deep: #0a6fc2;
  --azure-light: #6fc9ff;
  --navy: #0a1f33;
  --navy-soft: #12304d;
  --ink: #0e1b2a;
  --slate: #5a6b7b;
  --mist: #eef5fb;
  --mist-2: #f6fafd;
  --white: #ffffff;
  --line: #e1e9f0;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(10, 63, 110, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(10, 63, 110, 0.3);
  --grad: linear-gradient(120deg, var(--azure) 0%, var(--azure-light) 100%);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo { font-family: "Sora", sans-serif; line-height: 1.12; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-family: "Sora", sans-serif;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-size: 0.97rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 12px 28px -12px rgba(30, 157, 241, 0.7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(30, 157, 241, 0.8); }
.btn--ghost {
  background: transparent;
  color: var(--azure-deep);
  box-shadow: inset 0 0 0 1.5px var(--azure);
}
.btn--ghost:hover { background: rgba(30, 157, 241, 0.08); }
.btn--small { padding: 10px 20px; font-size: 0.9rem; }
.btn--full { width: 100%; padding: 16px; }

.eyebrow {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azure-deep);
  margin-bottom: 14px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Accessibility: skip link ===== */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  font-family: "Sora", sans-serif;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 0; outline: 2px solid var(--azure-light); outline-offset: 2px; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 100;
  transition: width 0.1s linear;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px -16px rgba(10, 63, 110, 0.5);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.82; }
.logo--light { color: #fff; font-size: 1.2rem; letter-spacing: 0.12em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.2s;
}
.nav__link {
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__link:hover { color: var(--azure-deep); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--azure-deep); }
.nav__cta { color: #fff; }
.nav__cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  background: linear-gradient(180deg, var(--mist) 0%, #fff 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 420px at 88% 8%, rgba(111, 201, 255, 0.45), transparent 60%),
    radial-gradient(520px 380px at 12% 90%, rgba(30, 157, 241, 0.22), transparent 55%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}
.hero__content { max-width: 600px; }
.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--navy);
}
.hero__lead {
  font-size: 1.16rem;
  color: var(--slate);
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__trust {
  font-size: 0.9rem;
  color: var(--slate);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__trust::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--azure);
  border-radius: 2px;
}

/* Hero visual */
.hero__visual { position: relative; }
.hero__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.4;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 31, 51, 0.18));
}

.hero__card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.hero__card--metric {
  left: -26px;
  bottom: 42px;
  width: 188px;
  padding: 16px 18px;
  animation: float 5s ease-in-out infinite;
}
.hero__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.hero__card-label { font-size: 0.82rem; color: var(--slate); font-weight: 500; }
.hero__card-badge {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--azure-deep);
  background: rgba(30, 157, 241, 0.12);
  padding: 2px 8px;
  border-radius: 100px;
}
.spark { width: 100%; height: 38px; display: block; }

.hero__card--rating {
  top: 28px;
  right: -22px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: float 5s ease-in-out infinite 0.8s;
}
.hero__stars { color: #ffb020; font-size: 0.95rem; letter-spacing: 2px; }
.hero__rating-text { font-size: 0.8rem; color: var(--slate); }
.hero__rating-text strong { color: var(--navy); font-family: "Sora"; }

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

/* Hero stat bar */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 22px;
  border-left: 2px solid var(--mist);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat__value {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}
.stat__num {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 800;
  color: var(--navy);
}
.stat__plus {
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--azure);
}
.stat p { font-size: 0.9rem; color: var(--slate); }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section--alt { background: var(--mist-2); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.section__sub { color: var(--slate); font-size: 1.08rem; margin-top: 16px; }

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.about__badge {
  position: absolute;
  bottom: -24px;
  right: -18px;
  background: #fff;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.about__badge strong { font-family: "Sora"; font-size: 1.2rem; color: var(--azure-deep); }
.about__badge span { font-size: 0.82rem; color: var(--slate); }
.about__text p { color: var(--slate); margin-bottom: 16px; }
.about__list { list-style: none; margin: 22px 0 28px; }
.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-weight: 500;
  color: var(--ink);
}
.check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--grad);
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  left: 7px; top: 5px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.link-arrow {
  font-family: "Sora";
  font-weight: 600;
  color: var(--azure-deep);
  transition: gap 0.2s;
}
.link-arrow:hover { opacity: 0.8; }

/* ===== Cards (services) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mist);
  color: var(--azure-deep);
  margin-bottom: 20px;
  transition: background 0.25s, color 0.25s;
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--grad); color: #fff; }
.card h3 { font-size: 1.22rem; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.97rem; }

/* ===== Steps (strategies) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,201,255,0.35), transparent 70%);
}
.step__num {
  font-family: "Sora";
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }

/* ===== Partners (marquee) ===== */
.marquee {
  position: relative;
  overflow: hidden;
  margin-bottom: 64px;
  /* fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.logos { display: flex; flex-shrink: 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 38px;
  font-family: "Sora";
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
  color: var(--navy-soft);
  opacity: 0.62;
  transition: opacity 0.25s, color 0.25s;
}
.brand:hover { opacity: 1; color: var(--azure-deep); }
.brand svg { width: 30px; height: 30px; color: var(--azure); flex-shrink: 0; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: var(--grad);
  border-radius: var(--radius);
  padding: 48px 44px;
  color: #fff;
  box-shadow: var(--shadow);
}
.quote blockquote {
  font-family: "Sora";
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 26px;
}
.quote__author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.quote__author img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.6); }
.quote__author strong { display: block; }
.quote__author span { font-size: 0.88rem; opacity: 0.85; }

/* ===== Contact ===== */
.contact { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact__info > p { color: var(--slate); margin-top: 16px; max-width: 420px; }
.contact__list { list-style: none; margin: 30px 0; }
.contact__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-weight: 500;
  color: var(--ink);
}
.contact__ico {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--azure-deep);
}
.contact__ico svg { width: 19px; height: 19px; }

/* ===== Form ===== */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  font-family: "Sora";
}
.field input,
.field select,
.field textarea {
  font-family: "Inter", sans-serif;
  font-size: 0.97rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist-2);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--azure);
  box-shadow: 0 0 0 3px rgba(30, 157, 241, 0.15);
  background: #fff;
}
.field input.invalid,
.field textarea.invalid { border-color: #e25563; box-shadow: 0 0 0 3px rgba(226, 85, 99, 0.12); }
.form__note {
  margin-top: 16px;
  text-align: center;
  color: var(--azure-deep);
  font-weight: 600;
  font-family: "Sora";
}

/* ===== FAQ ===== */
.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.faq__intro { position: sticky; top: 100px; }
.faq__intro .section__title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.faq__sub { text-align: left; margin-top: 16px; }
.faq__sub a { color: var(--azure-deep); font-weight: 600; }
.faq__sub a:hover { text-decoration: underline; }

.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.acc.open { border-color: var(--azure-light); box-shadow: var(--shadow-sm); }
.acc__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--navy);
}
.acc__icon {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 2px;
  border-radius: 2px;
  background: var(--azure-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.open .acc__icon::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.acc__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.acc__panel p {
  padding: 0 22px 22px;
  color: var(--slate);
  font-size: 0.98rem;
}

/* ===== Back to top ===== */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(30, 157, 241, 0.8);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 36px;
}
.footer__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer__tag { color: rgba(255,255,255,0.6); }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer__nav a { color: rgba(255,255,255,0.75); font-size: 0.95rem; transition: color 0.2s; }
.footer__nav a:hover { color: var(--azure-light); }
.footer__copy { color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-top: 8px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about__grid, .contact__grid, .faq__grid { grid-template-columns: 1fr; gap: 44px; }
  .faq__intro { position: static; }
  .about__badge { right: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }

  /* Hero stacks; visual goes first for a strong above-the-fold image */
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { max-width: 100%; order: 2; }
  .hero__visual { order: 1; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.32s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav__link { width: 100%; padding: 10px 0; }
  .nav__cta { width: 100%; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .section { padding: 70px 0; }
  .hero { padding: 56px 0 72px; }
  /* In a 2-col stat grid, reset the divider on each row's first item */
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .stat:nth-child(even) { padding-left: 22px; border-left: 2px solid var(--mist); }
  .hero__card--metric { left: 8px; bottom: 16px; }
  .hero__card--rating { right: 8px; top: 16px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .about__badge { position: static; margin-top: 16px; align-self: flex-start; }
}

@media (max-width: 460px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .form { padding: 24px; }
}
