/* ============================================================
   Appixio Inc — company site. Distinct enterprise identity:
   deep navy, blue (#3b82f6) + emerald (#10b981) accents,
   CSS-built runtime-UI hero. No shared design with appenerix.com.
   ============================================================ */
:root {
    --bg: #070b14;
    --bg-2: #0a1120;
    --panel: #0e1626;
    --panel-2: #111c30;
    --line: rgba(148, 170, 209, 0.16);
    --line-strong: rgba(148, 170, 209, 0.3);
    --text: #eaf1fb;
    --muted: #93a4c0;
    --blue: #3b82f6;
    --blue-2: #60a5fa;
    --emerald: #10b981;
    --violet: #8b5cf6;
    --radius: 16px;
    --radius-sm: 11px;
    --maxw: 1180px;
    --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--text);
    background:
        radial-gradient(900px circle at 75% -5%, rgba(59, 130, 246, 0.16), transparent 55%),
        radial-gradient(700px circle at 0% 8%, rgba(16, 185, 129, 0.1), transparent 50%),
        var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* faint grid texture */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 170, 209, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 170, 209, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.55), transparent 70%);
}

.container { width: min(var(--maxw), calc(100% - 2.4rem)); margin-inline: auto; }
.section { padding: 5rem 0; }
.section-sm { padding: 3.4rem 0; }

h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { color: var(--muted); margin: 0; }
a { color: inherit; }

.eyebrow {
    margin: 0 0 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-2);
}

.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.7rem; }
.lead { font-size: 1.02rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.78rem 1.3rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: #03101f;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.32);
}
.btn-emerald {
    color: #022; background: linear-gradient(135deg, var(--emerald), #34d399);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.28);
}
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    transition: background 200ms ease, border-color 200ms ease;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(7, 11, 20, 0.82); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 800; }
.brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.brand span { letter-spacing: -0.02em; }
.main-nav { margin-left: auto; display: flex; gap: 0.3rem; }
.main-nav a {
    text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.9rem;
    padding: 0.45rem 0.7rem; border-radius: 9px; transition: color 150ms ease, background 150ms ease;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lang-select {
    border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.05); color: var(--text);
    border-radius: 999px; font: inherit; font-size: 0.82rem; font-weight: 700;
    padding: 0.45rem 0.6rem; cursor: pointer; appearance: none; -webkit-appearance: none;
}
.lang-select option { color: #0d1422; }
.menu-toggle {
    display: none; width: 42px; height: 38px; border-radius: 10px;
    border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); cursor: pointer; padding: 0.5rem;
}
.menu-toggle span { display: block; height: 2px; background: #cdd9ee; margin: 4px 0; }

/* ===== Hero ===== */
.hero { padding: 3.6rem 0 4.2rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.4rem; align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .grad { background: linear-gradient(120deg, var(--blue-2), var(--emerald)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.08rem; max-width: 56ch; margin-bottom: 0.6rem; }
.hero-tagline { font-weight: 700; color: var(--text); margin-bottom: 1.4rem; }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.hero-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.84rem; color: var(--muted); }
.hero-meta b { color: var(--text); }

/* CSS-built runtime UI mock (distinct hero visual, no screenshot needed) */
.runtime-ui {
    border-radius: var(--radius); border: 1px solid var(--line-strong);
    background: linear-gradient(160deg, var(--panel-2), var(--panel));
    box-shadow: 0 30px 70px rgba(2, 6, 16, 0.6); overflow: hidden;
}
.ru-top { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.ru-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); display: inline-block; }
.ru-top span { margin-left: 0.4rem; font-size: 0.78rem; color: #c6d4ea; font-weight: 600; }
.ru-body { display: grid; grid-template-columns: 116px 1fr; min-height: 280px; }
.ru-side { border-right: 1px solid var(--line); padding: 0.8rem 0.6rem; display: grid; gap: 0.5rem; align-content: start; }
.ru-side b { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.ru-side em { font-style: normal; font-size: 0.76rem; color: #c6d4ea; padding: 0.3rem 0.4rem; border-radius: 7px; background: rgba(255, 255, 255, 0.03); }
.ru-side em.on { color: #fff; background: linear-gradient(120deg, rgba(59, 130, 246, 0.4), rgba(16, 185, 129, 0.2)); }
.ru-main { padding: 0.9rem; display: grid; gap: 0.6rem; align-content: start; }
.ru-row { height: 13px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); }
.ru-row.w70 { width: 70%; } .ru-row.w50 { width: 50%; } .ru-row.w85 { width: 85%; }
.ru-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 0.3rem; }
.ru-kpi { border: 1px solid var(--line); border-radius: 9px; padding: 0.55rem; background: rgba(255, 255, 255, 0.03); }
.ru-kpi b { display: block; font-size: 1rem; color: #fff; }
.ru-kpi small { font-size: 0.62rem; color: var(--muted); }
.ru-ailock {
    margin-top: 0.4rem; border: 1px solid rgba(16, 185, 129, 0.4); border-radius: 10px;
    background: rgba(16, 185, 129, 0.08); padding: 0.6rem 0.7rem; font-size: 0.78rem; color: #d7ffee;
}
.ru-ailock b { color: var(--emerald); }

/* ===== Generic card grids ===== */
.card {
    border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(160deg, var(--panel-2), var(--panel));
    padding: 1.3rem 1.25rem; transition: transform 170ms ease, border-color 170ms ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card .ico { font-size: 1.5rem; margin-bottom: 0.6rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.92rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* ===== Story ===== */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: start; }
.story .prose p { margin-bottom: 1rem; font-size: 1rem; }
.story .prose p:last-child { margin-bottom: 0; }
.story .prose b { color: var(--text); }

/* ===== Ailock-inside callout ===== */
.callout {
    border: 1px solid rgba(59, 130, 246, 0.35); border-radius: var(--radius);
    background: linear-gradient(150deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.06));
    padding: 1.6rem 1.5rem;
}
.callout .quote {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--text); font-weight: 700;
    margin: 0 0 1rem; line-height: 1.4;
}
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.tick-list li { position: relative; padding-left: 1.5rem; font-size: 0.92rem; color: #d4e1f5; }
.tick-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--emerald); font-weight: 800; }

/* ===== Demo ===== */
.video-frame {
    position: relative; width: min(900px, 100%); margin: 0 auto; aspect-ratio: 16 / 9;
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
    box-shadow: 0 30px 70px rgba(2, 6, 16, 0.6); background: #050a13;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== Pricing ===== */
.price-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-bottom: 1.6rem; }
.price-split .card h3 { color: var(--blue-2); }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(59, 130, 246, 0.55); background: linear-gradient(160deg, rgba(59, 130, 246, 0.14), var(--panel)); }
.price-card .tier { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.2rem; }
.price-card .for { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.9rem; min-height: 2.4em; }
.price-card .tick-list { flex: 1; margin-bottom: 1.1rem; }
.price-card .tick-list li { font-size: 0.86rem; }
.price-note {
    margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03); padding: 1.3rem 1.4rem;
}
.price-note h3 { margin-bottom: 0.5rem; }
.price-note p { font-size: 0.92rem; margin-bottom: 0.6rem; }
.price-note p:last-child { margin-bottom: 0; }

/* ===== Compare ===== */
.compare-intro { font-size: 1.02rem; max-width: 760px; margin-bottom: 1.6rem; }
.compare-card h3 { color: var(--blue-2); margin-bottom: 0.4rem; }

/* ===== Industries ===== */
.ind-card { padding: 1.1rem; }
.ind-card h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.ind-card p { font-size: 0.86rem; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 860px; margin-inline: auto; }
.team-card { display: flex; gap: 1.1rem; align-items: flex-start; }
.team-card img {
    width: 84px; height: 84px; border-radius: 16px; object-fit: cover; flex-shrink: 0;
    border: 1px solid var(--line-strong); background: var(--panel-2);
}
.team-card h3 { margin-bottom: 0.15rem; }
.team-role { color: var(--blue-2); font-weight: 700; font-size: 0.82rem; margin-bottom: 0.55rem; }
.team-bio { font-size: 0.9rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.contact-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.contact-list li { font-size: 0.95rem; color: #d4e1f5; }
.contact-list b { color: var(--text); }
.offer-band {
    margin-top: 1.3rem; border: 1px solid rgba(16, 185, 129, 0.4); border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.09); padding: 0.95rem 1.1rem; font-size: 0.9rem; color: #d7ffee;
}
.offer-band b { color: var(--emerald); }

/* ===== FAQ accordion ===== */
.faq-list { display: grid; gap: 0.7rem; max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; }
.faq-q {
    width: 100%; text-align: left; background: none; border: 0; color: var(--text);
    font: inherit; font-weight: 700; font-size: 0.98rem; padding: 1rem 1.1rem; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .chev { color: var(--blue-2); transition: transform 200ms ease; flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 260ms ease; }
.faq-a p { padding: 0 1.1rem 1.1rem; font-size: 0.92rem; }

/* ===== CTA band ===== */
.cta-band {
    border-radius: var(--radius); border: 1px solid rgba(59, 130, 246, 0.4);
    background: linear-gradient(130deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.14));
    padding: 2rem 1.8rem; display: flex; justify-content: space-between; align-items: center; gap: 1.4rem;
}
.cta-band h2 { margin-bottom: 0.4rem; }

/* ===== Footer ===== */
.site-footer { padding: 2.6rem 0; border-top: 1px solid var(--line); margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 1.8rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.footer-brand p { margin-top: 0.7rem; font-size: 0.88rem; max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.footer-col a:hover { color: var(--blue-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.1rem; gap: 0.6rem; }
.footer-bottom p { font-size: 0.82rem; }
.footer-legal { display: flex; gap: 1.1rem; }
.footer-legal a { color: var(--muted); text-decoration: none; font-size: 0.82rem; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Back to top ===== */
.back-to-top {
    position: fixed; bottom: 1.6rem; right: 1.6rem; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-strong); background: rgba(14, 22, 38, 0.9); backdrop-filter: blur(8px);
    color: var(--text); font-size: 1.1rem; cursor: pointer; z-index: 90;
    opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 220ms ease, transform 220ms ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===== RTL ===== */
[dir="rtl"] .main-nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .tick-list li, [dir="rtl"] .contact-list li { padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] .tick-list li::before { left: auto; right: 0; }
[dir="rtl"] .faq-q { text-align: right; }
[dir="rtl"] .back-to-top { right: auto; left: 1.6rem; }
[dir="rtl"] .eyebrow { letter-spacing: normal; }
[dir="rtl"] .hero h1, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: normal; }

/* ===== Responsive ===== */
@media (max-width: 1040px) {
    .hero-grid, .story, .contact-grid { grid-template-columns: 1fr; }
    .grid-4, .price-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .price-split, .grid-2, .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .menu-toggle { display: inline-block; margin-left: auto; }
    [dir="rtl"] .menu-toggle { margin-left: 0; margin-right: auto; }
    .main-nav {
        position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column;
        gap: 0.3rem; padding: 0.8rem 1.1rem; background: rgba(8, 13, 24, 0.98); border-bottom: 1px solid var(--line);
    }
    .main-nav.is-open { display: flex; }
    .nav-cta { display: none; }
    .grid-2, .grid-3, .grid-4, .price-grid { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; opacity: 1; transform: none; }
    .btn:hover, .card:hover { transform: none; }
}

/* ============================================================
   v2 — elegant hero (real-style device shot), product blocks
   ============================================================ */
/* greener, more refined backdrop (matches live appixio.com) */
body {
    background:
        radial-gradient(820px circle at 84% -8%, rgba(59, 130, 246, 0.18), transparent 55%),
        radial-gradient(760px circle at 6% 42%, rgba(16, 185, 129, 0.16), transparent 52%),
        radial-gradient(900px circle at 50% 120%, rgba(16, 185, 129, 0.07), transparent 60%),
        var(--bg);
}

/* badge pill (replaces plain eyebrow in hero/product) */
.badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.85rem; border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.32);
    background: rgba(16, 185, 129, 0.1);
    color: #b9f3da; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.01em;
    margin: 0 0 1.1rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(16,185,129,0.18); }
.badge.blue { border-color: rgba(59,130,246,0.32); background: rgba(59,130,246,0.1); color: #c3dbff; }
.badge.blue .dot { background: var(--blue-2); box-shadow: 0 0 0 4px rgba(59,130,246,0.18); }
.badge.violet { border-color: rgba(139,92,246,0.32); background: rgba(139,92,246,0.1); color: #dcccff; }
.badge.violet .dot { background: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,246,0.18); }

/* device-framed hero screenshot */
.device {
    position: relative;
    border-radius: 16px;
    padding: 8px;
    background: linear-gradient(160deg, #1b2740, #0c1424);
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 90px rgba(2, 6, 16, 0.65);
    transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
    transition: transform 400ms ease;
}
.device:hover { transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg); }
.device img { display: block; width: 100%; height: auto; border-radius: 10px; }
.device-quote {
    position: absolute; left: -18px; bottom: -26px; max-width: 280px;
    background: rgba(8, 13, 24, 0.95); border: 1px solid var(--line-strong);
    border-radius: 12px; padding: 0.7rem 0.85rem; box-shadow: 0 18px 40px rgba(2,6,16,0.6);
    font-size: 0.82rem; color: #d4e1f5; font-weight: 600;
}
.device-quote small { display: block; margin-top: 0.25rem; color: var(--blue-2); font-weight: 700; }
[dir="rtl"] .device { transform: perspective(1600px) rotateY(9deg) rotateX(3deg); }
[dir="rtl"] .device-quote { left: auto; right: -18px; }

/* product blocks (alternating) */
.product-block { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; margin-bottom: 3.4rem; }
.product-block:last-child { margin-bottom: 0; }
.product-block.reverse .pb-copy { order: 2; }
.product-block.reverse .pb-visual { order: 1; }
.pb-copy h3 { font-size: 1.9rem; margin-bottom: 0.4rem; }
.pb-tagline { color: var(--blue-2); font-weight: 700; font-size: 1.02rem; margin-bottom: 0.7rem; }
.pb-copy > p { font-size: 0.98rem; margin-bottom: 1rem; }
.pb-copy .tick-list { margin-bottom: 1.3rem; }
.pb-cta { display: inline-flex; gap: 0.6rem; flex-wrap: wrap; }

/* product visual panel (when no screenshot) */
.pb-panel {
    border-radius: var(--radius); border: 1px solid var(--line-strong);
    background: linear-gradient(160deg, var(--panel-2), var(--panel));
    box-shadow: 0 30px 70px rgba(2, 6, 16, 0.5); padding: 1.6rem; min-height: 280px;
    display: flex; flex-direction: column; justify-content: center; gap: 1rem;
}
.pb-panel.emerald { background: linear-gradient(150deg, rgba(16,185,129,0.14), var(--panel)); border-color: rgba(16,185,129,0.32); }
.pb-panel.violet { background: linear-gradient(150deg, rgba(139,92,246,0.14), var(--panel)); border-color: rgba(139,92,246,0.32); }
.pb-panel .pb-ico { font-size: 2.4rem; }
.pb-panel .pb-name { font-weight: 800; font-size: 1.3rem; color: #fff; }
.pb-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pb-chips span {
    padding: 0.4rem 0.7rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
    border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); color: #d4e1f5;
}
.pb-mock { display: grid; gap: 0.6rem; }
.pb-mock .qa { border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.75rem; background: rgba(255,255,255,0.03); font-size: 0.84rem; }
.pb-mock .qa b { color: var(--blue-2); }
.pb-mock .qa.score b { color: var(--emerald); }

@media (max-width: 1040px) {
    .product-block { grid-template-columns: 1fr; gap: 1.4rem; }
    .product-block.reverse .pb-copy { order: 1; }
    .product-block.reverse .pb-visual { order: 2; }
    .device { transform: none; }
    [dir="rtl"] .device { transform: none; }
    .device-quote { position: static; max-width: none; margin-top: 0.8rem; }
}

/* ============================================================
   v3 — animated moving background + colored section dividers
   ============================================================ */
@keyframes appx-bg-drift {
    0%,   100% { background-position: 0% 0%,  0% 0%,  0% 0%,  0 0; }
    33%        { background-position: 10% 6%, 6% 12%, 4% 8%,  0 0; }
    66%        { background-position: -8% 10%, 12% -6%, -4% 12%, 0 0; }
}
body {
    background-size: 190% 190%, 180% 180%, 220% 220%, auto;
    animation: appx-bg-drift 28s ease-in-out infinite;
}

/* a soft drifting color wash on top, like the live appixio.com */
body::after {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(40% 40% at 20% 30%, rgba(16, 185, 129, 0.12), transparent 70%),
        radial-gradient(45% 45% at 80% 60%, rgba(59, 130, 246, 0.12), transparent 70%);
    filter: blur(20px);
    animation: appx-wash 22s ease-in-out infinite alternate;
}
@keyframes appx-wash {
    0%   { transform: translate3d(-4%, -2%, 0) scale(1); opacity: 0.9; }
    50%  { transform: translate3d(5%, 3%, 0) scale(1.08); opacity: 1; }
    100% { transform: translate3d(-3%, 4%, 0) scale(1.03); opacity: 0.85; }
}

/* colored divider line between sections + subtle alternating band */
main > section { position: relative; }
main > section + section::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(var(--maxw), calc(100% - 2.4rem));
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.55), rgba(16,185,129,0.55), transparent);
}
main > section:nth-of-type(even) { background: rgba(148, 170, 209, 0.022); }

@media (prefers-reduced-motion: reduce) {
    body { animation: none; }
    body::after { animation: none; }
}
