/* =========================================================
   XTOCK marketing site — theme
   ========================================================= */
:root {
    --primary: #CF1A2B;
    --primary-dark: #A3111E;
    --primary-soft: #FBE3E6;
    --primary-soft-2: #F8D2D7;
    --ink: #050A14;
    --ink-2: #0B1220;
    --muted: #1F2937;
    --border: #C9D2DD;
    --soft: #E9EDF2;
    --page: #F2F4F7;
    --hero-top: #F6E9EB;
    --white: #FFFFFF;
    --success: #16A34A;
    --success-soft: #DCFCE7;
    --navy: #0B1220;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .28);
}

html { scroll-behavior: smooth; }

/* Bootstrap's g-5 / gx-5 gutters are wider than the mobile container padding, which pushed
   the page ~12px off the right edge. That made phones zoom/shift the page and clipped the sticky menu bar. */
@media (max-width: 991.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}
html, body { max-width: 100%; }
body { overflow-x: clip; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--ink-2);
    background: var(--page);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
p, li, td, th, label, input, textarea, small, span { font-weight: inherit; }
b, strong { font-weight: 700; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--muted) !important; }
.bg-soft { background: var(--soft); }

::selection { background: var(--primary); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
    font-weight: 700;
    border-radius: 999px;
    padding: .7rem 1.4rem;
    transition: all .2s ease;
    text-transform: none;
    letter-spacing: 0;
}
.btn-lg { padding: .9rem 1.8rem; font-size: 1rem; }
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(225, 29, 46, .6);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-dark { border-color: var(--border); color: var(--ink); background: #fff; }
.btn-outline-dark:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { color: var(--primary); font-weight: 800; }
.btn-light:hover { color: var(--primary-dark); transform: translateY(-1px); }
.btn-outline-light:hover { color: var(--primary); }
.btn-icon {
    width: 42px; height: 42px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #E8F8EE; color: #128C4A; font-size: 1.2rem;
}
.btn-icon:hover { background: #25D366; color: #fff; }

/* ---------- Top bar & Navbar ---------- */
.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    padding: 8px 0;
}
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.topbar .fa-bolt { color: #FBBF24; }

.site-nav {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 3px solid rgb(207 26 43 / 72%);
    padding: 8px 0;
    transition: box-shadow .25s, padding .25s;
    z-index: 1030;
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); padding: 5px 0; }
.site-nav .navbar-brand { padding: 0; margin-right: 1rem; }
.site-nav .navbar-brand img { height: 40px; width: auto; }
.site-nav .nav-cta .btn-primary { padding: .5rem 1.2rem; font-size: 14.5px; line-height: 1.4; }
.site-nav .nav-cta .btn-icon { width: 38px; height: 38px; font-size: 1.15rem; }
.site-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    color: var(--ink);
    font-weight: 500;
    font-size: 15px;
    padding: 7px 13px !important;
    border-radius: 999px;
}
.site-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus { color: var(--primary); }
.site-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link { color: var(--primary); background: var(--primary-soft); }
.site-nav .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 6px;
    font-size: 12px;
}
.site-nav .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 8px;
    min-width: 220px;
    margin-top: 6px;
}
.site-nav .dropdown-item {
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ink);
}
.site-nav .dropdown-item i { width: 22px; color: var(--primary); }
.site-nav .dropdown-item:hover { background: var(--primary-soft); color: var(--primary); }

@media (min-width: 992px) {
    .site-nav .dropdown-menu { margin-top: 0; }
    .site-nav .dropdown:hover .dropdown-menu { display: block; }
}
.nav-drawer-head, .nav-backdrop { display: none; }

/* Mobile menu: a drawer that slides in from the left and back out again */
@media (max-width: 991.98px) {
    /* a backdrop-filter would trap the fixed drawer inside the bar, so switch it off here */
    .site-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .98); }

    .nav-backdrop {
        display: block; position: fixed; inset: 0; z-index: 1; background: rgba(11, 18, 32, .55);
        opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
    }
    body.nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .3s ease; }
    body.nav-open { overflow: hidden; }

    .site-nav .navbar-collapse,
    .site-nav .navbar-collapse.collapse:not(.show) {
        display: flex !important; flex-direction: column; align-items: stretch;
        position: fixed; top: 0; left: 0; bottom: 0; z-index: 2;
        width: min(84vw, 320px); height: 100vh; margin: 0; padding: 0 16px 22px;
        background: #fff; overflow-y: auto;
        border-right: 3px solid rgba(207, 26, 43, .72);
        box-shadow: 26px 0 50px -22px rgba(11, 18, 32, .55);
        transform: translateX(-105%); visibility: hidden;
        transition: transform .38s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .38s;
    }
    body.nav-open .site-nav .navbar-collapse,
    body.nav-open .site-nav .navbar-collapse.collapse:not(.show) {
        transform: translateX(0); visibility: visible;
        transition: transform .38s cubic-bezier(.4, 0, .2, 1);
    }

    .nav-drawer-head {
        display: flex; align-items: center; justify-content: space-between;
        padding: 14px 2px; margin-bottom: 8px; border-bottom: 1px solid var(--border);
    }
    .nav-close {
        width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
        background: var(--primary-soft-2); color: var(--primary); font-size: 16px;
        display: inline-flex; align-items: center; justify-content: center;
    }
    .nav-close:hover { background: var(--primary); color: #fff; }

    .site-nav .navbar-nav { width: 100%; margin: 0 !important; }
    .site-nav .navbar-nav .nav-link { display: block; padding: 12px 14px !important; margin-bottom: 4px; border-radius: 12px; font-size: 16px; }
    .site-nav .dropdown-menu { box-shadow: none; border: 0; padding: 2px 0 6px 14px; margin: 0; }
    .site-nav .nav-cta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
    .site-nav .nav-cta .btn-primary { flex: 1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .site-nav .navbar-collapse, .nav-backdrop { transition: none !important; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 767.98px) {
    .section { padding: 64px 0; }
    .section-sm { padding: 44px 0; }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 680px; }
.section-head { margin-bottom: 52px; }
.section-head.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Banner slider (home) ---------- */
.banner-slider {
    padding: 28px 0 0;
    background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-top) 100%);
}
.banner-slider .carousel {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: #fff;
}
.banner-slider .carousel-item img { aspect-ratio: 1280 / 396; object-fit: cover; }
.banner-slider .carousel-control-prev,
.banner-slider .carousel-control-next { width: 70px; opacity: 1; }
.banner-slider .ctrl {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(15, 23, 42, .55); color: #fff;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .25s, background .25s;
}
.banner-slider .carousel:hover .ctrl { opacity: 1; }
.banner-slider .ctrl:hover { background: var(--primary); }
.banner-slider .carousel-indicators { margin-bottom: 12px; }
.banner-slider .carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 999px; border: 1.5px solid rgba(11, 18, 32, .55);
    background: #fff; opacity: .9; margin: 0 4px;
    transition: width .3s, opacity .3s, background .3s;
}
.banner-slider .carousel-indicators .active { width: 30px; opacity: 1; background: var(--primary); border-color: #fff; }
@media (max-width: 767.98px) {
    .banner-slider .ctrl { opacity: 1; width: 34px; height: 34px; font-size: 12px; }
    .banner-slider .carousel-indicators { margin-bottom: 4px; }
}

/* ---------- Banner slides (built in HTML so they stay sharp) ---------- */
.bs-slide {
    position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center; gap: 20px; min-height: 300px; padding: 34px 64px 44px;
}
.bs-text { position: relative; z-index: 2; max-width: 560px; }
.bs-tag {
    display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.bs-slide h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); line-height: 1.12; letter-spacing: -0.035em; margin-bottom: 10px; font-weight: 800; }
.bs-slide p { font-size: 1.02rem; margin-bottom: 18px; max-width: 470px; }
.bs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.bs-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px;
    font-weight: 700; font-size: 14.5px; transition: transform .2s, filter .2s;
}
.bs-btn:hover { transform: translateY(-2px); filter: brightness(.95); }
.bs-contact { font-size: 13.5px; font-weight: 600; }
.bs-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; max-width: 460px; }
.bs-points li { font-weight: 700; font-size: 14.5px; }
.bs-points i { margin-right: 8px; }

.bs-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.bs-frame { position: relative; overflow: hidden; background: #fff; box-shadow: 0 26px 44px -22px rgba(11, 18, 32, .55); }
.bs-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bs-frame-rect { width: min(100%, 360px); aspect-ratio: 352 / 246; border-radius: 26px 26px 80px 26px; border: 5px solid #fff; }
.bs-frame-circle { width: 210px; height: 210px; border-radius: 50%; border: 6px solid #fff; z-index: 2; }
.bs-frame-circle img { transform: scale(1.12); }
.bs-frame-arch { width: 190px; height: 262px; border-radius: 100px 100px 22px 22px; border: 5px solid #fff; }
.bs-ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .55); animation: ph-spin 40s linear infinite; }
.bs-ring.r1 { width: 270px; height: 270px; }
.bs-ring.r2 { width: 330px; height: 330px; border-style: solid; border-color: rgba(255, 255, 255, .18); animation-direction: reverse; }
.bs-chip {
    position: absolute; z-index: 3; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px;
    padding: 8px 14px; border-radius: 999px; box-shadow: 0 14px 26px -12px rgba(11, 18, 32, .5);
    animation: floaty 5s ease-in-out infinite; display: flex; align-items: center; gap: 8px;
}
.bs-chip.c1 { left: 2%; bottom: 14%; } .bs-chip.c1 i { color: var(--primary); }
.bs-chip.c2 { right: 0; top: 16%; } .bs-chip.c2 i { color: #2563EB; }
.bs-chip.c3 { left: -4%; bottom: 18%; } .bs-chip.c3 i { color: var(--primary); }

/* Slide 1: soft rose, red accents */
.bs-1 { background: radial-gradient(520px 320px at 85% 0%, rgba(207, 26, 43, .16), transparent 70%), linear-gradient(110deg, #FFF3F4 0%, #FDE1E5 100%); }
.bs-1::after { content: ""; position: absolute; right: -90px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: linear-gradient(135deg, #E11D2E, #FB7185); opacity: .9; z-index: 1; }
.bs-1 .bs-tag { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.bs-1 h2 { color: var(--ink); } .bs-1 h2 span { color: var(--primary); }
.bs-1 p, .bs-1 .bs-contact { color: #1F2937; }
.bs-1 .bs-btn { background: var(--primary); color: #fff; box-shadow: 0 12px 22px -12px rgba(207, 26, 43, .8); }

/* Slide 2: deep blue, cloud */
.bs-2 { background: radial-gradient(480px 300px at 80% 10%, rgba(96, 165, 250, .5), transparent 70%), linear-gradient(120deg, #172554 0%, #1D4ED8 100%); color: #fff; }
.bs-2 .bs-tag { background: rgba(255, 255, 255, .15); color: #BFDBFE; border: 1px solid rgba(255, 255, 255, .3); }
.bs-2 h2 { color: #fff; } .bs-2 h2 span { color: #FDE68A; }
.bs-2 p { color: rgba(255, 255, 255, .92); }
.bs-2 .bs-btn { background: #fff; color: #1D4ED8; }
.bs-2 .bs-contact { color: rgba(255, 255, 255, .88); }

/* Slide 3: white to red, support */
.bs-3 { background: linear-gradient(110deg, #FFFFFF 0%, #FFF1F2 55%, #FBD0D6 100%); }
.bs-3::after { content: ""; position: absolute; right: -60px; top: -40px; bottom: -40px; width: 46%; background: linear-gradient(160deg, #E11D2E, #B5121F); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); z-index: 1; }
.bs-3 .bs-tag { background: var(--primary-soft-2); color: var(--primary-dark); }
.bs-3 h2 { color: var(--ink); } .bs-3 h2 span { color: var(--primary); }
.bs-3 p { color: #1F2937; }
.bs-3 .bs-points li { color: var(--ink); } .bs-3 .bs-points i { color: #16A34A; }

@media (max-width: 991.98px) {
    .bs-slide { grid-template-columns: 1fr; padding: 26px 44px 42px; min-height: 0; text-align: center; }
    .bs-text, .bs-slide p { margin-left: auto; margin-right: auto; }
    .bs-actions { justify-content: center; }
    .bs-points { margin: 0 auto; text-align: left; }
    /* the photo stays visible on small screens: it sits below the text */
    .bs-visual { min-height: 0; padding: 4px 0 6px; }
    .bs-1::after { width: 260px; height: 260px; right: -70px; bottom: -90px; }
    .bs-3::after { width: 100%; right: 0; top: auto; height: 62%; bottom: -10px; clip-path: polygon(0 24%, 100% 0, 100% 100%, 0 100%); }
    .bs-frame-rect { width: min(86%, 300px); }
    .bs-frame-circle { width: 170px; height: 170px; }
    .bs-ring.r1 { width: 220px; height: 220px; }
    .bs-ring.r2 { width: 260px; height: 260px; }
    .bs-frame-arch { width: 150px; height: 206px; }
    .bs-chip { font-size: 12px; padding: 6px 11px; }
    .bs-chip.c1 { left: 6%; bottom: 10%; }
    .bs-chip.c2 { right: 4%; top: 8%; }
    .bs-chip.c3 { left: 6%; bottom: 12%; }
}
@media (max-width: 575.98px) { .bs-slide { padding: 22px 18px 44px; } .bs-points { grid-template-columns: 1fr; } }
/* on phones the slider runs the full width of the screen */
@media (max-width: 767.98px) {
    .banner-slider { padding: 0; }
    .banner-slider > .container { max-width: none; padding: 0; }
    .banner-slider .carousel { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
}
@media (max-width: 767.98px) { .banner-slider .carousel-control-prev, .banner-slider .carousel-control-next { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 110px;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(207, 26, 43, .12), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(59, 130, 246, .08), transparent 60%),
        linear-gradient(180deg, var(--hero-top) 0%, var(--page) 100%);
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, .07) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}
.hero h1 .highlight {
    color: var(--primary);
    position: relative;
    white-space: nowrap;
}
.hero h1 .highlight::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: .06em;
    height: .18em;
    background: var(--primary-soft-2);
    z-index: -1;
    border-radius: 4px;
}
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; }
.hero-checks li { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.hero-checks i { color: var(--success); margin-right: 6px; }

/* App mockup */
.mockup-wrap { position: relative; padding: 20px 10px 30px; }
.mockup {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
    transition: transform .6s ease;
}
.mockup:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
a.mockup { color: inherit; cursor: zoom-in; }
.shot-img { display: block; width: 100%; height: auto; }
.mockup-flat, .mockup-flat:hover { transform: none; }
.mockup-left { transform: perspective(1600px) rotateY(6deg) rotateX(2deg); }
.mockup-left:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.shot-wrap { position: relative; padding: 10px 10px 30px; }
.float-card.kot { right: -6px; bottom: 0; }
.mockup-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 16px;
    background: var(--soft);
    border-bottom: 1px solid var(--border);
}
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.mockup-bar span:nth-child(1) { background: #F87171; }
.mockup-bar span:nth-child(2) { background: #FBBF24; }
.mockup-bar span:nth-child(3) { background: #34D399; }
.mockup-bar .url {
    margin-left: 12px; flex: 1;
    background: #fff; border: 1px solid var(--border);
    border-radius: 999px; height: 24px; font-size: 11px; color: var(--muted);
    display: flex; align-items: center; padding: 0 12px; width: auto;
}
.mockup-body { display: flex; min-height: 330px; }
.mockup-side {
    width: 64px; background: var(--navy);
    display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 0;
}
.mockup-side i { color: rgba(255, 255, 255, .45); font-size: 16px; }
.mockup-side i.on { color: #fff; background: var(--primary); padding: 9px; border-radius: 10px; }
.mockup-main { flex: 1; padding: 18px; background: #FBFCFE; }
.mockup-title { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 12px; display: flex; justify-content: space-between; }
.mockup-title small { color: var(--muted); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.kpi small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; }
.kpi strong { font-size: 15px; color: var(--ink); }
.kpi .up { font-size: 10px; color: var(--success); font-weight: 700; }
.chart-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bars span {
    flex: 1; border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #FCA5A5, var(--primary));
    opacity: .9;
}
.bars span.alt { background: linear-gradient(180deg, #E2E8F0, #CBD5E1); }
.mini-table { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: 11px; }
.mini-table div { display: flex; justify-content: space-between; padding: 7px 12px; border-top: 1px solid var(--border); }
.mini-table div:first-child { border-top: 0; background: var(--soft); font-weight: 700; color: var(--muted); }
.pill { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.pill-green { background: var(--success-soft); color: var(--success); }
.pill-amber { background: #FEF3C7; color: #B45309; }

.float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 12px 14px;
    display: flex; align-items: center; gap: 12px;
    font-size: 13px;
    animation: floaty 5s ease-in-out infinite;
}
.float-card b { display: block; color: var(--ink); font-size: 13px; }
.float-card small { color: var(--muted); font-size: 11px; }
.float-card .ic {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-card.one { left: -18px; bottom: 30px; }
.float-card.two { right: -10px; top: 0; animation-delay: -2.5s; }
.hero .mockup { transform: perspective(2000px) rotateX(8deg); transform-origin: center bottom; }
.hero .mockup:hover { transform: perspective(2000px) rotateX(0); }
.hero .float-card.one { left: -10px; bottom: 60px; }
.hero .float-card.two { right: -10px; top: 70px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 575.98px) {
    .float-card.one { left: 0; bottom: 0; }
    .float-card.two { right: 0; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .kpis .kpi:last-child { display: none; }
    .mockup-side { width: 46px; }
    .mockup, .mockup:hover, .mockup-left, .mockup-left:hover { transform: none; }
    .float-card.kot { right: 0; }
    .hero { padding: 48px 0 96px; }
    .eyebrow { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .float-card { animation: none; }
    .mockup { transform: none; }
}

/* ---------- Hero v2: text + overlapping screens ---------- */
.hero { padding: 56px 0 60px; }
.hero2-text h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.hero2-text .hero-lead { max-width: 480px; margin-bottom: 26px; font-size: 1.05rem; }
.hero2-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero2-points > div {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, .8); border: 1px solid var(--border);
    border-radius: 14px; padding: 10px 12px;
}
.hero2-points i {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    background: var(--primary-soft); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.hero2-points span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.hero2-points b { display: block; font-size: 14px; color: var(--ink); }

.hero2-visual { position: relative; padding: 0 0 70px 0; }
.hero2-shape {
    position: absolute; right: -30px; top: 30px; bottom: 20px; left: 14%;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, #F43F5E 60%, #FB923C 100%);
    opacity: .9; transform: rotate(3deg);
}
.hero2-main { position: relative; margin: 0 0 0 0; transform: rotate(-1.5deg); }
.hero2-second {
    position: absolute; left: -26px; bottom: 0; width: 56%;
    transform: rotate(2deg); z-index: 3;
    box-shadow: 0 30px 60px -18px rgba(11, 18, 32, .45);
}
.hero2-main:hover, .hero2-second:hover { transform: none; }
.hero2-visual .float-card.two { right: -8px; top: -14px; z-index: 4; }
.hero .hero2-visual .mockup-bar { padding: 8px 12px; }
.hero .hero2-visual .mockup-bar .url { height: 18px; font-size: 9.5px; }
.hero .hero2-visual .mockup-bar span { width: 8px; height: 8px; }
@media (max-width: 991.98px) {
    .hero { padding: 36px 0 40px; }
    .hero2-shape { left: 6%; right: -6px; }
    .hero2-visual { padding-bottom: 50px; }
}
@media (max-width: 575.98px) {
    .hero2-points { grid-template-columns: 1fr; }
    .hero2-second { left: -6px; width: 62%; }
    .hero2-main, .hero2-second { transform: none; }
    .hero2-shape { transform: none; }
}

/* ---------- Hero v3: dark centred hero with two screens ---------- */
.hero {
    padding: 64px 0 64px;
    background:
        radial-gradient(800px 420px at 85% -10%, rgba(244, 63, 94, .35), transparent 60%),
        radial-gradient(700px 420px at 5% 110%, rgba(59, 130, 246, .28), transparent 60%),
        linear-gradient(160deg, #1B2742 0%, #231C3B 50%, #3A1A2E 100%);
    color: rgba(255, 255, 255, .94);
}
.hero::before {
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
    mask-image: linear-gradient(180deg, #000, transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero3-head { max-width: 860px; margin: 0 auto; }
.hero3-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: #FDE68A; background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero3-head h1 {
    color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem);
    letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 18px;
}
.g-text {
    background: linear-gradient(90deg, #FDA4AF, #FBBF24);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero3-lead { font-size: 1.1rem; color: rgba(255, 255, 255, .92); max-width: 680px; margin: 0 auto 28px; }
.btn-glass {
    background: rgba(255, 255, 255, .1); color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
}
.btn-glass:hover { background: #fff; color: var(--primary); }

.hero3-stage {
    position: relative; display: flex; justify-content: center; align-items: flex-start;
    gap: 22px; margin-top: 52px; padding: 0 10px;
}
.hero3-glow {
    position: absolute; left: 10%; right: 10%; top: 10%; bottom: -10%;
    background: radial-gradient(closest-side, rgba(244, 63, 94, .45), transparent);
    filter: blur(40px); pointer-events: none;
}
.hero3-screen {
    position: relative; display: block; background: #fff;
    border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 40px 80px -25px rgba(0, 0, 0, .65);
    transition: transform .4s ease;
}
.hero3-screen img { display: block; width: 100%; height: auto; }
.hero3-left { width: 56%; transform: translateY(26px); }
.hero3-right { width: 44%; }
.hero3-screen:hover { transform: translateY(-6px); }
.hero3-label {
    position: absolute; left: 12px; top: 12px; z-index: 2;
    background: rgba(11, 18, 32, .78); color: #fff; backdrop-filter: blur(4px);
    font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.hero3-label i { color: #FDA4AF; margin-right: 6px; }

.hero3-feats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    margin-top: 64px;
}
.hero3-feats > div {
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(6px);
}
.hero3-feats i {
    display: inline-flex; width: 34px; height: 34px; border-radius: 10px;
    align-items: center; justify-content: center; margin-bottom: 8px;
    background: rgba(244, 63, 94, .25); color: #FDA4AF; font-size: 14px;
}
.hero3-feats b { display: block; color: #fff; font-size: 15px; }
.hero3-feats span { font-size: 13px; color: rgba(255, 255, 255, .85); }
@media (max-width: 767.98px) {
    .hero { padding: 40px 0 44px; }
    .hero3-stage { flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; }
    .hero3-left, .hero3-right { width: 100%; transform: none; }
    .hero3-feats { grid-template-columns: 1fr 1fr; margin-top: 36px; }
}

/* ---------- Hero v4: text + 3D tilted screens, floating chips ---------- */
.hero4 {
    padding: 44px 0 52px;
    background: transparent;           /* see-through: the page colour shows */
    color: var(--ink-2);
}
section.hero4::before, section.hero4 .orb { display: none; }
section.hero4 h1 { color: var(--ink); }
section.hero4 .g-text { background: linear-gradient(90deg, #CF1A2B, #F59E0B); -webkit-background-clip: text; background-clip: text; }
section.hero4 .hero3-tag { background: #fff; border-color: var(--border); color: var(--primary); box-shadow: var(--shadow-sm); }
section.hero4 .hero3-lead { color: #1F2937; }
section.hero4 .btn-glass { background: #fff; border-color: var(--border); color: var(--ink); }
section.hero4 .btn-glass:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
section.hero4 .h4-trust p { color: #1F2937; }
section.hero4 .h4-trust b { color: var(--primary); }
section.hero4 .h4-faces img { box-shadow: 0 4px 10px -4px rgba(11, 18, 32, .45); }
section.hero4 .h4-ring { opacity: .55; }
.hero4 h1 {
    text-align: left; color: #fff; letter-spacing: -0.035em; line-height: 1.12;
    font-size: clamp(1.5rem, 2.4vw, 2.05rem); margin-bottom: 12px;
}
.hero4 .hero3-lead { text-align: left; margin: 0 0 22px; max-width: 520px; font-size: 1.02rem; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.orb-1 { width: 420px; height: 420px; right: -80px; top: -120px; background: rgba(244, 63, 94, .38); animation: orb 14s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; left: -120px; bottom: -160px; background: rgba(59, 130, 246, .30); animation: orb 18s ease-in-out infinite reverse; }
@keyframes orb { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(34px, 26px); } }

.h4-trust { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.h4-faces { display: flex; flex-shrink: 0; }
.h4-faces img {
    width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
    border: 2px solid #fff; margin-left: -12px; background: #fff;
}
.h4-faces img:first-child { margin-left: 0; }
.h4-trust p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .88); max-width: 330px; }
.h4-trust b { color: #FDE68A; }
.h4-facts { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.h4-facts > div {
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px; padding: 10px 16px; backdrop-filter: blur(6px);
}
.h4-facts b { display: block; color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.h4-facts span { font-size: 12.5px; color: rgba(255, 255, 255, .8); }

.h4-stage { position: relative; padding: 18px 0 56px; perspective: 1800px; }
.h4-ring {
    position: absolute; inset: 6% 2% 4% 8%; border-radius: 40px; z-index: 0;
    background: linear-gradient(135deg, rgba(244, 63, 94, .55), rgba(245, 158, 11, .35) 60%, rgba(59, 130, 246, .35));
    transform: rotate(4deg); filter: blur(1px); opacity: .85;
}
.h4-screen {
    position: relative; display: block; background: #fff; overflow: hidden;
    border-radius: 16px; border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .7);
    transition: transform .5s ease;
}
.h4-screen img { display: block; width: 100%; height: auto; }
.h4-screen .mockup-bar { padding: 8px 12px; }
.h4-screen .mockup-bar span { width: 8px; height: 8px; }
.h4-screen .mockup-bar .url { height: 18px; font-size: 9.5px; }
.h4-main { z-index: 1; transform: rotateY(-12deg) rotateX(4deg) rotateZ(1deg); transform-origin: right center; }
.h4-second {
    position: absolute; z-index: 3; left: -4%; bottom: 0; width: 55%;
    transform: rotateY(-12deg) rotateX(4deg) rotateZ(-2deg);
}
.h4-stage:hover .h4-main { transform: rotateY(-4deg) rotateX(1deg); }
.h4-stage:hover .h4-second { transform: rotateY(-4deg) rotateX(1deg) translateY(-6px); }

.h4-chip {
    position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
    background: #fff; border-radius: 14px; padding: 10px 14px;
    box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .55);
    animation: floaty 5s ease-in-out infinite;
}
.h4-chip i {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.h4-chip b { display: block; color: var(--ink); font-size: 13px; line-height: 1.2; }
.h4-chip small { color: var(--muted); font-size: 11px; }
.h4-chip.c1 { right: -2%; top: 0; }
.h4-chip.c1 i { background: #DCFCE7; color: #16A34A; }
.h4-chip.c2 { right: 2%; bottom: 14px; animation-delay: -2s; }
.h4-chip.c2 i { background: #FEE2E2; color: #DC2626; }
.h4-chip.c3 { left: 3%; top: 4%; animation-delay: -3.5s; }
.h4-chip.c3 i { background: #FEF3C7; color: #B45309; }

@media (max-width: 991.98px) {
    .hero4 { padding: 44px 0 56px; }
    .hero4 h1, .hero4 .hero3-lead { text-align: center; margin-left: auto; margin-right: auto; }
    .hero4 .col-lg-6:first-child { text-align: center; }
    .hero4 .d-flex, .h4-trust, .h4-facts { justify-content: center; }
    .h4-trust { text-align: left; }
    .h4-main, .h4-second { transform: none; }
    .h4-stage:hover .h4-main, .h4-stage:hover .h4-second { transform: none; }
}
@media (max-width: 575.98px) {
    .h4-chip.c3 { display: none; }
    .h4-chip { padding: 8px 10px; }
    .h4-second { width: 62%; left: -2%; }
    .h4-chip.c1 { right: 0; }
    .h4-chip.c2 { right: 0; bottom: 6px; }
    .h4-facts > div { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { .orb, .h4-chip { animation: none; } }

/* ---------- Highlight strip ---------- */
.strip {
    margin-top: -56px;
    position: relative;
    z-index: 2;
}
.strip-inner {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 18px;
}
.strip-item { display: flex; align-items: center; gap: 14px; padding: 6px 14px; }
.strip-item .ic {
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--primary-soft); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.strip-item b { display: block; color: var(--ink); font-size: 15px; }
.strip-item small { color: var(--muted); font-size: 13px; }

/* ---------- Cards ---------- */
/* Compact card: icon on the left, text on the right, coloured accent edge */
.card-x {
    position: relative;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 16px;
    align-content: start;
    align-items: start;
    height: 100%;
    padding: 18px 20px;
    --ca: 207, 26, 43;              /* accent colour of this card (r, g, b) */
    background-color: #fff;
    background-image:
        radial-gradient(circle at 100% 100%, rgba(var(--ca), .16) 0%, rgba(var(--ca), 0) 48%),
        linear-gradient(180deg, #FFFFFF 0%, rgba(var(--ca), .05) 100%);
    border: 1.5px solid rgba(var(--ca), .38);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 18px -12px rgba(var(--ca), .55);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-x::before { content: none; }
.card-x:hover {
    transform: translateY(-3px);
    border-color: rgb(var(--ca));
    box-shadow: 0 18px 30px -14px rgba(var(--ca), .6);
}
/* A different accent colour for neighbouring cards */
.row > *:nth-child(6n+2) > .card-x { --ca: 37, 99, 235; }    /* blue   */
.row > *:nth-child(6n+3) > .card-x { --ca: 22, 163, 74; }    /* green  */
.row > *:nth-child(6n+4) > .card-x { --ca: 217, 119, 6; }    /* amber  */
.row > *:nth-child(6n+5) > .card-x { --ca: 124, 58, 237; }   /* violet */
.row > *:nth-child(6n+6) > .card-x { --ca: 13, 148, 136; }   /* teal   */
/* Icon lives in the background behind the text, so text gets the full card width */
.card-x { grid-template-columns: minmax(0, 1fr); }
.card-x .icon-box { display: none; }
.card-x .card-wm {
    position: absolute; right: 16px; top: 50%; z-index: 0;
    font-size: 92px; line-height: 1;
    color: rgb(var(--ca)); opacity: .13;
    transform: translateY(-50%) rotate(-12deg);
    pointer-events: none;
    transition: transform .4s ease, opacity .3s ease;
}
.card-x:hover .card-wm { transform: translateY(-50%) rotate(-4deg) scale(1.12); opacity: .18; }
.card-x > *:not(.card-wm):not(.num) { position: relative; z-index: 1; grid-column: 1; }
.card-x h3, .card-x h4, .card-x h5 { font-size: 1.05rem; margin: 0 0 6px; line-height: 1.3; }
.card-x p { color: var(--muted); margin-bottom: 0; font-size: 14.5px; line-height: 1.55; }
.icon-box {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #FB7185);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 0;
    flex-shrink: 0;
    box-shadow: 0 8px 16px -8px rgba(207, 26, 43, .75);
}
.icon-box.soft { background: var(--primary-soft-2); color: var(--primary); box-shadow: inset 0 0 0 1px #F3B8BF; }
.card-x .num {
    font-size: 12px; font-weight: 800; color: rgb(var(--ca));
    background: rgba(var(--ca), .13); border-radius: 999px; padding: 1px 9px;
    display: inline-block; margin-bottom: 6px;
}
.card-x > .num { position: absolute; top: 12px; right: 14px; margin: 0; }
.card-x > .num ~ h3, .card-x > .num ~ h4 { padding-right: 34px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 24px; margin-bottom: 5px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
    content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; left: 0; top: 2px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--success-soft); color: var(--success);
    font-size: 8px; display: flex; align-items: center; justify-content: center;
}
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; justify-self: start; }
.card-x .link-arrow, .card-x .link-arrow:hover { color: rgb(var(--ca)); }
.card-x h3, .card-x h4, .card-x h5 { text-shadow: none; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* Pillar cards (home) */
.pillar { position: relative; overflow: hidden; }
.pillar::after {
    content: ""; position: absolute; right: -36px; top: -36px;
    width: 100px; height: 100px; border-radius: 50%;
    background: rgba(var(--ca), .12); z-index: 0;
}
.pillar > *:not(.num):not(.card-wm) { position: relative; z-index: 1; }

/* ---------- Inner-page layouts that are not cards ---------- */
/* Feature table */
.ftable-wrap { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.ftable { width: 100%; border-collapse: collapse; margin: 0; }
.ftable thead th {
    background: linear-gradient(90deg, #FBE3E6, #EDE9FB 60%, #E3EEFB);
    color: var(--ink); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 14px 18px; text-align: left;
}
.ftable td { padding: 14px 18px; border-top: 1px solid var(--border); vertical-align: middle; }
.ftable tbody tr { transition: background .15s; }
.ftable tbody tr:nth-child(even) { background: #F8FAFC; }
.ftable tbody tr:hover { background: var(--primary-soft); }
.ft-no { width: 64px; font-weight: 800; color: var(--primary); font-size: 15px; }
.ft-name { width: 270px; font-weight: 700; color: var(--ink); }
.ft-name i {
    display: inline-flex; width: 34px; height: 34px; border-radius: 50%; margin-right: 10px;
    align-items: center; justify-content: center; vertical-align: middle;
    background: var(--primary-soft-2); color: var(--primary); font-size: 14px;
}
.ftable .check-list li { font-size: 14.5px; margin-bottom: 4px; }
@media (max-width: 767.98px) {
    .ftable thead { display: none; }
    .ftable, .ftable tbody, .ftable tr, .ftable td { display: block; width: 100%; }
    .ftable tr { padding: 12px 6px; border-top: 1px solid var(--border); }
    .ftable tbody tr:first-child { border-top: 0; }
    .ftable td { border: 0; padding: 4px 12px; }
    .ft-no { width: auto; padding-bottom: 0 !important; }
    .ft-name { width: auto; }
}

/* Features page: sticky index + grouped sections */
.fx-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.fx-nav { position: sticky; top: 96px; }
.fx-nav h6 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.fx-nav a {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 6px;
    border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 14.5px;
    border: 1.5px solid transparent; transition: background .2s, border-color .2s, color .2s;
}
.fx-nav a i {
    width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
    background: rgba(var(--ca), .14); color: rgb(var(--ca));
}
.fx-nav a small { margin-left: auto; font-weight: 700; color: var(--muted); font-size: 12px; }
.fx-nav a:hover { background: #fff; border-color: var(--border); }
.fx-nav a.on { background: #fff; border-color: rgba(var(--ca), .5); color: rgb(var(--ca)); box-shadow: var(--shadow-sm); }

.fx-group { margin-bottom: 44px; scroll-margin-top: 100px; }
.fx-head {
    display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px;
    color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(120deg, rgb(var(--ca)), rgba(var(--ca), .72));
    box-shadow: 0 14px 28px -16px rgba(var(--ca), .8);
}
.fx-head::after {
    content: ""; position: absolute; right: -30px; top: -50px; width: 170px; height: 170px;
    border-radius: 50%; background: rgba(255, 255, 255, .13);
}
.fx-head .big { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; opacity: .45; }
.fx-head h2 { color: #fff; font-size: 1.35rem; margin: 0; }
.fx-head p { margin: 2px 0 0; font-size: 14px; color: rgba(255, 255, 255, .92); }
.fx-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; padding: 6px 6px 0; }
.fx-item { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px dashed #BCC6D3; }
.fx-item .fi {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    background: rgba(var(--ca), .14); color: rgb(var(--ca));
}
.fx-item h4 { font-size: 1.05rem; margin: 1px 0 6px; }
.fx-item .check-list li { font-size: 14.5px; }
.fx-item .check-list li::before { background: rgba(var(--ca), .15); color: rgb(var(--ca)); }
@media (max-width: 991.98px) {
    .fx-layout { grid-template-columns: 1fr; gap: 20px; }
    .fx-nav { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
    .fx-nav h6 { display: none; }
    .fx-nav a { white-space: nowrap; margin: 0; background: #fff; border-color: var(--border); }
    .fx-nav a small { display: none; }
}
@media (max-width: 767.98px) { .fx-items { grid-template-columns: 1fr; } }

/* Accordion (Simple to use) */
.xacc .accordion-item { border: 1.5px solid var(--border); border-radius: 14px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.xacc .accordion-button {
    font-weight: 700; font-size: 15.5px; color: var(--ink); background: #fff; padding: 15px 18px;
    box-shadow: none; gap: 12px;
}
.xacc .accordion-button:not(.collapsed) { background: var(--primary-soft); color: var(--primary-dark); }
.xacc .accordion-button:focus { box-shadow: none; }
.xacc .acc-no {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    background: var(--primary-soft-2); color: var(--primary); font-size: 12px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
}
.xacc .accordion-button:not(.collapsed) .acc-no { background: var(--primary); color: #fff; }
.xacc .accordion-body { padding: 4px 18px 18px 60px; }

/* Definition-style rows (Quality support, price extras) */
.dlist { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.drow { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 18px; padding: 16px 22px; border-top: 1px solid var(--border); align-items: start; transition: background .15s; }
.drow:first-child { border-top: 0; }
.drow:hover { background: var(--primary-soft); }
.drow .dt { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.drow .dt i {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #FB7185); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.drow .dd { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 767.98px) { .drow { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; } }

/* Plain feature rows without boxes (About) */
.frow { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed #C4CDD9; }
.frow:last-child { border-bottom: 0; }
.frow .fi {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
    background: var(--primary-soft-2); color: var(--primary); font-size: 18px;
    display: flex; align-items: center; justify-content: center;
}
.frow h4 { font-size: 1.05rem; margin: 2px 0 4px; }
.frow p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Benefit strip: columns separated by thin lines, no boxes */
.bstrip { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1.5px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); }
.bstrip > div { padding: 28px 26px; }
.bstrip > div + div { border-left: 1px solid var(--border); }
.bstrip .bi {
    display: inline-flex; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 12px;
    background: var(--primary-soft-2); color: var(--primary); font-size: 18px; align-items: center; justify-content: center;
}
.bstrip h4 { font-size: 1.05rem; margin-bottom: 6px; }
.bstrip p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 767.98px) {
    .bstrip { grid-template-columns: 1fr; }
    .bstrip > div + div { border-left: 0; border-top: 1px solid var(--border); }
}

/* Large numbered columns (About: why choose) */
.nrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.nrow > div { padding: 6px 28px 6px 0; }
.nrow > div + div { padding-left: 28px; border-left: 2px solid var(--primary-soft-2); }
.nrow .big { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: rgba(207, 26, 43, .22); display: block; margin-bottom: 8px; }
.nrow h4 { font-size: 1.1rem; margin-bottom: 6px; }
.nrow p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 767.98px) {
    .nrow { grid-template-columns: 1fr; gap: 22px; }
    .nrow > div, .nrow > div + div { padding: 0; border: 0; }
}

/* ---------- Online / Offline versions (home) ---------- */
.versions { padding-top: 70px; }
.ver-grid { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: stretch; }
.ver {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 2px solid rgba(var(--ca), .5); border-radius: 24px;
    box-shadow: 0 24px 44px -26px rgba(var(--ca), .7);
    transition: transform .3s ease, box-shadow .3s ease;
}
.ver:hover { transform: translateY(-5px); box-shadow: 0 34px 54px -26px rgba(var(--ca), .8); }
.ver-top {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px;
    padding: 12px 20px; color: #fff;
    background: linear-gradient(120deg, rgb(var(--ca)), rgba(var(--ca), .72));
}
.ver-online .ver-top { background: linear-gradient(120deg, #1D4ED8, #3B82F6 70%, #60A5FA); }
.ver-offline .ver-top { background: linear-gradient(120deg, #C2410C, #F59E0B 75%, #FBBF24); }
.ver-icon {
    width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 19px;
    background: rgba(255, 255, 255, .22); border: 1.5px solid rgba(255, 255, 255, .5);
}
.ver-tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .9; line-height: 1.2; }
.ver-top h3 { color: #fff; font-size: 1.25rem; margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
.ver-top h3 small { font-size: .62em; font-weight: 600; opacity: .9; letter-spacing: 0; }
.ver-wm { position: absolute; right: -6px; bottom: -18px; font-size: 80px; opacity: .13; transform: rotate(-12deg); }
.ver-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ver-lead { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.ver .check-list li { font-size: 15px; margin-bottom: 8px; }
.ver .check-list li::before { background: rgba(var(--ca), .16); color: rgb(var(--ca)); }
.ver-best {
    display: flex; gap: 10px; margin: 16px 0 20px; padding: 12px 14px; border-radius: 14px;
    background: rgba(var(--ca), .09); border: 1px dashed rgba(var(--ca), .55);
    font-size: 14px; line-height: 1.5; color: var(--ink-2);
}
.ver-best i { color: rgb(var(--ca)); margin-top: 3px; }
.ver-best b { color: rgb(var(--ca)); }
.ver-btn {
    margin-top: auto; align-self: flex-start; color: #fff;
    background: rgb(var(--ca)); border-color: rgb(var(--ca));
    box-shadow: 0 10px 20px -10px rgba(var(--ca), .8);
}
.ver-btn:hover { color: #fff; filter: brightness(.92); transform: translateY(-1px); }
.ver-or { display: flex; align-items: center; justify-content: center; position: relative; }
.ver-or::before { content: ""; position: absolute; top: 8%; bottom: 8%; left: 50%; border-left: 2px dashed #B6C0CE; }
.ver-or span {
    position: relative; width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .04em;
    box-shadow: 0 0 0 6px var(--page), 0 10px 20px -8px rgba(11, 18, 32, .6);
}
.ver-help { text-align: center; margin: 30px 0 0; color: var(--ink-2); font-size: 15px; }
.ver-help i { color: var(--primary); }
@media (max-width: 991.98px) {
    .ver-grid { grid-template-columns: 1fr; gap: 0; }
    .ver-or { height: 64px; }
    .ver-or::before { top: 0; bottom: 0; }
}
@media (max-width: 575.98px) {
    .ver-top { padding: 10px 16px; }
    .ver-body { padding: 16px; }
}

/* ---------- Steps ---------- */
.step { text-align: center; padding: 10px 18px; position: relative; }
.step-num {
    width: 64px; height: 64px; border-radius: 50%;
    background: #fff; border: 2px dashed #FDA4AF; color: var(--primary);
    font-size: 22px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.step h5 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (min-width: 768px) {
    .steps .col-md-4:not(:last-child) .step::after {
        content: ""; position: absolute; top: 42px; left: calc(50% + 46px); right: calc(-50% + 46px);
        border-top: 2px dashed #FECDD3;
    }
}

/* ---------- Dark section ---------- */
.section-dark {
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(225, 29, 46, .25), transparent 60%),
        var(--navy);
    color: rgba(255, 255, 255, .92);
}
.section-dark h2, .section-dark h3, .section-dark h5 { color: #fff; }
.section-dark .eyebrow { background: rgba(225, 29, 46, .18); color: #FDA4AF; }
.section-dark .section-lead { color: rgba(255, 255, 255, .88); }

.industry {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 14px 16px;
    color: #fff; font-weight: 600; font-size: 14.5px;
    height: 100%;
    transition: background .2s, border-color .2s, transform .2s;
}
.industry:hover { background: rgba(225, 29, 46, .14); border-color: rgba(225, 29, 46, .5); transform: translateY(-2px); }
.industry i {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    background: rgba(255, 255, 255, .08); color: #FDA4AF;
    display: flex; align-items: center; justify-content: center;
}

/* ---------- Comparison ---------- */
.compare-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.compare-table { width: 100%; margin: 0; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare-table thead th { background: var(--soft); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare-table thead th.xtock-col { background: var(--primary-soft); }
.compare-table td.xtock-col { background: #FDF1F3; font-weight: 600; color: var(--ink); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--ink-2); font-weight: 600; }
.compare-table .c-col { text-align: center; width: 22%; }
.yes, .no {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}
.yes { background: var(--success-soft); color: var(--success); }
.no { background: #FEE2E2; color: #DC2626; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.tag-good { background: var(--success-soft); color: var(--success); }
.tag-bad { background: #FEE2E2; color: #DC2626; }
.tag-neutral { background: var(--soft); color: var(--muted); border: 1px solid var(--border); }
@media (max-width: 575.98px) {
    .compare-table th, .compare-table td { padding: 12px 10px; font-size: 14px; }
}

/* ---------- Clients ---------- */
.client {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 16px;
    text-align: center;
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.client img {
    width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
    border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary-soft-2);
    margin-bottom: 14px;
}
.client h6 { font-size: 15px; margin-bottom: 2px; }
.client .biz { color: var(--primary); font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.client .loc { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; overflow: hidden;
    border-radius: 26px;
    padding: 48px 48px;
    color: rgba(255, 255, 255, .9);
    background:
        radial-gradient(500px 250px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%),
        linear-gradient(120deg, var(--primary) 0%, #BE123C 100%);
    box-shadow: 0 30px 60px -25px rgba(225, 29, 46, .6);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 575.98px) { .cta-band { padding: 32px 24px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: 0px 0 0;
    background: transparent;
    color: var(--muted);
}
/* the banner is a full-width ribbon: it runs off both edges of the screen */
.ph-ribbon { position: relative; }
.ph-panel {
    position: relative; overflow: hidden;
    padding: 16px 0 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 38%, rgba(11, 18, 32, .05) 100%),
        linear-gradient(100deg, #F6C2CC 0%, #F0D4EE 38%, #DCD8F6 62%, #C4D8F8 100%);
    box-shadow: 0 16px 26px -18px rgba(124, 58, 237, .55);
}
/* stitching running along the top and bottom edge */
.ph-panel::after {
    content: ""; position: absolute; left: 0; right: 0; top: 7px; bottom: 7px; pointer-events: none;
    border-top: 1.5px dashed rgba(255, 255, 255, .9);
    border-bottom: 1.5px dashed rgba(255, 255, 255, .9);
}
/* hide the old tails / folds (kept in the markup for easy return) */
.ph-tail, .ph-fold { display: none; }
.ph-panel::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(11, 18, 32, .15) 1.2px, transparent 1.4px);
    background-size: 20px 20px;
    mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.ph-panel > .container { position: relative; z-index: 1; }
.ph-blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.ph-blob-1 { width: 360px; height: 360px; right: 2%; top: -170px; background: rgba(207, 26, 43, .26); }
.ph-blob-2 { width: 300px; height: 300px; left: -90px; bottom: -190px; background: rgba(59, 130, 246, .24); }

.page-hero .breadcrumb {
    display: inline-flex; margin-bottom: 6px; font-size: 12px; font-weight: 600;
    background: rgba(255, 255, 255, .85); border: 1px solid #fff;
    padding: 2px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb a:hover { color: var(--primary); }
.page-hero .breadcrumb-item.active { color: var(--primary); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: #475569; content: "›"; }
.page-hero-title {
    position: relative; color: var(--ink); max-width: 820px;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.2; letter-spacing: -0.02em;
    margin-bottom: 8px; padding-bottom: 8px;
}
.page-hero-title::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), #F59E0B);
}
.page-hero-sub { font-size: .92rem; line-height: 1.5; max-width: 660px; margin: 0; color: #1F2937; }

/* Right-hand illustration: main icon + three floating satellites */
.ph-art { position: relative; width: 250px; height: 96px; }
.ph-art .ph-orbit {
    position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px;
    border-radius: 50%; border: 2px dashed rgba(207, 26, 43, .35); animation: ph-spin 36s linear infinite;
}
.ph-art .ph-orbit-2 { width: 68px; height: 68px; margin: -34px 0 0 -34px; border: 1.5px solid rgba(59, 130, 246, .35); animation-direction: reverse; animation-duration: 28s; }
.ph-main {
    position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
    border-radius: 17px; transform: rotate(-8deg);
    background: linear-gradient(135deg, var(--primary), #F43F5E 70%, #FB923C);
    color: #fff; font-size: 21px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 22px 40px -14px rgba(207, 26, 43, .75);
}
.ph-main i { transform: rotate(8deg); }
.ph-sat {
    position: absolute; width: 32px; height: 32px; border-radius: 11px; background: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 13px;
    box-shadow: 0 14px 26px -12px rgba(11, 18, 32, .45);
    animation: floaty 5s ease-in-out infinite;
}
.ph-sat.s1 { left: 6%; top: 8%; color: #2563EB; }
.ph-sat.s2 { right: 4%; top: 2%; color: #16A34A; animation-delay: -1.7s; }
.ph-sat.s3 { right: 14%; bottom: 4%; color: #D97706; animation-delay: -3.3s; }
.ph-dots { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); opacity: .5; }
.ph-dots.d1 { left: 24%; bottom: 14%; }
.ph-dots.d2 { right: 36%; top: 6%; width: 6px; height: 6px; background: #3B82F6; }
@keyframes ph-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ph-orbit, .ph-sat { animation: none; } }
@media (max-width: 575.98px) { .page-hero { padding: 0; } .ph-panel { padding: 12px 0 14px; } }
.page-hero + .section { padding-top: 40px; }
@media (max-width: 767.98px) { .page-hero + .section { padding-top: 30px; } }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2, .prose h4 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 12px; }
.prose p, .prose li { color: #475569; }
.prose ul { padding-left: 1.2rem; }
.prose-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 44px; box-shadow: var(--shadow-sm);
}
@media (max-width: 575.98px) { .prose-card { padding: 24px 20px; } }
.toc {
    position: sticky; top: 100px;
    background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px;
}
.toc h6 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.toc a { display: block; color: var(--ink-2); font-size: 14px; font-weight: 600; padding: 6px 0; }
.toc a:hover { color: var(--primary); }

/* ---------- Quote / callout ---------- */
.callout {
    background: var(--primary-soft);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 22px 26px;
    color: var(--ink-2);
}

/* ---------- Pricing ---------- */
.price-card {
    background: #fff; border: 2px solid var(--primary); border-radius: 24px;
    padding: 36px; box-shadow: var(--shadow-lg); position: relative;
}
.price-card .badge-top {
    position: absolute; top: -14px; left: 36px;
    background: var(--primary); color: #fff; font-size: 12px; font-weight: 800;
    padding: 5px 14px; border-radius: 999px; letter-spacing: .04em;
}
.price-amount { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.price-amount small { font-size: 1rem; color: var(--muted); font-weight: 600; }

/* ---------- Tutorials ---------- */
.video-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video-card .ratio { background: #000; }
.video-card .body { padding: 18px 20px; }
.video-card .body small { color: var(--primary); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.video-card .body h5 { font-size: 1.02rem; margin: 6px 0 0; }

/* ---------- Contact ---------- */
.contact-card {
    background: #fff; border: 1px solid var(--border); border-radius: 24px;
    padding: 40px; box-shadow: var(--shadow);
}
@media (max-width: 575.98px) { .contact-card { padding: 26px 20px; } }
.contact-info {
    background: var(--navy); color: rgba(255, 255, 255, .92);
    border-radius: 24px; padding: 40px; height: 100%;
    background-image: radial-gradient(400px 200px at 100% 0%, rgba(225, 29, 46, .35), transparent 60%);
}
.contact-info h3 { color: #fff; }
.contact-row { display: flex; gap: 16px; margin-top: 26px; }
.contact-row .ic {
    width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
    background: rgba(255, 255, 255, .08); color: #FDA4AF;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-row b { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.contact-row a { color: rgba(255, 255, 255, .8); }
.contact-row a:hover { color: #fff; }
.form-label { font-weight: 700; font-size: 14px; color: var(--ink); }
.form-control {
    border-radius: 12px; border: 1px solid var(--border);
    padding: .8rem 1rem; font-size: 15px; background: var(--soft);
}
.form-control:focus { border-color: #FDA4AF; box-shadow: 0 0 0 4px rgba(225, 29, 46, .12); background: #fff; }
.alert-x { border-radius: 12px; padding: 14px 18px; font-weight: 600; font-size: 15px; }
.alert-x.ok { background: var(--success-soft); color: #166534; }
.alert-x.err { background: #FEE2E2; color: #991B1B; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .85);
    padding: 80px 0 0;
    font-size: 15px;
}
.site-footer h5 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 0; }
.site-footer a { color: rgba(255, 255, 255, .94); }
.site-footer a:hover { color: #fff; }
.footer-logo { height: 46px; width: auto; background: #fff; border-radius: 12px; padding: 8px 12px; }
.footer-link { display: block; padding: 5px 0; }
.footer-link:hover { padding-left: 4px; }
.footer-contact { display: flex; gap: 12px; margin-bottom: 12px; }
.footer-contact i { color: #FDA4AF; margin-top: 5px; width: 14px; }
.btn-social {
    width: 40px; height: 40px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .07);
}
.btn-social:hover { background: var(--primary); }
.footer-bottom {
    padding: 11px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
    font-size: 14px;
}

/* ---------- Floating buttons ---------- */
.float-whatsapp {
    position: fixed; left: 22px; bottom: 22px; z-index: 99;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #fff !important; font-size: 28px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 24px -8px rgba(37, 211, 102, .7);
    transition: transform .2s;
}
.float-whatsapp:hover { transform: scale(1.08); }
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 99;
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--ink); color: #fff !important; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary); }

/* ---------- Media ---------- */
.media-frame {
    border-radius: 24px; overflow: hidden; position: relative;
    box-shadow: var(--shadow-lg);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-badge {
    position: absolute; left: 20px; bottom: 20px;
    background: rgba(255, 255, 255, .95); border-radius: 14px; padding: 12px 16px;
    display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.media-badge b { color: var(--ink); display: block; font-size: 14px; }
.media-badge small { color: var(--muted); font-size: 12px; }

/* Stat */
.stat { text-align: center; }
.stat strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }
