/* ==========================================================================
   Invigil – new landing page (scoped to body.ivx). Plain CSS, no frameworks.
   Motion patterns adapted from Adhav Creative Studio.
   ========================================================================== */

:root {
    /* Brand core */
    --primary: #5B34D6;
    --deep: #3F2397;
    --indigo: #6A4DFF;
    --lavender: #EDE7FF;
    --white: #FFFFFF;
    /* Neutrals */
    --bg: #FAFAFD;
    --surface: #FFFFFF;
    --alt: #F5F3FB;
    --border: #E4DDF5;
    --shadow-tint: #D8CFF3;
    /* Text */
    --heading: #1E1745;
    --body: #4F4A68;
    --muted: #7C7890;
    --link: #5B34D6;
    /* Footer */
    --ft-bg: #2B145F;
    --ft-text: #D9D2F3;
    --ft-text-2: #B9AFDE;
    --ft-divider: rgba(255,255,255,.14);
    --ft-hover: #A98CFF;
    /* Functional */
    --icon-bg: #F1EBFF;
    --success: #4CAF84;
    /* Gradients */
    --g-hero: linear-gradient(135deg, #2D146C 0%, #5B34D6 55%, #8B5CFF 100%);
    --g-cta: linear-gradient(90deg, #5B34D6, #7A5AF8);
    --g-glow: linear-gradient(90deg, #A98CFF, #E3D8FF);
    --g-wave: linear-gradient(90deg, #F3EEFF, #E8DEFF);

    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.7, 0, .2, 1);
    --radius: 20px;
    --hd-h: 76px;
}

/* ---------- Base ---------- */
.ivx, .ivx * , .ivx *::before, .ivx *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.ivx {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; overflow-x: clip;  /* clip keeps position: sticky working */
}
.ivx img { max-width: 100%; display: block; }
.ivx a { color: var(--link); text-decoration: none; }
.ivx :where(h1, h2, h3, h4) { color: var(--heading); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
.ivx :where(p) { margin: 0; }
.ivx :where(ul) { list-style: none; margin: 0; padding: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- Progress bar ---------- */
#progress {
    position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
    background: var(--g-glow); transform: scaleX(0); transform-origin: left;
}

/* ---------- Header ---------- */
.hd {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hd-h);
    display: flex; align-items: center;
    transition: height .5s var(--ease-io), background .5s, box-shadow .5s, backdrop-filter .5s;
}
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; transition: filter .4s, height .5s var(--ease-io); filter: brightness(0) invert(1); }
.nav ul { display: flex; align-items: center; gap: 6px; }
.nav a {
    position: relative; display: block; padding: 8px 14px; border-radius: 10px;
    color: rgba(255,255,255,.9); font-weight: 600; font-size: 15px; transition: color .3s;
}
/* outline-draw hover: a border draws around the link (Adhav link effect) */
.nav a::after {
    content: ""; position: absolute; inset: 0; border-radius: 10px;
    border: 1px solid currentColor; opacity: .55;
    clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--ease-io);
}
.nav a:hover::after, .nav a:focus-visible::after { clip-path: inset(0); }
.nav a.nav-cta::after { display: none; }
/* active page: the hover outline stays drawn */
.nav a.active { color: #fff; }
.nav a.active::after { clip-path: inset(0); opacity: .9; }
.nav a.nav-cta.active { box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.nav a.nav-cta { background: #fff; color: var(--primary); margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--lavender); color: var(--primary); }

.hd.is-scrolled {
    height: 62px; background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border), 0 8px 24px -12px rgba(63,35,151,.18);
}
.hd.is-scrolled .brand img { filter: none; height: 34px; }
.hd.is-scrolled .nav a { color: var(--heading); }
.hd.is-scrolled .nav a.active { color: var(--primary); }
.hd.is-scrolled .nav a.nav-cta.active { color: #fff; box-shadow: 0 0 0 3px rgba(91,52,214,.25); }
.hd.is-scrolled .nav a.nav-cta { background: var(--primary); color: #fff; }
.hd.is-scrolled .nav a.nav-cta:hover { background: var(--deep); color: #fff; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 120; }
.burger span {
    position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px;
    transition: transform .5s var(--ease-io), background .3s;
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.hd.is-scrolled .burger span { background: var(--heading); }
.hd.menu-open .burger span { background: #fff; }
.hd.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.hd.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Buttons ---------- */
/* One button system: same size, radius and weight everywhere, no borders.
   Hover = a coloured fill that slides in from the left. Variants only change colours:
   primary (solid purple), soft (lavender), light (white, on dark), ghost (translucent, hero). */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 12px; border: 0; cursor: pointer;
    font: 600 15px/1.2 'Poppins', 'Segoe UI', sans-serif; text-decoration: none;
    transition: color .45s var(--ease-io), transform .3s, box-shadow .3s;
}
.btn::before {  /* sliding background */
    content: ""; position: absolute; inset: 0; z-index: -1;
    transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-io);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid #A98CFF; outline-offset: 3px; }
.btn span { display: inline-block; transition: transform .3s var(--ease-io); }
.btn:hover span { transform: translateX(4px); }

.btn-primary { background: var(--primary); color: #fff !important; box-shadow: 0 10px 24px -12px rgba(91,52,214,.8); }
.btn-primary::before { background: var(--deep); }

.btn-soft { background: var(--lavender); color: var(--primary) !important; }
.btn-soft::before { background: var(--primary); }
.btn-soft:hover { color: #fff !important; }

.btn-light { background: #fff; color: var(--primary) !important; box-shadow: 0 12px 30px -14px rgba(20,8,60,.5); }
.btn-light::before { background: var(--lavender); }

.btn-ghost { background: rgba(255,255,255,.16); color: #fff !important; }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: var(--primary) !important; }

/* On the dark hero the primary button flips to white so it keeps contrast */
.hero .btn-primary { background: #fff; color: var(--primary) !important; box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.hero .btn-primary::before { background: var(--lavender); }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; background: var(--g-hero); overflow: hidden;
    padding: calc(var(--hd-h) + 72px) 0 calc(var(--wave-h) + 30px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.o1 { width: 460px; height: 460px; background: #8B5CFF; top: -140px; right: -80px; animation: float 14s ease-in-out infinite; }
.o2 { width: 360px; height: 360px; background: #6A4DFF; bottom: 40px; left: -120px; animation: float 17s ease-in-out infinite reverse; }
/* Banner wave. To go back to the old plain wave, point --wave-img at Images/banner-wave-old.svg */
:root { --wave-img: url("Images/banner-wave.svg"); --wave-h: clamp(120px, 13.9vw, 280px); }
.hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--wave-h); pointer-events: none; z-index: 1;
    background: var(--wave-img) center bottom / 100% 100% no-repeat;
}
@keyframes float { 50% { transform: translate3d(30px, 24px, 0) scale(1.06); } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 14px;
}
.hero .eyebrow { color: #D9CCFF; background: rgba(255,255,255,.12); padding: 7px 14px; border-radius: 999px; letter-spacing: .08em; }
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 62px); font-weight: 800; margin: 6px 0 22px; }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: #E7DEFF; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-media { position: relative; }
.hero-frame {
    border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4;
    box-shadow: 0 40px 80px -30px rgba(15,5,50,.7), 0 0 0 1px rgba(255,255,255,.18);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
/* frosted-glass info cards over the hero photo */
.chip {
    position: absolute; display: flex; align-items: center; gap: 14px; z-index: 2;
    color: #fff; font-weight: 600; font-size: 15px; line-height: 1.3;
    padding: 16px 22px 16px 18px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.08));
    border: 1px solid rgba(255,255,255,.55);
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 20px 40px -18px rgba(20,8,60,.6), inset 0 1px 0 rgba(255,255,255,.35);
    animation: bob 6s ease-in-out infinite;
}
.chip svg { flex: none; width: 44px; height: 44px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip ul { list-style: none; margin: 0; padding: 0; }
.chip ul li::before { content: "\2022"; margin-right: 8px; }
.chip b { display: block; font-weight: 700; }
.chip .live {
    position: absolute; top: 12px; right: 14px; width: 11px; height: 11px; border-radius: 50%;
    background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.28); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }
.chip-a { left: -44px; top: 10%; padding-right: 40px; }
.chip-b { right: -22px; top: 44%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translate3d(0, -10px, 0); } }

/* ---------- Sections ---------- */
.sec { padding: 96px 0; }
.sec-tight { padding: 28px 0; }
.sec-what { 
/*    background: radial-gradient(ellipse 60% 50% at 50% 0%, #F3EEFF 0%, rgba(243,238,255,0) 70%), 
        var(--bg); */
    padding-bottom: 56px; }
.sec-head { max-width: 800px; margin: 0 auto 52px; text-align: center; }
.pill {
    display: inline-block; background: var(--lavender); color: var(--primary);
    font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.sec-head h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin-bottom: 18px; }
.ivx em { font-style: normal; color: var(--primary); }
.sec-head p { font-size: 17px; max-width: 700px; margin-inline: auto; }

/* feature row: no card borders, vertical dividers, gradient icon tiles */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); }
.feat { text-align: center; padding: 6px 28px; position: relative; }
.feat + .feat::before {
    content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
.tile {
    width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px; display: grid; place-items: center;
    background: linear-gradient(145deg, #F4EFFF, #E4DAFF);
    box-shadow: 0 14px 26px -14px rgba(91,52,214,.55), inset 0 0 0 1px rgba(255,255,255,.9);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.tile img { width: 30px; height: 30px; object-fit: contain; }
.feat:hover .tile { transform: translateY(-6px) rotate(-4deg); box-shadow: 0 22px 32px -16px rgba(91,52,214,.6), inset 0 0 0 1px #fff; }
.feat h3 { font-size: 19px; margin-bottom: 8px; }
.feat p { font-size: 15px; color: var(--muted); max-width: 230px; margin-inline: auto; }

/* platform panel */
.plat {
    display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 12px; align-items: center;
    padding: 40px 32px; border-radius: 32px; border: 1px solid var(--border);
    background: linear-gradient(120deg, #F3EEFF 0%, #FBF9FF 55%, #EFE8FF 100%);
    box-shadow: 0 30px 60px -40px rgba(91,52,214,.35);
}
.label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.plat-text h2 { font-size: clamp(26px, 2.5vw, 34px); font-weight: 800; margin-bottom: 16px; }
.plat-text p { font-size: 16px; margin-bottom: 26px; }
.plat-media { position: relative; }
.plat-media::before {
    content: ""; position: absolute; inset: 14% 6% 6%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(139,92,255,.35), transparent); filter: blur(24px);
}
.laptop { position: relative; width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(63,35,151,.28)); animation: bob 7s ease-in-out infinite; }
.plat-side { display: grid; gap: 16px; }
.plat-side .label { margin-bottom: 0; }
.sol {
    display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border);
    border-radius: 16px; padding: 18px 18px; color: inherit !important;
    box-shadow: 0 16px 30px -24px rgba(91,52,214,.5);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .3s;
}
.sol:hover { transform: translateX(6px); border-color: #CDBDF4; box-shadow: 0 22px 36px -22px rgba(91,52,214,.55); }
.sol-ico { flex: none; color: var(--primary); width: 38px; height: 38px; }
.sol h3 { font-size: 16px; margin-bottom: 4px; }
.sol p { font-size: 13px; line-height: 1.5; color: var(--body); }
.go {
    flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--lavender); color: var(--primary);
    display: grid; place-items: center; font-size: 15px; transition: background .3s, color .3s, transform .4s var(--ease-io);
}
.sol:hover .go { background: var(--primary); color: #fff; transform: translateX(3px); }

/* who we are / partnership */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel {
    display: flex; gap: 30px; align-items: center; padding: 36px 36px; border-radius: 26px;
    background: linear-gradient(135deg, #fff 55%, #F6F1FF); border: 1px solid var(--border);
    box-shadow: 0 24px 44px -34px rgba(91,52,214,.4);
}
.panel-art {
    flex: none; width: 150px; height: 150px; display: grid; place-items: center; border-radius: 30px;
    background: linear-gradient(145deg, #F4EFFF, #E4DAFF); color: var(--primary); padding: 22px;
}
.panel-art.round { border-radius: 50%; width: 112px; height: 112px; padding: 0; background: var(--icon-bg); }
.panel-art img { width: 100%; height: auto; }
.panel h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.panel p { font-size: 15px; margin-bottom: 14px; }
.panel-art { align-self: center; }
/* body fills the card height so both "Learn More" links sit on the same bottom line */
.panel-body { min-width: 0; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
.panel-body .btn { margin-top: auto; }
.panel p { margin-bottom: 22px; }
.partner-logo { height: 40px; width: 260px; max-width: 100%; object-fit: cover; object-position: left top; margin: 0 0 22px; }

/* ---------- Closing call-to-action band ---------- */
.cta-band { padding: 56px 0 24px; }
.cta-in {
    background: var(--g-cta); border-radius: 32px; padding: 56px 60px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    box-shadow: 0 36px 70px -34px rgba(91,52,214,.8);
}
.cta-in h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-bottom: 8px; }
.cta-in p { color: #EDE7FF; font-size: 16px; }
@media (max-width: 700px) { .cta-in { flex-direction: column; align-items: flex-start; padding: 40px 28px; } }

/* ---------- Footer ---------- */
.ft { background: linear-gradient(180deg, #34187A 0%, #2B145F 100%); color: var(--ft-text); position: relative; padding: 72px 0 0; margin-top: 72px; }
.ft-top { position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, #4B25A8, #6B40E6, #A98CFF); }
.ft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 56px; }
.ft-logo { height: 42px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.ft-brand p { color: var(--ft-text-2); max-width: 300px; font-size: 15px; }
.ft h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0; }
.ft ul li { margin-bottom: 9px; font-size: 15px; }
.ft p { color: var(--ft-text); font-size: 15px; line-height: 1.7; }
.ft a { color: var(--ft-text); transition: color .3s; }
.ft a:hover { color: var(--ft-hover); }
.ft-contact li { display: flex; gap: 12px; align-items: flex-start; }
.ft-contact svg { flex: none; width: 18px; height: 18px; margin-top: 4px; stroke: var(--ft-hover); fill: none; }
.ft-bottom { margin-top: 44px; padding: 22px 0 28px; border-top: 1px solid var(--ft-divider); font-size: 14px; color: var(--ft-text-2); }

/* ==========================================================================
   Reveal animations (hidden state only applies while html.js is set)
   ========================================================================== */
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 46px, 0); } }
@keyframes line-up { from { transform: translate3d(0, 118%, 0) rotate(4deg); } }
@keyframes slide-in { from { opacity: 0; transform: translate3d(-34px, 18px, 0); } }
@keyframes hero-img { from { opacity: 0; transform: scale(1.22); } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } }

.ln { display: block; overflow: hidden; padding-bottom: .08em; }
.ln-i { display: block; transform-origin: 0 100%; }

.js [data-anim=fade]:not(.in), .js [data-anim=stagger]:not(.in) > * { opacity: 0; }
.js [data-anim=lines]:not(.in) .ln-i { transform: translate3d(0, 118%, 0) rotate(4deg); }
.js [data-anim=fade].in { animation: fade-up 1.3s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 1s); }
.js [data-anim=lines].in .ln-i { animation: line-up 1.3s var(--ease) backwards; animation-delay: calc(var(--i, 0) * .1s + .05s); }
.js [data-anim=stagger].in > * { animation: slide-in 1.1s var(--ease) backwards; animation-delay: calc(var(--i, 0) * .08s + .05s); }

.js #heroImg { animation: hero-img 2.2s var(--ease) .15s backwards; }
.js .hero-media .chip { animation: pop .9s var(--ease) 1.2s backwards, bob 6s ease-in-out 2.1s infinite; }

/* scroll-linked hero (set from JS via --hp: 0..1) */
.hero-text { transform: translate3d(0, calc(var(--hp, 0) * -60px), 0); opacity: calc(1 - var(--hp, 0) * 1.1); }
.hero-frame { transform: translate3d(0, calc(var(--hp, 0) * -30px), 0) scale(calc(1 + var(--hp, 0) * .06)); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .plat { grid-template-columns: 1fr 1fr; }
    .plat-media { grid-row: 1; grid-column: 2; }
    .plat-text { grid-row: 1; grid-column: 1; }
    .plat-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .plat-side .label { grid-column: 1 / -1; }
    .duo { grid-template-columns: 1fr; }
}
@media (max-width: 1020px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .chip-a { left: 12px; }
    .chip-b { right: 12px; }
    .feats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .feat:nth-child(3)::before { display: none; }
    .ft-grid { grid-template-columns: 1fr 1fr; }
    .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .burger { display: block; }
    .nav {
        position: fixed; inset: 0; z-index: 110; background: var(--ft-bg);
        display: flex; align-items: center; justify-content: center;
        clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); pointer-events: none;
    }
    .hd.menu-open .nav { clip-path: inset(0); pointer-events: auto; }
    .nav ul { flex-direction: column; gap: 10px; }
    .nav a, .hd.is-scrolled .nav a { color: #fff; font-size: 24px; padding: 10px 20px; }
    .hd.is-scrolled .nav a.active { color: #fff; }
    .hd.is-scrolled .nav a.nav-cta.active { color: var(--primary); }
    .nav a.nav-cta, .hd.is-scrolled .nav a.nav-cta { margin: 14px 0 0; background: #fff; color: var(--primary); }
    .plat { grid-template-columns: 1fr; padding: 32px 22px; }
    .plat-media, .plat-text { grid-column: 1; grid-row: auto; }
    .plat-side { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .sec { padding: 64px 0; }
    .hero { padding: calc(var(--hd-h) + 40px) 0 calc(var(--wave-h) + 24px); }
    .feats { grid-template-columns: 1fr; }
    .feat + .feat::before { display: none; }
    .panel { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
    .ft-grid { grid-template-columns: 1fr; }
    .chip { font-size: 12px; padding: 10px 14px; gap: 10px; border-radius: 16px; } .chip svg { width: 30px; height: 30px; } .chip-a { padding-right: 28px; }
}


/* ==========================================================================
   Additions: capability sections (modes, AI security, review, support, flow)
   ========================================================================== */
.hero-ticks { display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; gap: 10px 32px; margin-top: 36px; list-style: none; padding: 0; }
.hero-ticks li { position: relative; padding-left: 26px; font-size: 13px; white-space: nowrap; font-weight: 500; color: #E7DEFF; }
.hero-ticks li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.7);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.500l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* intro tiles are links now */
.ivx a.feat { color: inherit; display: block; }
.tile svg { width: 28px; height: 28px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sol-ico { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-bottom: 16px; }
.split-text p { font-size: 17px; margin-bottom: 22px; }
.center { text-align: center; margin-top: 34px; }
.small-note { max-width: 820px; margin: 40px auto 0; text-align: center; font-size: 13px; color: var(--muted); }

/* checklists */
.checks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--icon-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.500l3 3 6-7' fill='none' stroke='%235B34D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.checks.two { grid-template-columns: 1fr 1fr; gap: 10px 22px; }

/* two big mode cards */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode {
    background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 40px;
    box-shadow: 0 1px 2px rgba(63,35,151,.05), 0 24px 44px -30px rgba(91,52,214,.35);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .3s;
}
.mode:hover { transform: translateY(-6px); border-color: #CDBDF4; box-shadow: 0 30px 54px -28px rgba(91,52,214,.45); }
.mode-ico {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; color: #fff;
    background: linear-gradient(135deg, #7A5AF8, #4A27BF); box-shadow: 0 12px 22px -10px rgba(91,52,214,.7);
}
.mode-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mode h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.mode > p { font-size: 16px; margin-bottom: 20px; }

/* AI security bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bcard {
    grid-column: span 2; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px;
    box-shadow: 0 1px 2px rgba(63,35,151,.05), 0 12px 32px -18px rgba(63,35,151,.2);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .3s;
}
.bcard:hover { transform: translateY(-5px); border-color: #CDBDF4; box-shadow: 0 24px 44px -22px rgba(91,52,214,.35); }
.bcard h3 { font-size: 18px; margin: 0 0 8px; }
.bcard p { font-size: 15px; color: var(--body); }
.b-ico {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff;
    background: linear-gradient(135deg, #7A5AF8, #4A27BF); box-shadow: 0 10px 20px -8px rgba(91,52,214,.6);
}
.b-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bcard.spot {
    grid-column: 1 / -1; color: #fff; border: 0; padding: 40px;
    background: radial-gradient(60% 90% at 90% 0%, rgba(139,92,255,.55), transparent 70%), var(--g-hero);
    box-shadow: 0 34px 64px -34px rgba(63,35,151,.8);
}
.bcard.spot h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; max-width: 640px; margin: 14px 0 12px; }
.bcard.spot p { color: #E7DEFF; max-width: 640px; font-size: 16px; }
.bcard.spot .fine { margin-top: 18px; font-size: 13px; color: #CDBDF4; }
.badge {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
}
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.steps li {
    display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 14px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); font-weight: 600; font-size: 15px;
}
.steps b {
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--primary); font-size: 14px;
}

/* illustrative app windows (replace with real screenshots) */
.win {
    background: #fff; border-radius: 22px; padding: 8px; border: 1px solid var(--border);
    box-shadow: 0 40px 70px -34px rgba(63,35,151,.45);
}
.win-top { display: flex; align-items: center; gap: 7px; padding: 12px 14px; font-size: 13px; color: var(--heading); }
.win-top i { width: 10px; height: 10px; border-radius: 50%; background: #D8CFF3; }
.win-top strong { margin-left: 8px; font-weight: 700; }
.win-tag { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--primary); background: var(--lavender); padding: 4px 10px; border-radius: 999px; }
.win-body { background: linear-gradient(160deg, #F6F2FF, #EEE7FF); border-radius: 16px; padding: 20px; }
.streams { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 10px; }
.stream {
    aspect-ratio: 1000 / 560; border-radius: 12px; display: flex; align-items: flex-end; padding: 8px 10px;
    background: linear-gradient(145deg, #3F2397, #6A4DFF); color: #fff; font-size: 12px; font-weight: 600;
}
.stream { position: relative; overflow: hidden; }
.stream img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stream:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: auto; }
.stream:nth-child(3) img { object-fit: contain; }
.stream span { position: relative; z-index: 1; padding: 4px 10px; border-radius: 6px; background: rgba(24,8,70,.92); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
a.stream, a.stream:hover, a.stream:focus { color: #fff; }
.stream:nth-child(3) { align-items: flex-start; justify-content: center; }
.stream:nth-child(3) span { margin-top: 8px; }
.stream:nth-child(2) { background: linear-gradient(145deg, #2D146C, #5B34D6); }
.stream:nth-child(3) { background: linear-gradient(145deg, #4B25A8, #8B5CFF); }
.scrub { position: relative; height: 6px; margin: 20px 4px 18px; border-radius: 6px; background: #D8CFF3; }
.scrub i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 6px; background: var(--primary); }
.scrub b { position: absolute; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #F4512C; transform: translateX(-50%); }
.win-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.win-rows span { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--heading); }
.cap { text-align: center; font-size: 12px; color: var(--muted); padding: 10px 0 4px; }
.chat .win-body { display: grid; gap: 12px; }
.msg {
    max-width: 82%; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--border);
    font-size: 14px; color: var(--heading);
}
.msg.reply { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--primary); border-color: var(--primary); color: #fff; }

/* integration flow */

@media (max-width: 1100px) {
    .split, .modes { grid-template-columns: 1fr; gap: 36px; }
    .bcard { grid-column: span 3; }
}
@media (max-width: 600px) {
    .mode { padding: 28px 22px; }
    .bcard { grid-column: 1 / -1; }
    .bcard.spot { padding: 28px 22px; }
    .checks.two { grid-template-columns: 1fr; }
}
.bcard:nth-child(n+5) { grid-column: span 3; }
.win { overflow: hidden; }
.stream { min-width: 0; }
.win-body { min-width: 0; }
@media (max-width: 1100px) { .bcard:nth-child(n+5) { grid-column: span 3; } }
@media (max-width: 600px) { .bcard:nth-child(n+5) { grid-column: 1 / -1; } }


/* ==========================================================================
   Connected exam journey (integrations). Ported from the DigitalDesk design file,
   classes prefixed jr- so nothing collides with the rest of the page.
   ========================================================================== */
.jr {
    max-width: 1700px; min-height: 610px; margin: 0 auto; position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(340px, 38%) minmax(0, 62%);
    background:
        radial-gradient(ellipse 620px 400px at 76% 50%, #ece8ff 0%, rgba(236,232,255,0) 76%),
        linear-gradient(130deg, #fff 0%, #fcfbff 55%, #f7f5ff 100%);
    border-block: 1px solid #f0eefa;
}
.jr::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
    background-image: radial-gradient(#5e48a0 .65px, transparent .65px); background-size: 23px 23px;
    -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 55%); mask-image: linear-gradient(90deg, transparent 20%, #000 55%);
}
/*.jr::after {
    content: ""; position: absolute; width: 500px; height: 500px; right: -260px; bottom: -360px; pointer-events: none;
    border: 1px solid #dcd4ff; border-radius: 50%; box-shadow: 0 0 0 70px #f6f3ff6b, 0 0 0 140px #f3efff50;
}*/
.jr-intro { z-index: 2; position: relative; padding: 80px 10px 57px clamp(42px, 5vw, 100px); display: flex; flex-direction: column; align-items: flex-start; }
.jr-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; border: 1px solid #e9e5fc; border-radius: 100px; padding: 9px 14px;
    background: #ffffffb9; color: #6045cd; font-size: 11px; font-weight: 800; letter-spacing: 1.25px; text-transform: uppercase;
}
.jr-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #754cf2; box-shadow: 0 0 0 4px #eee8ff; }
.jr-h2 { margin: 27px 0 19px; font-size: clamp(36px, 3.4vw, 56px); max-width: 560px; letter-spacing: -.04em; line-height: 1.1; font-weight: 800; color: #1b1947; }
.jr-h2 span { background: linear-gradient(105deg, #5a33eb 15%, #9265f8 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jr-desc { font-size: 16px; line-height: 1.8; max-width: 430px; color: #79758e; }
.jr-actions { margin-top: 33px; }
.jr-trail { display: flex; align-items: center; gap: 11px; margin-top: 32px; color: #9994ad; font-weight: 600; font-size: 12px; letter-spacing: .3px; }
.jr-line { width: 26px; height: 1px; background: #cbc3ed; }

.jr-map { position: relative; min-height: 610px; isolation: isolate; }
.jr-glow { position: absolute; left: 30%; top: 13%; width: 45%; height: 75%; background: radial-gradient(ellipse, #ddd3ff9c 0%, transparent 65%); filter: blur(34px); z-index: -1; }
.jr-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.jr-route .base { fill: none; stroke: #e4def9; stroke-width: 15; stroke-linecap: round; }
.jr-route .rail { fill: none; stroke: url(#jrRouteGradient); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 4px #8d60ff70); }
.jr-route .dashes { fill: none; stroke: #fff; stroke-width: 1; stroke-dasharray: 2 13; stroke-linecap: round; opacity: .68; }
.jr-route .marker { fill: #fff; stroke: #e0d5ff; stroke-width: 4; }
.jr-route .marker-core { fill: #7b50fb; }

.jr-stage { position: absolute; display: flex; align-items: center; flex-direction: column; text-align: center; width: 235px; transform: translateX(-50%); z-index: 1; }
.jr-station {
    position: relative; width: 86px; height: 86px; border-radius: 28px; display: grid; place-items: center; color: #7651dc;
    background: linear-gradient(155deg, #fff, #f6f3ff); border: 1px solid #e3dcfa;
    box-shadow: 0 17px 35px #4536841f, 0 2px 6px #44337a0b, inset 0 2px 2px #fff;
    transition: transform .28s, box-shadow .28s;
}
.jr-station svg { width: 33px; height: 33px; stroke-width: 1.8; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.jr-stage:hover .jr-station { transform: translateY(-7px) rotate(-3deg); box-shadow: 0 23px 40px #583eb035; }
.jr-num { font-size: 11px; color: #9b8bbb; font-weight: 800; letter-spacing: 1.5px; margin-bottom: 11px; }
.jr-title { font-size: 18px; letter-spacing: -.02em; line-height: 1.4; font-weight: 700; margin: 0 0 9px; white-space: nowrap; color: #1b1947; }
.jr-detail { font-size: 13px; line-height: 1.6; color: #858097; max-width: 216px; }
.jr-label { display: flex; flex-direction: column; align-items: center; }
.jr-stage.s1 { left: 13%; top: 40%; } .jr-stage.s1 .jr-label { padding-top: 24px; }
.jr-stage.s2 { left: 35%; top: 18%; }
.jr-stage.s2 .jr-station {
    width: 112px; height: 112px; border-radius: 34px; color: #fff; border: 4px solid #fff;
    background: linear-gradient(145deg, #9066fe 0%, #6237ea 65%, #5126cc 100%);
    box-shadow: 0 0 0 10px #e4dbffb8, 0 20px 40px #6a43e750, inset 0 1px 3px #ffffff5c;
}
.jr-stage.s2 .jr-station::after { content: ""; position: absolute; inset: -20px; border: 1px dashed #d2c5fb; border-radius: 50%; animation: jr-rotate 32s linear infinite; }
.jr-stage.s2 .jr-station svg { width: 42px; height: 42px; stroke-width: 1.65; }
.jr-mark { width: 46px; height: 46px; display: block; }
.jr-stage.s2 .jr-label { padding-top: 28px; }
.jr-stage.s2 .jr-num { color: #6c3ce9; }
.jr-stage.s2 .jr-title { color: #512dd6; font-size: 21px; }
.jr-stage.s3 { left: 63%; top: 40%; } .jr-stage.s3 .jr-label { padding-top: 24px; }
.jr-stage.s4 { left: 87%; top: 19%; } .jr-stage.s4 .jr-label { padding-top: 24px; }
.jr-orb {
    position: absolute; top: -7px; right: 58px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 100px;
    background: #fff; border: 1px solid #ece8fe; box-shadow: 0 5px 15px #3f29831a; font-size: 10px; font-weight: 800; color: #7953e6;
}
.jr-stage.s2 .jr-orb { right: 45px; top: -15px; background: #f4eeff; }
.jr-float {
    position: absolute; right: 48px; bottom: 39px; display: flex; align-items: center; gap: 8px; padding: 9px 13px;
    border: 1px solid #e9e5fa; border-radius: 100px; background: #ffffffba; color: #a39eb5;
    font-size: 11px; font-weight: 600; letter-spacing: .2px; backdrop-filter: blur(7px);
}
.jr-float i { width: 6px; height: 6px; background: #7d55e9; display: block; border-radius: 50%; }
@keyframes jr-rotate { to { transform: rotate(360deg); } }

@media (max-width: 1350px) {
    .jr { grid-template-columns: 35% 65%; }
    .jr-intro { padding-left: 40px; }
    .jr-stage { width: 210px; }
    .jr-title { font-size: 16px; }
    .jr-detail { font-size: 12px; }
    .jr-stage.s2 .jr-title { font-size: 19px; }
}
@media (max-width: 900px) {
    .jr { grid-template-columns: 1fr; }
    .jr-intro { padding: 65px 34px 26px; }
    .jr-trail { margin-top: 35px; }
    .jr-map { min-height: 560px; }
    .jr-stage { width: 190px; }
}
@media (max-width: 580px) {
    .jr { display: block; }
    .jr-intro { padding: 44px 25px 10px; }
    .jr-h2 { font-size: 38px; letter-spacing: -.03em; }
    .jr-desc { font-size: 14px; }
    .jr-map { height: 750px; min-height: unset; margin: 10px 0 25px; }
    .jr-route { display: none; }
    .jr-map::before { content: ""; position: absolute; left: 67px; top: 42px; bottom: 48px; width: 2px; background: linear-gradient(#dcd3ff, #794af4 45%, #dcd3ff); border-radius: 2px; }
    .jr-stage { left: 26px !important; transform: none; top: auto !important; width: calc(100% - 48px); height: 165px; flex-direction: row; text-align: left; gap: 19px; align-items: flex-start; }
    .jr-stage.s1 { top: 22px !important; } .jr-stage.s2 { top: 195px !important; } .jr-stage.s3 { top: 390px !important; } .jr-stage.s4 { top: 555px !important; }
    .jr-station, .jr-stage.s2 .jr-station { width: 84px; height: 84px; min-width: 84px; border-radius: 24px; }
    .jr-stage.s2 .jr-station { box-shadow: 0 0 0 5px #e4dbffb8, 0 14px 30px #6a43e745; }
    .jr-stage.s2 .jr-station::after { display: none; }
    .jr-stage.s2 .jr-station svg { width: 34px; height: 34px; }
    .jr-mark { width: 36px; height: 36px; }
    .jr-label { padding-top: 6px !important; align-items: flex-start; }
    .jr-num { margin-bottom: 7px; }
    .jr-title { white-space: normal; margin-bottom: 4px; font-size: 17px; }
    .jr-stage.s2 .jr-title { font-size: 18px; }
    .jr-detail { max-width: 220px; }
    .jr-orb, .jr-stage.s2 .jr-orb { top: -7px; right: auto; left: 57px; width: 24px; height: 24px; }
    .jr-float { display: none; }
}

/* ==========================================================================
   Inner pages (Pricing, Integration, FAQ, Support, Contact).
   Styles the existing iv-* markup in the shared design system.
   ========================================================================== */
.iv-subhero {
    position: relative; color: #fff; background: var(--g-hero); overflow: hidden;
    padding: calc(var(--hd-h) + 72px) 0 calc(var(--wave-h) + 30px);
}
.iv-subhero::before, .iv-subhero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.iv-subhero::before { width: 420px; height: 420px; background: #8B5CFF; top: -160px; right: -60px; }
.iv-subhero::after {
    width: 100%; height: var(--wave-h); left: 0; bottom: -1px; border-radius: 0; filter: none; opacity: 1; z-index: 1;
    background: var(--wave-img) center bottom / 100% 100% no-repeat;
}
.iv-shell { width: min(1200px, 100% - 48px); margin-inline: auto; position: relative; z-index: 2; }
.iv-subhero .iv-eyebrow {
    display: inline-block; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12);
    color: #D9CCFF; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.iv-subhero h1 { color: #fff; font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; max-width: 820px; letter-spacing: -.035em; }
.iv-subhero p:not(.iv-eyebrow) { margin-top: 20px; max-width: 680px; font-size: 19px; color: #E7DEFF; }

.iv-section { padding: 88px 0; }
.iv-tinted { background: var(--alt); }
.iv-section .iv-eyebrow, .iv-eyebrow.iv-purple {
    display: block; margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
}
.iv-section h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-bottom: 14px; }
.iv-section p { font-size: 16px; margin-bottom: 14px; }
.iv-section a:not(.btn) { font-weight: 600; }
.iv-section a:not(.btn):hover { color: var(--deep); }
.iv-small-note { max-width: 820px; margin-top: 30px !important; font-size: 13px !important; color: var(--muted); }

.iv-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.iv-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.iv-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 32px;
    box-shadow: 0 1px 2px rgba(63,35,151,.05), 0 20px 40px -28px rgba(91,52,214,.3);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .3s;
}
.iv-card:hover { transform: translateY(-5px); border-color: #CDBDF4; box-shadow: 0 28px 48px -26px rgba(91,52,214,.4); }
.iv-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.iv-card h2 { font-size: 28px; }
.iv-card p { font-size: 15px; }
.iv-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.iv-card li { position: relative; padding-left: 30px; font-size: 15px; }
.iv-card li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background-color: var(--icon-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.500l3 3 6-7' fill='none' stroke='%235B34D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 14px; background-position: center; background-repeat: no-repeat;
}

/* forms */
.iv-form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.iv-form-layout > div:first-child p strong { color: var(--heading); }
/* Sticky intro: stays in view while the form scrolls, then leaves with the end of the form */
.iv-form-layout > div:first-child { position: sticky; top: 120px; align-self: start; }
.iv-form-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 40px;
    box-shadow: 0 1px 2px rgba(63,35,151,.05), 0 30px 60px -36px rgba(91,52,214,.4);
}
.iv-form { display: grid; gap: 18px; }
.iv-field { display: grid; gap: 8px; }
.iv-field label { font-size: 14px; font-weight: 600; color: var(--heading); }
.iv-form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.iv-form .form-control {
    width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff;
    font: 400 15px/1.5 'Poppins', 'Segoe UI', sans-serif; color: var(--heading); box-shadow: none;
    transition: border-color .2s, box-shadow .2s;
}
.iv-form textarea.form-control { resize: vertical; min-height: 130px; }
.iv-form .form-control::placeholder { color: #A9A5BC; }
.iv-form .form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91,52,214,.15); }
.iv-form .input-validation-error { border-color: #D9455F; }
.iv-form .field-validation-error, .iv-form .validation-summary-errors { color: #C2304B; font-size: 13px; }
.iv-form .validation-summary-errors { background: #FFF1F3; border-radius: 12px; padding: 12px 16px; }
.iv-form .validation-summary-errors ul { margin: 0; padding-left: 18px; list-style: disc; }
.iv-captcha { margin-top: 4px; }
.iv-form .btn { justify-self: start; margin-top: 6px; }
.iv-success { text-align: center; padding: 28px 10px; }
.iv-success h3 { font-size: 26px; margin-bottom: 10px; color: var(--primary); }
.iv-success::before {
    content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background-color: #E3F6EC;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.500l4 4 8-9' fill='none' stroke='%234CAF84' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 32px; background-position: center; background-repeat: no-repeat;
}

/* FAQ accordion (native details/summary, no Bootstrap) */
.iv-faq-intro { margin-bottom: 64px; }
.iv-faq-db h2 { margin-bottom: 24px; }
.iv-acc { display: grid; gap: 14px; max-width: 900px; }
.iv-acc details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.iv-acc details[open] { border-color: #CDBDF4; box-shadow: 0 20px 36px -26px rgba(91,52,214,.4); }
.iv-acc summary {
    position: relative; cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 16px; color: var(--heading);
}
.iv-acc summary::-webkit-details-marker { display: none; }
.iv-acc summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
    display: grid; place-items: center; background: var(--lavender); color: var(--primary); font-size: 20px; line-height: 1;
    transition: transform .3s var(--ease-io), background .3s, color .3s;
}
.iv-acc details[open] summary::after { content: "\2212"; background: var(--primary); color: #fff; }
.iv-acc summary:focus-visible { outline: 3px solid #A98CFF; outline-offset: 2px; border-radius: 16px; }
.iv-acc .iv-acc-body { padding: 0 24px 22px; font-size: 15px; }
.iv-acc .iv-acc-body > :last-child { margin-bottom: 0; }

@media (max-width: 1000px) {
.iv-form-layout > div:first-child { position: static; }
    .iv-form-layout { grid-template-columns: 1fr; gap: 36px; }
    .iv-feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .iv-section { padding: 60px 0; }
    .iv-subhero { padding: calc(var(--hd-h) + 40px) 0 calc(var(--wave-h) + 24px); }
    .iv-grid-two, .iv-feature-grid, .iv-form-pair { grid-template-columns: 1fr; }
    .iv-form-card { padding: 26px 20px; }
    .iv-card { padding: 26px 22px; }
}

/* ---------- Scroll to top (modelled on the DigitalDesk site button) ---------- */
.to-top {
    position: fixed; right: 30px; bottom: 30px; z-index: 9999; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(120deg, #7A5AF8, var(--primary));
    box-shadow: 0 8px 22px -6px rgba(91,52,214,.65);
    opacity: 0; visibility: hidden; transform: scale(.8) translateY(20px);
    transition: opacity .4s, visibility .4s, transform .4s cubic-bezier(.68, -.55, .265, 1.55), box-shadow .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: scale(1) translateY(0); }
.to-top.show:hover { transform: scale(1.1) translateY(-5px); box-shadow: 0 12px 26px -6px rgba(91,52,214,.75); }
.to-top:focus-visible { outline: 3px solid #A98CFF; outline-offset: 3px; }
.to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .to-top { right: 18px; bottom: 18px; width: 42px; height: 42px; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ivx *, .ivx *::before, .ivx *::after { animation: none !important; transition-duration: .01s !important; }
    .js [data-anim=fade]:not(.in), .js [data-anim=stagger]:not(.in) > * { opacity: 1; }
    .js [data-anim=lines]:not(.in) .ln-i { transform: none; }
    .hero-text, .hero-frame { transform: none; opacity: 1; }
}
a.stream { cursor: zoom-in; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.stream:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -14px rgba(63,35,151,.6); }
.glightbox-clean .gslide-description { background: transparent; }
.glightbox-clean .gdesc-inner { text-align: center; }
.glightbox-clean .gslide-title { color: #fff; font-family: inherit; font-weight: 600; }
