/* InvoiceNxt page: extras on top of px.css (prefix inx-). */

/* Hero: sub and lead, then the three pillars. */
.inx-sub { margin-bottom: 16px !important; }
.inx-lead { max-width: 52ch; margin: 0 auto 32px !important; font-size: 16px; line-height: 1.7; color: var(--nxt-gray); }
.inx-three { padding-top: 96px; }
.inx-three h2 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 10px; }
.inx-three p { font-size: 15px; line-height: 1.65; color: var(--nxt-graphite); margin: 0 !important; }

/* Platform: a large closing statement under the feature. */
.inx-statement { margin: 112px 0 0 !important; max-width: 36ch; font-size: clamp(22px, 2.41vw, 31px); line-height: 1.3; letter-spacing: -0.025em; font-weight: 500; color: var(--nxt-midnight); }

/* Endorsement: one large square-cornered image, links quietly below. */
.inx-quote { display: block; }
.inx-quote img { width: 100%; transition: opacity 200ms var(--ease-out); }
.inx-quote:hover img { opacity: 0.92; }
.inx-links { margin: 16px 0 0 !important; font-size: 13px; color: var(--nxt-gray); overflow-wrap: anywhere; }
.inx-links a { color: var(--nxt-gray); }
.inx-links a:hover { color: var(--nxt-cobalt); }

/* Early payment: image on the right, landscape crop. */
.inx-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.inx-flip > img { order: 2; aspect-ratio: 4 / 3; }
.px-feature-body > .inx-early { margin-bottom: 28px !important; font-size: clamp(21px, 2.04vw, 26px); }
.inx-actions { justify-content: flex-start; margin-top: 32px; }

/* Band: copy, small label and three light pills. */

@media (max-width: 720px) {
  .inx-three { padding-top: 64px; }
  .inx-statement { margin-top: 72px !important; }
  .inx-flip { grid-template-columns: 1fr; }
  .inx-flip > img { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .inx-quote img { transition: none; }
}

/* ===== Hero: city at dusk (Pooja, 23 Oct 2026) ===== */
main:has(.inx-hero) { padding-top: 0 !important; }
.inx-hero { --hh: clamp(560px, 84vh, 860px); position: relative; height: var(--hh); overflow: hidden; background: #0d1f6b; color: #fff; isolation: isolate; }
.inx-scene { position: absolute; top: 0; right: 0; height: 100%; width: max(100%, calc(var(--hh) * 1.7768)); z-index: -2; }
.inx-scene img, .inx-lights { position: absolute; display: block; }
.inx-bg, .inx-bg-static { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inx-bg-static { display: none; }
.inx-heli { left: 51.2%; top: 7.44%; width: 13.04%; height: auto; -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 70%, transparent 100%); mask-image: radial-gradient(70% 60% at 50% 45%, #000 70%, transparent 100%); animation: inx-hover 9s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes inx-hover { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 30% { transform: translate(3px, -4px) rotate(0.4deg); } 65% { transform: translate(-3px, 2px) rotate(-0.3deg); } }
.inx-lights { inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 6px rgba(120, 170, 255, 0.95)); }
.inx-lights path { fill: none; stroke: #CFE2FF; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 100; stroke-dashoffset: 110; opacity: 0.9; animation: inx-pulse 6s linear infinite; }
.inx-lights path:nth-child(2) { animation-delay: 0.8s; } .inx-lights path:nth-child(3) { animation-delay: 1.9s; }
.inx-lights path:nth-child(4) { animation-delay: 2.6s; } .inx-lights path:nth-child(5) { animation-delay: 3.3s; }
.inx-lights path:nth-child(6) { animation-delay: 4.1s; } .inx-lights path:nth-child(7) { animation-delay: 4.7s; }
.inx-lights path:nth-child(8) { animation-delay: 1.3s; }
@keyframes inx-pulse { 0% { stroke-dashoffset: 110; opacity: 0; } 8% { opacity: 0.95; } 60% { stroke-dashoffset: 0; opacity: 0.95; } 70%, 100% { stroke-dashoffset: -10; opacity: 0; } }
/* keep the copy dominant: a soft darkening on the left */
.inx-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 18, 70, 0.72) 0%, rgba(8, 18, 70, 0.45) 38%, rgba(8, 18, 70, 0) 62%); }
.inx-hero-copy { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 120px; }
body .px .inx-hero .inx-eyebrow { margin: 0 0 18px !important; font-size: 13px !important; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #BFD6FF !important; }
body .px .inx-hero h1:not(#_) { max-width: 11.5em; margin: 0 0 20px !important; font-size: clamp(38px, 4.8vw, 64px) !important; line-height: 1.05 !important; letter-spacing: -0.03em !important; color: #fff !important; text-align: left; }
body .px .inx-hero .inx-hero-sub { max-width: 34em; margin: 0 0 32px !important; font-size: 19px !important; line-height: 1.55 !important; color: rgba(255, 255, 255, 0.88) !important; text-align: left; }
.inx-hero-actions { justify-content: flex-start !important; }
.inx-btn-white { background: #fff; color: #10164D; }
.inx-btn-white:hover { background: #E6E8F2; color: #10164D; }
.inx-btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.inx-btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.inx-pillars { padding-top: 96px !important; }
.inx-pillars .px-three { padding-top: 0; }
/* phones and reduced motion: one still image */
@media (max-width: 720px) {
  .inx-hero { --hh: 640px; height: auto; min-height: 640px; }
  .inx-scene { width: 100%; right: auto; left: 0; }
  .inx-bg, .inx-heli, .inx-lights { display: none !important; }
  .inx-bg-static { display: block; object-position: 62% 50%; }
  .inx-hero-shade { background: linear-gradient(180deg, rgba(8, 18, 70, 0.78) 0%, rgba(8, 18, 70, 0.55) 55%, rgba(8, 18, 70, 0.25) 100%); }
  .inx-hero-copy { justify-content: flex-start; padding-top: 56px; padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .inx-bg, .inx-heli, .inx-lights { display: none !important; }
  .inx-bg-static { display: block; }
}
/* Very subtle diffusion at the top: the sky fades up into the white header,
   starting a little below the top edge (Pooja, 23 Oct 2026). */
.inx-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.22) 30%, rgba(235, 240, 255, 0.08) 60%, rgba(235, 240, 255, 0) 100%); }
.inx-hero::before { z-index: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(245, 248, 255, 0.3) 28%, rgba(235, 240, 255, 0.1) 58%, rgba(235, 240, 255, 0) 100%); }
.inx-hero-copy { z-index: 1; }
/* Image starts lower; the space above fades from white into the sky. */
.inx-hero { --top: 200px; height: calc(var(--hh) + var(--top)); background: #fff; }
.inx-scene { top: var(--top); height: calc(100% - var(--top)); }
.inx-hero-shade { top: var(--top); }
.inx-hero::before { top: 0; height: calc(var(--top) + 260px); z-index: 0; background: linear-gradient(180deg, #fff 0%, #fff 34%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.45) 64%, rgba(255, 255, 255, 0.14) 82%, rgba(255, 255, 255, 0) 100%); }
.inx-hero-copy { padding-top: calc(var(--top) + 40px); }
@media (max-width: 720px) {
  .inx-hero { --top: 90px; height: auto; min-height: calc(640px + var(--top)); }
  .inx-hero::before { height: calc(var(--top) + 140px); }
  .inx-hero-copy { padding-top: calc(var(--top) + 64px); }
}
/* Seamless: the image starts under the white, and the white thins out over it. */
.inx-hero { --top: 40px; height: calc(var(--hh) + 120px); }
.inx-hero::before { height: 440px; background: linear-gradient(180deg, #fff 0px, #fff 120px, rgba(255, 255, 255, 0.88) 180px, rgba(255, 255, 255, 0.62) 240px, rgba(255, 255, 255, 0.32) 310px, rgba(255, 255, 255, 0.1) 380px, rgba(255, 255, 255, 0) 440px); }
.inx-hero-copy { padding-top: 200px; }
@media (max-width: 720px) {
  .inx-hero { --top: 20px; min-height: 720px; }
  .inx-hero::before { height: 240px; background: linear-gradient(180deg, #fff 0px, #fff 50px, rgba(255, 255, 255, 0.7) 110px, rgba(255, 255, 255, 0.25) 180px, rgba(255, 255, 255, 0) 240px); }
  .inx-hero-copy { padding-top: 150px; }
}
/* Image lower; white fades out just above the helicopter. */
.inx-hero { --top: 170px; height: calc(var(--hh) + var(--top)); }
.inx-hero::before { height: 300px; background: linear-gradient(180deg, #fff 0px, #fff 150px, rgba(255, 255, 255, 0.8) 185px, rgba(255, 255, 255, 0.5) 210px, rgba(255, 255, 255, 0.22) 240px, rgba(255, 255, 255, 0.06) 270px, rgba(255, 255, 255, 0) 300px); }
.inx-hero-copy { padding-top: calc(var(--top) + 60px); }
@media (max-width: 720px) {
  .inx-hero { --top: 70px; height: auto; min-height: calc(640px + var(--top)); }
  .inx-hero::before { height: 170px; background: linear-gradient(180deg, #fff 0px, #fff 60px, rgba(255, 255, 255, 0.65) 95px, rgba(255, 255, 255, 0.25) 135px, rgba(255, 255, 255, 0) 170px); }
  .inx-hero-copy { padding-top: calc(var(--top) + 70px); }
}
