/* =================================================================================================
 * XYORO — 2026 design refresh
 *
 * Loaded AFTER xyoro.css, deliberately. xyoro.css carries 555 selectors covering the dashboard
 * mock, module grids, legal pages and the language switcher; rewriting it wholesale to restyle the
 * site would have meant rebuilding all of that from memory. This layer instead redefines the design
 * tokens the base sheet already consumes — so the palette, type scale and shadow language change
 * everywhere at once — and then adds the components the base sheet never had.
 *
 * Typeface: Plus Jakarta Sans, drawn by Tokotype in Jakarta. It has a full Latin Extended set, so
 * it renders Bahasa Indonesia, Vietnamese, Turkish and the European languages natively, and it
 * falls through to the system UI stack for the scripts it does not cover — which matters when the
 * same stylesheet has to serve 125 languages.
 * ============================================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
    /* Brand — evolved from the original navy/blue, deepened for contrast on white. */
    --xyoro-navy: #06132f;
    --xyoro-navy-2: #0d2350;
    --xyoro-blue: #1359ff;
    --xyoro-blue-2: #3d86ff;
    --xyoro-blue-soft: #e8f0ff;
    --xyoro-green: #00c08b;
    --xyoro-teal: #06b6d4;
    --xyoro-amber: #ff9d2e;

    /* Surfaces */
    --xyoro-bg: #fbfcff;
    --xyoro-soft: #f2f6ff;
    --xyoro-surface: #ffffff;
    --xyoro-text: #0e1c3a;
    --xyoro-muted: #5a6b8c;
    --xyoro-border: rgba(13, 35, 80, 0.09);
    --xyoro-border-strong: rgba(13, 35, 80, 0.16);

    /* Elevation — a three-step ramp instead of the single heavy drop the base sheet used. */
    --xyoro-shadow-sm: 0 1px 2px rgba(6, 19, 47, 0.05), 0 2px 8px rgba(6, 19, 47, 0.04);
    --xyoro-shadow: 0 4px 12px rgba(6, 19, 47, 0.06), 0 16px 40px rgba(6, 19, 47, 0.08);
    --xyoro-shadow-lg: 0 8px 24px rgba(6, 19, 47, 0.08), 0 32px 72px rgba(6, 19, 47, 0.12);
    --xyoro-ring: 0 0 0 4px rgba(19, 89, 255, 0.16);

    --xyoro-radius-sm: 10px;
    --xyoro-radius: 16px;
    --xyoro-radius-lg: 24px;
    --xyoro-radius-xl: 32px;

    --xyoro-gradient: linear-gradient(135deg, #1359ff 0%, #3d86ff 55%, #06b6d4 100%);
    --xyoro-gradient-deep: linear-gradient(140deg, #06132f 0%, #0d2350 45%, #123c8f 100%);

    --xyoro-section-y: clamp(64px, 7vw, 116px);
    --xyoro-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------- typography */
body {
    font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04", "ss01";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.006em;
    background:
        radial-gradient(1100px 620px at 88% -8%, rgba(19, 89, 255, 0.07), transparent 60%),
        radial-gradient(900px 520px at -6% 4%, rgba(6, 182, 212, 0.06), transparent 62%),
        var(--xyoro-bg);
}

/* Scripts Plus Jakarta Sans does not cover keep the platform's own UI font, which does. */
body:lang(ar), body:lang(fa), body:lang(ur), body:lang(ps), body:lang(sd), body:lang(ks), body:lang(dv),
body:lang(he), body:lang(zh), body:lang(ja), body:lang(ko), body:lang(th), body:lang(my), body:lang(km),
body:lang(lo), body:lang(bo), body:lang(am), body:lang(ti), body:lang(chr), body:lang(sat) {
    font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans", sans-serif;
    letter-spacing: normal;
}

h1, h2, h3, .hero-title, .section-title, .section-heading {
    font-weight: 800;
    letter-spacing: -0.028em;
    line-height: 1.12;
    color: var(--xyoro-navy);
}

.hero-title {
    font-size: clamp(2.35rem, 4.4vw, 3.85rem);
}

.section-title, .section-heading {
    font-size: clamp(1.85rem, 2.9vw, 2.7rem);
}

.section-sub {
    color: var(--xyoro-muted);
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.65;
    max-width: 62ch;
    margin-inline: auto;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.68;
    color: var(--xyoro-muted);
    max-width: 56ch;
}

/* ---------------------------------------------------------------- section rhythm */
.feature-strip, .trust-band, .curricula-band, .spotlight-section, .platform-section,
.highlights-section, .steps-section, .benefits-section, .faq-section, .language-band,
.seo-module-section, .page-section, .legal-section, .id-band, .mobile-band, .contact-band {
    padding-block: var(--xyoro-section-y);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--xyoro-blue-soft);
    color: var(--xyoro-blue);
    font-size: 0.795rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid rgba(19, 89, 255, 0.14);
}

.section-head-center {
    text-align: center;
    margin-bottom: clamp(36px, 4vw, 60px);
}

.section-head-center .eyebrow {
    margin-bottom: 18px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 0.28s var(--xyoro-ease), box-shadow 0.28s var(--xyoro-ease),
                background 0.28s var(--xyoro-ease), color 0.28s var(--xyoro-ease);
}

.btn-xyoro {
    background: var(--xyoro-gradient);
    border: none;
    color: #fff;
    box-shadow: 0 10px 26px rgba(19, 89, 255, 0.28);
}

.btn-xyoro:hover, .btn-xyoro:focus-visible {
    background: var(--xyoro-gradient);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(19, 89, 255, 0.36);
}

.btn-outline-xyoro {
    border: 1.5px solid var(--xyoro-border-strong);
    background: rgba(255, 255, 255, 0.75);
    color: var(--xyoro-navy);
    backdrop-filter: blur(8px);
}

.btn-outline-xyoro:hover, .btn-outline-xyoro:focus-visible {
    border-color: var(--xyoro-blue);
    background: #fff;
    color: var(--xyoro-blue);
    transform: translateY(-2px);
    box-shadow: var(--xyoro-shadow-sm);
}

.btn-whatsapp {
    background: #25d366;
    border: none;
    color: #06301a;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
    background: #1fbe5b;
    color: #06301a;
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--xyoro-ring);
}

.arrow {
    display: inline-block;
    transition: transform 0.28s var(--xyoro-ease);
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.rtl .btn:hover .arrow {
    transform: translateX(-4px) scaleX(-1);
}

.rtl .arrow {
    transform: scaleX(-1);
}

/* ---------------------------------------------------------------- navbar */
.xyoro-navbar {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: box-shadow 0.3s var(--xyoro-ease), border-color 0.3s var(--xyoro-ease),
                min-height 0.3s var(--xyoro-ease);
}

.xyoro-navbar.is-scrolled {
    border-bottom-color: var(--xyoro-border);
    box-shadow: 0 6px 28px rgba(6, 19, 47, 0.07);
    min-height: 68px;
}

.nav-link {
    font-weight: 600;
    color: #2b3b60;
    position: relative;
    padding-inline: 14px !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--xyoro-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--xyoro-ease);
}

.nav-link:hover::after, .nav-link:focus-visible::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--xyoro-blue);
}

/* ---------------------------------------------------------------- hero */
.hero-section {
    position: relative;
    padding-top: clamp(48px, 6vw, 86px);
    padding-bottom: clamp(48px, 6vw, 90px);
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 130%;
    background:
        radial-gradient(760px 420px at 78% 18%, rgba(19, 89, 255, 0.14), transparent 62%),
        radial-gradient(620px 380px at 12% 8%, rgba(6, 182, 212, 0.12), transparent 64%),
        radial-gradient(520px 340px at 52% 92%, rgba(0, 192, 139, 0.09), transparent 66%);
    pointer-events: none;
    z-index: 0;
}

.hero-section > .container-fluid {
    position: relative;
    z-index: 1;
}

.country-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--xyoro-border-strong);
    box-shadow: var(--xyoro-shadow-sm);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--xyoro-navy);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--xyoro-border);
}

.hero-proof div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-proof strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--xyoro-navy);
    letter-spacing: -0.03em;
}

.hero-proof span {
    font-size: 0.83rem;
    color: var(--xyoro-muted);
    font-weight: 600;
}

.demo-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--xyoro-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.dashboard-card, .dashboard-card-pro {
    border-radius: var(--xyoro-radius-lg);
    box-shadow: var(--xyoro-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.floating-card {
    border-radius: var(--xyoro-radius);
    box-shadow: var(--xyoro-shadow);
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.92);
    animation: xyoro-float 7s ease-in-out infinite;
}

.floating-analytics {
    animation-delay: -3.5s;
}

@keyframes xyoro-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ---------------------------------------------------------------- standards marquee */
.standards-band {
    padding-block: 30px;
    border-block: 1px solid var(--xyoro-border);
    background: rgba(255, 255, 255, 0.62);
    overflow: hidden;
}

.standards-label {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--xyoro-muted);
    margin-bottom: 20px;
}

.marquee {
    position: relative;
    display: flex;
    overflow: hidden;
    /* Fade the ends so items enter and leave rather than being clipped mid-word. */
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    flex-shrink: 0;
    gap: 14px;
    padding-inline: 7px;
    animation: xyoro-marquee 42s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes xyoro-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

.rtl .marquee-track {
    animation-direction: reverse;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    padding: 11px 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--xyoro-border);
    box-shadow: var(--xyoro-shadow-sm);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--xyoro-navy);
}

.marquee-item .xyoro-svg {
    color: var(--xyoro-green);
}

/* ---------------------------------------------------------------- stat cards */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
}

.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px 24px;
    border-radius: var(--xyoro-radius-lg);
    background: #fff;
    border: 1px solid var(--xyoro-border);
    box-shadow: var(--xyoro-shadow-sm);
    overflow: hidden;
    transition: transform 0.35s var(--xyoro-ease), box-shadow 0.35s var(--xyoro-ease);
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--xyoro-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--xyoro-ease);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--xyoro-shadow);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--xyoro-blue-soft);
    color: var(--xyoro-blue);
}

.stat-num {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--xyoro-navy);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    color: var(--xyoro-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
}

/* ---------------------------------------------------------------- cards, shared */
.module-card, .why-card, .spotlight-card, .strip-item, .benefit-card, .faq-item,
.page-card, .legal-item, .timeline-step, .id-card-item, .highlight-card {
    border-radius: var(--xyoro-radius);
    border: 1px solid var(--xyoro-border);
    background: #fff;
    box-shadow: var(--xyoro-shadow-sm);
    transition: transform 0.35s var(--xyoro-ease), box-shadow 0.35s var(--xyoro-ease),
                border-color 0.35s var(--xyoro-ease);
}

.module-card:hover, .spotlight-card:hover, .strip-item:hover, .page-card:hover,
.id-card-item:hover, .highlight-card:hover {
    transform: translateY(-5px);
    border-color: rgba(19, 89, 255, 0.24);
    box-shadow: var(--xyoro-shadow);
}

.module-icon, .why-icon, .spotlight-ic, .strip-icon, .page-icon, .legal-icon, .id-card-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    background: var(--xyoro-blue-soft);
    color: var(--xyoro-blue);
    transition: background 0.35s var(--xyoro-ease), color 0.35s var(--xyoro-ease);
}

.module-card:hover .module-icon, .spotlight-card:hover .spotlight-ic,
.id-card-item:hover .id-card-ic {
    background: var(--xyoro-gradient);
    color: #fff;
}

.curriculum-chip {
    border-radius: 999px;
    border: 1px solid var(--xyoro-border);
    background: #fff;
    box-shadow: var(--xyoro-shadow-sm);
    font-weight: 700;
    color: var(--xyoro-navy);
}

/* ---------------------------------------------------------------- Indonesia band */
.id-band {
    position: relative;
    background: var(--xyoro-gradient-deep);
    color: #fff;
    overflow: hidden;
}

.id-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(680px 400px at 84% 12%, rgba(6, 182, 212, 0.24), transparent 62%),
        radial-gradient(520px 340px at 10% 88%, rgba(0, 192, 139, 0.18), transparent 64%);
    pointer-events: none;
}

.id-band > .container-fluid {
    position: relative;
    z-index: 1;
}

.id-band h2, .id-band h3 {
    color: #fff;
}

.id-band .section-sub {
    color: rgba(226, 236, 255, 0.82);
}

.id-band .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: #bfe0ff;
}

.id-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.id-card-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.id-card-item:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.28);
}

.id-card-ic {
    background: rgba(255, 255, 255, 0.14);
    color: #7fd4ff;
}

.id-card-item strong {
    display: block;
    color: #fff;
    font-size: 1.04rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.id-card-item p {
    color: rgba(219, 231, 255, 0.78);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0;
}

.id-flag-strip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    padding: 11px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #dceaff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ---------------------------------------------------------------- mobile showcase */
.mobile-band {
    background: var(--xyoro-soft);
}

.mobile-points {
    display: grid;
    gap: 14px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.mobile-points li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-weight: 600;
    color: #24365c;
    line-height: 1.55;
}

.mobile-points .xyoro-svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    padding: 3px;
    border-radius: 50%;
    background: rgba(0, 192, 139, 0.14);
    color: var(--xyoro-green);
}

.mobile-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 380px;
}

.mobile-visual .phone-mock {
    position: static;
    transform: none;
    box-shadow: var(--xyoro-shadow-lg);
}

/* ---------------------------------------------------------------- contact band + form */
.contact-band {
    background:
        radial-gradient(720px 420px at 82% 8%, rgba(19, 89, 255, 0.09), transparent 62%),
        var(--xyoro-bg);
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
    padding: clamp(28px, 3.4vw, 48px);
    border-radius: var(--xyoro-radius-xl);
    background: #fff;
    border: 1px solid var(--xyoro-border);
    box-shadow: var(--xyoro-shadow-lg);
}

@media (max-width: 991.98px) {
    .contact-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}

.contact-assurances {
    display: grid;
    gap: 14px;
    margin: 26px 0;
    padding: 0;
    list-style: none;
}

.contact-assurances li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #24365c;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-assurances .xyoro-svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: var(--xyoro-green);
    margin-top: 2px;
}

.contact-list p {
    margin-bottom: 8px;
    color: var(--xyoro-muted);
    font-weight: 600;
}

.contact-list a {
    color: var(--xyoro-navy);
}

.contact-list a:hover {
    color: var(--xyoro-blue);
}

.xyoro-form label {
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    color: #34456d;
    margin-bottom: 7px;
    letter-spacing: 0.005em;
}

.xyoro-form .form-control {
    border-radius: var(--xyoro-radius-sm);
    border: 1.5px solid var(--xyoro-border-strong);
    padding: 12px 15px;
    font-size: 0.97rem;
    font-weight: 500;
    color: var(--xyoro-text);
    background: #fdfdff;
    transition: border-color 0.25s var(--xyoro-ease), box-shadow 0.25s var(--xyoro-ease),
                background 0.25s var(--xyoro-ease);
}

.xyoro-form .form-control:focus {
    border-color: var(--xyoro-blue);
    background: #fff;
    box-shadow: var(--xyoro-ring);
    outline: none;
}

.xyoro-form .form-control::placeholder {
    color: #9aa8c4;
}

/* The honeypot. Off-screen rather than display:none — some bots skip hidden inputs. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.verify-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--xyoro-radius);
    background: var(--xyoro-soft);
    border: 1px solid var(--xyoro-border);
}

.verify-box .verify-question {
    flex: 1 1 auto;
    min-width: 190px;
}

.verify-box .form-control {
    max-width: 150px;
    background: #fff;
}

.verify-help {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--xyoro-muted);
    font-weight: 600;
}

.recaptcha-terms {
    font-size: 0.76rem;
    color: #8493b3;
    line-height: 1.5;
    margin-top: 12px;
}

.recaptcha-terms a {
    color: #6d7f9f;
    text-decoration: underline;
}

/* Google's floating badge duplicates the notice we render in the form. */
.grecaptcha-badge {
    visibility: hidden;
}

.form-note {
    font-size: 0.82rem;
    color: var(--xyoro-muted);
    line-height: 1.55;
}

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 16px;
    border-radius: var(--xyoro-radius-sm);
    font-weight: 600;
    font-size: 0.93rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

.form-alert[hidden] {
    display: none !important;
}

.form-alert.is-error {
    background: #fff1f1;
    border: 1px solid #ffd0d0;
    color: #9c1c1c;
}

.form-alert.is-success {
    background: #eafaf3;
    border: 1px solid #b7ecd6;
    color: #0a6b45;
}

.xyoro-form.is-sending {
    opacity: 0.65;
    pointer-events: none;
}

.form-success-card {
    text-align: center;
    padding: clamp(32px, 4vw, 52px);
}

.form-success-card .success-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(0, 192, 139, 0.13);
    color: var(--xyoro-green);
    margin-bottom: 18px;
}

/* ---------------------------------------------------------------- FAQ */
/* The base sheet supplies the summary padding and the .faq-plus marker; only the card frame and
   the open state are restyled here. Adding a second marker here put two toggles on every row. */
.faq-item {
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item[open] {
    border-color: rgba(19, 89, 255, 0.24);
    box-shadow: var(--xyoro-shadow);
}

.faq-answer {
    padding: 0 1.35rem 1.25rem;
    color: var(--xyoro-muted);
    line-height: 1.68;
}

/* ---------------------------------------------------------------- CTA band */
.cta-card {
    border-radius: var(--xyoro-radius-xl);
    background: var(--xyoro-gradient-deep);
    box-shadow: var(--xyoro-shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 340px at 88% 20%, rgba(6, 182, 212, 0.28), transparent 62%);
    pointer-events: none;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------------------------- language band */
.language-card {
    border-radius: var(--xyoro-radius-xl);
    border: 1px solid var(--xyoro-border);
    background: #fff;
    box-shadow: var(--xyoro-shadow);
}

.lang-chip {
    border-radius: 999px;
    border: 1px solid var(--xyoro-border);
    background: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    color: #33456c;
    transition: all 0.25s var(--xyoro-ease);
}

.lang-chip:hover {
    border-color: var(--xyoro-blue);
    color: var(--xyoro-blue);
    transform: translateY(-2px);
}

.lang-chip.active {
    background: var(--xyoro-gradient);
    border-color: transparent;
    color: #fff;
}

.language-menu {
    border-radius: var(--xyoro-radius);
    border: 1px solid var(--xyoro-border);
    box-shadow: var(--xyoro-shadow-lg);
}

/* ---------------------------------------------------------------- footer */
.footer {
    background: var(--xyoro-gradient-deep);
    color: rgba(219, 231, 255, 0.76);
    padding-top: clamp(56px, 6vw, 88px);
    padding-bottom: 30px;
}

.footer h3, .footer h4 {
    color: #fff;
    font-weight: 700;
}

.footer h4 {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8fb4ff;
    margin-bottom: 16px;
}

.footer a {
    display: block;
    color: rgba(219, 231, 255, 0.78);
    padding: 5px 0;
    font-size: 0.93rem;
    transition: color 0.22s var(--xyoro-ease), transform 0.22s var(--xyoro-ease);
}

.footer a:hover {
    color: #fff;
    transform: translateX(3px);
}

.rtl .footer a:hover {
    transform: translateX(-3px);
}

.footer .socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer .socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #dbe7ff;
}

.footer .socials a:hover {
    background: var(--xyoro-blue);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer .xyoro-brand-svg {
    width: 17px;
    height: 17px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    color: rgba(200, 216, 245, 0.66);
}

/* ---------------------------------------------------------------- sticky mobile action bar */
.mobile-cta-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1040;
    display: none;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--xyoro-border);
    box-shadow: 0 -6px 24px rgba(6, 19, 47, 0.09);
}

.mobile-cta-bar .btn {
    flex: 1;
    padding-block: 11px;
    font-size: 0.92rem;
}

@media (max-width: 767.98px) {
    .mobile-cta-bar {
        display: flex;
    }
    body {
        padding-bottom: 74px;
    }
}

/* ---------------------------------------------------------------- scroll reveal */
/* Gated on .has-js, set by an inline script in <head>. Without it these rules never apply, so a
   browser with JavaScript disabled gets the fully visible page rather than blank sections. */
.has-js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--xyoro-ease), transform 0.7s var(--xyoro-ease);
    will-change: opacity, transform;
}

.has-js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }
    .hero-subtitle, .hero-proof {
        margin-inline: auto;
    }
    .hero-section .d-flex.flex-wrap {
        justify-content: center;
    }
    .hero-proof {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .verify-box .form-control {
        max-width: 100%;
    }
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------------------------------------------------------------- motion & contrast */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .has-js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (forced-colors: active) {
    .btn, .stat-card, .module-card, .id-card-item, .marquee-item {
        border: 1px solid CanvasText;
    }
}

::selection {
    background: rgba(19, 89, 255, 0.18);
    color: var(--xyoro-navy);
}

:focus-visible {
    outline: 2px solid var(--xyoro-blue);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------- feature strip */
/* Eight across is too narrow for any language with compound words: at 1440px each cell was ~130px
   and titles broke mid-word. Four across at desktop, and the icon sits above the text rather than
   stealing horizontal space from it. */
@media (min-width: 992px) {
    .strip-card {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 4px;
        padding: 12px;
    }
    .strip-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 18px 16px;
        border-inline-end: 0;
        border-radius: var(--xyoro-radius-sm);
    }
    .strip-item:nth-child(-n+4) {
        border-bottom: 1px solid var(--xyoro-border);
    }
    .strip-item strong {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    .strip-item p {
        font-size: 0.82rem;
        line-height: 1.45;
        margin-top: 4px;
    }
    .strip-item:hover {
        background: var(--xyoro-soft);
    }
}

/* ---------------------------------------------------------------- language band */
/* .language-card is a flex row: with 125 chips in the right-hand column the copy on the left was
   squeezed to about a sixth of the width. A two-column grid gives the heading a floor. */
@media (min-width: 992px) {
    .language-card {
        display: grid;
        grid-template-columns: minmax(280px, 0.8fr) minmax(0, 2fr);
        align-items: start;
        gap: 32px;
        padding: 32px;
    }
    .language-title {
        align-items: flex-start;
    }
}

/* The widget beside the phone mock is a card, not a row: Bootstrap's d-md-flex would lay its
   icon, title and text out side by side. */
.mobile-visual .app-widget {
    display: block;
    max-width: 230px;
}

/* ---------------------------------------------------------------- hero visual */
/* .right-widgets is absolutely positioned at right:-28px over a dashboard card that is up to
   840px wide, so on a wide viewport the widget rail sat on top of the metric tiles and the phone
   mock ran past the bottom of the section. Reserving a lane for the rail lets both be fully
   visible instead of overlapping. */
@media (min-width: 1200px) {
    .hero-visual-wrap {
        padding-inline-end: 236px;
        min-height: 580px;
    }
    .right-widgets, .right-widgets-pro {
        inset-inline-end: 0;
        inset-inline-start: auto;
        top: 50%;
        transform: translateY(-50%);
        width: 216px;
    }
    .rtl .right-widgets, .rtl .right-widgets-pro {
        inset-inline-end: 0;
        inset-inline-start: auto;
    }
    .dashboard-card-pro {
        width: 100%;
    }
}

/* Between 992px and 1200px the rail is hidden by the base sheet's d-none/d-xl-flex, so the card
   can use the full column. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-visual-wrap {
        min-height: 500px;
    }
}

/* The two floating callouts are anchored near the dashboard's left edge, where they covered the
   sidebar and the welcome line. Hanging them off the card's top-left and bottom-left corners keeps
   the "floating above the UI" effect while leaving the screenshot itself readable. */
@media (min-width: 1200px) {
    /* Clear of the card's top and bottom edges, so neither callout sits on the welcome line or
       the chart -- they read as hovering above the corners rather than obscuring the screenshot. */
    .floating-ai {
        top: -56px;
        left: -70px;
    }
    .floating-analytics {
        bottom: -56px;
        left: -70px;
    }
    .rtl .floating-ai {
        left: auto;
        right: -70px;
    }
    .rtl .floating-analytics {
        left: auto;
        right: -70px;
    }
    .floating-card {
        max-width: 234px;
    }
    .hero-visual-wrap {
        padding-block: 44px;
    }

    /* Three side-by-side panels left each mini card ~110px wide, which wrapped Indonesian labels
       onto six lines. Two columns instead: the chart spans both rows, the mini cards stack. */
    .dashboard-panels {
        grid-template-columns: 1.55fr 1fr;
        grid-template-rows: auto auto;
        align-items: stretch;
    }
    .dashboard-panels > .attendance-panel {
        grid-row: 1 / span 2;
    }
    .dashboard-panels > * {
        min-width: 0;
    }
    .mini-progress-card strong {
        font-size: 0.78rem;
        line-height: 1.25;
    }
}

/* ---------------------------------------------------------------- bottom-of-screen stacking */
/* Three fixed elements now compete for the bottom of a phone screen: the cookie banner, the
   WhatsApp float and the new action bar. Left alone they overlap and the banner covers the bar. */
@media (max-width: 767.98px) {
    .cookie-banner {
        bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    }
    /* The action bar already carries a WhatsApp button; the float would be the same tap target
       twice, stacked on top of itself. */
    .whatsapp-float {
        display: none;
    }
}

@media (min-width: 768px) {
    .cookie-banner {
        z-index: 1050;
    }
}

/* ---------------------------------------------------------------- modules + why, side by side */
/* The module grid is roughly three times the height of the "why" column beside it, which left a
   long empty run down the right of the section. Pinning the shorter column keeps it in view for
   the whole scroll instead. */
@media (min-width: 992px) {
    .platform-section #why {
        position: sticky;
        top: 104px;
        align-self: start;
    }
}

/* ---------------------------------------------------------------- dark surfaces */
/* REGRESSION GUARD. The `h1, h2, h3 { color: var(--xyoro-navy) }` rule near the top of this file
   beats plain inheritance, so every heading on a dark band went navy-on-navy and vanished. The
   Indonesia band and the footer were given explicit white above; .cta-card was missed and its
   heading was invisible on the live page. Every dark surface is listed here so the next one added
   is a one-line addition rather than another silent disappearance. */
.cta-card,
.cta-card h1, .cta-card h2, .cta-card h3,
.cta-card p {
    color: #fff;
}

.cta-card {
    padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 44px);
    gap: clamp(20px, 3vw, 40px);
}

.cta-card h2 {
    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
    line-height: 1.2;
    margin-bottom: 6px;
}

.cta-card p {
    opacity: 0.86;
    margin: 0;
    line-height: 1.55;
}

.cta-logo {
    flex: 0 0 54px;
}

/* ---------------------------------------------------------------- language band alignment */
/* .language-title is a flex row of [globe][copy]; in the two-column grid above, the globe was
   left stranded against the card edge while the copy started a full column across. */
@media (min-width: 992px) {
    .language-title {
        gap: 18px;
    }
    .language-globe {
        flex: 0 0 54px;
    }
    .language-title h3 {
        margin-top: 4px;
    }
    /* Two stacked section paddings left roughly 250px of dead space between the contact card and
       this band. One section's worth is enough. */
    .language-band {
        padding-top: clamp(32px, 3vw, 56px);
    }
}

/* ---------------------------------------------------------------- real product screenshots */
/* These replaced a CSS-drawn dashboard mock. A real capture carries proof a drawing cannot, but it
   also arrives as a flat rectangle — the browser chrome and the elevation are what stop it reading
   as a pasted image. */
.screen-frame {
    margin: 0;
    border-radius: var(--xyoro-radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--xyoro-border);
    box-shadow: var(--xyoro-shadow-lg);
}

.screen-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.screen-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    background: linear-gradient(180deg, #f7f9fd, #eef3fb);
    border-bottom: 1px solid var(--xyoro-border);
}

.screen-chrome span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d7deeb;
    flex: 0 0 10px;
}

.screen-chrome span:nth-child(1) { background: #ff6058; }
.screen-chrome span:nth-child(2) { background: #ffbd2e; }
.screen-chrome span:nth-child(3) { background: #28ca42; }

.screen-chrome em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--xyoro-border);
    font-style: normal;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--xyoro-muted);
}

.screen-chrome .xyoro-svg {
    width: 11px;
    height: 11px;
    color: var(--xyoro-green);
}

/* The hero capture carries the section, so it gets the full column and a slight lift. */
.screen-frame-hero {
    width: 100%;
}

@media (min-width: 1200px) {
    /* The floating callouts hang off the frame's corners; the widget rail and the fake phone that
       used to fill this column are gone, so the frame takes the whole width. */
    .hero-visual-wrap {
        padding-inline-end: 0;
        min-height: 0;
        display: block;
    }
    .screen-frame-hero {
        transform: perspective(1800px) rotateY(-3deg) rotateX(1.5deg);
        transform-origin: left center;
    }
    .rtl .screen-frame-hero {
        transform: perspective(1800px) rotateY(3deg) rotateX(1.5deg);
        transform-origin: right center;
    }
    .floating-ai {
        top: -26px;
        left: -46px;
    }
    .floating-analytics {
        bottom: -26px;
        left: -46px;
    }
    .rtl .floating-ai, .rtl .floating-analytics {
        left: auto;
        right: -46px;
    }
}

@media (max-width: 991.98px) {
    /* Off-canvas callouts would clip on a phone. */
    .floating-ai, .floating-analytics {
        position: static;
        margin: 0 auto 12px;
        max-width: 100%;
    }
}

/* The parent section pairs the real portal capture with the phone mock overlapping its corner:
   the screenshot proves the product exists, the phone says it is also in the family's pocket. */
.mobile-visual {
    position: relative;
    display: block;
    min-height: 0;
}

.screen-frame-parent {
    width: 100%;
}

.mobile-visual .phone-mock-overlay {
    position: absolute;
    inset-inline-end: -18px;
    inset-block-end: -36px;
    margin: 0;
    z-index: 2;
    box-shadow: var(--xyoro-shadow-lg), 0 0 0 6px rgba(255, 255, 255, 0.9);
}

@media (max-width: 767.98px) {
    /* Overlapping the frame on a narrow screen would cover half the screenshot. */
    .mobile-visual .phone-mock-overlay {
        position: static;
        margin: -28px auto 0;
    }
}

/* The montage is a composite of several dashboards, not one browser view, so it drops the chrome
   and keeps only the frame. Its own edges are already flat white, so a hairline border and a soft
   shadow are what separate it from the page. */
.screen-frame-bare .screen-chrome {
    display: none;
}

.screen-frame-bare {
    background: #fff;
    padding: 0;
}

/* ---------------------------------------------------------------- on-page message box */
/* Clicking a WhatsApp control opens this panel rather than handing the visitor to wa.me. It is
   deliberately shaped like a chat window: the promise is "message us", so the thing that opens
   should look like somewhere you type a message, not like a page of form fields. */
.msgbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(6, 19, 47, 0.42);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.28s var(--xyoro-ease);
}

.msgbox-backdrop.is-open {
    opacity: 1;
}

.msgbox-backdrop[hidden], .msgbox[hidden] {
    display: none !important;
}

.msgbox {
    position: fixed;
    z-index: 1061;
    inset-inline-end: 22px;
    inset-block-end: 22px;
    width: min(400px, calc(100vw - 32px));
    max-height: min(760px, calc(100vh - 44px));
    display: flex;
    flex-direction: column;
    border-radius: var(--xyoro-radius-lg);
    background: #fff;
    border: 1px solid var(--xyoro-border);
    box-shadow: 0 24px 70px rgba(6, 19, 47, 0.26);
    overflow: hidden;
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition: opacity 0.28s var(--xyoro-ease), transform 0.28s var(--xyoro-ease);
}

.msgbox.is-open {
    transform: none;
    opacity: 1;
}

.msgbox-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    background: linear-gradient(135deg, #0f7a45, #25d366);
    color: #fff;
    flex: 0 0 auto;
}

.msgbox-head strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.msgbox-head small {
    display: block;
    font-size: 0.76rem;
    line-height: 1.35;
    opacity: 0.9;
    margin-top: 2px;
    /* The note can be a full sentence; two lines is the ceiling before the header dominates. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.msgbox-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.msgbox-close {
    margin-inline-start: auto;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s var(--xyoro-ease);
}

.msgbox-close:hover {
    background: rgba(255, 255, 255, 0.32);
}

.msgbox-body {
    padding: 16px;
    overflow-y: auto;
    /* A faint tint, so the white fields read as a compose area rather than a page. */
    background: var(--xyoro-soft);
}

.msgbox-body .xyoro-form .form-control {
    background: #fff;
}

.msgbox-body .btn-xyoro {
    width: 100%;
    justify-content: center;
}

.msgbox-body .recaptcha-terms {
    margin-top: 10px;
}

@media (max-width: 575.98px) {
    /* Full-height sheet on a phone: a floating card would leave the keyboard covering the fields. */
    .msgbox {
        inset: 0;
        width: 100vw;
        max-height: 100vh;
        border-radius: 0;
        border: 0;
    }
}

/* The floating bubble is the box's own trigger, so it hides while the box is open. */
body.msgbox-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
}

/* ---------------------------------------------------------------- hero: full-width product shot */
/* The montage is 1600x900 of densely packed panels. Beside the copy it rendered at 781px — 0.49x
   natural — which turned every panel into unreadable texture. Stacked, it gets the full container
   and renders close to 1:1, which is the whole point of showing a real product image. */
@media (min-width: 992px) {
    .hero-row {
        align-items: flex-start;
    }
    .hero-shot-col {
        margin-top: clamp(28px, 3vw, 48px);
    }
    /* Overrides the earlier two-column rules: there is no widget rail beside it any more. */
    .hero-shot-col .hero-visual-wrap {
        padding-inline-end: 0;
        padding-block: 0;
        min-height: 0;
        display: block;
    }
    .hero-shot-col .screen-frame-hero {
        /* Flat, not tilted: a perspective rotation on a wide composite crops the far edge and
           re-introduces the legibility problem this change exists to fix. */
        transform: none;
        max-width: 1320px;
        margin-inline: auto;
    }
    /* The callouts hang off the top corners of a much wider frame now. */
    .hero-shot-col .floating-ai {
        top: -28px;
        left: -20px;
    }
    .hero-shot-col .floating-analytics {
        top: -28px;
        bottom: auto;
        left: auto;
        right: -20px;
    }
    .rtl .hero-shot-col .floating-ai {
        left: auto;
        right: -20px;
    }
    .rtl .hero-shot-col .floating-analytics {
        right: auto;
        left: -20px;
    }
}

@media (max-width: 991.98px) {
    .hero-shot-col {
        margin-top: 28px;
    }
}

/* With the product shot moved full-width below, the copy column no longer has anything beside it,
   so a left-aligned block left the top-right of the hero empty. Centre it over the image. */
@media (min-width: 992px) {
    .hero-copy-col {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .hero-copy-col .hero-subtitle {
        margin-inline: auto;
        max-width: 62ch;
    }
    .hero-copy-col .d-flex.flex-wrap.gap-3,
    .hero-copy-col .hero-proof {
        justify-content: center;
    }
    .hero-copy-col .hero-proof {
        max-width: 720px;
        margin-inline: auto;
        gap: 10px 56px;
    }
    .hero-copy-col .demo-note {
        justify-content: center;
    }
}

/* ---------------------------------------------------------------- live chat transcript */
.chat-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 240px;
    max-height: 46vh;
}

.chat-msg {
    max-width: 82%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Inbound (from the business) sits left in a plain bubble; outbound sits right in WhatsApp green,
   which is the convention every user of this widget already knows. */
.chat-msg-in {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--xyoro-border);
    color: var(--xyoro-text);
    border-bottom-left-radius: 4px;
}

.chat-msg-out {
    align-self: flex-end;
    background: #d9fdd3;
    color: #10361b;
    border-bottom-right-radius: 4px;
}

.rtl .chat-msg-in { align-self: flex-end; }
.rtl .chat-msg-out { align-self: flex-start; }

.chat-msg time {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
    opacity: 0.55;
}

.chat-composer {
    border-top: 1px solid var(--xyoro-border);
    background: #fff;
    padding: 12px;
    flex: 0 0 auto;
}

.chat-intro {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
}

.chat-intro[hidden] { display: none; }

.chat-verify label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #34456d;
    margin-bottom: 4px;
}

.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.chat-row textarea {
    flex: 1;
    resize: none;
    max-height: 120px;
    border-radius: 18px;
    padding: 10px 14px;
}

.chat-send {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--xyoro-gradient);
    color: #fff;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s var(--xyoro-ease), opacity 0.2s var(--xyoro-ease);
}

.chat-send:hover { transform: scale(1.06); }
.chat-send:disabled { opacity: 0.5; cursor: default; transform: none; }
.rtl .chat-send .xyoro-svg { transform: scaleX(-1); }

.chat-alert {
    background: #fff1f1;
    border: 1px solid #ffd0d0;
    color: #9c1c1c;
    border-radius: var(--xyoro-radius-sm);
    padding: 9px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.chat-alert[hidden] { display: none !important; }
