:root {
    --primary: #4c1dff;
    --pink: #ec1478;
    --dark: #07051f;
    --text: #17152f;
    --muted: #6f6a84;
    --glass-border: rgba(255, 255, 255, 0.70);
    --shadow: 0 30px 90px rgba(55, 36, 126, 0.16);
    --shadow-soft: 0 16px 45px rgba(55, 36, 126, 0.10);
    --glass-shadow: 0 24px 70px rgba(35, 20, 90, 0.14), inset 0 1px 0 rgba(255,255,255,0.95), inset 0 -1px 0 rgba(76,29,255,0.08);
    --radius: 28px;
    --gradient: linear-gradient(135deg, #4717e8 0%, #7b2ff7 43%, #ec1478 100%);
    --gradient-soft: linear-gradient(135deg, rgba(71, 23, 232, 0.12), rgba(236, 20, 120, 0.10));
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.diginext-landing-body {
    font-family: "Tajawal", "Inter", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 16px;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 20%, rgba(236, 20, 120, 0.10), transparent 26%),
        radial-gradient(circle at 88% 10%, rgba(76, 29, 255, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fbfaff 45%, #ffffff 100%);
    overflow-x: hidden;
}

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

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(28px) saturate(170%);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 18px 55px rgba(43, 26, 112, 0.07);
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    direction: ltr;
}

.mobile-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(76, 29, 255, 0.14);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.42));
    box-shadow: var(--glass-shadow);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: 0.25s ease;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #18103e;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    direction: ltr;
    line-height: 1;
}

.brand-logo {
    display: block;
    width: var(--logo-width, 210px);
    height: auto;
    max-height: 64px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 22px rgba(76, 29, 255, 0.10));
}

.footer-logo {
    --logo-width: 190px;
    max-height: 58px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 34px;
    color: #241e49;
    font-weight: 600;
    direction: rtl;
}

.menu a {
    position: relative;
    font-size: 15px;
    transition: 0.25s ease;
}

.menu a:hover,
.menu a.active {
    color: var(--primary);
}

.menu a.active::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    background: var(--pink);
    border-radius: 50%;
    right: 50%;
    transform: translateX(50%);
    bottom: -18px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    direction: rtl;
}

.language-switcher {
    position: relative;
    direction: ltr;
}

.language-toggle {
    min-width: 104px;
    height: 50px;
    padding: 0 15px;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(255,255,255,0.74), rgba(255,255,255,0.34));
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    color: #18103e;
    font-family: inherit;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    transition: 0.28s cubic-bezier(.2,.8,.2,1);
}

.language-toggle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.language-toggle i {
    font-size: 15px;
    background: var(--gradient);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.language-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 210px;
    padding: 10px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.50));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    visibility: hidden;
    transition: 0.24s ease;
    z-index: 90;
}

.language-switcher.open .language-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.language-option {
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 15px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: inherit;
    color: #1b1642;
    cursor: pointer;
    transition: 0.2s ease;
    text-align: left;
}

.language-option:hover,
.language-option.active {
    background: rgba(76, 29, 255, 0.09);
}

.language-option strong {
    font-size: 14px;
    font-weight: 800;
}

.language-option small {
    color: var(--muted);
    font-weight: 700;
}

.flag {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--gradient-soft);
    border: 1px solid rgba(255,255,255,0.72);
    font-weight: 800;
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    padding: 14px 22px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.28s cubic-bezier(.2,.8,.2,1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.34), transparent 42%, rgba(255,255,255,0.12));
    pointer-events: none;
}

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

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 16px 30px rgba(236, 20, 120, 0.22);
}

.btn-primary:hover,
.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: rgba(255,255,255,0.54);
    color: var(--primary);
    border: 1px solid rgba(255,255,255,0.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 14px 35px rgba(72, 45, 160, 0.10);
}

.hero {
    position: relative;
    padding: 76px 0 58px;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 12%, rgba(236, 20, 120, 0.055), transparent 28%),
        radial-gradient(circle at 86% 14%, rgba(76, 29, 255, 0.055), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
}

.hero::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

.hero::after {
    display: none !important;
    content: none !important;
}

.section-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(108, 83, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 83, 255, 0.06) 1px, transparent 1px);
    background-size: 92px 92px;
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 46%);
    opacity: 0.12;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 46px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--glass-border);
    color: var(--primary);
    background: rgba(255,255,255,0.50);
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 22px;
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.92);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink);
    display: inline-block;
}

h1 {
    font-size: clamp(36px, 4.6vw, 66px);
    line-height: 1.18;
    letter-spacing: -0.025em;
    font-weight: 800;
    color: #090720;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(30px, 3.5vw, 52px);
    line-height: 1.24;
    letter-spacing: -0.025em;
    font-weight: 800;
    color: #0d082b;
}

.gradient-text {
    color: transparent;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
}

.lead {
    font-size: 17px;
    line-height: 1.95;
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 28px;
    font-weight: 500;
    letter-spacing: -0.015em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.study-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.36));
    box-shadow: var(--glass-shadow);
    max-width: 560px;
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.study-card strong {
    font-size: 28px;
    color: var(--primary);
    direction: ltr;
}

.study-card span {
    color: var(--muted);
    font-weight: 700;
}


/* DigiNext professional motion animation */
.diginext-motion {
    position: absolute;
    inset: 18px 0 auto;
    width: min(520px, 92%);
    height: 520px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
}

.motion-core {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 144px;
    height: 144px;
    transform: translate(-50%, -50%);
    border-radius: 38px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.34)),
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.95), transparent 32%),
        var(--gradient);
    border: 1px solid rgba(255,255,255,0.82);
    box-shadow:
        0 30px 90px rgba(76, 29, 255, 0.18),
        0 10px 45px rgba(236, 20, 120, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.95);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    animation: coreFloat 5.8s ease-in-out infinite;
}

.motion-core-text {
    font-family: "Inter", "Tajawal", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-shadow: 0 10px 24px rgba(25, 8, 82, 0.28);
}

.orbit {
    position: absolute;
    left: 50%;
    top: 48%;
    border-radius: 50%;
    border: 1px solid rgba(76, 29, 255, 0.16);
    transform: translate(-50%, -50%);
    box-shadow: inset 0 0 32px rgba(236, 20, 120, 0.06);
}

.orbit-one {
    width: 250px;
    height: 250px;
    animation: orbitRotate 18s linear infinite;
}

.orbit-two {
    width: 350px;
    height: 350px;
    border-color: rgba(236, 20, 120, 0.14);
    animation: orbitRotateReverse 24s linear infinite;
}

.orbit-three {
    width: 450px;
    height: 450px;
    border-color: rgba(76, 29, 255, 0.10);
    animation: orbitRotate 32s linear infinite;
}

.orbit::before,
.orbit::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 28px rgba(236, 20, 120, 0.32);
}

.orbit::before {
    top: -6px;
    left: 50%;
}

.orbit::after {
    bottom: 14%;
    right: 8%;
    width: 8px;
    height: 8px;
    opacity: 0.75;
}

.node {
    position: absolute;
    width: 74px;
    height: 74px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.34));
    border: 1px solid rgba(255,255,255,0.76);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(22px) saturate(175%);
    -webkit-backdrop-filter: blur(22px) saturate(175%);
    animation: nodeFloat 6s ease-in-out infinite;
}

.node::before {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 14px;
    background: var(--gradient);
    opacity: 0.86;
}

.node-one { top: 72px; left: 76px; animation-delay: -0.4s; }
.node-two { top: 100px; right: 42px; animation-delay: -1.2s; }
.node-three { bottom: 92px; left: 48px; animation-delay: -2.1s; }
.node-four { bottom: 78px; right: 88px; animation-delay: -2.9s; }

.laptop {
    z-index: 2;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitRotateReverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes coreFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0) scale(1); }
    50% { transform: translate(-50%, -50%) translateY(-14px) scale(1.035); }
}

@keyframes nodeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.82; }
    50% { transform: translateY(-16px) rotate(3deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .motion-core,
    .orbit,
    .node {
        animation: none !important;
    }
}

.mockup-wrap {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
    direction: ltr;
}

.laptop {
    width: min(680px, 100%);
    background: linear-gradient(145deg, #e8e7f0, #ffffff 48%, #b6b4c9);
    border-radius: 26px;
    padding: 18px 18px 36px;
    transform: perspective(1200px) rotateY(-11deg) rotateX(4deg);
    box-shadow: 0 35px 90px rgba(21, 10, 72, 0.26);
    position: relative;
}

.screen {
    background: linear-gradient(180deg, #ffffff, #f6f4ff);
    border-radius: 18px;
    min-height: 352px;
    border: 1px solid rgba(255,255,255,0.8);
    overflow: hidden;
    display: grid;
    grid-template-columns: 112px 1fr;
}

.side-ui {
    background: linear-gradient(180deg, #ffffff, #f2efff);
    border-right: 1px solid rgba(76, 29, 255, 0.1);
    padding: 20px 12px;
}

.mini-logo {
    height: 22px;
    width: 88px;
    background: var(--gradient);
    border-radius: 20px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.side-line {
    height: 12px;
    border-radius: 20px;
    background: #ded9fb;
    margin: 15px 0;
}

.side-line.active {
    background: var(--primary);
}

.dash {
    padding: 24px;
}

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

.metric,
.chart-card {
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(255,255,255,0.76);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 14px 36px rgba(69, 45, 150, 0.10), inset 0 1px 0 rgba(255,255,255,0.9);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.metric small {
    color: var(--muted);
    font-weight: 700;
}

.metric b {
    display: block;
    font-size: 22px;
    color: #120a44;
    margin-top: 8px;
}

.spark {
    height: 30px;
    margin-top: 10px;
    background: linear-gradient(135deg, rgba(76,29,255,0.16), rgba(236,20,120,0.16));
    clip-path: polygon(0 80%, 14% 60%, 28% 72%, 42% 45%, 58% 50%, 72% 25%, 86% 35%, 100% 8%, 100% 100%, 0 100%);
    border-radius: 8px;
}

.chart-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 14px;
}

.donut {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0 45%, var(--pink) 45% 73%, #d8d1ff 73% 100%);
    margin: 8px auto;
    position: relative;
}

.donut::after {
    content: "";
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    background: white;
}

.bars {
    height: 130px;
    display: flex;
    align-items: end;
    gap: 12px;
    padding-top: 16px;
}

.bar {
    flex: 1;
    border-radius: 12px 12px 4px 4px;
    background: linear-gradient(180deg, var(--pink), var(--primary));
    min-height: 34px;
    opacity: 0.9;
}

.float-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.36));
    border: 1px solid rgba(255,255,255,0.82);
    border-radius: 24px;
    padding: 18px 20px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    font-weight: 800;
    color: #21154b;
    display: flex;
    align-items: center;
    gap: 12px;
}

.float-card:nth-of-type(2) {
    top: 74px;
    right: 0;
}

.float-card:nth-of-type(3) {
    top: 160px;
    left: 18px;
}

.float-card:nth-of-type(4) {
    bottom: 72px;
    right: 60px;
}

.icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.28)),
        var(--gradient-soft);
    color: var(--primary);
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 14px 35px rgba(76,29,255,0.13);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.icon i {
    font-size: 20px;
    line-height: 1;
    background: var(--gradient);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.features-row,
.about-grid,
.services-grid,
.industries-grid,
.results-strip,
.mini-steps {
    display: grid;
    gap: 22px;
}

.features-row {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 42px;
}

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

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

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

.mini-steps {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 26px;
}

.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.74), rgba(255,255,255,0.36));
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    padding: 28px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(26px) saturate(170%);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    transition: 0.28s cubic-bezier(.2,.8,.2,1);
    position: relative;
    overflow: hidden;
}

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

.card h3 {
    font-size: 19px;
    margin: 14px 0 8px;
    color: #120a44;
    font-weight: 800;
    letter-spacing: -0.018em;
}

.card p {
    color: var(--muted);
    line-height: 1.8;
    font-weight: 500;
    letter-spacing: -0.012em;
}

.step-card {
    position: relative;
    min-height: 170px;
}

.step-num {
    position: absolute;
    top: 18px;
    left: 18px;
    direction: ltr;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: white;
    background: var(--gradient);
    display: grid;
    place-items: center;
    font-weight: 800;
}

section {
    padding: 82px 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 54px;
}

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

.section-head p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
    font-weight: 500;
}

.compact {
    margin-bottom: 18px;
}

.compact h2 {
    font-size: 36px;
}

.method {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 70px 1fr 56px;
    gap: 18px;
    align-items: center;
    padding: 17px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.36));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.timeline-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-weight: 800;
    display: grid;
    place-items: center;
    direction: ltr;
}

.timeline-item h3 {
    font-size: 19px;
    color: #120a44;
    margin-bottom: 3px;
}

.timeline-item p {
    color: var(--muted);
    font-weight: 500;
    line-height: 1.7;
}

.benefit-panel,
.price-box,
.contact-panel {
    border-radius: 32px;
    padding: 34px;
    background: linear-gradient(135deg, rgba(255,255,255,0.76), rgba(255,255,255,0.38));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(28px) saturate(170%);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
}

.benefit-panel h3 {
    font-size: 26px;
    line-height: 1.3;
    color: #110a3b;
    margin-bottom: 20px;
}

.benefit-list {
    display: grid;
    gap: 18px;
}

.benefit-list li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-weight: 700;
}

.pricing-contact {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 34px;
    align-items: start;
}

.price-large {
    font-size: clamp(54px, 8vw, 76px);
    line-height: 1;
    font-weight: 800;
    color: transparent;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    direction: ltr;
    text-align: right;
    margin: 14px 0;
}

.muted-bold {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.8;
}

.form {
    display: grid;
    gap: 15px;
    margin-top: 22px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    font-weight: 700;
    color: #120a44;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(76, 29, 255, 0.16);
    border-radius: 16px;
    padding: 15px 18px;
    font-family: inherit;
    outline: none;
    background: rgba(255,255,255,0.8);
    color: var(--text);
    transition: 0.2s ease;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(76,29,255,0.10);
}


.form-alert {
    border-radius: 18px;
    padding: 14px 16px;
    margin: 14px 0;
    font-weight: 700;
    line-height: 1.7;
    border: 1px solid rgba(255,255,255,0.78);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.form-success {
    color: #125c32;
    background: linear-gradient(135deg, rgba(218, 255, 232, 0.86), rgba(255,255,255,0.55));
    box-shadow: 0 14px 35px rgba(18, 92, 50, 0.08);
}

.form-error {
    color: #8a123a;
    background: linear-gradient(135deg, rgba(255, 226, 236, 0.90), rgba(255,255,255,0.55));
    box-shadow: 0 14px 35px rgba(138, 18, 58, 0.08);
}

.form.is-submitting {
    opacity: 0.72;
    pointer-events: none;
}

.form [aria-invalid="true"] {
    border-color: #ec1478 !important;
    box-shadow: 0 0 0 4px rgba(236, 20, 120, 0.10) !important;
}

.hidden-field {
    display: none !important;
}

footer {
    padding: 34px 0;
    border-top: 1px solid rgba(76,29,255,0.10);
    color: var(--muted);
    font-weight: 700;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

html[dir="ltr"] .menu,
html[dir="ltr"] .nav-actions {
    direction: ltr;
}

html[dir="ltr"] .price-large {
    text-align: left;
}




/* Clean multilingual direction support */
html[dir="rtl"] body.diginext-landing-body {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] body.diginext-landing-body {
    direction: ltr;
    text-align: left;
    font-family: "Inter", "Tajawal", system-ui, sans-serif;
}

html[dir="rtl"] .menu,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .process-grid {
    direction: rtl;
}

html[dir="ltr"] .menu,
html[dir="ltr"] .nav-actions,
html[dir="ltr"] .process-grid {
    direction: ltr;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .contact-panel,
html[dir="rtl"] .price-box,
html[dir="rtl"] .card,
html[dir="rtl"] .benefit-panel,
html[dir="rtl"] .field {
    text-align: right;
}

html[dir="ltr"] .hero-copy,
html[dir="ltr"] .contact-panel,
html[dir="ltr"] .price-box,
html[dir="ltr"] .card,
html[dir="ltr"] .benefit-panel,
html[dir="ltr"] .field {
    text-align: left;
}

html[dir="rtl"] .section-head,
html[dir="ltr"] .section-head {
    text-align: center;
}

html[dir="rtl"] .price-large {
    text-align: right;
}

html[dir="ltr"] .price-large {
    text-align: left;
}

html[dir="rtl"] .language-menu {
    left: 0;
    right: auto;
}

html[dir="ltr"] .language-menu {
    left: auto;
    right: 0;
}

html[dir="rtl"] .step-num {
    left: 18px;
    right: auto;
}

html[dir="ltr"] .step-num {
    left: auto;
    right: 18px;
}

html[dir="ltr"] .timeline-item {
    grid-template-columns: 70px 1fr 56px;
}

html[dir="rtl"] .timeline-item {
    grid-template-columns: 70px 1fr 56px;
}

html[dir="ltr"] select,
html[dir="ltr"] input,
html[dir="ltr"] textarea {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] select,
html[dir="rtl"] input,
html[dir="rtl"] textarea {
    direction: rtl;
    text-align: right;
}

@media (max-width: 1120px) {
    .menu {
        gap: 22px;
    }

    .brand-logo {
        --logo-width: 165px;
    }
}

@media (max-width: 1020px) {
    .hero-grid,
    .method,
    .pricing-contact {
        grid-template-columns: 1fr;
    }

    .hero::before {
        display: none !important;
        content: none !important;
        background: none !important;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 32px, 1180px);
    }

    .nav {
        min-height: 76px;
        gap: 12px;
    }

    .brand-logo {
        --logo-width: 145px;
        max-height: 44px;
    }

    .nav-actions {
        gap: 10px;
    }

    .language-toggle {
        min-width: 88px;
        height: 46px;
        padding: 0 12px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding-top: 54px;
    }

    .mockup-wrap {
        min-height: auto;
        display: block;
    }

    .laptop {
        transform: none;
        margin: 0 auto 16px;
    }

    .float-card {
        position: static;
        width: fit-content;
        max-width: 100%;
        margin-top: 12px;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    h1 {
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.22;
    }

    h2,
    .section-head h2 {
        font-size: clamp(27px, 8vw, 36px);
    }

    .lead,
    .section-head p {
        font-size: 15.5px;
        line-height: 1.85;
    }

    .hero-actions,
    .study-card {
        flex-direction: column;
        align-items: stretch;
    }

    .features-row,
    .about-grid,
    .services-grid,
    .results-strip,
    .industries-grid,
    .mini-steps,
    .dash-grid,
    .chart-grid {
        grid-template-columns: 1fr;
    }

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

    .side-ui {
        display: none;
    }

    .timeline-item {
        grid-template-columns: 48px 1fr;
        gap: 14px;
    }

    .timeline-item .icon {
        display: none;
    }

    .card,
    .price-box,
    .contact-panel,
    .benefit-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .icon i {
        font-size: 19px;
    }

    section {
        padding: 58px 0;
    }
}

@media (max-width: 460px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .nav {
        min-height: 70px;
    }

    .brand-logo {
        --logo-width: 122px;
        max-height: 38px;
    }

    .language-toggle {
        min-width: 76px;
        height: 42px;
        padding: 0 10px;
        gap: 6px;
        border-radius: 15px;
    }

    .language-toggle i:last-child {
        display: none;
    }

    .language-menu {
        left: auto;
        right: 0;
        width: min(190px, calc(100vw - 24px));
    }

    .btn {
        width: 100%;
        padding: 13px 18px;
    }

    .hero {
        padding-top: 44px;
    }

    .hero::before,
    .hero::after {
        display: none !important;
        content: none !important;
    }
}

.section-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(108, 83, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 83, 255, 0.06) 1px, transparent 1px);
    background-size: 92px 92px;
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 46%);
    opacity: 0.12;
    z-index: -1;
}


@media (max-width: 820px) {
    .diginext-motion {
        width: min(420px, 100%);
        height: 380px;
        opacity: 0.55;
        top: 10px;
    }

    .motion-core {
        width: 110px;
        height: 110px;
        border-radius: 30px;
    }

    .motion-core-text {
        font-size: 14px;
    }

    .orbit-one { width: 190px; height: 190px; }
    .orbit-two { width: 270px; height: 270px; }
    .orbit-three { width: 350px; height: 350px; }

    .node {
        width: 54px;
        height: 54px;
        border-radius: 18px;
    }

    .node::before {
        inset: 15px;
    }
}

@media (max-width: 460px) {
    .diginext-motion {
        height: 310px;
        opacity: 0.45;
    }

    .node {
        display: none;
    }
}


/* Responsive header - added for mobile/tablet compatibility */
@media (max-width: 980px) {
    .site-header {
        background: rgba(255, 255, 255, 0.82);
    }

    .nav {
        position: relative;
        min-height: 74px;
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        order: 3;
        flex: 0 0 auto;
    }

    .brand {
        order: 1;
        flex: 0 1 auto;
    }

    .brand-logo {
        --logo-width: 150px;
        max-height: 46px;
    }

    .nav-actions {
        order: 2;
        margin-inline-start: auto;
        gap: 8px;
    }

    .header-cta {
        display: none !important;
    }

    .menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: 100%;
        display: grid;
        gap: 8px;
        padding: 14px;
        border: 1px solid rgba(255,255,255,0.76);
        border-radius: 24px;
        background: rgba(255,255,255,0.94);
        box-shadow: 0 22px 70px rgba(35, 20, 90, 0.16);
        backdrop-filter: blur(24px) saturate(170%);
        -webkit-backdrop-filter: blur(24px) saturate(170%);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.98);
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        z-index: 60;
    }

    .menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .menu a {
        width: 100%;
        padding: 13px 14px;
        border-radius: 16px;
        background: rgba(76, 29, 255, 0.045);
        font-size: 15px;
    }

    .menu a.active::after {
        display: none;
    }

    .menu a:hover,
    .menu a.active {
        background: var(--gradient-soft);
    }

    .language-menu {
        width: min(210px, calc(100vw - 28px));
        z-index: 80;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .nav {
        min-height: 66px;
        gap: 8px;
    }

    .brand-logo {
        --logo-width: 122px;
        max-height: 38px;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .language-toggle {
        min-width: 70px;
        height: 42px;
        padding: 0 9px;
        gap: 6px;
        border-radius: 14px;
    }

    .language-toggle i:last-child {
        display: none;
    }

    .language-menu {
        left: auto;
        right: 0;
        width: min(190px, calc(100vw - 22px));
    }

    html[dir="ltr"] .language-menu {
        left: auto;
        right: 0;
    }

    .menu {
        top: calc(100% + 8px);
        padding: 12px;
        border-radius: 20px;
    }

    .menu a {
        padding: 12px 13px;
    }
}

@media (max-width: 370px) {
    .brand-logo {
        --logo-width: 106px;
    }

    .language-toggle {
        min-width: 62px;
        padding: 0 7px;
    }
}
