:root {
    --bg: #0b1020;
    --bg-soft: #111a30;
    --panel: rgba(255, 255, 255, 0.08);
    --panel-solid: #111827;
    --surface: #f7f8fc;
    --surface-alt: #ffffff;
    --text: #101828;
    --text-soft: #667085;
    --white: #ffffff;
    --primary: #d4af37;
    --primary-dark: #b6901f;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 60px rgba(3, 7, 18, 0.18);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 28%),
        linear-gradient(180deg, #0a0f1e 0%, #10192f 30%, #f4f6fb 30%, #f4f6fb 100%);
    color: var(--text);
    min-height: 100vh;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #7a5b08;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #f5d66f);
    color: #151515;
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 18px 34px rgba(212, 175, 55, 0.34);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.light-btn {
    background: var(--white);
    color: #111827;
    border-color: rgba(17, 24, 39, 0.08);
}

.light-btn:hover {
    background: #f8fafc;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    backdrop-filter: blur(14px);
    background: rgba(10, 15, 30, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--white);
}

.brand-logo-only {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 58px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: height 0.25s ease;
}

.footer-logo {
    height: 64px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    min-height: 46px;
    padding: 0 20px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 38px 0 72px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 214, 111, 0.22), transparent 25%),
        radial-gradient(circle at 85% 10%, rgba(77, 111, 255, 0.18), transparent 22%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.hero-content {
    color: var(--white);
    padding: 48px 0;
}

.hero-content h1 {
    margin: 18px 0 18px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.15;
    letter-spacing: -0.6px;
}

.hero-content p {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
    max-width: 650px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.highlight-pill {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    font-size: 14px;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    padding: 22px;
}

.dashboard-frame {
    position: relative;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px;
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.dashboard-topbar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.dashboard-topbar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.dashboard-frame img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* التعديل الأساسي هنا */
.stats-section {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 34px 0 42px;
    background: #f4f6fb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stat-card {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    color: #101828;
}

.stat-card span {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 15px;
}

.features-section,
.preview-section,
.steps-section {
    padding: 90px 0;
}

.features-section {
    background: #f4f6fb;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}

.section-heading h2 {
    margin: 12px 0 12px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
    color: #101828;
}

.section-heading p {
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    position: relative;
    display: block;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #b6901f, #f5d66f);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    border-color: rgba(182, 144, 31, 0.22);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-number {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.36));
    color: #7a5b08;
    font-weight: 800;
    font-size: 18px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #111827;
}

.feature-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.9;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8b6a11;
    font-weight: 700;
    font-size: 15px;
}

.preview-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: center;
}

.preview-image {
    position: relative;
}

.preview-glow {
    position: absolute;
    inset: 10% 8% auto auto;
    width: 220px;
    height: 220px;
    background: rgba(212, 175, 55, 0.24);
    filter: blur(60px);
    z-index: 0;
}

.preview-image img {
    position: relative;
    z-index: 1;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    background: var(--white);
}

.preview-content h2 {
    margin: 18px 0 12px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.28;
    color: #101828;
}

.preview-content p {
    margin: 0 0 22px;
    color: var(--text-soft);
    line-height: 1.9;
    font-size: 17px;
}

.preview-points {
    display: grid;
    gap: 16px;
}

.preview-point {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.preview-point strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 18px;
}

.preview-point span {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 15px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-card {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.step-card span {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #111827;
    color: var(--white);
    font-weight: 800;
    font-size: 17px;
}

.step-card h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 22px;
}

.step-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.9;
    font-size: 16px;
}

.cta-section {
    padding: 0 0 90px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: var(--white);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    position: relative;
}

.cta-panel::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    left: -40px;
    top: -80px;
    background: rgba(212, 175, 55, 0.18);
    filter: blur(40px);
}

.cta-copy,
.cta-actions {
    position: relative;
    z-index: 1;
}

.cta-copy h2 {
    margin: 18px 0 12px;
    font-size: clamp(28px, 3vw, 38px);
}

.cta-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.9;
    font-size: 16px;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer {
    background: #0b1020;
    color: var(--white);
    padding: 56px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 28px;
}

.footer-brand-box {
    margin-bottom: 14px;
}

.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.9;
}

.footer-links h3,
.footer-contact h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 10px;
    transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-copy {
    margin: 26px 0 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.54);
    font-size: 14px;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 20px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-card {
    position: relative;
    width: min(520px, 100%);
    padding: 28px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.thank-you-card {
    width: min(460px, 100%);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: #f2f4f7;
    color: #667085;
    font-size: 24px;
    cursor: pointer;
}

.modal-card h2 {
    margin: 16px 0 10px;
    color: #111827;
    font-size: 30px;
    line-height: 1.3;
}

.modal-text {
    margin: 0 0 20px;
    color: var(--text-soft);
    line-height: 1.85;
    font-size: 15px;
}

.modal-form {
    display: grid;
    gap: 14px;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    padding: 14px 16px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.modal-form input:focus,
.modal-form textarea:focus {
    border-color: rgba(182, 144, 31, 0.8);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.modal-submit {
    width: 100%;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #25d366, #18a84f);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.25);
}

.whatsapp-button:hover {
    transform: translateY(-2px);
}

/* Shared Feature Pages */
.feature-page .site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    backdrop-filter: blur(14px);
    background: rgba(10, 15, 30, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-page .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.feature-page .page-hero {
    padding: 56px 0 34px;
    position: relative;
    overflow: hidden;
}

.feature-page .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(245, 214, 111, 0.18), transparent 22%),
        radial-gradient(circle at 82% 0%, rgba(77, 111, 255, 0.16), transparent 20%);
    pointer-events: none;
}

.feature-page .hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 760px;
}

.feature-page .hero-content h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.6px;
}

.feature-page .hero-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.9;
    max-width: 650px;
}

.feature-page .feature-main {
    padding: 34px 0 90px;
}

.feature-page .feature-layout {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 24px;
    align-items: center;
}

.feature-page .feature-layout.single-column {
    grid-template-columns: 1fr;
}

.feature-page .feature-card,
.feature-page .feature-image-card,
.feature-page .mini-feature-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: var(--shadow);
    border-radius: 28px;
}

.feature-page .feature-card {
    padding: 30px;
}

.feature-page .feature-card h2 {
    margin: 18px 0 10px;
    font-size: 36px;
    color: #101828;
}

.feature-page .feature-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    line-height: 1.95;
    font-size: 17px;
}

.feature-page .feature-points-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.feature-page .feature-points-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-page .mini-feature-card {
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.feature-page .mini-feature-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    color: #111827;
}

.feature-page .mini-feature-card span {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 15px;
}

.feature-page .feature-image-card {
    padding: 20px;
    position: relative;
}

.feature-page .feature-image-card img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    background: var(--white);
}

.feature-page .button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.feature-page .btn-dark {
    background: #111827;
    color: #ffffff;
}

.feature-page .site-footer {
    background: #0b1020;
    color: var(--white);
    padding: 56px 0 26px;
}

.feature-page .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 28px;
}

.feature-page .footer-links,
.feature-page .footer-contact {
    display: flex;
    flex-direction: column;
}

.feature-page .footer-links h3,
.feature-page .footer-contact h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

.feature-page .footer-links a,
.feature-page .footer-contact a {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 10px;
    transition: color 0.25s ease;
}

.feature-page .footer-links a:hover,
.feature-page .footer-contact a:hover {
    color: var(--primary);
}

.feature-page .footer-copy-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.9;
}

.feature-page .footer-copy {
    margin: 26px 0 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.54);
    font-size: 14px;
}

/* Home Page New Sections */
.home-section {
    padding: 90px 0;
}

.home-section-soft {
    background: #f8faff;
}

.home-section-white {
    background: #ffffff;
}

.section-heading-left {
    max-width: 760px;
    margin: 0 0 42px;
    text-align: right;
}

.section-heading-left h2 {
    margin: 18px 0 12px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
    color: #101828;
}

.section-heading-left p {
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.9;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.solution-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.solution-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #b6901f, #f5d66f);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    border-color: rgba(182, 144, 31, 0.22);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.36));
    color: #7a5b08;
    font-weight: 800;
    font-size: 18px;
}

.solution-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #111827;
}

.solution-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.9;
}

.solution-list {
    display: grid;
    gap: 10px;
}

.solution-list span {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.04);
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.dual-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.showcase-card {
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.showcase-card h3 {
    margin: 18px 0 12px;
    font-size: 30px;
    color: #101828;
}

.showcase-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.95;
}

.showcase-points {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.showcase-point {
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.showcase-point strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 18px;
}

.showcase-point span {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 15px;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.stats-strip-card {
    padding: 26px 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    text-align: center;
    min-height: 172px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-strip-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.5;
    color: #101828;
}

.stats-strip-card span {
    color: var(--text-soft);
    line-height: 1.9;
    font-size: 15px;
}

.core-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.core-feature-card {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.core-feature-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #111827;
}

.core-feature-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    line-height: 1.9;
    font-size: 16px;
}

.core-feature-list {
    display: grid;
    gap: 10px;
}

.core-feature-list span {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.04);
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.audience-card {
    padding: 24px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.audience-card strong {
    display: block;
    margin-bottom: 8px;
    color: #101828;
    font-size: 18px;
}

.audience-card span {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 14px;
}

.home-note-box {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #6d5310;
    line-height: 1.9;
    font-size: 15px;
    font-weight: 700;
}

/* Scroll Reveal */
.reveal-section {
    overflow: clip;
}

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        filter 0.8s ease;
    will-change: opacity, transform, filter;
}

.reveal-item.stagger-1 {
    transition-delay: 0.12s;
}

.reveal-item.stagger-2 {
    transition-delay: 0.22s;
}

.reveal-item.stagger-3 {
    transition-delay: 0.32s;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-item,
    .reveal-item.stagger-1,
    .reveal-item.stagger-2,
    .reveal-item.stagger-3 {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .preview-grid,
    .footer-grid,
    .steps-grid,
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        padding-top: 20px;
    }

    .solutions-grid,
    .stats-strip,
    .audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .feature-page .feature-layout,
    .feature-page .feature-points-grid,
    .feature-page .feature-points-grid.two-col,
    .feature-page .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .site-nav {
        padding: 14px 0;
    }

    .nav-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .hero-grid,
    .preview-grid,
    .feature-grid,
    .steps-grid,
    .stats-grid,
    .footer-grid,
    .solutions-grid,
    .dual-showcase,
    .stats-strip,
    .core-features-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
        padding-bottom: 10px;
    }

    .hero-content p,
    .feature-page .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-highlights,
    .cta-actions {
        justify-content: center;
    }

    .hero-visual {
        padding: 0 0 30px;
    }

    .cta-panel {
        flex-direction: column;
        text-align: center;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading-left {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .feature-page .site-nav {
        padding: 14px 0;
    }

    .feature-page .nav-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .feature-page .nav-links {
        width: 100%;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .feature-page .hero-content {
        text-align: center;
    }
}

@media (max-width: 520px) {
    body {
        background:
            radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 30%),
            linear-gradient(180deg, #0a0f1e 0%, #10192f 24%, #f4f6fb 24%, #f4f6fb 100%);
    }

    .container {
        width: min(var(--container), calc(100% - 22px));
    }

    .hero-section,
    .feature-page .page-hero {
        padding-top: 24px;
    }

    .hero-section {
        padding-bottom: 56px;
    }

    .hero-content h1,
    .feature-page .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p,
    .section-heading p,
    .preview-content p,
    .step-card p,
    .feature-card p,
    .cta-copy p,
    .section-heading-left p,
    .solution-card p,
    .showcase-card p,
    .showcase-point span,
    .core-feature-card p,
    .feature-page .feature-card p {
        font-size: 15px;
    }

    .btn,
    .feature-page .btn {
        width: 100%;
    }

    .hero-actions,
    .cta-actions {
        width: 100%;
    }

    .modal-card {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .modal-card h2 {
        font-size: 24px;
    }

    .home-section {
        padding: 70px 0;
    }

    .solution-card,
    .showcase-card,
    .core-feature-card,
    .feature-page .feature-card,
    .feature-page .feature-image-card,
    .feature-page .mini-feature-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .feature-page .feature-card,
    .feature-page .feature-image-card {
        border-radius: 24px;
    }

    .stats-section {
        padding: 26px 0 34px;
    }

    .stats-strip-card {
        min-height: auto;
    }
}
/* =========================
   Language Switcher
========================= */

.lang-toggle {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.lang-toggle:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

html[dir="ltr"] body {
    text-align: left;
}

html[dir="ltr"] .hero-content,
html[dir="ltr"] .preview-content,
html[dir="ltr"] .cta-copy,
html[dir="ltr"] .footer-links,
html[dir="ltr"] .footer-contact,
html[dir="ltr"] .footer-brand,
html[dir="ltr"] .section-heading-left,
html[dir="ltr"] .showcase-card,
html[dir="ltr"] .core-feature-card,
html[dir="ltr"] .solution-card {
    text-align: left;
}

html[dir="ltr"] .modal-close {
    right: 16px;
    left: auto;
}

html[dir="ltr"] .nav-links {
    direction: ltr;
}

html[dir="ltr"] .hero-highlights,
html[dir="ltr"] .hero-actions,
html[dir="ltr"] .cta-actions,
html[dir="ltr"] .footer-social {
    justify-content: flex-start;
}

html[dir="ltr"] .section-heading,
html[dir="ltr"] .hero-content,
html[dir="ltr"] .preview-content {
    direction: ltr;
}

html[dir="ltr"] input,
html[dir="ltr"] textarea {
    direction: ltr;
    text-align: left;
}

/* =========================
   Stronger Scroll Reveal
========================= */

.reveal-item {
    opacity: 0;
    transform: translateY(46px) scale(0.98);
    filter: blur(6px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease,
        filter 0.9s ease;
    will-change: opacity, transform, filter;
}

.reveal-item.stagger-1 {
    transition-delay: 0.12s;
}

.reveal-item.stagger-2 {
    transition-delay: 0.22s;
}

.reveal-item.stagger-3 {
    transition-delay: 0.32s;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@media (max-width: 860px) {
    .nav-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .lang-toggle {
        width: 100%;
    }

    html[dir="ltr"] .hero-highlights,
    html[dir="ltr"] .hero-actions,
    html[dir="ltr"] .cta-actions {
        justify-content: center;
    }
}
.solution-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.solution-card:hover .solution-icon {
    transform: scale(1.05);
}

.solution-icon {
    transition: transform 0.25s ease;
}

.solution-card::after {
    content: "فتح التفاصيل";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.10);
    color: #8b6a11;
    font-size: 14px;
    font-weight: 800;
    transition: background 0.25s ease, transform 0.25s ease;
}

.solution-card:hover::after {
    background: rgba(212, 175, 55, 0.18);
    transform: translateY(-1px);
}

html[dir="ltr"] .solution-card::after {
    content: "Open Details";
}
.hero-main-text {
    margin: 18px 0 0;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.25;
    letter-spacing: -0.6px;
    font-weight: 800;
    color: var(--white);
    max-width: 980px;
}
/* =========================
   Mobile Sticky Header Fix
========================= */

@media (max-width: 860px) {
    .site-nav {
        padding: 10px 0;
    }

    .brand-logo {
        height: 42px;
    }

    .nav-content {
        gap: 10px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-cta,
    .lang-toggle {
        min-height: 44px;
    }

    body.nav-scrolled .site-nav {
        padding: 6px 0;
        background: rgba(10, 15, 30, 0.92);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    }

    body.nav-scrolled .brand-logo {
        height: 34px;
    }
}