/* ==========================================================================
   Home Page New (page-homenew.php) — every rule is scoped to .hn-page
   ========================================================================== */

.hn-page {
  --hn-bg: #0d0a26;
  --hn-bg-2: #120d33;
  --hn-card: rgba(255, 255, 255, 0.035);
  --hn-card-border: rgba(255, 255, 255, 0.09);
  --hn-text: #ffffff;
  --hn-muted: #a7a3c2;
  --hn-pink: #ec4ba5;
  --hn-orange: #f7923a;
  --hn-grad: linear-gradient(90deg, #ec4ba5 0%, #f7923a 100%);
  --hn-radius: 16px;
  --hn-container: 1240px;

  position: relative;
  overflow: hidden;
  background: var(--hn-bg);
  color: var(--hn-text);
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.hn-page img { max-width: 100%; height: auto; display: block; }

.hn-page h1,
.hn-page h2,
.hn-page h3,
.hn-page p { margin: 0; }

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

.hn-section { position: relative; padding: 110px 0; }

/* ---------- Shared: headings ---------- */

.hn-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }

.hn-page .hn-eyebrow {
  margin-bottom: 14px;
  color: var(--hn-pink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hn-page .hn-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hn-page .hn-intro {
  max-width: 600px;
  margin: 18px auto 0;
  color: var(--hn-muted);
  font-size: 17px;
  line-height: 1.55;
}

/* ---------- Shared: buttons ---------- */

.hn-page .hn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.hn-page .hn-btn--primary {
  background: var(--hn-grad);
  box-shadow: 0 8px 28px rgba(236, 75, 165, 0.35);
}
.hn-page .hn-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(236, 75, 165, 0.5); }

.hn-page .hn-btn--outline {
  position: relative;
  background: rgba(13, 10, 38, 0.6);
}
.hn-page .hn-btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--hn-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.hn-page .hn-btn--outline:hover { background: rgba(236, 75, 165, 0.12); }

.hn-page .hn-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

.hn-page .hn-arrow { transition: transform .2s ease; }
.hn-page .hn-btn:hover .hn-arrow { transform: translateX(3px); }

/* ---------- Shared: card ---------- */

.hn-card {
  position: relative;
  border: 1px solid var(--hn-card-border);
  border-radius: var(--hn-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
}

/* ---------- Shared: slider navigation ---------- */

.hn-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }

.hn-page .hn-nav__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.hn-page .hn-nav__btn:hover { border-color: var(--hn-pink); background: rgba(236, 75, 165, 0.12); }
.hn-page .hn-nav__btn.swiper-button-disabled { opacity: .35; cursor: default; }

/* home.css scales every .swiper-slide and pushes bullets down; undo that here. */
.hn-page .swiper-slide,
.hn-page .swiper-slide.swiper-slide-active { transform: none; z-index: auto; }

.hn-nav__dots { display: flex; gap: 6px; width: auto !important; }
.hn-page .hn-nav__dots .swiper-pagination-bullet {
  position: static;
  width: 6px;
  height: 6px;
  margin: 0 !important;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: width .25s ease, background .25s ease;
}
.hn-page .hn-nav__dots .swiper-pagination-bullet-active { width: 22px; background: var(--hn-grad) !important; }

/* ==========================================================================
   Hero
   ========================================================================== */

/* Hero glow sits on the page so it continues behind the clients strip. */
.hn-page::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1000px;
  background:
    radial-gradient(55% 55% at 15% 70%, rgba(83, 36, 160, 0.45) 0%, rgba(13, 10, 38, 0) 70%),
    radial-gradient(50% 55% at 85% 20%, rgba(98, 38, 170, 0.35) 0%, rgba(13, 10, 38, 0) 70%);
  pointer-events: none;
}

.hn-hero {
  position: relative;
  padding: 110px 0 90px;
}

.hn-hero__swirl {
  position: absolute;
  top: -180px;
  right: -260px;
  width: 760px;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .95;
}

.hn-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 40px;
}

.hn-page .hn-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d9d6ee;
  font-size: 13px;
}
.hn-page .hn-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hn-pink);
  box-shadow: 0 0 10px var(--hn-pink);
}

.hn-page .hn-hero__title {
  margin-top: 22px;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hn-page .hn-hero__text {
  max-width: 520px;
  margin-top: 24px;
  color: #c9c6dd;
  font-size: 18px;
  line-height: 1.6;
}

.hn-hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hn-hero__visual { position: relative; min-height: 460px; }

.hn-page .hn-hero__dashboard {
  position: absolute;
  top: 50%;
  left: 0;
  width: 92%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: translateY(-50%);
}

.hn-page .hn-hero__phone {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 34%;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  transform: translateY(-50%);
  animation: hn-float 6s ease-in-out infinite;
}

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

/* ==========================================================================
   Clients
   ========================================================================== */

.hn-clients { padding: 30px 0 40px; text-align: center; }

.hn-clients__marquee {
  overflow: hidden;
  margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.hn-clients__track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: hn-marquee 60s linear infinite;
}
.hn-clients__marquee:hover .hn-clients__track { animation-play-state: paused; }

.hn-clients__logo { flex: 0 0 auto; }
.hn-page .hn-clients__logo img { width: auto; max-width: 150px; height: 48px; object-fit: contain; opacity: .85; }

@keyframes hn-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 36px)); }
}

/* ==========================================================================
   Solutions
   ========================================================================== */

.hn-solutions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.hn-solutions__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px 44px;
  text-align: center;
  background: linear-gradient(180deg, rgba(110, 60, 200, 0.16) 0%, rgba(255, 255, 255, 0.02) 60%);
}

.hn-page .hn-tag {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  padding: 9px 24px;
  border-radius: 0 0 10px 10px;
  background: var(--hn-grad);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hn-solutions__media {
  width: 100%;
  margin: 30px 0 34px;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 944 / 536;
  background: rgba(255, 255, 255, 0.04);
}
.hn-page .hn-solutions__media img { width: 100%; height: 100%; object-fit: cover; }

.hn-page .hn-solutions__title { font-size: 28px; font-weight: 600; }
.hn-page .hn-solutions__text { max-width: 470px; margin: 16px 0 28px; color: var(--hn-muted); font-size: 16px; line-height: 1.6; text-align: left; }
.hn-solutions__card .hn-btn { margin-top: auto; }

/* ==========================================================================
   Use cases
   ========================================================================== */

.hn-usecases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.hn-usecase {
  min-height: 236px;
  padding: 116px 26px 28px;
  overflow: hidden;
  outline: none;
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.hn-page .hn-usecase__shape {
  position: absolute;
  top: -18px;
  right: -8px;
  width: 128px;
  mix-blend-mode: screen; /* some shape PNGs ship with a black backdrop */
  transition: transform .5s ease;
}

.hn-page .hn-usecase__title { font-size: 20px; font-weight: 600; }

.hn-usecase__body { position: relative; margin-top: 12px; }

.hn-page .hn-usecase__text { color: var(--hn-muted); font-size: 14.5px; line-height: 1.55; transition: opacity .3s ease; }

.hn-usecase__prompt {
  position: absolute;
  inset: 0 0 auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(20, 10, 45, 0.55);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.hn-usecase__prompt-label { display: block; margin-bottom: 4px; color: #f6b3d6; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hn-usecase__prompt-text { display: block; color: #fff; font-size: 14.5px; line-height: 1.45; }

.hn-usecase:hover,
.hn-usecase:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(246, 146, 200, 0.7);
  background: linear-gradient(160deg, #7a2fb3 0%, #a63c9b 55%, #d0637c 100%);
  box-shadow: 0 0 0 1px rgba(246, 146, 200, 0.4), 0 18px 50px rgba(200, 70, 160, 0.35);
}
.hn-usecase:hover .hn-usecase__shape,
.hn-usecase:focus-visible .hn-usecase__shape { transform: scale(1.08) rotate(-6deg); }
.hn-usecase:hover .hn-usecase__text,
.hn-usecase:focus-visible .hn-usecase__text { opacity: 0; }
.hn-usecase:hover .hn-usecase__prompt,
.hn-usecase:focus-visible .hn-usecase__prompt { opacity: 1; transform: none; }

/* ==========================================================================
   How it works
   ========================================================================== */

.hn-how {
  background: radial-gradient(45% 40% at 50% 45%, rgba(110, 40, 190, 0.28) 0%, rgba(13, 10, 38, 0) 70%);
}

.hn-how__flow { max-width: 1100px; margin: 0 auto; }

.hn-how__lottie {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 640;
  /* The animation has its own backdrop; fade its edges into the page. */
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(75% 75% at 50% 50%, #000 70%, transparent 100%);
}
.hn-how__lottie svg { position: absolute; inset: 0; }
.hn-page .hn-how__fallback { width: 100%; height: 100%; object-fit: contain; }
.hn-how__lottie.is-ready .hn-how__fallback { display: none; }

.hn-how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}

.hn-how__step { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hn-how__step:first-child { border-image: var(--hn-grad) 1; }

.hn-how__num { color: var(--hn-muted); font-size: 13px; }
.hn-page .hn-how__title { margin: 22px 0 12px; font-size: 20px; font-weight: 600; }
.hn-page .hn-how__text { color: var(--hn-muted); font-size: 14.5px; line-height: 1.55; }

/* ==========================================================================
   Customer stories
   ========================================================================== */

.hn-stories { padding-bottom: 60px; }

.hn-stories__swiper { overflow: visible; }
.hn-stories__wrap { overflow: hidden; }

.hn-story.swiper-slide {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 40px;
  width: 86%;
  height: auto;
  padding: 36px 40px;
}

.hn-story__logo {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
}
.hn-page .hn-story__logo img { width: auto; height: 26px; }

.hn-page .hn-story__title { margin-top: 22px; font-size: 30px; font-weight: 700; }
.hn-story__line { display: block; width: 46px; height: 2px; margin: 14px 0 22px; background: var(--hn-grad); }
.hn-page .hn-story__label { margin-top: 18px; color: var(--hn-muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hn-page .hn-story__text { margin-top: 6px; color: #ecebf6; font-size: 18px; line-height: 1.45; }

.hn-story__media { display: flex; justify-content: center; }
.hn-page .hn-story__media img { width: 100%; max-width: 420px; border-radius: 14px; }

/* ==========================================================================
   CTA strip
   ========================================================================== */

.hn-cta { padding: 10px 0 30px; }

.hn-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid rgba(236, 75, 165, 0.25);
  border-radius: var(--hn-radius);
  background: linear-gradient(90deg, rgba(110, 40, 160, 0.35) 0%, rgba(60, 20, 80, 0.35) 100%);
}

.hn-page .hn-cta__title { font-size: 22px; font-weight: 600; }
.hn-page .hn-cta__text { margin-top: 6px; color: var(--hn-muted); font-size: 14.5px; }

/* ==========================================================================
   Integrations
   ========================================================================== */

.hn-integrations__grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(var(--hn-cols, 9), 1fr);
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

/* Purple spotlight behind the centre of the grid (as in the design). */
.hn-integrations__grid::before {
  content: '';
  position: absolute;
  inset: -30% -10%;
  z-index: -1;
  background: radial-gradient(42% 48% at 50% 52%, rgba(122, 52, 214, 0.55) 0%, rgba(92, 34, 170, 0.28) 45%, rgba(13, 10, 38, 0) 100%);
  filter: blur(20px);
  pointer-events: none;
}

.hn-integrations__tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}
.hn-integrations__tile.is-edge { opacity: .45; }

.hn-integrations__tile.has-logo {
  background: linear-gradient(180deg, rgba(90, 60, 190, 0.35) 0%, rgba(40, 25, 90, 0.35) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform .3s ease;
}
.hn-integrations__tile.has-logo.is-light { background: #fff; }
.hn-integrations__tile.has-logo.is-soft { background: linear-gradient(180deg, #d7d4e2 0%, #9e98b4 100%); }
.hn-integrations__tile.has-logo.is-edge { opacity: 1; }
.hn-integrations__tile.has-logo:hover { transform: translateY(-4px); }
.hn-page .hn-integrations__tile img { width: 46%; height: 46%; object-fit: contain; }

/* ==========================================================================
   Security
   ========================================================================== */

.hn-security {
  background: radial-gradient(50% 55% at 50% 70%, rgba(150, 40, 170, 0.35) 0%, rgba(13, 10, 38, 0) 75%);
}
.hn-security .hn-head { margin-bottom: 40px; }

.hn-security__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Badge PNGs come on square white backgrounds; show them as round seals like the design. */
.hn-security__badge {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.hn-page .hn-security__badge img { width: 100%; height: 100%; object-fit: contain; }

/* ==========================================================================
   Video testimonials
   ========================================================================== */

.hn-videos .hn-head { margin-bottom: 44px; }
.hn-videos__swiper { padding: 14px 4px 4px; }

.hn-video.swiper-slide { height: auto; transition: transform .3s ease; }

.hn-video__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 13;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #4b2196 0%, #8a2f8f 55%, #c9642f 100%);
}
.hn-video__frame::after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}
.hn-page .hn-video__player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hn-video__chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 11px;
}
.hn-video__cc { font-weight: 700; font-size: 9px; padding: 1px 3px; border: 1px solid #fff; border-radius: 3px; }
.hn-video__duration { left: auto; right: 12px; }

.hn-page .hn-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}
.hn-page .hn-video__play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 53%;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #120d33;
  transform: translate(-50%, -50%);
}
.hn-page .hn-video__play:hover { transform: translate(-50%, -50%) scale(1.08); }
.hn-page .hn-video__play:disabled { cursor: default; }
.hn-video.is-playing .hn-video__play,
.hn-video.is-playing .hn-video__quote,
.hn-video.is-playing .hn-video__frame::after { opacity: 0; }

.hn-page .hn-video__quote {
  position: absolute;
  right: 16px;
  bottom: 26px;
  left: 16px;
  z-index: 2;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  transition: opacity .2s ease;
}

.hn-video__progress {
  position: absolute;
  right: 16px;
  bottom: 12px;
  left: 16px;
  z-index: 2;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
}
.hn-video__progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--hn-grad); }
.hn-video.is-active .hn-video__progress,
.hn-video.is-playing .hn-video__progress { opacity: 1; }

.hn-video__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.hn-video__logo {
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  height: 30px;
  padding: 3px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}
.hn-page .hn-video__logo img { max-height: 22px; width: auto; }
.hn-video__name { display: block; font-size: 13px; font-weight: 600; }
.hn-video__role { display: block; color: var(--hn-muted); font-size: 11px; }

/* The slide being played (or the first one by default) is slightly larger. */
.hn-video.is-active .hn-video__frame { border-color: var(--hn-pink); box-shadow: 0 0 0 1px rgba(236, 75, 165, .35), 0 18px 40px rgba(236, 75, 165, .25); }
@media (min-width: 992px) {
  .hn-page .hn-video.swiper-slide { transform: scale(.9); transform-origin: center top; }
  .hn-page .hn-video.swiper-slide.is-active { transform: scale(1); }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.hn-contact { padding-top: 60px; }

.hn-contact__box {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 56px;
  border: 1px solid rgba(140, 100, 255, 0.25);
  border-radius: 24px;
  background: linear-gradient(135deg, #3a1d8a 0%, #2a1663 45%, #1a1046 100%);
}

.hn-page .hn-contact__title { font-size: 40px; font-weight: 700; line-height: 1.15; }
.hn-page .hn-contact__text { margin-top: 18px; color: #cfcbe6; font-size: 16px; line-height: 1.6; }

.hn-contact__bullets { margin: 22px 0 0; padding: 0; list-style: none; }
.hn-contact__bullets li { position: relative; margin-top: 8px; padding-left: 26px; font-size: 15px; font-weight: 500; }
.hn-contact__bullets li::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 2px;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg);
}

.hn-contact__form {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(13, 10, 38, 0.75);
}

/* Ninja Forms (form markup comes from the plugin) */
.hn-contact__form .nf-form-fields-required,
.hn-contact__form .nf-form-title { display: none; }
.hn-contact__form nf-fields-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.hn-contact__form nf-field:nth-last-child(-n+2) { grid-column: 1 / -1; }
.hn-contact__form .nf-field-container { margin: 0 !important; }
.hn-contact__form .nf-field-label { margin: 0 0 6px !important; }
.hn-contact__form .nf-field-label label { color: #d9d6ee; font-size: 12px; font-weight: 500; }
.hn-contact__form .ninja-forms-req-symbol { color: var(--hn-pink); }

.hn-contact__form .nf-field-element input:not([type='submit']):not([type='button']),
.hn-contact__form .nf-field-element textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 13px;
  transition: border-color .2s ease;
}
.hn-contact__form .nf-field-element textarea { height: 82px; padding: 10px 12px; resize: vertical; }
.hn-contact__form .nf-field-element input::placeholder,
.hn-contact__form .nf-field-element textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.hn-contact__form .nf-field-element input:focus,
.hn-contact__form .nf-field-element textarea:focus { outline: none; border-color: var(--hn-pink); }

.hn-contact__form .nf-field-element input[type='submit'],
.hn-contact__form .nf-field-element input[type='button'] {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--hn-grad);
  box-shadow: 0 8px 26px rgba(236, 75, 165, 0.35);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease;
}
.hn-contact__form .nf-field-element input[type='button']:hover { transform: translateY(-2px); }

.hn-contact__form .nf-error-msg,
.hn-contact__form .nf-error .nf-error-msg { color: #ff8fb8; font-size: 12px; }
.hn-contact__form .nf-error .ninja-forms-field { border-color: #ff6b9d !important; }
.hn-contact__form .nf-response-msg { color: #fff; font-size: 16px; }

/* ==========================================================================
   Scroll reveal (enabled by home-new.js)
   ========================================================================== */

.hn-js .hn-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.hn-js .hn-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hn-page *,
  .hn-page *::before,
  .hn-page *::after { animation: none !important; transition: none !important; }
  .hn-js .hn-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
  .hn-page .hn-hero__title { font-size: 50px; }
  .hn-page .hn-title { font-size: 38px; }
  .hn-story.swiper-slide { width: 92%; }
}

@media (max-width: 991px) {
  .hn-section { padding: 80px 0; }
  .hn-hero { padding: 70px 0 50px; }
  .hn-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hn-page .hn-hero__text { margin-left: auto; margin-right: auto; }
  .hn-hero__buttons { justify-content: center; }
  .hn-hero__visual { min-height: 0; aspect-ratio: 16 / 10; }
  .hn-hero__swirl { width: 520px; right: -220px; top: -120px; }

  .hn-solutions__grid { grid-template-columns: 1fr; }
  .hn-usecases__grid { grid-template-columns: 1fr 1fr; }
  .hn-how__steps { grid-template-columns: 1fr 1fr; }

  .hn-story.swiper-slide { grid-template-columns: 1fr; width: 100%; }
  .hn-integrations__grid { --hn-cols: 9; gap: 8px; }
  .hn-integrations__tile { border-radius: 12px; }

  .hn-contact__box { grid-template-columns: 1fr; padding: 36px 28px; }
}

@media (max-width: 767px) {
  .hn-container { padding: 0 16px; }
  .hn-section { padding: 64px 0; }
  .hn-head { margin-bottom: 36px; }
  .hn-page .hn-hero__title { font-size: 38px; }
  .hn-page .hn-hero__text { font-size: 16px; }
  .hn-page .hn-title { font-size: 30px; }
  .hn-page .hn-intro { font-size: 15.5px; }
  .hn-page .hn-btn { white-space: normal; text-align: center; }

  .hn-solutions__card { padding: 0 20px 30px; }
  .hn-page .hn-solutions__title { font-size: 23px; }

  .hn-usecases__grid { grid-template-columns: 1fr; }
  .hn-how__steps { grid-template-columns: 1fr; gap: 20px; }

  .hn-story.swiper-slide { padding: 24px 20px; gap: 24px; }
  .hn-page .hn-story__title { font-size: 24px; }
  .hn-page .hn-story__text { font-size: 16px; }

  .hn-cta__box { flex-direction: column; align-items: flex-start; padding: 24px 20px; }

  .hn-integrations__grid { gap: 6px; }
  .hn-integrations__tile { border-radius: 8px; }
  .hn-integrations__tile:not(.has-logo) { visibility: hidden; }

  .hn-security__badge { width: 84px; height: 84px; }

  .hn-contact__box { padding: 28px 18px; border-radius: 18px; }
  .hn-page .hn-contact__title { font-size: 30px; }
  .hn-contact__form { padding: 16px; }
  .hn-contact__form nf-fields-wrap { grid-template-columns: 1fr; }
}
