/* ==========================================================================
   Nexo-Books landing page — custom.css
   Structure: 1. Base  2. Layout container  3. Shared palette & buttons
              4. Sections (in page order)  5. Back to top
   ========================================================================== */

/* 1. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: #161B33; font-family: 'Outfit', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: #1F6FDB; text-decoration: none; }
a:hover { color: #1656B0; }
img { user-select: none; max-width: 100%; }
button { font: inherit; }
h1, h2, p { margin: 0; }

.page-wrapper { position: relative; overflow-x: clip; width: 100%; }

/* 2. Hybrid container ------------------------------------------------------
   Small/medium: 100% width with responsive gutters.
   Large/XL: capped and centred (1660px → 1800px). Section backgrounds stay
   full-bleed because only the inner .container is capped.               */
:root { --gutter: clamp(16px, 4vw, 40px); }
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 1200px) { .container { max-width: 1660px; } }
@media (min-width: 1920px) { .container { max-width: 1800px; } }

/* 3. Shared palette (per-item accent colours) --------------------------- */
.pal-0 { --c: #1F6FDB; --t: #EAF1FF; }
.pal-1 { --c: #10A57A; --t: #E6F7F0; }
.pal-2 { --c: #E8900C; --t: #FFF3E0; }
.pal-3 { --c: #7C4DDB; --t: #F1EBFF; }
.pal-4 { --c: #E0457B; --t: #FDEBF2; }
.pal-5 { --c: #0E9FB8; --t: #E4F6F9; }
.pal-6 { --c: #4B55D8; --t: #ECEDFF; }
.pal-7 { --c: #EF6A2E; --t: #FFEEE6; }

/* Shared brand logo sprite */
.brand-logo-mark { flex: none; background-image: url(../assets/logo.png); }
.brand-word-dark { color: #22263D; }
.brand-word-blue { color: #1F6FDB; }

/* Call-to-action buttons */
.btn-live-demo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; background: #1F6FDB; transition: transform .25s, background .25s; }
.btn-live-demo:hover { transform: translateY(-2px); background: #1A62C4; color: #fff; }
.btn-live-demo-dot { width: 7px; height: 7px; border-radius: 50%; background: #34C28A; box-shadow: 0 0 0 3px rgba(52,194,138,.3); }
.btn-product-tour { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: #161B33; background: rgba(255,255,255,.7); border: 1px solid #DCE5FB; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .25s, box-shadow .25s, background .25s; }
.btn-product-tour:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 18px 32px -14px rgba(31,111,219,.55); color: #161B33; }
.btn-product-tour-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1F6FDB; box-shadow: 0 0 0 4px rgba(31,111,219,.15); padding-left: 2px; }
.btn--large.btn-product-tour { gap: 10px; font-size: 15px; padding: 9px 22px 9px 9px; border-radius: 12px; box-shadow: 0 14px 28px -12px rgba(28,62,150,.45); }
.btn--large .btn-product-tour-icon { width: 30px; height: 30px; }
.btn--small.btn-product-tour { font-size: 15px; padding: 8px 18px 8px 8px; border-radius: 11px; box-shadow: 0 8px 18px -12px rgba(28,62,150,.45); }
.btn-buy-vibe { display: inline-flex; align-items: center; font-weight: 600; color: #161B33; background: #fff; border: 1px solid #DCE5FB; transition: transform .25s, box-shadow .25s; }
.btn-buy-vibe:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(31,111,219,.55); color: #161B33; }
.btn-buy-vibe-logo { width: auto; display: block; }
.btn--small.btn-live-demo { font-size: 15px; padding: 12px 22px; border-radius: 11px; box-shadow: 0 8px 18px -10px rgba(31,111,219,.75); }
.btn--small.btn-buy-vibe { gap: 9px; font-size: 15px; padding: 11px 20px; border-radius: 11px; box-shadow: 0 8px 18px -12px rgba(28,62,150,.45); }
.btn--small .btn-buy-vibe-logo { height: 19px; }
.btn--large.btn-live-demo { font-size: 15px; padding: 14px 26px; border-radius: 12px; box-shadow: 0 14px 28px -10px rgba(31,111,219,.75); }
.btn--large.btn-buy-vibe { gap: 10px; font-size: 15px; padding: 13px 22px; border-radius: 12px; box-shadow: 0 14px 28px -12px rgba(28,62,150,.45); }
.btn--large .btn-buy-vibe-logo { height: 20px; }

/* Section eyebrow pills */
.section-eyebrow { font-size: 12px; font-weight: 600; color: #fff; background: #1F6FDB; padding: 5px 12px; border-radius: 999px; }

/* 4a. Hero section ------------------------------------------------------- */
.hero-section { padding: 0; }
.hero-panel { position: relative; overflow: hidden; border-radius: 0; min-height: clamp(700px, 100vh, 940px); background: radial-gradient(900px 480px at 50% 18%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%), linear-gradient(180deg, #E9EFFF 0%, #CFDDFF 55%, #B3C8FF 100%); }
.hero-grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000); mask-image: linear-gradient(180deg, transparent, #000 40%, #000); }
.hero-aurora-left { position: absolute; left: -10%; bottom: -30%; width: 50%; height: 80%; border-radius: 50%; background: radial-gradient(circle, rgba(47,127,234,.35), transparent 65%); filter: blur(40px); pointer-events: none; }
.hero-aurora-right { position: absolute; right: -10%; top: -20%; width: 45%; height: 70%; border-radius: 50%; background: radial-gradient(circle, rgba(140,170,255,.5), transparent 65%); filter: blur(40px); pointer-events: none; }

/* Header / navigation */
.header-section { position: relative; z-index: 20; padding-top: 18px; }
.header-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-brand { display: flex; align-items: center; gap: 9px; }
.header-brand-mark { width: 30px; height: 30px; border-radius: 8px; background-size: 346px auto; background-position: -13.5px -35px; }
.header-brand-name { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.header-menu { display: none; gap: 2px; padding: 5px; border-radius: 14px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 14px; font-weight: 500; }
.header-menu-link { color: #2A3050; padding: 8px 16px; border-radius: 10px; }
.header-menu-link:hover { background: #fff; color: #1F6FDB; }
.header-actions { display: flex; align-items: center; gap: 6px; }
@media (min-width: 1024px) { .header-menu { display: flex; } }

/* Floating hero screens */
.hero-float { position: absolute; display: none; }
.hero-float-side-left { left: -8%; top: 28%; width: clamp(330px, 32vw, 580px); z-index: 2; }
.hero-float-side-right { right: -7%; top: 24%; width: clamp(330px, 31vw, 560px); z-index: 2; }
.hero-float-bottom-left { left: 6%; bottom: -100px; width: clamp(370px, 40vw, 710px); z-index: 3; }
.hero-float-bottom-right { right: 6%; bottom: -100px; width: clamp(370px, 40vw, 710px); z-index: 3; }
@media (min-width: 760px) { .hero-float-bottom-left, .hero-float-bottom-right { display: block; } }
@media (min-width: 1180px) { .hero-float-side-left, .hero-float-side-right { display: block; } }
.hero-float-frame { padding: 6px; border-radius: 14px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -24px rgba(28,62,150,.45); }
.hero-float-frame--bottom { padding: 7px; border-radius: 16px; background: rgba(255,255,255,.6); box-shadow: 0 30px 60px -24px rgba(28,62,150,.5); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hero-float-img { display: block; width: 100%; border-radius: 9px; }
.hero-crop { position: relative; overflow: hidden; background: #fff; }
.hero-crop img { position: absolute; top: 0; max-width: none; display: block; }
.hero-crop-profit { aspect-ratio: 920/1070; border-radius: 9px; }
.hero-crop-profit img { left: -67.93%; width: 207.83%; margin-top: -25.22%; }
.hero-crop-customer { aspect-ratio: 760/400; border-radius: 10px; }
.hero-crop-customer img { left: -33.68%; width: 251.58%; margin-top: -66%; }
.hero-crop-accounts { aspect-ratio: 1144/560; border-radius: 10px; }
.hero-crop-accounts img { left: -22.38%; width: 167.13%; margin-top: -49.65%; }

/* Hero copy */
.hero-copy { position: relative; z-index: 5; max-width: 1180px; margin: 0 auto; padding: clamp(88px, 14vh, 150px) var(--gutter) 60px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-badge { font-size: 13px; font-weight: 500; color: #fff; background: linear-gradient(90deg, #2F7FEA, #1F6FDB); padding: 6px 14px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(31,111,219,.7); }
.hero-title { max-width: 1040px; font-size: clamp(38px, 5vw, 72px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; color: #161B33; text-wrap: balance; }
.hero-title-accent { color: #1F6FDB; }
.hero-subtitle { max-width: 900px; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.6; color: #454D6B; text-wrap: balance; }
.hero-mobile-shot { display: none; width: 100%; margin-top: 24px; padding: 6px; border-radius: 14px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 30px 60px -24px rgba(28,62,150,.45); }
@media (max-width: 759px) { .hero-mobile-shot { display: block; } }

/* 4b. Highlights section ------------------------------------------------ */
.highlights-section { position: relative; padding-top: clamp(48px, 6vw, 72px); background: #fff; }
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.highlight-card { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 18px; background: var(--t); border: 1px solid color-mix(in srgb, var(--c) 20%, transparent); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.highlight-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(28,40,90,.35); }
.highlight-card-glow { position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: color-mix(in srgb, var(--c) 12%, transparent); }
.highlight-card-icon { position: relative; flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 70%, transparent), var(--c)); box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--c) 67%, transparent); }
.highlight-card-body { position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.highlight-card-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: #161B33; }
.highlight-card-text { font-size: 14px; line-height: 1.5; color: #4A5270; }

/* 4c. Modules section --------------------------------------------------- */
.modules-section { position: relative; overflow: hidden; padding: clamp(56px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); background: #fff; }
.modules-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(8px, 1.5vw, 20px); }
.modules-header-left { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.modules-eyebrow { align-self: flex-start; background: linear-gradient(90deg, #1F6FDB, #7C4DDB); }
.modules-title { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
.modules-intro { max-width: 440px; font-size: 16px; line-height: 1.6; color: #5D6582; }
.modules-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: clamp(32px, 4vw, 64px); align-items: center; }

/* Orbit diagram (desktop) */
.modules-orbit { position: relative; display: none; width: 100%; max-width: 600px; aspect-ratio: 1; margin: 0 auto; }
@media (min-width: 1024px) { .modules-orbit { display: block; } }
.modules-orbit-halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(143,182,245,.35), rgba(143,182,245,0) 62%); }
.modules-orbit-ring-outer { position: absolute; inset: 9%; border-radius: 50%; border: 1.5px dashed rgba(31,111,219,.22); }
.modules-orbit-ring-inner { position: absolute; inset: 27%; border-radius: 50%; border: 1px dashed rgba(31,111,219,.18); }
.modules-orbit-line { position: absolute; left: 50%; top: 50%; width: 41%; height: 2px; margin-top: -1px; transform-origin: 0 50%; opacity: .7; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--c) 25%, transparent) 0 6px, transparent 6px 12px); transition: opacity .5s, background .5s; }
.modules-orbit-line.is-active { opacity: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 15%, transparent), var(--c)); }
.modules-orbit-line.pos-0 { transform: rotate(-90deg); }
.modules-orbit-line.pos-1 { transform: rotate(-45deg); }
.modules-orbit-line.pos-2 { transform: rotate(0deg); }
.modules-orbit-line.pos-3 { transform: rotate(45deg); }
.modules-orbit-line.pos-4 { transform: rotate(90deg); }
.modules-orbit-line.pos-5 { transform: rotate(135deg); }
.modules-orbit-line.pos-6 { transform: rotate(180deg); }
.modules-orbit-line.pos-7 { transform: rotate(225deg); }
.modules-orbit-core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.modules-orbit-core-pulse { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(31,111,219,.22), rgba(31,111,219,0) 70%); }
.modules-orbit-core-disc { position: relative; width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(226,236,255,.85)); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -24px rgba(28,62,150,.45), inset 0 1px 0 #fff; }
.modules-orbit-core-logo { width: 44px; height: 44px; border-radius: 12px; background-size: 507px auto; background-position: -19.8px -51.3px; }
.modules-orbit-core-label { font-size: 14px; font-weight: 600; line-height: 1.2; color: #161B33; }
.modules-orbit-node { position: absolute; transform: translate(-50%, -50%) scale(1); display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); background: #fff; color: #161B33; box-shadow: 0 10px 24px -16px rgba(28,62,150,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer; white-space: nowrap; transition: transform .45s cubic-bezier(.2,.7,.2,1), background .4s, color .4s, box-shadow .4s, border-color .4s; }
.modules-orbit-node.pos-0 { left: 50%; top: 9%; }
.modules-orbit-node.pos-1 { left: 78.99%; top: 21.01%; }
.modules-orbit-node.pos-2 { left: 91%; top: 50%; }
.modules-orbit-node.pos-3 { left: 78.99%; top: 78.99%; }
.modules-orbit-node.pos-4 { left: 50%; top: 91%; }
.modules-orbit-node.pos-5 { left: 21.01%; top: 78.99%; }
.modules-orbit-node.pos-6 { left: 9%; top: 50%; }
.modules-orbit-node.pos-7 { left: 21.01%; top: 21.01%; }
.modules-orbit-node.is-active { transform: translate(-50%, -50%) scale(1.08); background: var(--c); color: #fff; border-color: var(--c); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--c) 70%, transparent); }
.modules-node-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--t); color: var(--c); transition: background .4s, color .4s; }
.is-active > .modules-node-num { background: rgba(255,255,255,.22); color: #fff; }
.modules-node-label { font-size: 14px; font-weight: 600; }

/* Module chips (tablet/mobile) */
.modules-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
@media (min-width: 1024px) { .modules-chips { display: none; } }
.modules-chip { flex: none; display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); background: #fff; color: #161B33; cursor: pointer; }
.modules-chip .modules-node-num { width: 26px; height: 26px; }
.modules-chip.is-active { background: var(--c); color: #fff; border-color: var(--c); }

/* Module detail card */
.module-card { position: relative; padding: clamp(16px, 1.6vw, 22px); border-radius: 28px; background: rgba(255,255,255,.75); border: 1px solid #E1E8F8; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 80px -44px rgba(28,62,150,.5); }
.module-card-screen { position: relative; aspect-ratio: 16/8.4; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #E6ECF8; }
.module-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.module-card-img.is-active { opacity: 1; transform: scale(1); }
.module-card-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(31,111,219,.12); }
.module-card-progress-bar { height: 100%; width: 0; background: var(--c); transition: background .4s; }
.module-card-info { display: flex; flex-direction: column; gap: 6px; padding: 20px 8px 6px; }
.module-card-meta { display: flex; align-items: center; gap: 10px; }
.module-card-num { font-size: 12px; font-weight: 600; color: var(--c); letter-spacing: .08em; }
.module-card-count { font-size: 12px; font-weight: 500; color: #1C3E78; background: #EAF1FF; padding: 3px 10px; border-radius: 999px; }
.module-card-title { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.03em; }
.module-card-lead { font-size: 15px; line-height: 1.5; color: #3F4866; }
.module-card-points { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 8px 6px; }
.module-card-point { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #1C2A4A; padding: 8px 12px; border-radius: 10px; background: #F4F7FF; border: 1px solid #E3EAF8; cursor: default; transition: background .25s, border-color .25s; }
.module-card-point:hover { background: #fff; border-color: rgba(31,111,219,.4); }
.module-card-point-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }

/* 4d. UAE VAT section --------------------------------------------------- */
.vat-section { padding: clamp(80px, 10vw, 128px) 10px 0; }
.vat-band { position: relative; overflow: hidden; border-radius: clamp(18px, 2.4vw, 28px); padding: clamp(56px, 8vw, 96px) 0; background: radial-gradient(800px 400px at 50% 0%, rgba(255,255,255,.8), rgba(255,255,255,0) 70%), linear-gradient(180deg, #E6EDFF, #BCD0FF); }
.vat-grid-lines, .cta-grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: linear-gradient(rgba(255,255,255,.75) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.75) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 85%); }
.vat-aurora-left { position: absolute; left: -15%; top: 20%; width: 50%; height: 90%; border-radius: 50%; background: radial-gradient(circle, rgba(47,127,234,.3), transparent 65%); filter: blur(40px); pointer-events: none; }
.vat-aurora-right { position: absolute; right: -15%; top: -10%; width: 50%; height: 80%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.85), transparent 65%); filter: blur(30px); pointer-events: none; }
.vat-content { position: relative; }
.vat-header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vat-title { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; max-width: 720px; text-wrap: balance; }
.vat-intro { max-width: 560px; font-size: 16px; line-height: 1.6; color: #3F4866; }
.vat-treatments { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.vat-treatment { font-size: 13px; font-weight: 500; color: #1C3E78; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); }
.vat-screens { position: relative; max-width: 1080px; margin: 48px auto 0; padding-bottom: clamp(40px, 10%, 90px); }
.vat-screen-main { width: 86%; }
.vat-screen-main-frame { padding: 8px; border-radius: 18px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 34px 70px -30px rgba(28,62,150,.5); }
.vat-screen-overlay { position: absolute; right: 0; bottom: 0; width: 56%; z-index: 2; }
.vat-screen-overlay-frame { padding: 8px; border-radius: 18px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 70px -24px rgba(28,62,150,.55); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.vat-crop { position: relative; overflow: hidden; border-radius: 11px; background: #fff; }
.vat-crop img { position: absolute; top: 0; max-width: none; display: block; }
.vat-crop-accounts { aspect-ratio: 1144/412; }
.vat-crop-accounts img { left: -22.38%; width: 167.13%; margin-top: -49.65%; }
.vat-crop-customer { aspect-ratio: 760/320; }
.vat-crop-customer img { left: -33.68%; width: 251.58%; margin-top: -69.74%; }
.vat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; margin-top: 40px; }
.vat-card { padding: 22px; border-radius: 16px; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 18px 36px -24px rgba(28,62,150,.45); display: flex; flex-direction: column; gap: 8px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.vat-card:hover { transform: translateY(-5px); }
.vat-card-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 70%, transparent), var(--c)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 10%, transparent), 0 8px 16px -6px color-mix(in srgb, var(--c) 67%, transparent); }
.vat-card-title { font-size: 16px; font-weight: 600; margin-top: 8px; }
.vat-card-text { font-size: 13px; line-height: 1.5; color: #5D6582; }

/* 4e. Screens gallery section ------------------------------------------- */
.screens-section { position: relative; overflow: hidden; padding: clamp(64px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); background: #fff; }
.screens-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.screens-eyebrow { background: linear-gradient(90deg, #E0457B, #7C4DDB, #1F6FDB); }
.screens-title { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; font-weight: 600; letter-spacing: -.04em; }
.screens-stage { position: relative; margin-top: clamp(28px, 3vw, 44px); height: clamp(260px, 36vw, 600px); perspective: 1800px; }
.screens-stage-glow { position: absolute; left: 50%; top: 50%; width: 60%; height: 90%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(31,111,219,.22), rgba(31,111,219,0) 70%); filter: blur(60px); }
.screens-slide { position: absolute; left: 50%; top: 0; width: clamp(280px, 58vw, 940px); padding: 8px; border: 1px solid rgba(255,255,255,.95); border-radius: 20px; background: rgba(255,255,255,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -36px rgba(28,62,150,.4); cursor: pointer; opacity: 0; transform: translateX(-50%); transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .7s ease, box-shadow .7s ease; }
.screens-slide.is-current { box-shadow: 0 60px 110px -40px rgba(31,111,219,.55); }
.screens-slide-view { position: relative; overflow: hidden; aspect-ratio: 16/9.6; border-radius: 13px; background: #fff; }
.screens-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.screens-slide-veil { position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity .7s; }
.screens-controls { margin-top: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.screens-controls-row { display: flex; align-items: center; gap: 16px; }
.screens-btn-prev { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #E1E8F8; background: #fff; color: #161B33; font-size: 16px; cursor: pointer; transition: background .25s; }
.screens-btn-prev:hover { background: #F3F6FF; }
.screens-btn-next { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #1F6FDB; color: #fff; font-size: 16px; cursor: pointer; box-shadow: 0 12px 24px -12px rgba(31,111,219,.8); transition: background .5s; }
.screens-caption { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: min(420px, 60vw); text-align: center; }
.screens-caption-head { display: flex; align-items: center; gap: 10px; }
.screens-caption-num { font-size: 13px; font-weight: 700; color: #1F6FDB; }
.screens-caption-title { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; }
.screens-caption-text { font-size: 15px; color: #5D6582; }
.screens-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.screens-dot { height: 8px; width: 8px; border-radius: 999px; border: 0; padding: 0; background: #D5DDEE; cursor: pointer; transition: width .5s cubic-bezier(.2,.7,.2,1), background .5s; }
.screens-dot.is-active { width: 32px; background: #1F6FDB; }

/* 4f. Security section -------------------------------------------------- */
.security-section { padding-top: clamp(80px, 10vw, 128px); }
.security-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.security-visual { position: relative; padding-bottom: 20%; }
.security-visual-glow { position: absolute; inset: 10% 5% 0 5%; border-radius: 50%; background: radial-gradient(circle, rgba(143,182,245,.55), transparent 65%); filter: blur(30px); }
.security-screen-main { position: relative; width: 90%; }
.security-screen-main-frame { padding: 8px; border-radius: 18px; background: linear-gradient(180deg, #F5F8FF, #E6EDFF); border: 1px solid #E1E8FA; box-shadow: 0 34px 70px -30px rgba(28,62,150,.45); }
.security-screen-overlay { position: absolute; right: 0; bottom: 0; width: 42%; z-index: 2; }
.security-screen-overlay-frame { padding: 8px; border-radius: 18px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 70px -24px rgba(28,62,150,.55); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.security-crop { position: relative; overflow: hidden; border-radius: 11px; background: #fff; }
.security-crop img { position: absolute; top: 0; max-width: none; display: block; }
.security-crop-signin { aspect-ratio: 1000/580; }
.security-crop-signin img { left: -46%; width: 192%; margin-top: -14.4%; }
.security-crop-code { aspect-ratio: 440/420; }
.security-crop-code img { left: -111.36%; width: 436.36%; margin-top: -40.91%; }
.security-copy { display: flex; flex-direction: column; gap: 16px; }
.security-eyebrow { align-self: flex-start; }
.security-title { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.security-intro { font-size: 16px; line-height: 1.6; color: #5D6582; }
.security-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 4px 24px; margin-top: 6px; }
.security-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid #E8EDF8; }
.security-item-bullet { width: 18px; height: 18px; border-radius: 50%; flex: none; margin-top: 2px; background: #E4EEFF; display: grid; place-items: center; }
.security-item-bullet-dot { width: 6px; height: 6px; border-radius: 50%; background: #1F6FDB; }
.security-item-body { display: flex; flex-direction: column; gap: 3px; }
.security-item-title { font-size: 15px; font-weight: 600; }
.security-item-text { font-size: 13px; line-height: 1.5; color: #5D6582; }

/* 4g. Technology (under the hood) section ------------------------------- */
.tech-section { position: relative; overflow: hidden; margin-top: clamp(80px, 10vw, 128px); padding: clamp(72px, 8vw, 112px) 0; background: radial-gradient(900px 500px at 15% 0%, rgba(31,111,219,.22), rgba(31,111,219,0) 70%), radial-gradient(700px 500px at 90% 100%, rgba(31,111,219,.14), rgba(31,111,219,0) 70%), #0A0D18; color: #F2F5FC; }
.tech-grid-lines { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 85%); }
.tech-layout { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: start; }
.tech-copy { display: flex; flex-direction: column; gap: 18px; }
.tech-eyebrow { align-self: flex-start; }
.tech-title { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; color: #fff; }
.tech-intro { font-size: 16px; line-height: 1.6; color: #A9B2CE; }
.tech-layers { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: radial-gradient(500px 300px at 50% 0%, rgba(31,111,219,.28), rgba(31,111,219,0) 70%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); }
.tech-layer { padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; transition: transform .35s; }
.tech-layer:hover { transform: scale(1.02); }
.tech-layer-web { width: 100%; background: #fff; color: #161B33; }
.tech-layer-application { width: 90%; background: #DCE7FF; color: #1C3E78; }
.tech-layer-domain { width: 80%; background: #1F6FDB; color: #fff; }
.tech-layer-infrastructure { width: 90%; background: #1B2238; color: #fff; }
.tech-layer-name { font-size: 16px; font-weight: 600; }
.tech-layer-detail { font-size: 13px; opacity: .85; }
.tech-specs { border-radius: 24px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; }
.tech-spec-row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 18px; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.07); transition: background .25s; }
.tech-spec-row:first-child { border-top: 0; }
.tech-spec-row:hover { background: rgba(31,111,219,.12); }
.tech-spec-key { font-size: 13px; font-weight: 600; color: #7F8BB0; }
.tech-spec-value { font-size: 14px; line-height: 1.5; color: #E8ECF7; }
.tech-soon { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.tech-soon-card { padding: 20px; border-radius: 18px; border: 1px dashed rgba(120,165,245,.35); background: rgba(255,255,255,.03); display: flex; flex-direction: column; gap: 6px; }
.tech-soon-badge { align-self: flex-start; font-size: 11px; font-weight: 600; color: #6FE0B0; background: rgba(52,194,138,.14); padding: 3px 9px; border-radius: 999px; }
.tech-soon-title { font-size: 15px; font-weight: 600; color: #fff; }
.tech-soon-text { font-size: 13px; line-height: 1.5; color: #A9B2CE; }

/* 4h. AI tools section -------------------------------------------------- */
.ai-section { padding: clamp(24px, 3vw, 40px) 10px 0; }
.ai-panel { position: relative; overflow: hidden; border-radius: clamp(18px, 2.4vw, 28px); padding: clamp(56px, 7vw, 88px) 0; background: #fff; }
.ai-content { position: relative; }
.ai-header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 44px; }
.ai-title { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; font-weight: 600; letter-spacing: -.04em; max-width: 900px; text-wrap: balance; }
.ai-title-accent { color: #1F6FDB; }
.ai-intro { max-width: 640px; font-size: 16px; line-height: 1.6; color: #3F4866; }
.ai-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.ai-card { padding: 10px; border-radius: 22px; background: linear-gradient(180deg, #F5F8FF, #E6EDFF); border: 1px solid #DCE5FB; box-shadow: 0 30px 60px -36px rgba(31,111,219,.45); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.ai-card-logo-box { height: 220px; border-radius: 14px; background: #fff; overflow: hidden; padding: 18px; }
.ai-card-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.ai-card-logo--padded { padding: 8px; }

/* 4i. Final call-to-action section -------------------------------------- */
.cta-section { padding: clamp(80px, 10vw, 128px) 10px 0; }
.cta-panel { position: relative; overflow: hidden; border-radius: clamp(18px, 2.4vw, 28px); padding: clamp(56px, 8vw, 96px) 0; background: radial-gradient(700px 400px at 20% 20%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%), linear-gradient(160deg, #E9EFFF, #C3D4FF); }
.cta-aurora { position: absolute; right: -10%; bottom: -40%; width: 55%; height: 120%; border-radius: 50%; background: radial-gradient(circle, rgba(47,127,234,.35), transparent 65%); filter: blur(40px); pointer-events: none; }
.cta-layout { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; padding-left: clamp(20px, 5vw, 72px); padding-right: clamp(20px, 5vw, 72px); }
.cta-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta-brand { display: flex; align-items: center; gap: 9px; }
.cta-brand-mark { width: 34px; height: 34px; border-radius: 9px; background-size: 392px auto; background-position: -15.3px -39.7px; }
.cta-brand-name { font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.cta-title { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.cta-text { font-size: 16px; line-height: 1.6; color: #3F4866; max-width: 480px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cta-screen-frame { padding: 8px; border-radius: 18px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 80px -30px rgba(28,62,150,.55); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cta-crop { position: relative; overflow: hidden; aspect-ratio: 920/345; border-radius: 11px; background: #fff; }
.cta-crop img { position: absolute; top: 0; left: -97.28%; width: 207.83%; max-width: none; margin-top: -5.65%; display: block; }
.cta-caption { font-size: 13px; color: #3F4866; margin-top: 12px; padding-left: 6px; }

/* 4j. Footer section ---------------------------------------------------- */
.footer-section { padding: 36px 0; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: #6B7390; }

/* 5. Back to top -------------------------------------------------------- */
.back-to-top { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 90; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #1F6FDB; color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 16px 30px -12px rgba(31,111,219,.8); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1), background .25s; }
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: #1A62C4; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
