/* ======================================================
   VARIABLES
====================================================== */

:root {
  --bg: #0A0E27;
  --bg2: #0D1129;
  --card: #111634;
  --card2: #151B3E;
  --border: #2A3052;
  --green: #3172E3;
  --amber: #EF9F27;
  --white: #fff;
  --text: #CDD3E8;
  --muted: #9AA3C4;
  --radius: 28px;
  --container: min(1180px, calc(100% - 40px));
}


/* ======================================================
   RESET / BASE
====================================================== */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Outfit, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
}

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

button {
  font: inherit;
}


/* ======================================================
   NOISE OVERLAY
====================================================== */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 100;
}


/* ======================================================
   HEADER
====================================================== */

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  height: 68px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(10, 14, 39, .58);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.02em;
  font-size: 18px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--amber));
  color: #081022;
  font-size: 13px;
  font-weight: 900;
}

.logo-h {
  width: 200px;
  margin-top: 5px;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  color: var(--text);
  font-size: 14px;
}

.desktop-nav a {
  transition: .25s;
}

.desktop-nav a:hover {
  color: white;
}

.nav-cta {
  background: #fff;
  color: #091027;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}


/* ======================================================
   MOBILE MENU
====================================================== */

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: #fff;
  border-radius: 4px;
  transition: .25s;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 26px;
}

.menu-open .menu-toggle span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  left: 50%;
  top: 94px;
  transform: translateX(-50%) translateY(-12px);
  width: var(--container);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 14, 39, .94);
  backdrop-filter: blur(20px);
  border-radius: 26px;
  display: grid;
  gap: 10px;
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .25s;
}

.mobile-nav a:not(.button) {
  padding: 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  color: var(--text);
}

.menu-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}


/* ======================================================
   GENERAL SECTIONS
====================================================== */

.section {
  position: relative;
  padding: 112px 0;
}

.hero-inner,
.cases-section,
.funnel-layout,
.final-cta > div {
  width: var(--container);
  margin: 0 auto;
}


/* ======================================================
   HERO
====================================================== */

.hero {
  position: relative;
  isolation: isolate;
  padding: 118px 0 46px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(500px, 1.05fr);
  gap: 48px;
  align-items: center;
  min-width: 0;
}

.hero-copy,
.hero-visual,
.comparison-card {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 900;
  font-size: 12px;
}

.hero-title {
  font-size: clamp(54px, 6.2vw, 88px);
  line-height: .91;
  letter-spacing: -.075em;
  margin: 0;
  max-width: 650px;
}

.hero-title span {
  display: inline-block;
  color: var(--green);
  text-shadow: 0 0 42px rgba(93, 202, 165, .22);
}

.hero-subtitle {
  font-size: clamp(18px, 1.75vw, 23px);
  line-height: 1.28;
  color: var(--text);
  max-width: 590px;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}


/* ======================================================
   BUTTONS
====================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: .3s;
  text-align: center;
}

.button-primary {
  background: var(--green);
  color: #06131a;
  box-shadow: 0 18px 60px rgba(93, 202, 165, .24);
  border: 0;
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(93, 202, 165, .38);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  background: rgba(255, 255, 255, .035);
}


/* ======================================================
   HERO VISUAL
====================================================== */

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 16px;
  align-items: center;
}

.comparison-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  border-radius: var(--radius);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .36);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.comparison-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    circle at var(--mx, 20%) var(--my, 20%),
    rgba(93, 202, 165, .26),
    transparent 38%
  );
  pointer-events: none;
}

.old-card::before {
  background: radial-gradient(
    circle at var(--mx, 20%) var(--my, 20%),
    rgba(239, 159, 39, .16),
    transparent 38%
  );
}

.genius-card {
  min-height: 342px;
  border-color: rgba(93, 202, 165, .34);
  box-shadow:
    0 0 0 1px rgba(93, 202, 165, .18),
    0 34px 110px rgba(0, 0, 0, .38),
    0 0 56px rgba(93, 202, 165, .12);
}

.old-card {
  min-height: 304px;
  opacity: .84;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}

.card-top small {
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.metric.big {
  margin-top: 22px;
}

.metric strong {
  font-size: clamp(42px, 4.1vw, 60px);
  line-height: 1;
  color: #fff;
  letter-spacing: -.06em;
}

.metric span,
.metric-row span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.metric-row strong {
  font-size: 26px;
  color: var(--green);
}

.muted strong,
.old-card .metric-row strong {
  color: #fff;
}

.versus {
  position: absolute;
  left: 51%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--amber);
  color: #081022;
  font-weight: 900;
  z-index: 3;
  box-shadow: 0 20px 70px rgba(239, 159, 39, .3);
}

.sparkline {
  height: 34px;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}

.sparkline i {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), #fff);
}

.sparkline.low i {
  width: 32%;
  background: linear-gradient(90deg, var(--amber), rgba(255, 255, 255, .55));
}


/* ======================================================
   HERO PROOF
====================================================== */

.hero-proof {
  position: static;
  width: var(--container);
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-proof span {
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 13px;
  white-space: normal;
}


/* ======================================================
   BACKGROUND EFFECTS
====================================================== */

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .42;
  z-index: -2;
}

.orb-one {
  width: 330px;
  height: 330px;
  background: var(--green);
  right: 8%;
  top: 18%;
}

.orb-two {
  width: 300px;
  height: 300px;
  background: var(--amber);
  left: -8%;
  bottom: 0;
}

.flow-lines {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.flow-lines span {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(93, 202, 165, .25), transparent);
  animation: flow 10s linear infinite;
}

.flow-lines span:nth-child(1) {
  top: 22%;
}

.flow-lines span:nth-child(2) {
  top: 42%;
  animation-delay: -3s;
}

.flow-lines span:nth-child(3) {
  top: 62%;
  animation-delay: -6s;
}

.flow-lines span:nth-child(4) {
  top: 85%;
  animation-delay: -1s;
}


/* ======================================================
   SECTION HEADINGS
====================================================== */

.section-heading {
  max-width: 900px;
  margin: 0 auto 56px;
  width: var(--container);
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: .98;
  letter-spacing: -.06em;
  margin: 0;
}

.section-text {
  font-size: 21px;
  color: var(--text);
  line-height: 1.45;
}


/* ======================================================
   CASES SECTION
====================================================== */

.cases-section {
  padding-top: 104px;
}

.cases-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.case-card {
  position: relative;
  min-height: 600px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: .45s;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(93, 202, 165, .45);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .35);
}

.case-card-alt:hover {
  border-color: rgba(239, 159, 39, .45);
}

.case-label {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  font-size: 12px;
}

.case-card-alt .case-label {
  color: var(--amber);
}

.case-card h3 {
  font-size: 38px;
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 24px 0 18px;
}

.case-card p {
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
  max-width: 520px;
}

.case-stats {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.case-stats div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
}

.case-stats strong {
  display: block;
  font-size: 31px;
  color: #fff;
  letter-spacing: -.04em;
}

.case-stats span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.case-result {
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  color: #091027;
}

.case-result span {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
  color: #4c5870;
}

.case-result strong {
  display: block;
  font-size: 28px;
  margin-top: 8px;
  letter-spacing: -.035em;
}


/* ======================================================
   FUNNEL SECTION
====================================================== */

.funnel-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}

.funnel-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.funnel-layout .section-heading {
  width: auto;
  margin: 0;
}

.funnel-track {
  position: relative;
  display: grid;
  gap: 18px;
}

.funnel-track::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(var(--green), var(--amber));
  box-shadow: 0 0 30px rgba(93, 202, 165, .45);
}

.funnel-track article {
  position: relative;
  padding: 28px 28px 28px 92px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

.funnel-track span {
  position: absolute;
  left: 20px;
  top: 28px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #071022;
  font-size: 11px;
  font-weight: 900;
  z-index: 2;
}

.funnel-track h3 {
  font-size: 36px;
  letter-spacing: -.045em;
  margin: 0 0 10px;
}

.funnel-track p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
}



/* ======================================================
   TESTIMONIALS SECTION
====================================================== */

.testimonials-section {
  padding-top: 112px;
  background:
    radial-gradient(circle at 12% 20%, rgba(93, 202, 165, .10), transparent 32%),
    radial-gradient(circle at 90% 72%, rgba(239, 159, 39, .08), transparent 28%);
  overflow: hidden;
}

.testimonials-heading {
  margin-bottom: 42px;
}

.testimonials-slider {
  width: var(--container);
  margin: 0 auto;
  overflow: visible;
}

.testimonials-viewport {
  overflow: hidden;
  border-radius: 34px;
}

.testimonials-track {
  --testimonial-gap: 22px;
  display: flex;
  gap: var(--testimonial-gap);
  will-change: transform;
  transition: transform .65s cubic-bezier(.22, 1, .36, 1);
}

.testimonial-card {
  position: relative;
  flex: 0 0 calc((100% - (var(--testimonial-gap) * 2)) / 3);
  min-height: 330px;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .26);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 0%, rgba(93, 202, 165, .18), transparent 42%);
  pointer-events: none;
}

.testimonial-rating {
  position: relative;
  color: var(--green);
  letter-spacing: .16em;
  font-size: 13px;
  margin-bottom: 24px;
}

.testimonial-card p {
  position: relative;
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.38;
  letter-spacing: -.015em;
}

.testimonial-author {
  position: relative;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.testimonial-author span {
  display: block;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.02em;
}

.testimonial-author small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 14px;
}

.testimonials-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .055);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .3s;
}

.testimonial-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 202, 165, .45);
  background: rgba(93, 202, 165, .12);
}

.testimonial-arrow span {
  font-size: 21px;
  line-height: 1;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
  cursor: pointer;
  transition: .3s;
}

.testimonial-dots button.is-active {
  width: 26px;
  background: var(--green);
  box-shadow: 0 0 24px rgba(93, 202, 165, .42);
}


/* ======================================================
   FINAL CTA
====================================================== */

.final-cta {
  text-align: center;
  padding-bottom: 112px;
}

.final-cta > div {
  border-radius: 44px;
  padding: 82px 30px;
  background: linear-gradient(135deg, rgba(93, 202, 165, .16), rgba(239, 159, 39, .11));
  border: 1px solid rgba(255, 255, 255, .12);
}

.final-cta .button {
  margin-top: 32px;
}


/* ======================================================
   REVEAL ANIMATION
====================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ======================================================
   KEYFRAMES
====================================================== */

@keyframes flow {
  0%,
  100% {
    transform: translateX(-10%) scaleX(.8);
  }

  50% {
    transform: translateX(10%) scaleX(1);
  }
}


/* ======================================================
   RESPONSIVE - MAX WIDTH 1200px
====================================================== */

@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr);
    gap: 34px;
  }

  .hero-title {
    font-size: clamp(50px, 6vw, 80px);
  }

  .comparison-card {
    padding: 20px;
  }

  .genius-card {
    min-height: 330px;
  }

  .old-card {
    min-height: 292px;
  }
}


/* ======================================================
   RESPONSIVE - MAX WIDTH 1040px
====================================================== */

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
    padding: 112px 0 58px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
  }

  .hero-title {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(58px, 10vw, 86px);
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-proof {
    margin-top: 32px;
  }

  .funnel-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .funnel-layout .section-heading {
    width: var(--container);
    margin: 0 auto;
  }

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

  .case-card {
    min-height: auto;
  }
}


@media (max-width: 1040px) {
  .testimonial-card {
    flex-basis: calc((100% - var(--testimonial-gap)) / 2);
  }
}

/* ======================================================
   RESPONSIVE - MAX WIDTH 860px
====================================================== */

@media (max-width: 860px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header {
    height: 64px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero-title {
    font-size: clamp(50px, 12vw, 76px);
  }

  .hero-visual {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .genius-card,
  .old-card {
    min-height: auto;
  }

  .versus {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: -6px auto;
    z-index: 4;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .funnel-track article {
    padding-left: 78px;
  }
}


@media (max-width: 860px) {
  .testimonials-section {
    padding-top: 88px;
  }

  .testimonial-card {
    flex-basis: min(82vw, 430px);
    min-height: 310px;
  }
}

/* ======================================================
   RESPONSIVE - MAX WIDTH 680px
====================================================== */

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 28px);
  }

  .site-header {
    top: 12px;
    height: 60px;
    padding: 0 8px 0 10px;
  }

  .mobile-nav {
    top: 82px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .hero-copy {
    text-align: left;
    max-width: none;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .18em;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: clamp(43px, 13vw, 58px);
    line-height: .94;
    letter-spacing: -.06em;
    margin: 0;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 18px;
    line-height: 1.35;
    margin-top: 20px;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: stretch;
    margin-top: 28px;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

  .comparison-card {
    padding: 18px;
    border-radius: 24px;
  }

  .card-top {
    display: grid;
    gap: 5px;
  }

  .metric.big {
    margin-top: 18px;
  }

  .metric strong {
    font-size: 42px;
  }

  .metric-row {
    grid-template-columns: 1fr 1fr;
  }

  .metric-row strong {
    font-size: 23px;
  }

  .sparkline {
    height: 32px;
  }

  .hero-proof {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .hero-proof span {
    font-size: 12px;
    padding: 9px 12px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .section-text {
    font-size: 18px;
  }

  .case-card {
    padding: 24px;
    border-radius: 28px;
  }

  .case-card h3 {
    font-size: 32px;
  }

  .case-card p {
    font-size: 17px;
  }

  .case-stats strong {
    font-size: 27px;
  }

  .case-result strong {
    font-size: 23px;
  }

  .funnel-track::before {
    left: 25px;
  }

  .funnel-track article {
    padding: 24px 20px 24px 68px;
    border-radius: 24px;
  }

  .funnel-track span {
    left: 13px;
  }

  .funnel-track h3 {
    font-size: 30px;
  }

  .funnel-track p {
    font-size: 17px;
  }

  .final-cta {
    padding-bottom: 86px;
  }

  .final-cta > div {
    padding: 62px 22px;
    border-radius: 32px;
  }
}


@media (max-width: 680px) {
  .testimonials-viewport {
    overflow: visible;
  }

  .testimonials-track {
    --testimonial-gap: 14px;
  }

  .testimonial-card {
    flex-basis: 100%;
    min-height: 300px;
    padding: 24px;
    border-radius: 26px;
  }

  .testimonial-card p {
    font-size: 18px;
  }

  .testimonials-controls {
    justify-content: space-between;
  }
}

/* ======================================================
   RESPONSIVE - MAX WIDTH 420px
====================================================== */

@media (max-width: 420px) {
  .brand span:last-child {
    font-size: 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .case-card h3 {
    font-size: 30px;
  }

  .card-top small {
    font-size: 12px;
  }
}


/* ======================================================
   RESPONSIVE - MAX HEIGHT 820px / MIN WIDTH 1041px
====================================================== */

@media (max-height: 820px) and (min-width: 1041px) {
  .hero {
    padding-top: 92px;
    padding-bottom: 34px;
  }

  .hero-title {
    font-size: clamp(48px, 5.4vw, 76px);
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .comparison-card {
    padding: 18px;
  }

  .genius-card {
    min-height: 304px;
  }

  .old-card {
    min-height: 278px;
  }

  .metric.big {
    margin-top: 16px;
  }

  .metric strong {
    font-size: 46px;
  }

  .metric-row {
    margin-top: 16px;
  }

  .metric-row strong {
    font-size: 22px;
  }

  .sparkline {
    height: 28px;
    margin-top: 16px;
  }

  .hero-proof {
    margin-top: 22px;
  }
}
/* ======================================================
   PRICING PAGE
====================================================== */

.desktop-nav .is-active {
  color: var(--green);
}

.pricing-page .site-header {
  background: rgba(5, 8, 24, .72);
}

.pricing-hero {
  min-height: auto;
  padding: 122px 0 48px;
  overflow: hidden;
  isolation: isolate;
}

.pricing-shell {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  padding: 34px;
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 12% 30%, rgba(49, 114, 227, .20), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(120, 90, 255, .14), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: 0 36px 120px rgba(0,0,0,.34);
  overflow: hidden;
}

.pricing-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .055;
  pointer-events: none;
}

.pricing-head {
  position: relative;
  text-align: center;
  max-width: 980px;
  margin: 0 auto 52px;
}

.pricing-head .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  margin-bottom: 20px;
  border-radius: 999px;
  border: 1px solid rgba(49, 114, 227, .42);
  background: rgba(49, 114, 227, .10);
  color: #9EBEFF;
}

.pricing-head h1 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: .95;
  letter-spacing: -.065em;
}

.pricing-head h1 span {
  color: var(--green);
  text-shadow: 0 0 46px rgba(49,114,227,.34);
}

.pricing-head p:not(.eyebrow) {
  margin: 22px auto 0;
  max-width: 760px;
  font-size: 20px;
  color: var(--text);
  line-height: 1.42;
}

.billing-toggle {
  margin: 30px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text);
  font-weight: 800;
}

.billing-toggle button {
  width: 70px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 4px;
  background: linear-gradient(135deg, #3172E3, #6B5CFF);
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(49,114,227,.28);
}

.billing-toggle i {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(0);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.billing-toggle.is-monthly i {
  transform: translateX(34px);
}

.pricing-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing-card {
  position: relative;
  min-width: 0;
  min-height: 760px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 30% 0%, rgba(49,114,227,.13), transparent 32%),
    rgba(5, 7, 23, .68);
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.pricing-card:hover {
  transform: translateY(-7px);
  border-color: rgba(49,114,227,.52);
  box-shadow: 0 40px 110px rgba(0,0,0,.42), 0 0 60px rgba(49,114,227,.12);
}

.pricing-card-featured {
  border-color: rgba(49,114,227,.38);
  background:
    radial-gradient(circle at 50% -5%, rgba(49,114,227,.22), transparent 34%),
    rgba(5, 7, 23, .72);
}

.plan-badge {
  width: fit-content;
  padding: 9px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3172E3, #6B5CFF);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  box-shadow: 0 16px 40px rgba(49,114,227,.22);
}

.pricing-card h2 {
  margin: 24px 0 12px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
}

.plan-description {
  min-height: 48px;
  margin: 0 0 26px;
  color: var(--text);
  line-height: 1.42;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 82px;
  padding: 24px 0 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.price-row strong {
  font-size: clamp(42px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.065em;
}

.price-row small {
  color: var(--green);
  font-weight: 900;
}

.old-price {
  color: rgba(255,255,255,.46);
  font-size: 24px;
  font-weight: 800;
  text-decoration: line-through;
}

.old-price:empty {
  display: none;
}

.contact-price {
  align-items: center;
}

.contact-price strong {
  font-size: clamp(38px, 3.4vw, 48px);
}

.plan-note {
  margin-top: 14px;
  min-height: 40px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 28px;
  display: grid;
  gap: 0;
}

.features-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  color: var(--text);
  line-height: 1.35;
  border-bottom: 1px solid rgba(255,255,255,.075);
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(49,114,227,.20);
  border: 1px solid rgba(49,114,227,.45);
  font-size: 11px;
  font-weight: 900;
}

.pricing-card .button {
  margin-top: auto;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  background: linear-gradient(135deg, #3172E3, #6B5CFF);
  color: #fff;
}

.pricing-benefits {
  padding-top: 64px;
}

.pricing-benefits-inner {
  width: var(--container);
  margin: 0 auto;
}

.pricing-benefits .section-heading {
  width: auto;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  min-height: 210px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.benefit-card strong {
  color: var(--green);
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -.06em;
}

.benefit-card span {
  color: var(--text);
  font-size: 19px;
  line-height: 1.35;
}

.pricing-final {
  padding-top: 64px;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
  }

  .pricing-card {
    min-height: auto;
  }

  .plan-description,
  .plan-note {
    min-height: 0;
  }

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

@media (max-width: 680px) {
  .pricing-hero {
    padding-top: 96px;
  }

  .pricing-shell {
    padding: 22px;
    border-radius: 28px;
  }

  .pricing-head {
    text-align: left;
    margin-bottom: 34px;
  }

  .pricing-head .eyebrow {
    justify-content: flex-start;
  }

  .pricing-head h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .pricing-head p:not(.eyebrow) {
    font-size: 18px;
  }

  .billing-toggle {
    width: 100%;
  }

  .pricing-card {
    padding: 24px;
    border-radius: 26px;
  }

  .price-row {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .price-row strong {
    font-size: 42px;
  }

  .old-price {
    font-size: 20px;
  }

  .features-list li {
    font-size: 15px;
  }

  .benefit-card {
    min-height: 180px;
  }
} 

/* Demo section: form + video page */
.demo-section {
  text-align: center;
}

.demo-grid {
  width: var(--container, min(1100px, 90vw));
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
  text-align: left;
}

.demo-panel {
  width: min(620px, 100%);
  margin: 36px auto 0;
  padding: 10px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 0%, rgba(49,114,227,.24), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.demo-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 26px;
  background: rgba(2, 5, 20, .56);
  border: 1px solid rgba(255,255,255,.08);
}

.demo-form label {
  font-size: .85rem;
  opacity: .88;
  display: grid;
  gap: 7px;
  color: var(--muted);
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: rgba(49,114,227,.75);
  box-shadow: 0 0 0 4px rgba(49,114,227,.12);
  background: rgba(255,255,255,.08);
}

.demo-form button {
  margin-top: 6px;
  width: 100%;
}

.demo-form-inline {
  max-width: 540px;
  margin: 0 auto;
  text-align: left;
}

.fine-print {
  width: var(--container, min(1100px, 90vw));
  margin: 26px auto 0;
  font-size: .78rem;
  opacity: .55;
  line-height: 1.5;
}

.section-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.demo-video-hero {
  padding-top: 132px;
  min-height: auto;
}

.demo-video-wrap {
  width: var(--container);
  margin: 42px auto 0;
  padding: 10px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 0%, rgba(49,114,227,.26), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
  overflow: hidden;
}

.demo-video-frame {
  position: relative;
  padding-bottom: calc(47.447916666666664% + 41px);
  height: 100%;
  width: 100%;
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
}

.demo-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color-scheme: light;
}

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

  .demo-panel {
    margin-top: 28px;
    border-radius: 28px;
  }

  .demo-form {
    padding: 22px;
    border-radius: 22px;
  }

  .demo-video-hero {
    padding-top: 108px;
  }

  .demo-video-wrap {
    width: min(100% - 28px, 760px);
    margin-top: 30px;
    border-radius: 26px;
  }

  .demo-video-frame {
    min-height: 520px;
    padding-bottom: 120%;
    border-radius: 20px;
  }
}

@media (max-width: 520px) {
  .demo-panel {
    padding: 7px;
  }

  .demo-form {
    padding: 18px;
  }

  .section-actions .button {
    width: 100%;
    max-width: 320px;
  }
}

/* ======================================================
   DEMO PAGE - CLEAN HERO WITH VIDEO DIRECTLY UNDER TEXT
====================================================== */

.demo-hero {
  position: relative;
  isolation: isolate;
  padding: 148px 0 92px;
  overflow: hidden;
  text-align: center;
}

.demo-hero-content {
  width: var(--container);
  margin: 0 auto;
}

.demo-hero .hero-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.demo-hero .section-text {
  max-width: 820px;
  margin: 26px auto 46px;
}

.demo-hero .demo-video-frame {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
}

.demo-hero .demo-video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  color-scheme: light;
}

@media (max-width: 860px) {
  .demo-hero {
    padding: 118px 0 74px;
  }

  .demo-hero .section-text {
    margin-bottom: 34px;
  }

  .demo-hero .demo-video-frame {
    border-radius: 24px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 520px) {
  .demo-hero {
    text-align: left;
    padding: 104px 0 64px;
  }

  .demo-hero .hero-title,
  .demo-hero .section-text {
    margin-left: 0;
    margin-right: 0;
  }

  .demo-hero .demo-video-frame {
    border-radius: 20px;
    aspect-ratio: 1 / 1.08;
  }
}

/* ======================================================
   APPOINTMENT PAGE - CALENDAR STYLE FORM
====================================================== */

.appointment-hero {
  position: relative;
  isolation: isolate;
  padding: 148px 0 96px;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.appointment-shell {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.appointment-copy,
.calendar-card {
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    radial-gradient(circle at 10% 0%, rgba(49, 114, 227, .18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .032));
  box-shadow: 0 34px 110px rgba(0, 0, 0, .34);
}

.appointment-copy {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.appointment-copy h1 {
  margin: 0;
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: .95;
  letter-spacing: -.065em;
}

.appointment-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.42;
}

.appointment-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.appointment-points span {
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .055);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.calendar-card {
  padding: 26px;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.calendar-kicker {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 6px;
}

.calendar-head strong {
  display: block;
  font-size: 28px;
  letter-spacing: -.04em;
}

.calendar-duration {
  flex: 0 0 auto;
  padding: 10px 13px;
  border-radius: 999px;
  color: #06131a;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.calendar-grid button {
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
  font-weight: 900;
  cursor: default;
}

.calendar-grid button small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 900;
}

.calendar-grid button.is-active {
  border-color: rgba(49, 114, 227, .55);
  background: rgba(49, 114, 227, .18);
  box-shadow: 0 18px 52px rgba(49, 114, 227, .18);
}

.appointment-form {
  display: grid;
  gap: 16px;
}

.appointment-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.appointment-fields input,
.appointment-fields select,
.appointment-fields textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  outline: none;
  background: rgba(2, 5, 20, .42);
  color: var(--text);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.appointment-fields textarea {
  grid-column: 1 / -1;
  min-height: 114px;
  padding-top: 15px;
  resize: vertical;
}

.appointment-fields input:focus,
.appointment-fields select:focus,
.appointment-fields textarea:focus {
  border-color: rgba(49, 114, 227, .78);
  box-shadow: 0 0 0 4px rgba(49, 114, 227, .13);
  background: rgba(255, 255, 255, .075);
}

.appointment-fields ::placeholder {
  color: rgba(205, 211, 232, .62);
}

@media (max-width: 1040px) {
  .appointment-hero {
    min-height: auto;
    padding: 124px 0 82px;
  }

  .appointment-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .appointment-hero {
    padding: 104px 0 68px;
  }

  .appointment-copy,
  .calendar-card {
    border-radius: 28px;
    padding: 24px;
  }

  .appointment-copy h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .appointment-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .calendar-head {
    display: grid;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-fields {
    grid-template-columns: 1fr;
  }
}


/* =========================
   CF7 - Demo form stile originale
   ========================= */

.demo-form-cf7,
.demo-form .wpcf7,
.demo-form-inline .wpcf7,
.hero-form .wpcf7 {
  width: 100%;
}

.demo-form-cf7 .wpcf7 form,
.demo-form .wpcf7 form,
.demo-form-inline .wpcf7 form,
.hero-form .wpcf7 form {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.demo-form-cf7 .wpcf7 form p,
.demo-form .wpcf7 form p,
.demo-form-inline .wpcf7 form p,
.hero-form .wpcf7 form p {
  margin: 0 0 18px;
}

.demo-form-cf7 .wpcf7 form br,
.demo-form .wpcf7 form br,
.demo-form-inline .wpcf7 form br,
.hero-form .wpcf7 form br {
  display: none;
}

.demo-form-cf7 .wpcf7 form label,
.demo-form .wpcf7 form label,
.demo-form-inline .wpcf7 form label,
.hero-form .wpcf7 form label {
  display: block;
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.demo-form-cf7 .wpcf7-form-control-wrap,
.demo-form .wpcf7-form-control-wrap,
.demo-form-inline .wpcf7-form-control-wrap,
.hero-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.demo-form-cf7 .wpcf7 input[type="text"],
.demo-form-cf7 .wpcf7 input[type="email"],
.demo-form-cf7 .wpcf7 textarea,
.demo-form .wpcf7 input[type="text"],
.demo-form .wpcf7 input[type="email"],
.demo-form .wpcf7 textarea,
.demo-form-inline .wpcf7 input[type="text"],
.demo-form-inline .wpcf7 input[type="email"],
.demo-form-inline .wpcf7 textarea,
.hero-form .wpcf7 input[type="text"],
.hero-form .wpcf7 input[type="email"],
.hero-form .wpcf7 textarea {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 0 0 rgba(0,0,0,0);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.demo-form-cf7 .wpcf7 textarea,
.demo-form .wpcf7 textarea,
.demo-form-inline .wpcf7 textarea,
.hero-form .wpcf7 textarea {
  min-height: 130px;
  padding: 16px 18px;
  resize: vertical;
}

.demo-form-cf7 .wpcf7 input::placeholder,
.demo-form-cf7 .wpcf7 textarea::placeholder,
.demo-form .wpcf7 input::placeholder,
.demo-form .wpcf7 textarea::placeholder,
.demo-form-inline .wpcf7 input::placeholder,
.demo-form-inline .wpcf7 textarea::placeholder,
.hero-form .wpcf7 input::placeholder,
.hero-form .wpcf7 textarea::placeholder {
  color: rgba(255,255,255,0.38);
}

.demo-form-cf7 .wpcf7 input:focus,
.demo-form-cf7 .wpcf7 textarea:focus,
.demo-form .wpcf7 input:focus,
.demo-form .wpcf7 textarea:focus,
.demo-form-inline .wpcf7 input:focus,
.demo-form-inline .wpcf7 textarea:focus,
.hero-form .wpcf7 input:focus,
.hero-form .wpcf7 textarea:focus {
  border-color: rgba(76, 128, 255, 0.42);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(76, 128, 255, 0.08);
}

.demo-form-cf7 .wpcf7 input[type="submit"],
.demo-form .wpcf7 input[type="submit"],
.demo-form-inline .wpcf7 input[type="submit"],
.hero-form .wpcf7 input[type="submit"] {
  width: 100%;
  height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f6fff 0%, #4b86ff 100%);
  color: #07111f;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(47,111,255,0.18);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.demo-form-cf7 .wpcf7 input[type="submit"]:hover,
.demo-form .wpcf7 input[type="submit"]:hover,
.demo-form-inline .wpcf7 input[type="submit"]:hover,
.hero-form .wpcf7 input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(47,111,255,0.22);
}

.demo-form-cf7 .wpcf7 .wpcf7-spinner,
.demo-form .wpcf7 .wpcf7-spinner,
.demo-form-inline .wpcf7 .wpcf7-spinner,
.hero-form .wpcf7 .wpcf7-spinner {
  margin: 12px auto 0;
  display: block;
}

.demo-form-cf7 .wpcf7 .wpcf7-not-valid-tip,
.demo-form .wpcf7 .wpcf7-not-valid-tip,
.demo-form-inline .wpcf7 .wpcf7-not-valid-tip,
.hero-form .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  color: #ffbaba;
}

.demo-form-cf7 .wpcf7 .wpcf7-response-output,
.demo-form .wpcf7 .wpcf7-response-output,
.demo-form-inline .wpcf7 .wpcf7-response-output,
.hero-form .wpcf7 .wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  font-size: 14px;
}

@media (max-width: 767px) {
  .demo-form-cf7 .wpcf7 form,
  .demo-form .wpcf7 form,
  .demo-form-inline .wpcf7 form,
  .hero-form .wpcf7 form {
    max-width: 100%;
  }

  .demo-form-cf7 .wpcf7 input[type="text"],
  .demo-form-cf7 .wpcf7 input[type="email"],
  .demo-form-cf7 .wpcf7 textarea,
  .demo-form .wpcf7 input[type="text"],
  .demo-form .wpcf7 input[type="email"],
  .demo-form .wpcf7 textarea,
  .demo-form-inline .wpcf7 input[type="text"],
  .demo-form-inline .wpcf7 input[type="email"],
  .demo-form-inline .wpcf7 textarea,
  .hero-form .wpcf7 input[type="text"],
  .hero-form .wpcf7 input[type="email"],
  .hero-form .wpcf7 textarea {
    height: 46px;
    font-size: 16px;
  }
}

.demo-form-cf7 .wpcf7 .wpcf7-spinner, .demo-form .wpcf7 .wpcf7-spinner, .demo-form-inline .wpcf7 .wpcf7-spinner, .hero-form .wpcf7 .wpcf7-spinner {
	margin: 0;
}

/* box scuro esterno del form, come nell'html originale */
.demo-form-cf7 {
  width: 100%;
  max-width: 574px;
  margin: 34px auto 0;
  padding: 30px 30px 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(7, 13, 31, 0.88) 0%, rgba(5, 10, 24, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 18px 40px rgba(0,0,0,0.22);
}

/* il form dentro non deve aggiungere un secondo box */
.demo-form-cf7 .wpcf7,
.demo-form-cf7 .wpcf7 form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* larghezza interna coerente col mockup */
.demo-form-cf7 .wpcf7 form {
  max-width: 100%;
}

/* bottone un po' più staccato dal secondo campo */
.demo-form-cf7 .wpcf7 input[type="submit"] {
  margin-top: 28px;
}

/* mobile */
@media (max-width: 767px) {
  .demo-form-cf7 {
    max-width: 100%;
    padding: 22px 18px 20px;
    border-radius: 22px;
  }
}

/* =========================
   CF7 - Appointment form
   ========================= */

.appointment-form-cf7 {
  width: 100%;
  margin-top: 18px;
}

.appointment-form-cf7 .wpcf7 {
  width: 100%;
}

.appointment-form-cf7 .wpcf7 form {
  margin: 0;
  padding: 0;
}

.appointment-form-cf7 .wpcf7 form p {
  margin: 0 0 14px;
}

.appointment-form-cf7 .wpcf7 form br {
  display: none;
}

.appointment-form-cf7 .wpcf7 label {
  display: block;
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.appointment-form-cf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.appointment-form-cf7 .wpcf7 input[type="text"],
.appointment-form-cf7 .wpcf7 input[type="email"],
.appointment-form-cf7 .wpcf7 input[type="tel"],
.appointment-form-cf7 .wpcf7 input[type="date"],
.appointment-form-cf7 .wpcf7 select,
.appointment-form-cf7 .wpcf7 textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.035);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.appointment-form-cf7 .wpcf7 textarea {
  min-height: 128px;
  padding: 14px 16px;
  resize: vertical;
}

.appointment-form-cf7 .wpcf7 input::placeholder,
.appointment-form-cf7 .wpcf7 textarea::placeholder {
  color: rgba(255,255,255,0.38);
}

/* focus */
.appointment-form-cf7 .wpcf7 input[type="text"]:focus,
.appointment-form-cf7 .wpcf7 input[type="email"]:focus,
.appointment-form-cf7 .wpcf7 input[type="tel"]:focus,
.appointment-form-cf7 .wpcf7 input[type="date"]:focus,
.appointment-form-cf7 .wpcf7 select:focus,
.appointment-form-cf7 .wpcf7 textarea:focus {
  border-color: rgba(76,128,255,0.42);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(76,128,255,0.08);
}

/* select arrow */
.appointment-form-cf7 .wpcf7 select {
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.7) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* date icon */
.appointment-form-cf7 .wpcf7 input[type="date"] {
  padding-right: 14px;
  color-scheme: dark;
}

.appointment-form-cf7 .wpcf7 input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.85;
  cursor: pointer;
}

/* textarea monospace del browser -> no */
.appointment-form-cf7 .wpcf7 textarea {
  font-family: 'Outfit', sans-serif;
}

/* checkbox privacy */
.appointment-form-cf7 .wpcf7 .wpcf7-acceptance {
  display: block;
}

.appointment-form-cf7 .wpcf7 .wpcf7-list-item {
  margin: 0;
}

.appointment-form-cf7 .wpcf7 .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.74);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.appointment-form-cf7 .wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: #4b86ff;
  flex: 0 0 16px;
}

/* submit */
.appointment-form-cf7 .wpcf7 input[type="submit"] {
  width: 100%;
  height: 54px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f6fff 0%, #4b86ff 100%);
  color: #07111f;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(47,111,255,0.18);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.appointment-form-cf7 .wpcf7 input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(47,111,255,0.22);
}

.appointment-form-cf7 .wpcf7 input[type="submit"]:active {
  transform: translateY(0);
}

/* spinner */
.appointment-form-cf7 .wpcf7 .wpcf7-spinner {
  display: block;
  margin: 10px 0 0;
}

/* validation */
.appointment-form-cf7 .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  color: #ffbaba;
}

.appointment-form-cf7 .wpcf7 .wpcf7-response-output {
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
}

.appointment-form-cf7 .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(98, 214, 156, 0.4) !important;
  background: rgba(98, 214, 156, 0.09);
}

.appointment-form-cf7 .wpcf7 form.invalid .wpcf7-response-output,
.appointment-form-cf7 .wpcf7 form.unaccepted .wpcf7-response-output,
.appointment-form-cf7 .wpcf7 form.failed .wpcf7-response-output {
  border-color: rgba(255, 120, 120, 0.4) !important;
  background: rgba(255, 120, 120, 0.08);
}

@media (max-width: 767px) {
  .appointment-form-cf7 .wpcf7 input[type="text"],
  .appointment-form-cf7 .wpcf7 input[type="email"],
  .appointment-form-cf7 .wpcf7 input[type="tel"],
  .appointment-form-cf7 .wpcf7 input[type="date"],
  .appointment-form-cf7 .wpcf7 select,
  .appointment-form-cf7 .wpcf7 textarea {
    font-size: 16px;
  }
}

/* =========================
   FOOTER
   ========================= */

.eg-footer {
  padding: 56px 24px 40px;
  background: #05070f;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.eg-footer__top {
  max-width: 1320px;
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.eg-footer__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.eg-footer__logo img {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
}

.eg-footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.eg-footer__nav a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity .2s ease, color .2s ease;
}

.eg-footer__nav a:hover {
  opacity: 1;
  color: #4b86ff;
}

.eg-footer__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.eg-footer__socials a {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.eg-footer__socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(75,134,255,0.55);
  background: rgba(75,134,255,0.08);
}

.eg-footer__socials img {
  width: 34px;
  height: 34px;
  display: block;
}

.eg-footer__funding {
  max-width: 1320px;
  margin: 0 auto 34px;
  text-align: center;
}

.eg-footer__funding img {
  width: 100%;
  max-width: 1220px;
  height: auto;
  display: inline-block;
}

.eg-footer__bottom {
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}

.eg-footer__bottom p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.eg-footer__bottom p + p {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .eg-footer__top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .eg-footer__brand,
  .eg-footer__socials {
    justify-content: center;
  }

  .eg-footer__nav {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .eg-footer {
    padding: 40px 18px 30px;
  }

  .eg-footer__logo img {
    width: 200px;
  }

  .eg-footer__nav a {
    font-size: 15px;
  }

  .eg-footer__socials a {
    width: 60px;
    height: 60px;
  }

  .eg-footer__socials img {
    width: 28px;
    height: 28px;
  }

  .eg-footer__bottom p {
    font-size: 14px;
  }
}

/* =========================
   CAMBIO HEADER
   ========================= */

/* dropdown desktop */
.desktop-nav .nav-item {
  position: relative;
}

.desktop-nav .nav-item--has-dropdown {
  display: flex;
  align-items: center;
}

.desktop-nav .nav-link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav .nav-link--dropdown::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.8;
}

.desktop-nav .nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 240px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(10, 14, 39, 0.96);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 50;
}

.desktop-nav .nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.35;
  opacity: 0.88;
  transition: background .2s ease, opacity .2s ease, color .2s ease;
}

.desktop-nav .nav-dropdown a:hover {
  background: rgba(75,134,255,0.12);
  opacity: 1;
  color: #ffffff;
}

.desktop-nav .nav-item--has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* mobile */
.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.58);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}