:root {
    --navy: #0e1a2b;
    --navy-2: #13243d;
    --brand: #0d9488;
    --brand-2: #14b8a6;
    --ink: #0e1a2b;
    --muted: #6b7a90;
    --line: rgba(14, 26, 43, 0.1);
    --paper: #ffffff;
    --soft: #f8fafc;
    --shadow: 0 24px 70px rgba(14, 26, 43, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 6%, rgba(20, 184, 166, 0.12), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f8fafc 38%, #fff 100%);
    overflow-x: hidden;
}

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

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

button,
input {
    font: inherit;
}

.section-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .84);
    border-bottom: 1px solid rgba(13, 148, 136, 0.12);
    backdrop-filter: blur(18px);
}

.landing-nav.scrolled {
    box-shadow: 0 14px 40px rgba(14, 26, 43, 0.08);
}

.nav-inner {
    width: min(1220px, calc(100% - 36px));
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    flex-shrink: 0;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #0f9f91;
}

.brand-mark svg {
    width: 38px;
    height: 38px;
    stroke-width: 1.8;
}

.brand-text strong,
.footer-brand span {
    display: block;
    font-size: 23px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.brand-text small {
    display: block;
    margin-top: 5px;
    color: #6b7a90;
    font-size: 11px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 21px;
    flex: 1;
    color: #0e1a2b;
    font-size: 14px;
    font-weight: 800;
}

.nav-links a {
    position: relative;
    padding: 28px 0 24px;
    white-space: nowrap;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 16px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--brand);
    transform: translateX(50%);
    transition: width .22s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0f9f91;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 24px;
}

.nav-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.nav-btn,
.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 8px;
    padding: 0 22px;
    cursor: pointer;
    font-weight: 900;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-btn:hover,
.btn:hover {
    transform: translateY(-2px);
}

.nav-btn svg,
.btn svg {
    width: 18px;
    height: 18px;
}

.nav-btn-primary,
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    box-shadow: 0 16px 32px rgba(20, 184, 166, 0.238);
}

.nav-btn-ghost {
    color: #fff;
    background: var(--navy);
    box-shadow: 0 14px 28px rgba(14, 26, 43, 0.22);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
}

.hero-section {
    position: relative;
    min-height: 690px;
    padding: 94px 0 0;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(270deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 36%, rgba(255, 255, 255, .42) 58%, rgba(255, 255, 255, .08) 100%),
        radial-gradient(circle at 88% 25%, rgba(20, 184, 166, 0.14), transparent 28%);
}

.hero-art {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 570px;
    display: grid;
    grid-template-columns: 1fr minmax(360px, 520px);
    align-items: center;
}

.hero-copy {
    grid-column: 1;
    padding: 36px 0 110px;
    direction: rtl;
}

.hero-copy h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.24;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-copy h1 span {
    color: #0f9f91;
}

.hero-copy p {
    width: min(520px, 100%);
    margin: 20px 0 0;
    color: #6b7a90;
    font-size: 21px;
    line-height: 1.9;
    font-weight: 700;
}

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

.btn-video {
    color: var(--navy);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(14, 26, 43, 0.09);
    box-shadow: 0 16px 36px rgba(14, 26, 43, 0.08);
}

.btn-video svg {
    color: var(--navy);
    fill: rgba(14, 26, 43, 0.08);
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(106px, 1fr));
    gap: 12px;
    width: min(520px, 100%);
    margin-top: 42px;
}

.hero-badges span {
    min-height: 92px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 14px 10px;
    color: #6b7a90;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(13, 148, 136, 0.11);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(14, 26, 43, 0.08);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.hero-badges svg {
    color: #0f9f91;
    width: 26px;
    height: 26px;
}

.stats-section {
    position: relative;
    z-index: 3;
    margin-top: -46px;
}

.stats-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 24px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(13, 148, 136, 0.12);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.stat-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon number"
        "icon text";
    align-items: center;
    gap: 0 18px;
    padding: 10px 22px;
    border-left: 1px solid rgba(14, 26, 43, 0.1);
}

.stat-card:last-child {
    border-left: 0;
}

.stat-card span {
    grid-area: icon;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    color: #0f9f91;
    background: #eef3f8;
    border: 1px solid rgba(13, 148, 136, 0.22);
    border-radius: 50%;
}

.stat-card strong {
    grid-area: number;
    color: #0f9f91;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.stat-card p {
    grid-area: text;
    margin: 6px 0 0;
    color: #0e1a2b;
    font-size: 14px;
    font-weight: 800;
}

.section {
    padding: clamp(38px, 4vw, 56px) 0;
}

.section-heading {
    margin-bottom: 30px;
    text-align: center;
}

.section-heading h2,
.item-copy h2,
.mobile-copy h2,
.cta-copy h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 99px;
    background: #0d9488;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.feature-card,
.module-tile,
.integration-card,
.content-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(14, 26, 43, 0.08);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(14, 26, 43, 0.07);
}

.feature-card {
    min-height: 154px;
    padding: 22px 12px;
    text-align: center;
}

.feature-card span,
.integration-card span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    color: #0e1a2b;
}

.feature-card svg,
.integration-card svg {
    width: 34px;
    height: 34px;
    stroke-width: 1.7;
}

.feature-card h3,
.integration-card h3,
.content-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 17px;
    font-weight: 900;
}

.feature-card p,
.integration-card p,
.content-card p {
    margin: 8px 0 0;
    color: #6b7a90;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 700;
}

.journey-section {
    padding: 24px 0 54px;
}

.journey-panel {
    position: relative;
    min-height: 178px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 26px 70px rgba(14, 26, 43, 0.22);
}

.journey-panel > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.journey-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 26, 43, 0.78), rgba(14, 26, 43, 0.68) 64%, rgba(14, 26, 43, 0.1));
}

.journey-content {
    position: relative;
    z-index: 1;
    margin-left: min(340px, 30vw);
    padding: 28px 32px 30px;
    color: #fff;
}

.journey-content h2 {
    margin: 0 0 22px;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 900;
    text-align: center;
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.journey-step {
    position: relative;
    display: grid;
    place-items: center;
    gap: 7px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.journey-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 27px;
    left: calc(-50% + 22px);
    width: calc(100% - 28px);
    border-top: 2px dotted rgba(20, 184, 166, 0.8);
}

.journey-step span {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #7fd6cc;
    background: rgba(14, 26, 43, 0.72);
    border: 1px solid rgba(20, 184, 166, 0.72);
    border-radius: 50%;
}

.item-section {
    padding-top: 42px;
}

.item-grid,
.mobile-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 46px;
}

.item-visual img,
.mobile-visual img {
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: #0f9f91;
    font-size: 14px;
    font-weight: 900;
}

.item-copy p,
.mobile-copy p,
.cta-copy p {
    margin: 14px 0 0;
    color: #6b7a90;
    font-size: 18px;
    line-height: 1.9;
    font-weight: 700;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #27466b;
    font-weight: 800;
}

.check-list svg {
    width: 19px;
    height: 19px;
    color: #0f9f91;
    flex: 0 0 auto;
}

.btn-dark {
    color: #fff;
    background: #0e1a2b;
    box-shadow: 0 16px 34px rgba(14, 26, 43, 0.18);
}

.ecosystem-section {
    position: relative;
    margin-top: -26px;
    padding: 34px 0 0;
    background:
        radial-gradient(circle at 15% 34%, rgba(20, 184, 166, 0.13), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, .96), #f8fafc 48%, #fff 100%);
}

.ecosystem-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 170px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.ecosystem-shell {
    position: relative;
    z-index: 1;
}

.ecosystem-top {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: start;
    gap: 26px;
}

.ecosystem-block,
.mobile-panel,
.clients-panel {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.ecosystem-block {
    padding: 0;
}

.ecosystem-integrations {
    margin-top: 6px;
}

.compact-heading {
    margin-bottom: 16px;
    text-align: center;
}

.compact-heading h2 {
    margin: 0;
    color: #0e1a2b;
    font-size: clamp(21px, 2.2vw, 30px);
    line-height: 1.35;
    font-weight: 900;
}

.compact-heading h2::after {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #0d9488;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 13px;
}

.module-tile {
    min-height: 88px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 15px 8px;
    text-align: center;
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
}

.module-tile svg {
    width: 28px;
    height: 28px;
    color: #0f9f91;
    stroke-width: 1.8;
}

.modules-section {
    background:
        radial-gradient(circle at 85% 0%, rgba(20, 184, 166, 0.14), transparent 28%),
        linear-gradient(180deg, #fff, #f8fafc);
}

.integrations-section {
    background: #fff;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.integration-card {
    min-height: 116px;
    padding: 18px 12px;
    text-align: center;
}

.integration-card:first-child span {
    color: #0d9488;
}

.zatca-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #fff 0%, #f8fafc 48%, #fff 100%),
        radial-gradient(circle at 12% 22%, rgba(15, 159, 145, 0.1), transparent 28%);
}

.zatca-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
    align-items: center;
    gap: 42px;
}

.zatca-copy h2 {
    margin: 0;
    color: #0e1a2b;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.35;
    font-weight: 900;
}

.zatca-copy > p {
    margin: 16px 0 0;
    color: #6b7a90;
    font-size: 18px;
    line-height: 1.95;
    font-weight: 700;
}

.zatca-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.zatca-badges span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    color: #0b6b61;
    background: rgba(238, 243, 248, 0.9);
    border: 1px solid rgba(15, 159, 145, 0.18);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
}

.zatca-badges svg {
    width: 17px;
    height: 17px;
}

.zatca-features {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.zatca-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(14, 26, 43, 0.08);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(14, 26, 43, 0.06);
}

.zatca-feature > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #0f9f91;
    background: #eef3f8;
    border: 1px solid rgba(15, 159, 145, 0.16);
    border-radius: 8px;
}

.zatca-feature svg {
    width: 21px;
    height: 21px;
}

.zatca-feature h3 {
    margin: 0;
    color: #0e1a2b;
    font-size: 16px;
    font-weight: 900;
}

.zatca-feature p {
    margin: 6px 0 0;
    color: #6b7a90;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 700;
}

.zatca-visual {
    position: relative;
}

.zatca-visual::before {
    content: "";
    position: absolute;
    inset: 8% 6% -4% 10%;
    z-index: 0;
    background: linear-gradient(135deg, rgba(14, 26, 43, 0.12), rgba(13, 148, 136, 0.14));
    border-radius: 24px;
    transform: rotate(-2deg);
}

.zatca-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid rgba(14, 26, 43, 0.08);
    border-radius: 16px;
    box-shadow: 0 28px 70px rgba(14, 26, 43, 0.18);
}

/**
 * `.mobile-visual` تنزف خارج الشبكة عمدًا (`width: 115%` + `margin-right: -42px`)
 * ليبدو الجوال خارجًا من القسم. كان القصّ معرَّفًا داخل `@media (max-width: 940px)`
 * فقط، فبين ‎941‎ و‎1180‎ — حيث لا يبقى من هامش الحاوية إلا ‎20‎ بكسل — كانت الصورة
 * تخرج من المستند نفسه وتصنع تمريرًا أفقيًا (‎72‎ بكسل عند ‎1024‎، مُقاسة).
 * القصّ سلوك أساسي للنزف لا استثناء لمقاس، فرُفع إلى القاعدة الأساسية.
 */
.mobile-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 52%, rgba(20, 184, 166, 0.12), transparent 24%),
        linear-gradient(180deg, #fff, #f8fafc);
}

.mobile-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: center;
    gap: 46px;
}

.mobile-visual {
    order: 2;
}

.mobile-visual img {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 28px 34px rgba(14, 26, 43, 0.12));
}

.ecosystem-bottom {
    display: grid;
    grid-template-columns: minmax(430px, .98fr) minmax(0, 1.02fr);
    align-items: end;
    gap: 20px;
    margin-top: -6px;
    direction: ltr;
}

.mobile-panel {
    direction: rtl;
    min-height: 300px;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: end;
    gap: 12px;
    padding: 0;
    overflow: hidden;
}

.mobile-panel .mobile-copy {
    align-self: center;
    padding: 18px 0 28px;
}

.mobile-panel .mobile-copy h2 {
    font-size: clamp(23px, 2.7vw, 34px);
}

.mobile-panel .check-list {
    margin: 18px 0 20px;
    gap: 8px;
}

.mobile-panel .check-list li {
    font-size: 14px;
}

.mobile-visual {
    align-self: end;
    margin: 0 -42px -18px 0;
}

.mobile-visual img {
    width: 115%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
}

.store-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.store-buttons a,
.store-buttons span {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    color: #fff;
    background: #0e1a2b;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.store-buttons a:hover {
    transform: translateY(-2px);
    background: #091422;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    align-items: center;
}

.client-logo {
    min-height: 74px;
    display: grid;
    place-items: center;
    padding: 12px;
    color: #0d9488;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(13, 148, 136, 0.16);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.clients-panel {
    direction: rtl;
    padding: 0 0 36px;
    margin-bottom: 0;
}

.clients-section {
    background: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.content-card {
    padding: 22px;
}

.content-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    margin: -6px -6px 16px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef3f8;
}

.content-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.content-card > span {
    color: #0f9f91;
    font-size: 13px;
    font-weight: 900;
}

.content-card a:last-child {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: #0e1a2b;
    font-weight: 900;
}

.content-shell {
    background: #f8fafc;
}

.detail-featured-image {
    margin: 0 0 26px;
    overflow: hidden;
    border: 1px solid rgba(14, 26, 43, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(14, 26, 43, 0.08);
}

.detail-featured-image img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.cta-section {
    position: relative;
    z-index: 2;
    padding: 8px 0 56px;
    margin-top: -2px;
}

.cta-panel {
    position: relative;
    min-height: 236px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: #0e1a2b;
    box-shadow: 0 28px 70px rgba(14, 26, 43, 0.25);
}

.cta-panel > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 26, 43, 0.86), rgba(14, 26, 43, 0.72) 58%, rgba(14, 26, 43, 0.12));
}

.cta-copy {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 46px 52px;
    color: #fff;
    margin-right: auto;
}

.cta-copy h2,
.cta-copy p {
    color: #fff;
}

.cta-copy p {
    color: rgba(255, 255, 255, .78);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn-outline-light {
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(217, 226, 236, 0.34);
}

.landing-footer {
    color: #dbe5f1;
    background:
        radial-gradient(circle at 84% -8%, rgba(13, 148, 136, 0.18), transparent 28%),
        linear-gradient(180deg, #0e1a2b 0%, #091422 100%);
    border-top: 1px solid rgba(20, 184, 166, 0.24);
}

.footer-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(190px, .72fr) minmax(260px, .9fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: start;
    padding: 42px 0 30px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.footer-brand svg {
    width: 32px;
    height: 32px;
    color: #7fd6cc;
}

.footer-about {
    max-width: 360px;
}

.footer-about p,
.footer-column a,
.footer-contact span {
    color: rgba(219, 229, 241, .76);
    font-size: 13.5px;
    line-height: 1.82;
    font-weight: 700;
}

.footer-about p {
    max-width: 34ch;
    margin: 14px 0 0;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-contact {
    gap: 10px;
}

.fc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(219, 229, 241, .82);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s;
}

.fc-item:hover { color: #7fd6cc; }

.fc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(217, 226, 236, 0.1);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #7fd6cc;
    transition: background .2s;
}

.fc-item:hover .fc-icon {
    background: rgba(13, 148, 136, 0.18);
    border-color: rgba(13, 148, 136, 0.3);
}

.fc-icon svg { width: 15px; height: 15px; }

.fc-text { line-height: 1.4; }

.footer-column h3,
.newsletter-label {
    margin: 0 0 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.footer-column h3::after,
.newsletter-label::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 8px;
    border-radius: 999px;
    background: #14b8a6;
}

.newsletter-form {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.newsletter-app-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    min-width: 162px;
    padding: 0 16px;
    border: 1px solid rgba(217, 226, 236, 0.16);
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}

.newsletter-app-link:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 226, 236, 0.28);
}

.newsletter-app-link svg {
    width: 16px;
    height: 16px;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
}

.social-row a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.7);
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
    transition: background .2s, color .2s, transform .2s;
    flex-shrink: 0;
}

.social-row a svg { width: 17px; height: 17px; }

.social-row a:hover { transform: translateY(-2px); color: #fff; }
.soc-whatsapp:hover  { background: #0d9488; }
.soc-instagram:hover { background: linear-gradient(135deg,#14b8a6,#e6683c,#dc2743,#cc2366,#bc1888); }
.soc-x:hover         { background: #091422; }
.soc-snap:hover      { background: #14b8a6; color: #0e1a2b !important; }
.soc-tiktok:hover    { background: #091422; }

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 16px 0 18px;
    color: rgba(219, 229, 241, .68);
    border-top: 1px solid rgba(217, 226, 236, 0.08);
    font-size: 13px;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Rebuilt lower homepage composition */
.suite-section {
    position: relative;
    margin-top: -10px;
    padding: 42px 0 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, #f8fafc 46%, #ffffff 100%),
        radial-gradient(circle at 14% 42%, rgba(20, 184, 166, 0.14), transparent 28%);
    overflow: hidden;
}

.suite-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 58%, rgba(13, 148, 136, 0.08) 58% 58.2%, transparent 58.2%),
        linear-gradient(65deg, transparent 0 22%, rgba(13, 148, 136, 0.07) 22% 22.15%, transparent 22.15%);
    pointer-events: none;
}

.suite-board {
    position: relative;
    z-index: 1;
    padding: 0 0 24px;
}

.suite-row-top {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
    gap: 36px;
    align-items: start;
}

.suite-area {
    min-width: 0;
}

.suite-heading {
    margin-bottom: 16px;
    text-align: center;
}

.suite-heading h2 {
    margin: 0;
    color: #0e1a2b;
    font-size: clamp(22px, 2.3vw, 31px);
    line-height: 1.35;
    font-weight: 900;
}

.suite-heading h2::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 99px;
    background: #0d9488;
}

.suite-module-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
}

.suite-module,
.suite-integration,
.suite-client-strip span {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(14, 26, 43, 0.08);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(14, 26, 43, 0.055);
}

.suite-module {
    min-height: 92px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 12px 7px;
    color: #0e1a2b;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.suite-module svg {
    width: 27px;
    height: 27px;
    color: #0f9f91;
    stroke-width: 1.9;
}

.suite-integration-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.suite-integration {
    min-height: 118px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 7px;
    padding: 14px 10px;
    text-align: center;
}

.suite-integration svg {
    width: 30px;
    height: 30px;
    color: #0f9f91;
}

.suite-integration:first-child svg {
    color: #0f9f91;
}

.suite-integration h3 {
    margin: 0;
    color: #0e1a2b;
    font-size: 14px;
    font-weight: 900;
}

.suite-integration p {
    margin: 0;
    color: #6b7a90;
    font-size: 11px;
    line-height: 1.55;
    font-weight: 800;
}

.suite-row-bottom {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr);
    gap: 30px;
    align-items: end;
    margin-top: 2px;
    direction: ltr;
}

.suite-mobile {
    position: relative;
    min-height: 330px;
    direction: rtl;
}

.suite-mobile::before {
    content: "";
    position: absolute;
    right: 4%;
    bottom: 16px;
    width: 72%;
    height: 72%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 68%);
    pointer-events: none;
}

.suite-mobile-cutout {
    position: absolute;
    left: -54px;
    bottom: -28px;
    width: min(620px, 74%);
    filter: drop-shadow(0 28px 34px rgba(14, 26, 43, 0.15));
}

.suite-mobile-copy {
    position: relative;
    z-index: 1;
    width: min(330px, 48%);
    margin-right: auto;
    padding: 36px 0 24px;
}

.suite-mobile-copy h2 {
    margin: 0;
    color: #0e1a2b;
    font-size: clamp(25px, 2.7vw, 38px);
    line-height: 1.35;
    font-weight: 900;
}

.suite-mobile-copy ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 20px;
    padding: 0;
    list-style: none;
}

.suite-mobile-copy li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #27466b;
    font-size: 13px;
    font-weight: 800;
}

.suite-mobile-copy li svg {
    width: 17px;
    height: 17px;
    color: #0f9f91;
    flex: 0 0 auto;
}

.suite-clients {
    direction: rtl;
    padding-bottom: 42px;
}

.suite-client-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.suite-client-strip span {
    min-height: 66px;
    display: grid;
    place-items: center;
    padding: 10px;
    color: #0d9488;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 900;
    text-align: center;
}

@media (max-width: 1180px) {
    .nav-links {
        gap: 14px;
        font-size: 13px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modules-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ecosystem-top,
    .ecosystem-bottom {
        grid-template-columns: 1fr;
    }

    .ecosystem-integrations,
    .clients-panel {
        margin-top: 0;
        margin-bottom: 0;
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .suite-row-top,
    .suite-row-bottom {
        grid-template-columns: 1fr;
    }

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

    .suite-mobile-copy {
        width: min(360px, 50%);
    }

    .suite-client-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 940px) {
    .mobile-toggle {
        display: grid;
        place-items: center;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 1px);
        right: 18px;
        left: 18px;
        display: none;
        padding: 18px;
        background: rgba(255, 255, 255, .98);
        border: 1px solid rgba(14, 26, 43, 0.1);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .nav-menu.open {
        display: grid;
    }

    .nav-links,
    .nav-actions {
        display: grid;
        gap: 8px;
    }

    .nav-links a {
        padding: 10px 0;
    }

    .nav-links a::after {
        display: none;
    }

    .brand-text small {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 58px 0 30px;
    }

    .hero-section::before {
        background: rgba(255, 255, 255, .74);
    }

    .hero-art {
        position: relative;
        height: 360px;
        margin-top: 18px;
        order: 2;
    }

    .hero-grid {
        min-height: auto;
        display: block;
    }

    .hero-copy {
        padding: 26px 0 0;
        text-align: center;
    }

    .hero-copy p {
        margin-inline: auto;
        font-size: 17px;
    }

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

    .hero-badges {
        margin-inline: auto;
    }

    .hero-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-section {
        margin-top: 0;
        padding-top: 18px;
    }

    .stats-panel,
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zatca-grid {
        grid-template-columns: 1fr;
    }

    .zatca-copy {
        text-align: center;
    }

    .zatca-copy > p {
        margin-inline: auto;
        max-width: 720px;
    }

    .zatca-badges {
        justify-content: center;
    }

    .stat-card {
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .journey-content {
        margin-left: 0;
        padding: 28px 18px;
    }

    .journey-panel::after {
        background: rgba(14, 26, 43, 0.76);
    }

    .journey-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .journey-step::after {
        display: none;
    }

    .item-grid {
        grid-template-columns: 1fr;
    }

    .ecosystem-bottom {
        margin-top: 22px;
    }

    .mobile-panel {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .mobile-section {
        overflow: hidden;
    }

    .mobile-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    .mobile-copy {
        order: 1;
        max-width: 560px;
        margin-inline: auto;
    }

    .mobile-copy .eyebrow {
        justify-content: center;
    }

    .mobile-copy .check-list {
        width: min(100%, 360px);
        margin-inline: auto;
    }

    .mobile-copy .check-list li {
        justify-content: center;
        text-align: center;
    }

    .mobile-visual {
        order: 2;
        margin: 0;
    }

    .mobile-visual img {
        width: min(100%, 460px);
        max-width: 100%;
        margin-inline: auto;
    }

    .store-buttons {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 28px 34px;
    }

    .footer-about {
        grid-column: 1 / -1;
        max-width: none;
    }

    .footer-about p {
        max-width: 62ch;
    }

    .suite-integration-grid {
        grid-template-columns: repeat(5, minmax(110px, 1fr));
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .suite-mobile {
        min-height: 610px;
    }

    .suite-mobile-cutout {
        left: 50%;
        bottom: 0;
        width: min(660px, 112%);
        transform: translateX(-50%);
    }

    .suite-mobile-copy {
        width: min(520px, 100%);
        margin-inline: auto;
        padding-top: 24px;
        text-align: center;
    }

    .suite-mobile-copy li {
        justify-content: center;
    }

    .suite-mobile-copy .store-buttons {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .section-container,
    .footer-container,
    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }

    .nav-inner {
        width: min(100% - 24px, 1220px);
        min-height: 66px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .brand-mark svg {
        width: 30px;
        height: 30px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-actions,
    .cta-actions {
        display: grid;
    }

    .hero-badges,
    .stats-panel,
    .features-grid,
    .modules-grid,
    .integrations-grid,
    .zatca-features,
    .clients-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .zatca-section {
        padding-top: 44px;
    }

    .zatca-grid {
        gap: 26px;
    }

    .zatca-copy h2 {
        font-size: 28px;
    }

    .mobile-copy h2 {
        font-size: 28px;
        line-height: 1.36;
    }

    .mobile-copy .check-list {
        gap: 9px;
    }

    .mobile-copy .check-list li {
        font-size: 14px;
        line-height: 1.55;
    }

    .zatca-copy > p {
        font-size: 16px;
    }

    .zatca-feature {
        text-align: start;
    }

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

    .suite-section {
        padding-top: 24px;
    }

    .suite-mobile {
        min-height: 520px;
    }

    .suite-mobile-cutout {
        width: 132%;
    }

    .stat-card {
        grid-template-columns: auto 1fr;
        padding: 14px 6px;
    }

    .stat-card span {
        width: 58px;
        height: 58px;
    }

    .section {
        padding: 52px 0;
    }

    .journey-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-copy {
        padding: 32px 18px;
        text-align: center;
    }

    .cta-section {
        padding-top: 0;
        margin-bottom: 18px;
    }

    .cta-panel {
        min-height: 0;
        border-radius: 8px;
    }

    .cta-panel > img {
        object-position: center;
    }

    .cta-panel::after {
        background: linear-gradient(180deg, rgba(14, 26, 43, 0.88), rgba(14, 26, 43, 0.76));
    }

    .cta-copy h2 {
        font-size: 25px;
        line-height: 1.38;
    }

    .cta-copy p {
        max-width: 30ch;
        margin-inline: auto;
        font-size: 14.5px;
        line-height: 1.75;
    }

    .cta-actions .btn {
        width: 100%;
        min-height: 44px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 34px 0 24px;
    }

    .landing-footer {
        border-top-color: rgba(20, 184, 166, 0.34);
        border-radius: 18px 18px 0 0;
    }

    .footer-about,
    .footer-column {
        text-align: center;
        justify-items: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-about p {
        max-width: 32ch;
        margin-inline: auto;
    }

    .footer-column h3::after,
    .newsletter-label::after {
        margin-inline: auto;
    }

    .footer-column a {
        line-height: 1.65;
    }

    .newsletter-app-link {
        width: min(100%, 220px);
    }

    .footer-contact {
        justify-items: center;
    }

    .fc-item {
        justify-content: center;
        width: 100%;
    }

    .social-row {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }
}
