@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #eef3f8;
    --bg-soft: #e7eef6;
    --surface: #ffffff;
    --surface-alt: #f6f9fc;
    --line: #d6e2ee;
    --line-strong: #a9bfd5;
    --text: #0c1f36;
    --muted: #4f6680;
    --accent: #0284c7;
    --accent-strong: #0369a1;
    --accent-soft: #e0f2fe;
    --teal: #14b8a6;
    --shadow: 0 22px 60px -42px rgba(12, 31, 54, 0.35);
    --shadow-soft: 0 14px 34px -28px rgba(12, 31, 54, 0.22);
    --radius-xl: 16px;
    --radius-lg: 12px;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        linear-gradient(180deg, #f8fbfe 0%, var(--bg) 54%, #e7eef6 100%);
}

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

img {
    max-width: 100%;
    display: block;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 251, 254, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(169, 191, 213, 0.52);
}

.header-shell,
.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-shell {
    padding: 16px 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.brand-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-logo-image {
    display: block;
    width: 188px;
}

.brand-logo-image img {
    width: 100%;
    height: auto;
    display: block;
}

.brand-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: white;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    box-shadow: 0 14px 26px -20px rgba(2, 132, 199, 0.78);
    overflow: hidden;
}

.brand-symbol img {
    width: 100%;
    height: 100%;
    display: block;
}

.brand-name {
    color: var(--text);
    font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-tagline {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.2;
    padding-inline-start: 4px;
}

.brand-name strong {
    color: var(--accent-strong);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #26415f;
    font-weight: 600;
    font-size: 0.95rem;
}

.top-nav a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

.top-nav a:hover {
    color: var(--accent-strong);
}

.language-switcher {
    margin: 0;
}

.lang-select {
    min-width: 74px;
    min-height: 44px;
    padding: 0 38px 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(169, 191, 213, 0.88);
    background:
        linear-gradient(180deg, #ffffff, #f3f8fd);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--accent-strong) 50%),
        linear-gradient(135deg, var(--accent-strong) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 13px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible,
.top-nav a:focus-visible,
.lang-select:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.22);
    outline-offset: 3px;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    box-shadow: 0 16px 32px -22px rgba(14, 165, 233, 0.55);
}

.btn-outline {
    color: var(--text);
    background: rgba(255, 255, 255, 0.76);
    border-color: var(--line-strong);
}

.hero-panel {
    position: relative;
    padding: 82px 0 104px;
    overflow: hidden;
    border-bottom: 1px solid rgba(214, 226, 238, 0.7);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(248, 251, 254, 0.68) 0%, rgba(248, 251, 254, 0.54) 48%, rgba(238, 243, 248, 0.82) 100%),
        linear-gradient(90deg, rgba(248, 251, 254, 0.72) 0%, rgba(248, 251, 254, 0.36) 50%, rgba(248, 251, 254, 0.5) 100%),
        url("../images/generated/omnifycx-hero-ai.png") center 43% / cover no-repeat;
    z-index: 0;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 68%, rgba(238, 243, 248, 0.9) 100%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0) 36%);
    z-index: 0;
}

.hero-grid,
.platform-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 44px;
    align-items: center;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: block;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.footer-cta h2 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 980px;
    padding: 6px 0 14px;
    margin: 0 auto;
    text-align: center;
}

.hero-copy h1 {
    max-width: 920px;
    margin: 0 auto;
    font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    font-size: 3.35rem;
    font-weight: 800;
    line-height: 1.08;
}

.hero-text,
.platform-copy p,
.footer-brand p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-text {
    max-width: 820px;
    margin: 24px auto 0;
    color: #314b66;
    font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.85;
}

.hero-actions,
.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-actions {
    justify-content: center;
}

.hero-visual {
    min-height: 1px;
}

.hero-shape {
    display: none;
}

.hero-preview-frame {
    display: none;
}

.hero-preview-image {
    display: none;
}

.hero-metrics-band {
    position: relative;
    z-index: 2;
    margin-top: -32px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hero-metrics div,
.feature-card,
.capability-panel,
.process-card,
.trust-bar,
.footer-shell,
.simple-page {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.hero-metrics div {
    padding: 22px 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-metrics div:hover,
.feature-card:hover,
.process-card:hover,
.customer-logo:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.hero-metrics strong {
    display: block;
    font-size: 1.04rem;
}

.hero-metrics span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.6;
}

.mini-label,
.feature-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.feature-card h3,
.capability-item h3,
.process-card h3 {
    margin: 14px 0 10px;
    font-size: 1.18rem;
}

.feature-card p,
.capability-item p,
.process-card p,
.trust-bar p,
.simple-page p,
.workspace-grid p,
.workspace-points p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.partners-strip {
    padding-top: 30px;
}

.trust-bar {
    padding: 18px 24px;
    border-radius: 12px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff, #f5f9fd);
}

.section-block {
    padding: 52px 0 62px;
}

.section-customers {
    padding-top: 18px;
}

.workspace-strip {
    padding-top: 18px;
}

.workspace-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
    padding: 34px 36px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(232, 245, 253, 0.94), rgba(237, 250, 247, 0.88)),
        var(--surface);
    box-shadow: var(--shadow-soft);
}

.workspace-grid h2 {
    margin: 0 0 14px;
    font-size: 2.05rem;
    line-height: 1.12;
}

.workspace-points {
    display: grid;
    gap: 14px;
}

.workspace-points div {
    padding: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(159, 186, 213, 0.7);
}

.workspace-points span {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 800;
}

.section-soft {
    background: linear-gradient(180deg, rgba(247, 250, 253, 0.62), rgba(231, 238, 246, 0.82));
    border-top: 1px solid rgba(214, 226, 238, 0.68);
    border-bottom: 1px solid rgba(214, 226, 238, 0.68);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading-narrow {
    max-width: 620px;
}

.section-heading h2,
.footer-cta h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: 0;
}

.solution-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.process-card {
    padding: 24px;
    border-radius: var(--radius-xl);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-highlight {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
        var(--surface);
}

.feature-chatbot {
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.13), transparent 34%),
        var(--surface);
}

.feature-agent {
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.15), transparent 34%),
        var(--surface);
}

.feature-ivr-card {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.1), transparent 34%),
        var(--surface);
}

.platform-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.capability-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
}

.capability-item {
    padding: 20px;
    border-radius: 12px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
}

.process-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 800;
}

.customer-logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.customer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    padding: 20px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, #ffffff, #f5f9fd);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.customer-logo img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.82;
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.customer-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.03);
}

.site-footer {
    padding: 18px 0 54px;
}

.footer-shell {
    padding: 30px 32px;
    border-radius: 16px;
    align-items: flex-start;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo .brand-logo-image {
    width: 210px;
}

.footer-brand p {
    margin: 0;
}

.footer-cta {
    max-width: 520px;
}

.simple-page {
    padding: 32px;
    border-radius: 28px;
}

[dir="rtl"] body {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

[dir="rtl"] .header-shell,
[dir="rtl"] .footer-shell {
    flex-direction: row-reverse;
}

[dir="rtl"] .top-nav,
[dir="rtl"] .header-actions,
[dir="rtl"] .hero-actions,
[dir="rtl"] .footer-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-copy,
[dir="rtl"] .platform-copy,
[dir="rtl"] .section-heading,
[dir="rtl"] .footer-brand,
[dir="rtl"] .footer-cta,
[dir="rtl"] .capability-item,
[dir="rtl"] .feature-card,
[dir="rtl"] .process-card,
[dir="rtl"] .simple-page,
[dir="rtl"] .trust-bar {
    text-align: right;
}

[dir="rtl"] .hero-copy {
    text-align: center;
}

[dir="rtl"] .hero-copy h1 {
    max-width: 940px;
}

[dir="rtl"] .hero-copy {
    max-width: 980px;
    margin: 0 auto;
}

[dir="rtl"] .hero-copy h1 {
    font-size: 3.2rem;
    line-height: 1.18;
}

[dir="rtl"] .hero-shape {
    display: none;
}

[dir="rtl"] .hero-preview-frame {
    display: none;
}

[dir="rtl"] .hero-panel::before {
    background:
        linear-gradient(180deg, rgba(248, 251, 254, 0.68) 0%, rgba(248, 251, 254, 0.54) 48%, rgba(238, 243, 248, 0.82) 100%),
        linear-gradient(270deg, rgba(248, 251, 254, 0.72) 0%, rgba(248, 251, 254, 0.36) 50%, rgba(248, 251, 254, 0.5) 100%),
        url("../images/generated/omnifycx-hero-ai.png") center 43% / cover no-repeat;
}

[dir="rtl"] .lang-select {
    padding: 0 14px 0 38px;
    background-position:
        18px calc(50% - 2px),
        13px calc(50% - 2px);
}

@media (max-width: 980px) {
    .hero-grid,
    .platform-grid,
    .workspace-grid,
    .solution-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-panel::before {
        background:
            linear-gradient(180deg, rgba(248, 251, 254, 0.72) 0%, rgba(248, 251, 254, 0.62) 42%, rgba(238, 243, 248, 0.86) 100%),
            url("../images/generated/omnifycx-hero-ai.png") center 42% / cover no-repeat;
    }

    [dir="rtl"] .hero-panel::before {
        background:
            linear-gradient(180deg, rgba(248, 251, 254, 0.72) 0%, rgba(248, 251, 254, 0.62) 42%, rgba(238, 243, 248, 0.86) 100%),
            url("../images/generated/omnifycx-hero-ai.png") center 42% / cover no-repeat;
    }

    .customer-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: 2.85rem;
    }

    .header-shell,
    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    [dir="rtl"] .header-shell,
    [dir="rtl"] .footer-shell {
        flex-direction: column;
        align-items: flex-end;
    }

    [dir="rtl"] .hero-preview-frame {
        left: auto;
    }
}

@media (max-width: 720px) {
    .top-nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero-metrics,
    .workspace-points {
        grid-template-columns: 1fr;
    }

    .capability-panel,
    .customer-logos {
        grid-template-columns: 1fr;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 0.68rem;
    }

    .brand-logo-image {
        width: 164px;
    }

    .brand-symbol {
        width: 36px;
        height: 36px;
    }

    .hero-panel {
        padding-top: 54px;
        padding-bottom: 68px;
    }

    .hero-copy h1 {
        font-size: 2.2rem;
        line-height: 1.12;
    }

    .hero-text {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.75;
    }

    .hero-metrics-band {
        margin-top: -16px;
    }

    .header-actions {
        flex-wrap: wrap;
    }

}
