:root {
    --xyoro-navy: #071c4d;
    --xyoro-blue: #075dff;
    --xyoro-blue-2: #0d83ff;
    --xyoro-green: #05c7a3;
    --xyoro-bg: #f4f8ff;
    --xyoro-soft: #eef5ff;
    --xyoro-text: #172b4d;
    --xyoro-muted: #6b7a99;
    --xyoro-border: rgba(13, 38, 89, 0.1);
    --xyoro-shadow: 0 24px 70px rgba(11, 37, 89, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--xyoro-bg);
    color: var(--xyoro-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-top: 80px;
}

body.rtl {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
    text-decoration: none;
}

.navbar {
    min-height: 80px;
    box-shadow: 0 12px 30px rgba(8, 31, 77, 0.04);
}

.brand-logo {
    max-height: 58px;
    max-width: 220px;
    object-fit: contain;
}

.brand-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--xyoro-navy);
    letter-spacing: -0.06em;
}

.nav-link {
    color: #17264d;
    font-weight: 650;
    font-size: 0.95rem;
    padding: 0.75rem 1rem !important;
}

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

.btn-xyoro {
    background: linear-gradient(135deg, var(--xyoro-blue), var(--xyoro-green));
    border: 0;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(5, 93, 255, 0.22);
}

.btn-xyoro:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(5, 93, 255, 0.28);
}

.btn-outline-xyoro {
    border: 1px solid rgba(7, 93, 255, 0.35);
    color: var(--xyoro-navy);
    background: #fff;
    font-weight: 800;
}

.btn-outline-xyoro:hover {
    border-color: var(--xyoro-blue);
    color: var(--xyoro-blue);
    background: #f7fbff;
}

.btn-language {
    border: 0;
    background: #fff;
    color: var(--xyoro-navy);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 100%;
    white-space: nowrap;
}

.btn-language .language-name {
    display: inline-block;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.language-menu {
    min-width: 245px;
    max-height: min(70vh, 540px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    border: 1px solid var(--xyoro-border);
    box-shadow: var(--xyoro-shadow);
    border-radius: 18px;
    padding: 0.55rem;
}

.dropdown-item {
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 650;
    padding: 0.65rem 0.8rem;
}

.language-option-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-item.active,
.dropdown-item:active {
    background: linear-gradient(135deg, var(--xyoro-blue), var(--xyoro-green));
}

.flag-pill {
    display: inline-flex;
    min-width: 32px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef5ff;
    color: var(--xyoro-blue);
    font-size: 0.75rem;
    font-weight: 900;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 4.6rem 0 2.6rem;
    background:
        radial-gradient(circle at 85% 15%, rgba(5, 199, 163, 0.12), transparent 30%),
        radial-gradient(circle at 15% 80%, rgba(7, 93, 255, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.hero-section:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(7, 93, 255, 0.13) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.38;
    mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
    pointer-events: none;
}

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

.country-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.75rem;
    background: #fff;
    border: 1px solid var(--xyoro-border);
    border-radius: 999px;
    font-weight: 800;
    color: var(--xyoro-blue);
    box-shadow: 0 12px 32px rgba(8, 31, 77, 0.08);
}

.hero-title {
    font-size: clamp(2.45rem, 5vw, 5rem);
    line-height: 0.96;
    color: var(--xyoro-navy);
    font-weight: 950;
    letter-spacing: -0.065em;
    margin-bottom: 1.25rem;
}

.rtl .hero-title {
    letter-spacing: -0.035em;
}

.hero-subtitle {
    max-width: 680px;
    color: #42526e;
    font-size: 1.15rem;
    line-height: 1.55;
    font-weight: 600;
}

.demo-note {
    color: #49607f;
    font-weight: 800;
}

.shield {
    color: var(--xyoro-blue);
    margin-inline-end: 0.35rem;
}

.hero-visual-wrap {
    min-height: 460px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-card {
    width: min(100%, 760px);
    min-height: 355px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    box-shadow: var(--xyoro-shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 128px 1fr;
    transform: translateX(-18px);
}

.rtl .dashboard-card {
    transform: translateX(18px);
}

.side-menu {
    background: #061a49;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.side-logo {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--xyoro-blue), var(--xyoro-green));
    color: #fff;
    font-weight: 900;
}

.side-menu span {
    height: 10px;
    width: 84px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.side-menu .active-line {
    background: var(--xyoro-blue);
}

.dashboard-body {
    padding: 1.3rem;
}

.dashboard-top,
.metric-grid,
.top-icons,
.phone-stat,
.cta-card,
.language-card,
.language-title {
    display: flex;
}

.dashboard-top {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dashboard-top strong {
    color: var(--xyoro-navy);
    font-size: 1rem;
}

.dashboard-top p,
.metric span,
.metric small,
.chart-card,
.donut-card p,
.app-widget p,
.footer p {
    color: var(--xyoro-muted);
}

.dashboard-top p {
    margin: 0.1rem 0 0;
    font-size: 0.77rem;
}

.top-icons {
    gap: 0.6rem;
    align-items: center;
}

.top-icons span,
.top-icons .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f2f6ff;
    border: 1px solid var(--xyoro-border);
}

.top-icons .avatar {
    background: linear-gradient(135deg, #ffe6a9, #05c7a3);
}

.metric-grid {
    gap: 0.75rem;
    flex-wrap: wrap;
}

.metric {
    flex: 1 1 125px;
    border: 1px solid var(--xyoro-border);
    background: #fff;
    border-radius: 14px;
    padding: 0.8rem;
    box-shadow: 0 10px 24px rgba(8, 31, 77, 0.05);
}

.metric span,
.metric small {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
}

.metric strong {
    display: block;
    color: var(--xyoro-navy);
    font-size: 1.45rem;
    line-height: 1.25;
    margin: 0.25rem 0;
}

.metric small {
    color: #05a982;
}

.chart-card,
.donut-card {
    min-height: 140px;
    background: #fff;
    border: 1px solid var(--xyoro-border);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(8, 31, 77, 0.05);
}

.line-chart {
    height: 85px;
    margin-top: 0.75rem;
    background:
        linear-gradient(135deg, transparent 0 20%, rgba(7, 93, 255, 0.14) 20% 23%, transparent 23% 100%),
        linear-gradient(45deg, transparent 0 35%, rgba(7, 93, 255, 0.16) 35% 38%, transparent 38% 100%),
        repeating-linear-gradient(0deg, #fff 0 19px, #eef4ff 20px);
    border-radius: 12px;
    position: relative;
}

.line-chart:after {
    content: "";
    position: absolute;
    inset: 24px 12px 30px;
    border-bottom: 3px solid var(--xyoro-blue);
    border-right: 3px solid var(--xyoro-blue);
    transform: skew(-28deg);
    border-radius: 9px;
}

.donut-card {
    text-align: center;
}

.donut {
    margin: 0.65rem auto 0;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: conic-gradient(var(--xyoro-green) 0 72%, #dbe6ff 72% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--xyoro-navy);
    font-weight: 900;
    position: relative;
}

.donut:before {
    content: "";
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
}

.donut {
    isolation: isolate;
}

.donut::after {
    content: attr(class);
    display: none;
}

.donut {
    color: transparent;
}

.donut-card .donut {
    font-size: 0;
}

.donut-card .donut:after {
    content: "72%";
    display: block;
    position: absolute;
    color: var(--xyoro-navy);
    font-size: 1rem;
    z-index: 2;
    font-weight: 900;
}

.floating-card {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 46px rgba(8, 31, 77, 0.14);
    border-radius: 18px;
    padding: 0.9rem;
    width: 220px;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.floating-card strong,
.app-widget strong {
    display: block;
    color: var(--xyoro-navy);
    font-size: 0.88rem;
}

.floating-card p,
.app-widget p {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    line-height: 1.25;
    font-weight: 650;
}

.floating-ai {
    top: 56px;
    left: 6px;
}

.floating-analytics {
    bottom: 68px;
    left: -20px;
}

.rtl .floating-ai,
.rtl .floating-analytics {
    left: auto;
    right: -20px;
}

.mini-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 950;
}

.robot {
    background: linear-gradient(135deg, #6a4cff, #14a5ff);
}

.chart {
    background: linear-gradient(135deg, #00b894, #00d2a0);
}

.right-widgets {
    position: absolute;
    right: -12px;
    top: 12px;
    flex-direction: column;
    gap: 0.8rem;
    width: 210px;
}

.rtl .right-widgets {
    right: auto;
    left: -12px;
}

.app-widget {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(8, 31, 77, 0.12);
    padding: 0.85rem;
}

.app-widget span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #16d97b;
    color: #fff;
    font-weight: 950;
    margin-bottom: 0.45rem;
}

.app-widget.purple span {
    background: #7d4cff;
}

.phone-mock {
    margin: 0.25rem auto 0;
    width: 150px;
    height: 245px;
    background: #071b49;
    border-radius: 28px;
    padding: 1.4rem 0.75rem 0.75rem;
    border: 5px solid #020816;
    color: #fff;
    box-shadow: 0 20px 42px rgba(8, 31, 77, 0.22);
    position: relative;
}

.phone-notch {
    width: 50px;
    height: 7px;
    background: #020816;
    border-radius: 99px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.phone-mock strong {
    font-size: 0.75rem;
}

.phone-stat {
    gap: 0.45rem;
    margin: 1rem 0;
}

.phone-stat span {
    flex: 1;
    background: #fff;
    color: var(--xyoro-navy);
    border-radius: 12px;
    padding: 0.5rem 0.2rem;
    text-align: center;
    font-weight: 900;
}

.phone-line,
.phone-nav {
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 0.55rem;
}

.phone-line.short {
    width: 72%;
}

.phone-nav {
    height: 18px;
    margin-top: 1rem;
}

.feature-strip {
    margin-top: -0.8rem;
    position: relative;
    z-index: 3;
}

.strip-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(8, 31, 77, 0.11);
    padding: 0.8rem;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.5rem;
}

.strip-item {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    padding: 0.7rem;
    min-height: 74px;
    border-inline-end: 1px solid var(--xyoro-border);
}

.strip-item:last-child {
    border-inline-end: 0;
}

.strip-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    background: #eef5ff;
    color: var(--xyoro-blue);
    display: grid;
    place-items: center;
    font-weight: 950;
    font-size: 0.75rem;
}

.strip-item strong {
    display: block;
    color: var(--xyoro-navy);
    font-size: 0.82rem;
    line-height: 1.15;
}

.strip-item p {
    margin: 0.1rem 0 0;
    color: var(--xyoro-muted);
    font-size: 0.7rem;
    line-height: 1.15;
}

.platform-section {
    padding: 2.2rem 0 1rem;
}

.section-title {
    color: var(--xyoro-navy);
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.module-grid,
.why-grid {
    display: grid;
    gap: 0.75rem;
}

.module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-card,
.why-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--xyoro-border);
    border-radius: 16px;
    padding: 1rem;
    min-height: 92px;
    box-shadow: 0 12px 28px rgba(8, 31, 77, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    transition: 0.2s ease;
}

.module-card:hover,
.why-card:hover,
.lang-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 46px rgba(8, 31, 77, 0.12);
}

.module-icon,
.why-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 950;
}

.icon-1 { background: linear-gradient(135deg, #7d4cff, #ac7bff); }
.icon-2 { background: linear-gradient(135deg, #075dff, #0d83ff); }
.icon-3 { background: linear-gradient(135deg, #00b894, #05c7a3); }
.icon-4 { background: linear-gradient(135deg, #0bbf72, #65d36e); }
.icon-5 { background: linear-gradient(135deg, #6a4cff, #14a5ff); }
.icon-6 { background: linear-gradient(135deg, #ff9f1a, #ffbe3d); }

.why-1 { background: linear-gradient(135deg, #7d4cff, #ac7bff); }
.why-2 { background: linear-gradient(135deg, #00b894, #0cd9a6); }
.why-3 { background: linear-gradient(135deg, #075dff, #0d83ff); }
.why-4 { background: linear-gradient(135deg, #3558ff, #8194ff); }

.module-card strong,
.why-card strong {
    color: var(--xyoro-navy);
    font-size: 0.92rem;
    line-height: 1.2;
}

.module-card p,
.why-card p {
    margin: 0.2rem 0 0;
    color: #51617e;
    font-size: 0.78rem;
    line-height: 1.28;
    font-weight: 600;
}

.language-band {
    padding: 1rem 0 1.8rem;
}

.language-card {
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: linear-gradient(135deg, #f5f9ff, #fff);
    border: 1px solid var(--xyoro-border);
    border-radius: 22px;
    padding: 1rem 1.2rem;
    box-shadow: 0 12px 34px rgba(8, 31, 77, 0.06);
}

.language-title {
    align-items: center;
    gap: 1rem;
}

.language-globe {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--xyoro-blue);
    font-size: 1.7rem;
    font-weight: 950;
    background: #eaf2ff;
}

.language-card h3 {
    color: var(--xyoro-navy);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 950;
}

.language-card p {
    margin: 0.25rem 0 0;
    color: var(--xyoro-muted);
    font-weight: 650;
}

.language-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.lang-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.62rem 0.95rem;
    min-height: 42px;
    border: 1px solid var(--xyoro-border);
    color: var(--xyoro-navy);
    background: #fff;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.86rem;
    transition: 0.2s ease;
}

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

.cta-band {
    padding: 0.6rem 0 0;
}

.cta-card {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 0;
    padding: 1.45rem 2rem;
    background:
        radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.18), transparent 20%),
        radial-gradient(circle at 88% 50%, rgba(5, 199, 163, 0.35), transparent 25%),
        linear-gradient(135deg, #173cff, #00b894);
    color: #fff;
}

.cta-logo {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    font-weight: 950;
    font-size: 1.5rem;
}

.cta-card h2 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 950;
}

.cta-card p {
    margin: 0.25rem 0 0;
    opacity: 0.92;
    font-weight: 650;
}

.footer {
    background: #061a49;
    color: #fff;
    padding: 2.2rem 0 1rem;
}

.footer-brand img {
    max-width: 180px;
    max-height: 55px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 0.35rem;
    margin-bottom: 0.8rem;
}

.footer h3 {
    font-size: 1.8rem;
    font-weight: 950;
    margin: 0;
}

.footer h4 {
    font-size: 0.88rem;
    font-weight: 950;
    margin-bottom: 0.75rem;
}

.footer a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.45rem;
    font-weight: 650;
    font-size: 0.85rem;
}

.footer a:hover {
    color: #fff;
}

.socials {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.socials a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    margin: 0;
    color: #fff;
    font-size: 0.75rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.rtl .navbar-nav,
.rtl .nav-actions,
.rtl .dashboard-top,
.rtl .metric-grid,
.rtl .language-card,
.rtl .language-title,
.rtl .cta-card,
.rtl .module-card,
.rtl .why-card,
.rtl .strip-item,
.rtl .floating-card {
    direction: rtl;
}

.rtl .language-links {
    justify-content: flex-start;
}

@media (max-width: 1399px) {
    .dashboard-card {
        transform: none;
    }
    .floating-ai {
        left: 10px;
    }
    .floating-analytics {
        left: 18px;
    }
}

@media (max-width: 1199px) {
    .strip-card {
        grid-template-columns: repeat(4, 1fr);
    }
    .strip-item:nth-child(4n) {
        border-inline-end: 0;
    }
    .hero-visual-wrap {
        min-height: 430px;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 74px;
    }
    .navbar {
        min-height: 74px;
    }
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        max-height: calc(100vh - 74px);
        overflow-y: auto;
    }
    .nav-actions {
        align-items: stretch !important;
        flex-direction: column;
        padding: 1rem 0;
    }
    .nav-actions .dropdown,
    .btn-language {
        width: 100%;
    }
    .btn-language {
        justify-content: flex-start;
    }
    .btn-language .language-name {
        max-width: calc(100vw - 150px);
    }
    .language-menu {
        width: 100%;
        max-width: calc(100vw - 2rem);
        max-height: min(58vh, 430px);
        position: static !important;
        transform: none !important;
        inset: auto !important;
    }
    .hero-section {
        padding-top: 3rem;
    }
    .hero-visual-wrap {
        min-height: 510px;
    }
    .floating-ai {
        top: 0;
        left: 0;
    }
    .floating-analytics {
        left: auto;
        right: 0;
        bottom: 0;
    }
    .dashboard-card {
        margin-top: 4rem;
    }
    .language-card,
    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .language-links {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.55rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .dashboard-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .side-menu {
        display: none;
    }
    .metric-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .floating-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 0.5rem 0;
        width: 100%;
    }
    .hero-visual-wrap {
        display: block;
        min-height: auto;
    }
    .dashboard-card {
        margin-top: 1rem;
    }
    .strip-card {
        grid-template-columns: repeat(2, 1fr);
    }
    .strip-item:nth-child(2n) {
        border-inline-end: 0;
    }
    .module-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    .cta-card {
        padding: 1.25rem;
    }
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .metric-grid,
    .strip-card {
        grid-template-columns: 1fr;
    }
    .strip-item {
        border-inline-end: 0;
        border-bottom: 1px solid var(--xyoro-border);
    }
    .strip-item:last-child {
        border-bottom: 0;
    }
    .btn-lg {
        width: 100%;
    }
    .language-menu {
        max-height: 52vh;
    }
    .language-option-name {
        max-width: calc(100vw - 115px);
    }
}


.btn-whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: #1ebe5d;
    border-color: #1ebe5d;
    color: #ffffff;
}

.btn-whatsapp-light {
    background: #ffffff;
    border-color: #ffffff;
    color: #075e54;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.btn-whatsapp-light:hover,
.btn-whatsapp-light:focus {
    background: #eafff1;
    border-color: #eafff1;
    color: #075e54;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    z-index: 1100;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    background: #1ebe5d;
    color: #ffffff;
    transform: translateY(-2px);
}

.rtl .whatsapp-float {
    right: auto;
    left: 22px;
}

@media (max-width: 991px) {
    .nav-whatsapp {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
    .rtl .whatsapp-float {
        left: 16px;
    }
}


/* SEO and icon updates */
.xyoro-svg {
    width: 23px;
    height: 23px;
    display: block;
}
.strip-item {
    color: inherit;
    text-decoration: none;
}
.strip-item:hover strong {
    color: var(--xyoro-blue);
}
.strip-icon .xyoro-svg,
.module-icon .xyoro-svg,
.why-icon .xyoro-svg {
    width: 24px;
    height: 24px;
}
.module-icon,
.why-icon {
    background: linear-gradient(135deg, var(--xyoro-blue), var(--xyoro-green));
}
.why-card:nth-child(1) .why-icon { background: linear-gradient(135deg, #7d4cff, #ac7bff); }
.why-card:nth-child(2) .why-icon { background: linear-gradient(135deg, #00b894, #0cd9a6); }
.why-card:nth-child(3) .why-icon { background: linear-gradient(135deg, #075dff, #0d83ff); }
.why-card:nth-child(4) .why-icon { background: linear-gradient(135deg, #3558ff, #8194ff); }
.module-card:nth-child(1) .module-icon { background: linear-gradient(135deg, #7d4cff, #ac7bff); }
.module-card:nth-child(2) .module-icon { background: linear-gradient(135deg, #075dff, #0d83ff); }
.module-card:nth-child(3) .module-icon { background: linear-gradient(135deg, #00b894, #05c7a3); }
.module-card:nth-child(4) .module-icon { background: linear-gradient(135deg, #0bbf72, #65d36e); }
.module-card:nth-child(5) .module-icon { background: linear-gradient(135deg, #6a4cff, #14a5ff); }
.module-card:nth-child(6) .module-icon { background: linear-gradient(135deg, #ff9f1a, #ffbe3d); }
.module-title-link {
    color: var(--xyoro-navy);
}
.module-title-link:hover {
    color: var(--xyoro-blue);
}
.module-card.active {
    border-color: rgba(7, 93, 255, 0.45);
    box-shadow: 0 20px 46px rgba(7, 93, 255, 0.14);
}
.seo-module-section {
    padding: 1.2rem 0 1.8rem;
}
.seo-module-card {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 1.2rem;
    background: #fff;
    border: 1px solid var(--xyoro-border);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(8, 31, 77, 0.08);
    padding: 1.4rem;
}
.seo-kicker {
    display: inline-flex;
    border-radius: 999px;
    background: #eef5ff;
    color: var(--xyoro-blue);
    font-weight: 950;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.75rem;
}
.seo-module-card h2,
.seo-module-card h3 {
    color: var(--xyoro-navy);
    font-weight: 950;
    letter-spacing: -0.03em;
}
.seo-module-card p {
    color: #51617e;
    font-weight: 650;
    line-height: 1.55;
}
.seo-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}
.seo-proof-grid div {
    background: #f5f9ff;
    border: 1px solid var(--xyoro-border);
    border-radius: 14px;
    padding: 0.85rem;
    font-weight: 850;
    color: var(--xyoro-navy);
}
.seo-module-list {
    background: linear-gradient(180deg, #f7fbff, #fff);
    border: 1px solid var(--xyoro-border);
    border-radius: 18px;
    padding: 1rem;
}
.seo-module-list p {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    margin-bottom: 0.65rem;
}
.seo-module-list p span {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--xyoro-blue);
    background: #eef5ff;
    flex: 0 0 30px;
}
.seo-module-list .xyoro-svg {
    width: 18px;
    height: 18px;
}
.footer .col-lg-2 a[href="#"] {
    opacity: 0.82;
}
@media (max-width: 991.98px) {
    .seo-module-card {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575.98px) {
    .seo-proof-grid {
        grid-template-columns: 1fr;
    }
}


/* Xyoro update: improved demo dashboard and legal pages */
.dashboard-card-pro {
    width: min(100%, 840px);
    min-height: 430px;
    grid-template-columns: 156px 1fr;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.92));
}
.side-menu-pro {
    padding: 1rem 0.8rem;
    gap: 0.55rem;
    background: linear-gradient(180deg, #061a49 0%, #082566 100%);
}
.side-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.side-menu-pro span { width: auto; height: auto; background: transparent; }
.side-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 34px;
    border-radius: 12px;
    color: rgba(255,255,255,0.78);
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 750;
}
.side-item span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
}
.side-item.active-line {
    background: rgba(7,93,255,0.92);
    color: #fff;
}
.dashboard-body-pro { padding: 1.05rem; }
.dashboard-top-pro { margin-bottom: 0.8rem; }
.top-icons-pro span {
    display: inline-grid;
    place-items: center;
    font-size: 0.75rem;
    color: var(--xyoro-navy);
}
.metric-grid-pro { gap: 0.65rem; }
.metric-pro {
    position: relative;
    overflow: hidden;
    padding: 0.75rem 0.75rem 0.75rem 3rem;
    min-height: 96px;
}
.rtl .metric-pro { padding: 0.75rem 3rem 0.75rem 0.75rem; }
.metric-icon {
    position: absolute;
    left: 0.75rem;
    top: 0.8rem;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eef5ff;
    color: var(--xyoro-blue);
    font-weight: 900;
}
.rtl .metric-icon { left: auto; right: 0.75rem; }
.metric-pro:after {
    content: "";
    position: absolute;
    inset-inline-end: -28px;
    inset-block-start: -28px;
    width: 70px;
    height: 70px;
    border-radius: 999px;
    background: rgba(5,199,163,0.09);
}
.dashboard-panels {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.live-pill {
    background: rgba(5,199,163,0.12);
    color: #04967c;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 900;
    padding: 0.2rem 0.5rem;
}
.pro-line-chart {
    height: 112px;
    background:
        linear-gradient(120deg, transparent 0 18%, rgba(7,93,255,0.18) 18% 21%, transparent 21% 38%, rgba(5,199,163,0.22) 38% 41%, transparent 41% 68%, rgba(7,93,255,0.16) 68% 71%, transparent 71% 100%),
        repeating-linear-gradient(0deg, #fff 0 21px, #edf4ff 22px);
}
.donut-card-pro { min-height: 160px; }
.activity-card {
    min-height: 160px;
    background: #fff;
    border: 1px solid var(--xyoro-border);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(8,31,77,0.05);
}
.activity-card p {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.75rem 0 0;
    color: #42526e;
    font-size: 0.74rem;
    font-weight: 700;
}
.activity-icon {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    border-radius: 9px;
    color: #fff;
    font-weight: 900;
}
.activity-icon.green { background: #05c7a3; }
.activity-icon.blue { background: #075dff; }
.activity-icon.purple { background: #7d4cff; }
.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #05c7a3;
    box-shadow: 0 0 0 6px rgba(5,199,163,0.12);
}
.dashboard-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.mini-progress-card {
    background: #fff;
    border: 1px solid var(--xyoro-border);
    border-radius: 16px;
    padding: 0.8rem;
    box-shadow: 0 10px 24px rgba(8,31,77,0.05);
}
.mini-progress-card strong { color: var(--xyoro-navy); font-size: 0.82rem; }
.mini-progress-card small { display: block; color: var(--xyoro-muted); font-weight: 700; margin-top: 0.4rem; }
.progress-line {
    height: 8px;
    border-radius: 999px;
    background: #e8efff;
    margin-top: 0.65rem;
    overflow: hidden;
}
.progress-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--xyoro-blue), #7d4cff); }
.progress-line.green span { background: linear-gradient(90deg, var(--xyoro-green), var(--xyoro-blue-2)); }
.right-widgets-pro { right: -28px; }
.app-widget.teacher span { background: linear-gradient(135deg, #075dff, #05c7a3); }
.phone-mock-pro small { display: block; color: rgba(255,255,255,0.7); font-size: 0.62rem; margin-top: 0.2rem; }
.phone-stat span em { font-style: normal; font-size: 0.48rem; color: #6b7a99; }
.legal-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #f4f8ff, #fff);
}
.legal-card {
    background: #fff;
    border: 1px solid var(--xyoro-border);
    border-radius: 28px;
    box-shadow: var(--xyoro-shadow);
    padding: clamp(1.2rem, 3vw, 2.4rem);
}
.legal-head {
    max-width: 900px;
    margin-bottom: 1.4rem;
}
.legal-head h1 {
    color: var(--xyoro-navy);
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 950;
}
.legal-head p { color: #42526e; font-weight: 650; line-height: 1.65; }
.legal-head small { color: var(--xyoro-muted); font-weight: 800; }
.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.legal-item {
    display: flex;
    gap: 0.9rem;
    border: 1px solid var(--xyoro-border);
    background: #f9fbff;
    border-radius: 18px;
    padding: 1rem;
}
.legal-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #eef5ff;
    color: var(--xyoro-blue);
}
.legal-item h2 {
    font-size: 1rem;
    color: var(--xyoro-navy);
    font-weight: 900;
    margin: 0 0 0.35rem;
}
.legal-item p {
    margin: 0;
    color: #42526e;
    line-height: 1.55;
    font-weight: 600;
}
@media (max-width: 1199.98px) {
    .dashboard-card-pro { transform: none; }
}
@media (max-width: 991.98px) {
    .dashboard-card-pro { grid-template-columns: 1fr; }
    .side-menu-pro { display: none; }
    .dashboard-panels { grid-template-columns: 1fr; }
    .dashboard-bottom-row { grid-template-columns: 1fr; }
    .legal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .metric-pro { flex-basis: 100%; }
    .dashboard-card-pro { min-height: auto; border-radius: 22px; }
}

/* Xyoro update: professional attendance chart and Ask Myna dashboard polish */
.metric-icon .xyoro-svg,
.legal-icon .xyoro-svg,
.mini-icon .xyoro-svg {
    width: 18px;
    height: 18px;
}
.attendance-panel {
    min-height: 178px;
    overflow: hidden;
}
.attendance-chart {
    position: relative;
    height: 124px;
    margin-top: 0.55rem;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,250,255,0.98)),
        repeating-linear-gradient(0deg, transparent 0 26px, rgba(7,93,255,0.08) 27px),
        repeating-linear-gradient(90deg, transparent 0 60px, rgba(7,93,255,0.06) 61px);
    border: 1px solid rgba(7,93,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    color: var(--xyoro-blue);
    padding: 0.25rem 0.3rem 1.25rem;
}
.attendance-chart svg {
    position: absolute;
    inset: 0.25rem 0.35rem 1.45rem;
    width: calc(100% - 0.7rem);
    height: calc(100% - 1.7rem);
    overflow: visible;
}
.attendance-area {
    fill: url(#attendanceArea);
}
.attendance-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 8px 10px rgba(7,93,255,0.12));
}
.attendance-points circle {
    fill: #fff;
    stroke: currentColor;
    stroke-width: 3;
}
.chart-labels {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
    color: #6b7a99;
    font-size: 0.62rem;
    font-weight: 850;
}
.chart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-top: 0.55rem;
    font-size: 0.68rem;
    font-weight: 850;
    color: #42526e;
}
.chart-summary span:first-child {
    color: #04967c;
}
.floating-ai .robot {
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #075dff, #7d4cff 55%, #05c7a3);
}
.dashboard-card-pro {
    box-shadow: 0 28px 80px rgba(8,31,77,0.18);
}
.chart-card-pro,
.donut-card-pro,
.activity-card,
.mini-progress-card,
.metric-pro {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chart-card-pro:hover,
.donut-card-pro:hover,
.activity-card:hover,
.mini-progress-card:hover,
.metric-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(8,31,77,0.09);
}
@media (max-width: 575.98px) {
    .attendance-chart { height: 116px; }
    .chart-summary { flex-direction: column; align-items: flex-start; }
}

/* Xyoro v1.0.0 public face enhancements */
.module-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-section { padding: 5rem 0; background: #f4f8ff; }
.page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.page-card, .timeline-card, .form-shell, .thank-card { background: #fff; border: 1px solid var(--xyoro-border); border-radius: 32px; box-shadow: var(--xyoro-shadow); }
.page-card { padding: 2rem; min-height: 260px; }
.page-card h2 { color: var(--xyoro-navy); font-weight: 900; font-size: 1.35rem; margin: 1rem 0 .75rem; }
.page-card p, .timeline-step p, .form-copy p, .thank-card p { color: #42526e; font-weight: 600; line-height: 1.65; }
.page-icon, .legal-icon { width: 54px; height: 54px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: #eef5ff; color: var(--xyoro-blue); }
.why-grid-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-card { padding: 2.5rem; }
.timeline-card h2 { color: var(--xyoro-navy); font-weight: 950; margin: .5rem 0 1.5rem; }
.timeline-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.timeline-step { position: relative; background: linear-gradient(180deg, #fff, #f7fbff); border: 1px solid var(--xyoro-border); border-radius: 24px; padding: 1.4rem; }
.timeline-step span { width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--xyoro-blue), var(--xyoro-green)); font-weight: 900; }
.timeline-step h3 { font-size: 1rem; font-weight: 900; margin: 1rem 0 .55rem; color: var(--xyoro-navy); }
.form-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; padding: 2rem; }
.form-copy { padding: 1rem; }
.form-copy h2 { color: var(--xyoro-navy); font-weight: 950; font-size: clamp(2rem,4vw,3.4rem); letter-spacing: -.04em; }
.xyoro-form { background: #f8fbff; border: 1px solid var(--xyoro-border); border-radius: 28px; padding: 1.5rem; }
.xyoro-form label { font-weight: 800; color: var(--xyoro-navy); margin-bottom: .4rem; }
.xyoro-form .form-control { border-radius: 16px; border-color: rgba(7, 93, 255, .18); padding: .85rem 1rem; }
.form-note { font-size: .85rem; color: var(--xyoro-muted); }
.hp-field { position: absolute; left: -99999px; opacity: 0; }
.contact-list { margin-top: 1.5rem; padding: 1.25rem; border-radius: 24px; background: #f8fbff; border: 1px solid var(--xyoro-border); }
.thank-card { max-width: 760px; margin: 0 auto; padding: 3rem; text-align: center; }
.thank-card h2 { color: var(--xyoro-navy); font-weight: 950; font-size: clamp(2rem,5vw,4rem); }
.thank-icon { margin: 0 auto 1rem; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border-radius: 24px; background: #eef5ff; color: var(--xyoro-blue); }
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1100; max-width: 560px; margin: auto; background: #fff; border: 1px solid var(--xyoro-border); box-shadow: var(--xyoro-shadow); border-radius: 20px; padding: 1rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-banner p { margin: 0; color: #42526e; font-weight: 650; }
@media (max-width: 1199px) { .timeline-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .module-grid-wide { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 991px) { .page-grid, .form-shell, .why-grid-page { grid-template-columns: 1fr; } .language-menu { max-height: min(62vh, 460px); } }
@media (max-width: 575px) { .timeline-grid, .module-grid-wide { grid-template-columns: 1fr; } .form-shell, .timeline-card, .thank-card { padding: 1.25rem; border-radius: 22px; } .cookie-banner { display: block; } .cookie-banner .btn { margin-top: .75rem; width: 100%; } }

/* Xyoro v1.0.2 safe responsive correction
   Keeps the original approved layout, fixes only overflow and dropdown height. */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img, svg, video, canvas, iframe {
    max-width: 100%;
}

.navbar .container-fluid,
.navbar-collapse,
.nav-actions,
.navbar-nav {
    min-width: 0;
}

.btn-language {
    max-width: min(260px, 52vw);
}

.language-menu {
    width: min(320px, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    max-height: min(68vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.language-option-name,
.btn-language .language-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-title,
.hero-subtitle,
.metric strong,
.metric span,
.metric small,
.side-item b,
.floating-card strong,
.floating-card p,
.module-card p,
.why-card p,
.legal-item p,
.page-card p,
.footer p,
.footer a {
    overflow-wrap: break-word;
}

.dashboard-card,
.dashboard-card-pro,
.hero-visual-wrap,
.chart-card,
.attendance-chart,
.language-card,
.cta-card,
.form-shell,
.legal-card,
.page-card,
.seo-module-card {
    max-width: 100%;
}

.navbar-toggler {
    flex: 0 0 auto;
}

.hero-section .btn-lg,
.cta-card .btn,
.xyoro-form .btn {
    white-space: normal;
}

@media (max-width: 1199.98px) {
    .nav-link {
        padding-inline: 0.6rem !important;
    }
    .nav-actions .btn {
        padding-inline: 0.75rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        max-height: calc(100dvh - 74px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .nav-actions {
        width: 100%;
        max-width: 100%;
    }
    .nav-actions .btn,
    .nav-actions .dropdown,
    .btn-language {
        width: 100%;
        max-width: 100%;
    }
    .language-menu {
        width: 100%;
        max-width: 100%;
        max-height: min(54dvh, 420px);
        position: static !important;
        transform: none !important;
        inset: auto !important;
    }
    .language-links {
        max-height: min(46dvh, 380px);
        overflow-y: auto;
        padding-inline-end: 0.25rem;
    }
    .hero-title {
        font-size: clamp(2.15rem, 8vw, 3.5rem);
        letter-spacing: -0.045em;
    }
}

@media (max-width: 767.98px) {
    .container-fluid {
        padding-inline: 1rem !important;
    }
    .hero-section .d-flex.flex-wrap.gap-3,
    .cta-card .d-flex.flex-wrap.gap-3 {
        width: 100%;
    }
    .hero-section .btn-lg,
    .cta-card .btn {
        width: 100%;
        justify-content: center;
    }
    .language-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        width: 100%;
    }
    .lang-chip {
        justify-content: center;
        min-width: 0;
        padding-inline: 0.7rem;
    }
    .lang-chip span,
    .lang-chip {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .dashboard-body,
    .dashboard-body-pro {
        padding: 1rem;
    }
}

@media (max-width: 420px) {
    .brand-logo {
        max-width: 165px;
        max-height: 44px;
    }
    .hero-title {
        font-size: clamp(1.85rem, 10vw, 2.55rem);
        line-height: 1.04;
    }
    .metric-grid,
    .metric-grid-pro,
    .language-links {
        grid-template-columns: 1fr;
    }
    .cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        max-height: 44dvh;
        overflow-y: auto;
    }
}

@media (max-height: 620px) and (min-width: 768px) {
    .hero-section {
        padding-top: 2.4rem;
        padding-bottom: 2rem;
    }
    .hero-visual-wrap {
        min-height: 390px;
    }
    .language-menu {
        max-height: calc(100dvh - 130px);
    }
}

/* Xyoro v1.0.3 professional header and WhatsApp contact refinements */
.xyoro-navbar {
    min-height: 82px;
    padding-block: 0.55rem;
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid rgba(12, 33, 80, 0.08) !important;
    box-shadow: 0 18px 45px rgba(7, 28, 77, 0.08);
    backdrop-filter: blur(16px);
}

.xyoro-navbar .container-fluid {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: visible;
}

.xyoro-navbar .navbar-brand {
    flex: 0 0 auto;
    padding: 0;
    margin-inline-end: 0.75rem;
}

.xyoro-navbar .brand-logo {
    max-width: 204px;
    max-height: 56px;
}

.xyoro-navbar .navbar-collapse {
    min-width: 0;
    gap: 1rem;
}

.main-nav-links {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: 0.12rem;
    padding: 0.32rem;
    border: 1px solid rgba(7, 93, 255, 0.10);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(241, 246, 255, 0.94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 12px 34px rgba(10, 40, 90, 0.05);
}

.main-nav-links .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    padding: 0.55rem 0.78rem !important;
    color: #15244f;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.05;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.main-nav-links .nav-link:hover,
.main-nav-links .nav-link:focus {
    color: var(--xyoro-blue);
    background: #fff;
    box-shadow: 0 10px 24px rgba(7, 93, 255, 0.10);
}

.nav-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-inline-start: auto;
}

.nav-actions .btn,
.nav-actions .btn-language {
    min-height: 44px;
    border-radius: 15px;
    padding: 0.58rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.05;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-actions .btn-language {
    max-width: 178px;
    border: 1px solid rgba(7, 93, 255, 0.12);
    background: #f5f8ff;
    box-shadow: none;
}

.nav-actions .btn-language .language-name {
    max-width: 86px;
}

.nav-actions .btn-outline-xyoro {
    border-color: rgba(7, 93, 255, 0.22);
}

.nav-actions .btn-xyoro,
.nav-actions .btn-whatsapp {
    box-shadow: 0 14px 32px rgba(7, 93, 255, 0.18);
}

.nav-actions .btn-whatsapp {
    background: #25d366;
    border: 0;
    color: #fff;
}

.nav-actions .btn-whatsapp:hover {
    color: #fff;
    background: #1fbd5a;
    transform: translateY(-1px);
}

.contact-whatsapp-quick {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    background: #25d366;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.24);
}

.contact-whatsapp-quick:hover {
    background: #1fbd5a;
    color: #fff;
}

.xyoro-form.xyoro-whatsapp-form {
    position: relative;
}

.xyoro-form.xyoro-whatsapp-form::before {
    content: "WhatsApp lead form";
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.10);
    color: #128c3a;
    font-size: 0.78rem;
    font-weight: 900;
}

.rtl .xyoro-form.xyoro-whatsapp-form::before {
    right: auto;
    left: 1rem;
}

@media (min-width: 1200px) and (max-width: 1540px) {
    .xyoro-navbar .brand-logo { max-width: 172px; max-height: 50px; }
    .xyoro-navbar .container-fluid { gap: 0.65rem; padding-inline: 1.25rem !important; }
    .main-nav-links .nav-link { font-size: 0.8rem; padding-inline: 0.52rem !important; }
    .nav-actions { gap: 0.38rem !important; }
    .nav-actions .btn, .nav-actions .btn-language { min-height: 40px; padding-inline: 0.58rem; font-size: 0.8rem; border-radius: 12px; }
    .nav-actions .btn-language { max-width: 110px; }
    .nav-actions .btn-language .language-name { max-width: 0; opacity: 0; width: 0; margin: 0; }
}

@media (max-width: 1199.98px) {
    body { padding-top: 78px; }
    .xyoro-navbar { min-height: 78px; }
    .xyoro-navbar .brand-logo { max-width: 190px; max-height: 52px; }
    .xyoro-navbar .navbar-collapse.show,
    .xyoro-navbar .navbar-collapse.collapsing {
        margin-top: 0.75rem;
        padding: 1rem;
        border: 1px solid rgba(7, 93, 255, 0.10);
        border-radius: 24px;
        background: #fff;
        box-shadow: var(--xyoro-shadow);
        max-height: calc(100dvh - 92px);
        overflow-y: auto;
    }
    .main-nav-links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 20px;
        padding: 0.5rem;
        background: #f7fbff;
    }
    .main-nav-links .nav-link {
        min-height: 44px;
        justify-content: flex-start;
        padding-inline: 0.85rem !important;
    }
    .nav-actions {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem !important;
        padding-top: 0.85rem;
    }
    .nav-actions .dropdown,
    .nav-actions .btn,
    .nav-actions .btn-language {
        width: 100%;
        max-width: 100%;
    }
    .nav-actions .btn-language {
        justify-content: flex-start;
    }
    .nav-actions .btn-language .language-name {
        max-width: calc(100vw - 180px);
        opacity: 1;
        width: auto;
    }
}

@media (max-width: 575.98px) {
    .xyoro-navbar .container-fluid { padding-inline: 0.85rem !important; }
    .xyoro-navbar .brand-logo { max-width: 164px; max-height: 46px; }
    .main-nav-links, .nav-actions { grid-template-columns: 1fr; }
    .xyoro-form.xyoro-whatsapp-form::before {
        position: static;
        display: inline-flex;
        margin-bottom: 1rem;
    }
}


/* v1.0.5 - safe feature strip containment fix
   Keeps the approved homepage design while preventing the last feature card
   such as Parent App from overflowing outside the screen. */
.strip-card {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    overflow: hidden;
}

.strip-item {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.strip-item > span:last-child {
    min-width: 0;
    max-width: 100%;
}

.strip-item strong,
.strip-item p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.strip-icon {
    flex-shrink: 0;
}

@media (max-width: 1399px) {
    .strip-card {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .strip-item:nth-child(4n) {
        border-inline-end: 0;
    }
}

@media (max-width: 767px) {
    .strip-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    .strip-item:nth-child(2n) {
        border-inline-end: 0;
    }
}

@media (max-width: 480px) {
    .strip-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .strip-item {
        border-inline-end: 0;
        border-bottom: 1px solid var(--xyoro-border);
    }

    .strip-item:last-child {
        border-bottom: 0;
    }
}
