:root {
  --color-primary: #204ecf;
  --color-primary-dark: #10369d;
  --color-accent: #54c7ff;
  --color-bg: #0f172a;
  --color-surface: #101b33;
  --color-surface-alt: #182644;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.25);
  --shadow-lg: 0 25px 50px -20px rgba(15, 23, 42, 0.7);
  --max-width: 1200px;
  --transition: 0.25s ease;
  --header-offset: 110px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition);
  box-shadow: var(--shadow-sm);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--color-primary-dark);
}

.button--ghost {
  background: transparent;
  border: 1px solid rgba(226, 232, 240, 0.4);
  color: var(--color-text);
  box-shadow: none;
}

.button--ghost:hover {
  border-color: rgba(148, 163, 184, 0.8);
  background: rgba(226, 232, 240, 0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav__cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.nav-toggle:hover {
  border-color: rgba(84, 199, 255, 0.6);
  background: rgba(15, 32, 52, 0.85);
}

.nav-toggle__bar {
  width: 18px;
  height: 2px;
  background: var(--color-text);
  display: block;
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle__bar + .nav-toggle__bar {
  margin-top: 4px;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 13, 28, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(84, 199, 255, 0.12);
}

.header-spacer {
  height: var(--header-offset);
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: contain;
  clip-path: inset(2px 0 2px 0 round 18px);
}

.nav .brand-logo {
  width: 96px;
  height: 96px;
  clip-path: inset(2px 0 2px 0 round 22px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--color-text);
  font-weight: 500;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero__content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem clamp(1.5rem, 5vw, 3rem) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.hero__text h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.hero__text p {
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__media {
  position: relative;
}

.video-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  background: rgba(32, 78, 207, 0.45);
  display: grid;
  place-items: center;
  color: rgba(226, 232, 240, 0.85);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.video-placeholder span {
  position: absolute;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 6rem) clamp(1.5rem, 5vw, 3rem);
}

.section + .section {
  margin-top: clamp(4rem, 8vw, 5rem);
}

.section__heading {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section__heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section__heading p {
  color: var(--color-text-muted);
}

.case-study {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
  border-radius: var(--radius-lg);
  background: rgba(10, 16, 31, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 25px 60px -35px rgba(15, 23, 42, 0.7);
}

.case-study__content {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.case-study__headline h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.case-study__headline p {
  color: var(--color-text-muted);
}

.case-study__tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(84, 199, 255, 0.15);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-study__metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.metric {
  background: rgba(12, 20, 38, 0.92);
  border: 1px solid rgba(84, 199, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem;
  display: grid;
  gap: 0.4rem;
  box-shadow: 0 18px 45px -35px rgba(84, 199, 255, 0.7);
}

.metric__value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
}

.metric__label {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.case-study__media {
  display: flex;
  justify-content: center;
}

.case-study__video {
  width: min(320px, 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 55px -30px rgba(32, 78, 207, 0.7);
  background: rgba(12, 20, 38, 0.92);
}

.case-study__video .wistia_responsive_wrapper,
.case-study__video iframe {
  border-radius: var(--radius-lg);
}

.case-study__video .wistia_responsive_padding--vertical {
  padding: 177.78% 0 0 0 !important;
  position: relative;
}

.text-accent {
  color: var(--color-accent);
}

.growth {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(10, 16, 31, 0.72);
  border: 1px solid rgba(255, 190, 61, 0.14);
  box-shadow: 0 25px 60px -35px rgba(32, 78, 207, 0.6);
}

.growth::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(
    120deg,
    rgba(255, 190, 61, 0.35),
    transparent 40%
  );
  z-index: -1;
}

.growth__heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.growth__accent {
  display: block;
  width: 140px;
  height: 4px;
  margin: 0 auto 1.5rem;
  border-radius: 999px;
  background: var(--color-accent);
}

.growth__heading h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.growth__heading p {
  color: var(--color-text-muted);
}

.growth__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.growth-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: rgba(15, 23, 42, 0.78);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 190, 61, 0.2);
  box-shadow: 0 15px 35px -28px rgba(255, 190, 61, 0.8);
}

.growth-step__index {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  background: var(--color-accent);
  color: #0f172a;
}

.growth-step__content {
  border-left: 3px solid rgba(255, 190, 61, 0.5);
  padding-left: clamp(1.2rem, 3vw, 1.8rem);
}

.growth-step__title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
}

.growth-step__text {
  margin: 0;
  color: var(--color-text-muted);
}

.partner {
  background: rgba(10, 16, 31, 0.88);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(84, 199, 255, 0.18);
  box-shadow: 0 22px 60px -34px rgba(32, 78, 207, 0.65);
}

.partner__heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.2rem;
}

.partner__heading h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.partner__heading p {
  margin: 0 auto;
  color: var(--color-text-muted);
}

.partner__compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.compare-card {
  padding: clamp(2rem, 4vw, 2.8rem);
  border-radius: var(--radius-lg);
  background: rgba(12, 20, 38, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 18px 42px -28px rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.compare-card--cons {
  border-top: 3px solid rgba(148, 163, 184, 0.45);
}

.compare-card--pros {
  border-top: 3px solid rgba(84, 199, 255, 0.7);
  background: rgba(15, 32, 52, 0.92);
}

.compare-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.compare-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.compare-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.8);
}

.compare-list--pros li::before {
  content: "+";
  color: var(--color-accent);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.testimonial-card {
  background: rgba(10, 16, 31, 0.82);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: clamp(2rem, 5vw, 2.6rem);
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 24px 48px -32px rgba(32, 78, 207, 0.7);
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(255, 190, 61, 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition);
}

.testimonial-card:hover::after {
  opacity: 1;
}

.testimonial-card__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(15, 23, 42, 0.8);
  box-shadow: 0 20px 35px -22px rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.testimonial-card__name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  z-index: 1;
}

.testimonial-card__quote {
  margin: 0;
  max-width: 320px;
  z-index: 1;
}

.contact {
  max-width: var(--max-width);
  margin: clamp(4rem, 8vw, 6rem) auto clamp(4rem, 8vw, 6rem);
  padding: clamp(3rem, 8vw, 5rem);
  background: rgba(16, 27, 51, 0.7);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(32, 78, 207, 0.2);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  box-shadow: var(--shadow-lg);
}

.contact__content h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.contact__content p {
  color: var(--color-text-muted);
}

.contact__form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 600;
}

input,
textarea {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.75);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

input:focus,
textarea:focus {
  border-color: rgba(32, 78, 207, 0.6);
  outline: none;
  box-shadow: 0 0 0 2px rgba(32, 78, 207, 0.25);
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 2.5rem clamp(1.5rem, 5vw, 3rem) 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: var(--color-text-muted);
  font-weight: 500;
}

.footer__links a:hover {
  color: var(--color-text);
}

.footer__legal {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text p {
    margin: 0 auto 2rem;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__media {
    order: -1;
  }

  .growth-step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .growth-step__content {
    border-left: none;
    border-top: 2px solid rgba(255, 190, 61, 0.4);
    padding-left: 0;
    padding-top: 1.2rem;
  }

  .partner__compare {
    grid-template-columns: 1fr;
  }

  .case-study {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .case-study__content {
    align-items: center;
  }
}

@media (max-width: 860px) {
  :root {
    --header-offset: 150px;
  }

  .header-shell {
    position: static;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
  }

  .header-spacer {
    height: 0;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 2;
  }

  .nav .brand-logo {
    width: 82px;
    height: 82px;
    clip-path: inset(2px 0 2px 0 round 18px);
  }

  .nav__panel {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: clamp(1.2rem, 5vw, 2rem);
    right: clamp(1.2rem, 5vw, 2rem);
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
    padding: 1.3rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(8, 13, 28, 0.95);
    border: 1px solid rgba(84, 199, 255, 0.2);
    box-shadow: 0 18px 40px -25px rgba(15, 23, 42, 0.85);
    z-index: 1;
    display: none;
  }

  .nav__panel.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav__cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 540px) {
  :root {
    --header-offset: 0;
  }

  .nav .brand-logo {
    width: 72px;
    height: 72px;
    clip-path: inset(2px 0 2px 0 round 18px);
  }

  .nav__panel {
    padding: 1.1rem 1.2rem;
  }

  .hero__text h1 {
    font-size: clamp(2.1rem, 8vw, 2.6rem);
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
    justify-content: center;
  }

  .case-study__video {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .contact {
    border-radius: var(--radius-md);
  }

  .contact__form {
    grid-template-columns: 1fr;
  }

  .growth__list {
    gap: 1.2rem;
  }

  .growth-step__index {
    margin: 0 auto;
  }

  .compare-card {
    text-align: center;
  }

  .compare-list li {
    padding-left: 0;
  }

  .compare-list li::before {
    position: static;
    margin-right: 0.35rem;
    display: inline-block;
  }

  .case-study__metrics {
    grid-template-columns: 1fr;
  }
}
