/* ==========================================================================
   StockEssence public site (landing / pricing / contact)
   ========================================================================== */

:root {
    --se-ink: #0f172a;
    --se-ink-soft: #475569;
    --se-muted: #64748b;
    --se-line: #e2e8f0;
    --se-bg: #ffffff;
    --se-tint: #f6f7fb;
    --se-dark: #070b1a;
    --se-dark-2: #0e1430;
    --se-indigo: #6366f1;
    --se-indigo-deep: #4f46e5;
    --se-cyan: #06b6d4;
    --se-amber: #f59e0b;
    --se-rose: #f43f5e;
    --se-emerald: #10b981;
    --se-grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #06b6d4 100%);
    --se-radius: 18px;
    --se-shadow: 0 20px 50px -20px rgba(15, 23, 42, .25);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.se-body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--se-ink);
    background: var(--se-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.se-body h1, .se-body h2, .se-body h3, .se-body h4, .se-body h5 { font-weight: 800; letter-spacing: -.02em; }

/* ---------- Buttons ---------- */
.se-btn-primary, .se-btn-ghost, .se-btn-outline-light, .se-btn-white, .se-btn-soft {
    border-radius: 12px; font-weight: 700; padding: .6rem 1.15rem; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.se-btn-lg { padding: .85rem 1.5rem; font-size: 1.02rem; }
.se-btn-primary { background: var(--se-grad); background-size: 160% 160%; color: #fff; border: 0; box-shadow: 0 10px 30px -10px rgba(99, 102, 241, .8); animation: seGradShift 6s ease infinite; }
.se-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(99, 102, 241, .9); }
.se-btn-ghost { color: var(--se-ink); border: 1px solid transparent; }
.se-btn-ghost:hover { background: rgba(99, 102, 241, .08); color: var(--se-indigo-deep); }
.se-btn-outline-light { color: #fff; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .05); backdrop-filter: blur(6px); }
.se-btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.se-btn-white { background: #fff; color: var(--se-indigo-deep); border: 0; }
.se-btn-white:hover { color: var(--se-indigo-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); }
.se-btn-soft { background: rgba(99, 102, 241, .1); color: var(--se-indigo-deep); border: 0; }
.se-btn-soft:hover { background: rgba(99, 102, 241, .18); color: var(--se-indigo-deep); }
.se-btn-link-light { color: rgba(255, 255, 255, .9); font-weight: 600; }
.se-btn-link-light:hover { color: #fff; }

@keyframes seGradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Navbar ---------- */
.se-nav { padding: 1rem 0; transition: background .3s, box-shadow .3s, padding .3s; }
.se-nav .nav-link { color: rgba(255, 255, 255, .8); font-weight: 600; padding: .5rem .9rem !important; border-radius: 10px; }
.se-nav .nav-link:hover, .se-nav .nav-link.active { color: #fff; }
.se-nav .se-btn-ghost { color: #fff; }
.se-nav .se-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.se-nav.is-scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 6px 24px -12px rgba(15, 23, 42, .25); padding: .6rem 0; }
.se-nav.is-scrolled .nav-link { color: var(--se-ink-soft); }
.se-nav.is-scrolled .nav-link:hover, .se-nav.is-scrolled .nav-link.active { color: var(--se-indigo-deep); }
.se-nav.is-scrolled .se-brand { color: var(--se-ink); }
.se-nav.is-scrolled .se-btn-ghost { color: var(--se-ink); }
.se-nav.is-scrolled .se-toggler { color: var(--se-ink); }
.se-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.se-brand strong { font-weight: 800; background: linear-gradient(90deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.se-nav.is-scrolled .se-brand strong { background: var(--se-grad); -webkit-background-clip: text; background-clip: text; }
.se-brand:hover { color: inherit; }
.se-brand-mark svg { display: block; filter: drop-shadow(0 6px 14px rgba(99, 102, 241, .45)); }
.se-toggler { border: 0; color: #fff; font-size: 1.8rem; box-shadow: none !important; }

@media (max-width: 991.98px) {
    .se-nav .navbar-collapse { background: #fff; border-radius: 16px; padding: .75rem; margin-top: .75rem; box-shadow: var(--se-shadow); }
    .se-nav .nav-link, .se-nav .se-btn-ghost { color: var(--se-ink) !important; }
    .se-nav-actions { padding-top: .5rem; }
}

/* ---------- Hero ---------- */
.se-hero, .se-page-hero {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(1200px 600px at 80% -10%, #1e1b4b 0%, transparent 60%), linear-gradient(180deg, var(--se-dark) 0%, var(--se-dark-2) 100%);
}
.se-hero { padding: 150px 0 110px; }
.se-hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.se-hero-glow-1 { width: 520px; height: 520px; background: #6366f1; top: -160px; left: -120px; animation: seFloat 14s ease-in-out infinite; }
.se-hero-glow-2 { width: 460px; height: 460px; background: #06b6d4; bottom: -200px; right: -120px; opacity: .35; animation: seFloat 18s ease-in-out infinite reverse; }
.se-hero-grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
@keyframes seFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.08); } }

.se-pill {
    display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #c7d2fe; font-size: .82rem; font-weight: 600; backdrop-filter: blur(6px);
}
.se-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); animation: sePulse 2s infinite; }
@keyframes sePulse { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); } 70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }

.se-hero-title { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.06; margin: 1.3rem 0 1.1rem; }
.se-rotator { display: inline-grid; vertical-align: bottom; }
.se-rotator-word {
    grid-area: 1 / 1; background: linear-gradient(90deg, #a5b4fc, #67e8f9 60%, #fcd34d); -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0; transform: translateY(40%) rotateX(-60deg); transition: opacity .5s, transform .5s;
}
.se-rotator-word.is-active { opacity: 1; transform: none; }
.se-rotator-word.is-leaving { opacity: 0; transform: translateY(-40%) rotateX(60deg); }
.se-hero-sub { font-size: 1.15rem; color: #cbd5e1; max-width: 540px; line-height: 1.65; }
.se-hero-checks { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: #cbd5e1; font-size: .92rem; font-weight: 500; }
.se-hero-checks i { color: #34d399; margin-right: .35rem; }

/* ---------- Hero product scene ---------- */
.se-scene { position: relative; padding: 10px 40px 60px 0; perspective: 1400px; }
.se-window {
    position: relative; border-radius: 16px; overflow: hidden; background: #fff; color: var(--se-ink);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .1);
    transform: rotateY(-8deg) rotateX(4deg); animation: seWindowFloat 7s ease-in-out infinite;
}
@keyframes seWindowFloat { 0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-10px); } }
.se-window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--se-line); }
.se-window-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.se-window-bar > span:nth-child(2) { background: #fbbf24; }
.se-window-bar > span:nth-child(3) { background: #34d399; }
.se-window-url { margin-left: 12px; flex: 1; font-size: .7rem; color: var(--se-muted); background: #fff; border-radius: 6px; padding: 3px 10px; }
.se-window-body { display: flex; min-height: 330px; }
.se-mini-side { width: 46px; background: #111735; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px 0; color: #64748b; font-size: .95rem; }
.se-mini-side .is-on { color: #fff; background: var(--se-grad); border-radius: 8px; padding: 5px 7px; }
.se-mini-main { flex: 1; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #f8fafc; }
.se-kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.se-kpi { background: #fff; border: 1px solid var(--se-line); border-radius: 10px; padding: 9px 10px; }
.se-kpi small { display: block; font-size: .62rem; color: var(--se-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.se-kpi strong { display: block; font-size: 1.02rem; margin-top: 2px; }
.se-kpi em { font-style: normal; font-size: .62rem; color: var(--se-muted); }
.se-kpi em.up { color: #059669; font-weight: 700; }
.se-chart-card, .se-bars-card { background: #fff; border: 1px solid var(--se-line); border-radius: 10px; padding: 10px; }
.se-chart-card { grid-column: 1 / -1; }
.se-chart-head { display: flex; justify-content: space-between; align-items: center; font-size: .68rem; font-weight: 700; color: var(--se-ink-soft); margin-bottom: 6px; }
.se-live { display: inline-flex; align-items: center; gap: 5px; color: #059669; }
.se-live i { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: sePulse 1.6s infinite; }
.se-line-chart { width: 100%; height: 92px; display: block; overflow: visible; }
.se-line { stroke-dasharray: 520; stroke-dashoffset: 520; animation: seDraw 5s ease-in-out infinite; }
.se-area { opacity: 0; animation: seAreaIn 5s ease-in-out infinite; }
.se-dot { opacity: 0; animation: seDotIn 5s ease-in-out infinite; }
@keyframes seDraw { 0% { stroke-dashoffset: 520; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes seAreaIn { 0%, 25% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes seDotIn { 0%, 42% { opacity: 0; r: 0; } 50%, 85% { opacity: 1; r: 4.5; } 100% { opacity: 0; } }
.se-bars-card { grid-column: 1 / -1; }
.se-bars { display: flex; align-items: flex-end; gap: 12px; height: 78px; }
.se-bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.se-bars b { width: 100%; max-width: 34px; border-radius: 6px 6px 3px 3px; background: var(--se-grad); height: var(--h); transform-origin: bottom; animation: seBarGrow 5s ease-in-out infinite; }
.se-bars > div:nth-child(2) b { animation-delay: .15s; }
.se-bars > div:nth-child(3) b { animation-delay: .3s; }
.se-bars > div:nth-child(4) b { animation-delay: .45s; }
.se-bars > div:nth-child(5) b { animation-delay: .6s; }
.se-bars span { font-size: .58rem; color: var(--se-muted); font-weight: 600; }
@keyframes seBarGrow { 0% { transform: scaleY(.05); } 30%, 80% { transform: scaleY(1); } 100% { transform: scaleY(.05); } }

/* Printer + receipt */
.se-printer { position: absolute; right: -8px; bottom: -40px; width: 150px; z-index: 3; }
.se-printer-body {
    position: relative; height: 44px; border-radius: 12px; z-index: 2;
    background: linear-gradient(180deg, #334155, #1e293b); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.se-printer-body::after { content: ''; position: absolute; left: 18px; right: 18px; top: 8px; height: 5px; border-radius: 4px; background: #0b1020; }
.se-printer-led { position: absolute; right: 12px; bottom: 10px; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: seBlink 1s steps(2) infinite; }
@keyframes seBlink { 50% { opacity: .2; } }
.se-receipt { position: absolute; left: 22px; right: 22px; bottom: 36px; height: 190px; overflow: hidden; z-index: 1; }
.se-receipt-inner {
    position: absolute; left: 0; right: 0; bottom: 0; background: #fff; color: #111; padding: 10px 9px 12px;
    font-family: 'Courier New', monospace; font-size: 7.5px; line-height: 1.5; text-align: center;
    border-radius: 3px 3px 0 0; box-shadow: 0 -6px 18px rgba(0, 0, 0, .25);
    transform: translateY(100%); animation: sePrint 7s cubic-bezier(.5, 0, .3, 1) infinite;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6px);
}
.se-receipt-inner b { display: block; font-size: 8.5px; }
.se-receipt-inner i { display: block; font-style: normal; color: #555; }
.se-receipt-inner hr { border: 0; border-top: 1px dashed #999; margin: 4px 0; opacity: 1; }
.se-receipt-inner p { display: flex; justify-content: space-between; margin: 0; }
.se-receipt-inner p.tot { font-weight: 700; font-size: 8.5px; }
.se-receipt-qr { width: 30px; height: 30px; margin: 5px auto; background: conic-gradient(#111 25%, #fff 0 50%, #111 0 75%, #fff 0) 0 0 / 7px 7px; border: 2px solid #111; }
@keyframes sePrint { 0%, 8% { transform: translateY(100%); } 55%, 88% { transform: translateY(0); } 100% { transform: translateY(0); opacity: 0; } }

/* Toasts */
.se-toast {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; z-index: 4;
    background: rgba(255, 255, 255, .96); color: var(--se-ink); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6); font-size: .78rem; min-width: 220px;
}
.se-toast i { font-size: 1.25rem; }
.se-toast b { display: block; font-size: .8rem; }
.se-toast span { color: var(--se-muted); }
.se-toast-1 { top: -18px; left: -34px; animation: seToast 8s ease-in-out infinite; }
.se-toast-1 i { color: var(--se-amber); }
.se-toast-2 { bottom: 70px; left: -20px; animation: seToast 8s ease-in-out infinite 4s; }
.se-toast-2 i { color: var(--se-emerald); }
@keyframes seToast { 0%, 5% { opacity: 0; transform: translateX(-20px) scale(.95); } 12%, 42% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-10px) scale(.97); } }

/* ---------- Marquee ---------- */
.se-marquee-wrap { background: var(--se-dark-2); border-top: 1px solid rgba(255, 255, 255, .06); padding: 22px 0; overflow: hidden; }
.se-marquee { display: flex; width: max-content; animation: seMarquee 38s linear infinite; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.se-marquee-wrap:hover .se-marquee { animation-play-state: paused; }
.se-marquee-track { display: flex; gap: 3rem; padding-right: 3rem; }
.se-marquee-track span { display: inline-flex; align-items: center; gap: .6rem; color: #94a3b8; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.se-marquee-track i { color: #818cf8; font-size: 1.25rem; }
@keyframes seMarquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.se-section { padding: 110px 0; }
.se-section-tint { background: var(--se-tint); }
.se-section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.se-section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: .6rem 0 1rem; }
.se-section-head p { color: var(--se-ink-soft); font-size: 1.08rem; line-height: 1.7; }
.se-eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; background: var(--se-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.se-eyebrow-light { background: linear-gradient(90deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; }

/* Showcases */
.se-showcase + .se-showcase { margin-top: 110px; }
.se-showcase h3 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin: .9rem 0 1rem; }
.se-showcase p { color: var(--se-ink-soft); font-size: 1.05rem; line-height: 1.7; }
.se-feature-tag { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(99, 102, 241, .1); color: var(--se-indigo-deep); font-weight: 700; font-size: .82rem; }
.se-ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.se-ticks li { position: relative; padding-left: 2rem; font-weight: 600; color: var(--se-ink); }
.se-ticks li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: #fff; background: var(--se-grad); }

.se-illus {
    position: relative; min-height: 340px; border-radius: 24px; padding: 34px; overflow: hidden;
    background: radial-gradient(circle at 20% 10%, rgba(99, 102, 241, .16), transparent 55%), radial-gradient(circle at 90% 90%, rgba(6, 182, 212, .16), transparent 55%), #f8fafc;
    border: 1px solid var(--se-line); box-shadow: var(--se-shadow);
}

/* POS illustration */
.se-scanner { position: relative; width: 210px; margin: 0 auto 26px; padding: 14px 16px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px -14px rgba(15, 23, 42, .35); overflow: hidden; }
.se-barcode { display: flex; align-items: stretch; justify-content: center; gap: 3px; height: 58px; }
.se-barcode i { width: var(--w); background: #0f172a; border-radius: 1px; }
.se-laser { position: absolute; left: 8px; right: 8px; height: 2px; top: 14px; background: #ef4444; box-shadow: 0 0 12px 3px rgba(239, 68, 68, .7); animation: seScan 2.2s ease-in-out infinite; }
@keyframes seScan { 0%, 100% { top: 14px; } 50% { top: 70px; } }
.se-cart { background: #fff; border-radius: 16px; padding: 10px 16px; box-shadow: 0 16px 36px -18px rgba(15, 23, 42, .35); }
.se-cart-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--se-line); font-weight: 600; font-size: .92rem; opacity: 0; animation: seRowIn 6.6s ease-in-out infinite; }
.se-cart-row i { color: var(--se-indigo); margin-right: 6px; }
.se-pop-1 { animation-delay: 0s; }
.se-pop-2 { animation-delay: .6s; }
.se-pop-3 { animation-delay: 1.2s; }
@keyframes seRowIn { 0% { opacity: 0; transform: translateX(-16px); } 8%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }
.se-cart-total { display: flex; justify-content: space-between; padding-top: 12px; font-size: .9rem; color: var(--se-muted); }
.se-cart-total b { color: var(--se-emerald); }

/* Branches illustration */
.se-illus-branches { min-height: 360px; }
.se-branch-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.se-branch-map path { animation: seDash 1.2s linear infinite; }
@keyframes seDash { to { stroke-dashoffset: -12; } }
.se-branch {
    position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 14px;
    box-shadow: 0 14px 30px -16px rgba(15, 23, 42, .4); animation: seBob 5s ease-in-out infinite;
}
.se-branch:nth-of-type(3) { animation-delay: 1.5s; }
.se-branch:nth-of-type(4) { animation-delay: 3s; }
.se-branch i { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--se-grad); font-size: 1.1rem; }
.se-branch b { font-size: .9rem; }
.se-branch span { font-size: .76rem; color: var(--se-muted); }
@keyframes seBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Expiry illustration */
.se-batch-list { display: grid; gap: 14px; }
.se-batch { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 26px -16px rgba(15, 23, 42, .4); }
.se-batch b { display: block; font-size: .88rem; }
.se-batch span { font-size: .78rem; color: var(--se-muted); }
.se-batch em { font-style: normal; font-size: .74rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.se-batch em.ok { background: #d1fae5; color: #047857; }
.se-batch em.warn { background: #fef3c7; color: #b45309; }
.se-batch em.bad { background: #ffe4e6; color: #be123c; }
.se-batch-dot { width: 12px; height: 12px; border-radius: 50%; }
.se-batch-dot.ok { background: #10b981; }
.se-batch-dot.warn { background: #f59e0b; animation: sePulseAmber 1.8s infinite; }
.se-batch-dot.bad { background: #f43f5e; }
@keyframes sePulseAmber { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .6); } 100% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); } }
.se-batch.is-alert { animation: seShake 5s ease-in-out infinite; }
@keyframes seShake { 0%, 60%, 100% { transform: none; } 62%, 66%, 70% { transform: translateX(-4px); } 64%, 68% { transform: translateX(4px); } }
.se-mail-fly {
    position: absolute; right: 26px; bottom: 22px; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 12px;
    background: var(--se-ink); color: #fff; font-size: .8rem; font-weight: 600; animation: seMailFly 5s ease-in-out infinite;
}
.se-mail-fly i { color: #67e8f9; font-size: 1rem; }
@keyframes seMailFly { 0%, 55% { opacity: 0; transform: translateY(16px); } 65%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(40px, -30px); } }

/* Feature cards */
.se-card { height: 100%; background: #fff; border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 26px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.se-card:hover { transform: translateY(-6px); box-shadow: var(--se-shadow); border-color: rgba(99, 102, 241, .35); }
.se-card:hover .se-card-icon { transform: rotate(-8deg) scale(1.08); }
.se-card h5 { font-size: 1.08rem; margin: 1.1rem 0 .5rem; }
.se-card p { color: var(--se-ink-soft); font-size: .93rem; line-height: 1.6; margin: 0; }
.se-card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; transition: transform .3s; flex-shrink: 0; }
.se-tone-indigo { background: #e0e7ff; color: #4338ca; }
.se-tone-cyan { background: #cffafe; color: #0e7490; }
.se-tone-amber { background: #fef3c7; color: #b45309; }
.se-tone-rose { background: #ffe4e6; color: #be123c; }
.se-tone-violet { background: #ede9fe; color: #6d28d9; }
.se-tone-emerald { background: #d1fae5; color: #047857; }
.se-tone-sky { background: #e0f2fe; color: #0369a1; }
.se-tone-slate { background: #e2e8f0; color: #334155; }

/* Security band */
.se-security { position: relative; overflow: hidden; padding: 110px 0; color: #fff; background: linear-gradient(135deg, #0b1025 0%, #1e1b4b 60%, #0e3a4a 100%); }
.se-security h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: .7rem 0 1rem; }
.se-security p { color: #cbd5e1; font-size: 1.06rem; line-height: 1.7; }
.se-sec-item { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-weight: 600; }
.se-sec-item i { color: #67e8f9; font-size: 1.2rem; }
.se-vault { position: relative; width: 280px; height: 280px; margin: 0 auto; display: grid; place-items: center; }
.se-vault-ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(165, 180, 252, .45); }
.se-vault-ring.r1 { inset: 0; animation: seSpin 26s linear infinite; }
.se-vault-ring.r2 { inset: 36px; border-color: rgba(103, 232, 249, .5); border-style: solid; border-width: 2px 2px 2px 0; animation: seSpin 9s linear infinite reverse; }
.se-vault-ring.r3 { inset: 72px; border-color: rgba(252, 211, 77, .5); animation: seSpin 16s linear infinite; }
.se-vault-core { width: 110px; height: 110px; border-radius: 30px; display: grid; place-items: center; font-size: 2.8rem; background: var(--se-grad); box-shadow: 0 0 60px rgba(99, 102, 241, .7); animation: seCorePulse 3s ease-in-out infinite; }
@keyframes seSpin { to { transform: rotate(360deg); } }
@keyframes seCorePulse { 0%, 100% { box-shadow: 0 0 40px rgba(99, 102, 241, .5); } 50% { box-shadow: 0 0 80px rgba(6, 182, 212, .8); } }

/* Steps */
.se-steps { position: relative; }
.se-step { position: relative; height: 100%; padding: 34px 28px; border-radius: var(--se-radius); background: #fff; border: 1px solid var(--se-line); transition: transform .3s, box-shadow .3s; }
.se-step:hover { transform: translateY(-6px); box-shadow: var(--se-shadow); }
.se-step-num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--se-grad); color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 1.2rem; box-shadow: 0 12px 26px -10px rgba(99, 102, 241, .8); }
.se-step h5 { font-size: 1.15rem; }
.se-step p { color: var(--se-ink-soft); margin: 0; line-height: 1.6; }

/* CTA */
.se-cta-wrap { padding: 0 0 110px; }
.se-section + .se-cta-wrap, .se-section-tint + .se-cta-wrap { padding-top: 110px; }
.se-cta { position: relative; overflow: hidden; border-radius: 28px; padding: 56px; color: #fff; background: var(--se-grad); background-size: 200% 200%; animation: seGradShift 10s ease infinite; box-shadow: 0 30px 60px -24px rgba(79, 70, 229, .7); }
.se-cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.se-cta p { margin: 0; font-size: 1.08rem; color: rgba(255, 255, 255, .88); }
.se-cta-shine { position: absolute; top: -50%; left: -30%; width: 40%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); transform: rotate(20deg); animation: seShine 6s ease-in-out infinite; }
@keyframes seShine { 0%, 60% { left: -40%; } 100% { left: 130%; } }

/* ---------- Page hero (pricing / contact) ---------- */
.se-page-hero { padding: 150px 0 90px; }
.se-page-hero-short { padding-bottom: 70px; }
.se-page-title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 1.2rem auto 1rem; max-width: 820px; }
.se-page-sub { color: #cbd5e1; font-size: 1.12rem; max-width: 640px; margin: 0 auto; line-height: 1.65; }

/* Pricing */
.se-billing-toggle { display: inline-flex; margin-top: 2.2rem; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.se-billing-toggle button { border: 0; background: transparent; color: #cbd5e1; font-weight: 700; padding: .6rem 1.2rem; border-radius: 10px; transition: background .25s, color .25s; }
.se-billing-toggle button.is-active { background: #fff; color: var(--se-indigo-deep); }
.se-save { display: inline-block; margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: #34d399; color: #064e3b; font-size: .7rem; }
.se-pricing-section { margin-top: -40px; padding-top: 0; position: relative; z-index: 2; }
.se-plan { position: relative; height: 100%; padding: 34px 30px; border-radius: 24px; background: #fff; border: 1px solid var(--se-line); box-shadow: 0 20px 50px -30px rgba(15, 23, 42, .35); transition: transform .3s, box-shadow .3s; }
.se-plan:hover { transform: translateY(-8px); box-shadow: var(--se-shadow); }
.se-plan.is-featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--se-grad) border-box; box-shadow: 0 30px 70px -28px rgba(99, 102, 241, .6); }
@media (min-width: 992px) { .se-plan.is-featured { transform: scale(1.04); } .se-plan.is-featured:hover { transform: scale(1.04) translateY(-8px); } }
.se-plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: .35rem .9rem; border-radius: 999px; background: var(--se-grad); color: #fff; font-size: .75rem; font-weight: 800; box-shadow: 0 10px 20px -8px rgba(99, 102, 241, .8); white-space: nowrap; }
.se-plan-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; background: #eef2ff; color: var(--se-indigo-deep); margin-bottom: 1.2rem; }
.se-plan h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.se-plan-blurb { color: var(--se-muted); min-height: 48px; }
.se-plan-price { margin: 1.2rem 0 1.5rem; }
.se-plan-price strong { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.se-plan-price > span { color: var(--se-muted); font-size: .92rem; }
.se-plan-price [data-monthly] { transition: opacity .2s; }
.se-plan-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .75rem; }
.se-plan-list li { display: flex; gap: .6rem; color: var(--se-ink-soft); font-weight: 500; }
.se-plan-list i { color: var(--se-emerald); font-size: 1.1rem; line-height: 1.3; }
.se-included { margin-top: 70px; text-align: center; }
.se-included h5 { margin-bottom: 1.4rem; }
.se-included-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.se-included-grid span { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 12px; background: var(--se-tint); border: 1px solid var(--se-line); font-weight: 600; font-size: .92rem; }
.se-included-grid i { color: var(--se-indigo); }

/* FAQ */
.se-faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.se-faq-item { background: #fff; border: 1px solid var(--se-line); border-radius: 16px; padding: 0 22px; transition: box-shadow .25s; }
.se-faq-item[open] { box-shadow: 0 16px 36px -22px rgba(15, 23, 42, .35); }
.se-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 20px 0; font-weight: 700; font-size: 1.02rem; }
.se-faq-item summary::-webkit-details-marker { display: none; }
.se-faq-item summary i { color: var(--se-indigo); transition: transform .25s; }
.se-faq-item[open] summary i { transform: rotate(45deg); }
.se-faq-item p { color: var(--se-ink-soft); line-height: 1.65; margin: 0 0 20px; }

/* Contact */
.se-contact-section { margin-top: -30px; padding-top: 0; position: relative; z-index: 2; }
.se-contact-card, .se-form-card { background: #fff; border: 1px solid var(--se-line); border-radius: 24px; box-shadow: 0 24px 60px -34px rgba(15, 23, 42, .4); }
.se-contact-card { padding: 28px; display: grid; gap: 22px; }
.se-contact-line { display: flex; gap: 14px; align-items: center; }
.se-contact-line small { display: block; color: var(--se-muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.se-contact-line a, .se-contact-line span { font-weight: 700; color: var(--se-ink); text-decoration: none; }
.se-contact-line a:hover { color: var(--se-indigo-deep); }
.se-form-card { padding: 34px; }
.se-form-card .form-label { font-weight: 600; font-size: .9rem; }
.se-input { border-radius: 12px; padding: .7rem .9rem; border-color: var(--se-line); background: #fbfcfe; }
.se-input:focus { border-color: var(--se-indigo); box-shadow: 0 0 0 4px rgba(99, 102, 241, .15); background: #fff; }
.se-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.se-contact-illus { position: relative; height: 150px; margin-top: 20px; }
.se-plane { position: absolute; font-size: 2rem; color: var(--se-indigo); animation: sePlane 6s ease-in-out infinite; }
.se-plane-trail { position: absolute; left: 10%; right: 10%; top: 60%; border-top: 2px dashed rgba(99, 102, 241, .3); }
@keyframes sePlane { 0% { left: 0; top: 70%; transform: rotate(10deg); opacity: 0; } 15% { opacity: 1; } 50% { left: 45%; top: 25%; transform: rotate(-10deg); } 85% { opacity: 1; } 100% { left: 88%; top: 45%; transform: rotate(15deg); opacity: 0; } }

/* Company address (Landing/_address) */
.se-address { font-style: normal; line-height: 1.65; margin: 0; }
.se-contact-line .se-address, .se-contact-line .se-address strong { font-weight: 600; color: var(--se-ink); }
.se-contact-line .se-address a { font-weight: 700; }
.se-directions { font-size: .85rem; font-weight: 600 !important; color: var(--se-indigo-deep) !important; }
.se-address-footer { color: #94a3b8; font-size: .92rem; }
.se-address-footer strong { color: #e2e8f0; font-weight: 600; }
.se-address-footer a { color: #94a3b8; text-decoration: none; }
.se-address-footer a:hover { color: #fff; }

/* ---------- Footer ---------- */
.se-footer { background: var(--se-dark); color: #94a3b8; padding: 80px 0 30px; }
.se-brand-light { color: #fff; }
.se-footer-text { max-width: 340px; line-height: 1.7; }
.se-footer-heading { color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.se-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.se-footer-links a { color: #94a3b8; text-decoration: none; transition: color .2s; }
.se-footer-links a:hover { color: #fff; }
.se-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.se-footer-bottom strong { color: #e2e8f0; }

/* ---------- Scroll reveal ---------- */
.se-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.se-reveal.is-visible { opacity: 1; transform: none; }
.se-delay-1 { transition-delay: .12s; }
.se-delay-2 { transition-delay: .24s; }
.se-delay-3 { transition-delay: .36s; }
.no-js .se-reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .se-hero { padding: 130px 0 80px; }
    .se-scene { padding: 10px 10px 70px; }
    .se-window { transform: none; animation: none; }
    .se-toast-1 { left: 0; top: -14px; }
    .se-toast-2 { left: 0; }
    .se-section { padding: 80px 0; }
    .se-showcase + .se-showcase { margin-top: 80px; }
    .se-cta { padding: 40px 28px; }
}
@media (max-width: 575.98px) {
    .se-mini-side { display: none; }
    .se-kpi strong { font-size: .85rem; }
    .se-printer { width: 120px; right: 0; }
    .se-toast { min-width: 0; font-size: .72rem; }
    .se-illus { padding: 22px; }
    .se-branch { padding: 8px 10px; }
    .se-branch i { width: 30px; height: 30px; font-size: .9rem; }
    .se-form-card { padding: 22px; }
    .se-vault { width: 220px; height: 220px; }
}

/* Respect people who ask for less motion: keep the content, drop the movement. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .se-receipt-inner { transform: none; }
    .se-cart-row, .se-toast-1, .se-area, .se-dot { opacity: 1; }
    .se-line { stroke-dashoffset: 0; }
    .se-reveal { opacity: 1; transform: none; }
}

/* Bootstrap's g-5 gutter (3rem) is wider than the phone container padding and
   pushes rows past the viewport edge -- tighten it on small screens. */
@media (max-width: 767.98px) {
    .se-body .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* "Powered by" credit (Partials/poweredBy) */
.se-powered { margin-top: 14px; text-align: center; font-size: .82rem; color: #64748b; }
.se-powered strong { color: #cbd5e1; font-weight: 600; }
.se-powered a { color: #94a3b8; text-decoration: none; }
.se-powered a:hover { color: #fff; }
