:root {
    color-scheme: light;
    --ink: #101820;
    --muted: #61707f;
    --line: #dce5e9;
    --paper: #f7fbfa;
    --teal: #17bebb;
    --coral: #ff6b4a;
    --gold: #e4a11b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(135deg, rgba(23, 190, 187, .10), transparent 32%),
        linear-gradient(225deg, rgba(255, 107, 74, .09), transparent 34%),
        var(--paper);
    color: var(--ink);
    font-family: "Satoshi", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] button {
    font-family: "Cairo", sans-serif;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(220, 229, 233, .78);
    background: rgba(247, 251, 250, .82);
    backdrop-filter: blur(22px);
}

.brand-lockup {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    color: var(--ink);
}

.brand-lockup span {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-lockup small {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
}

.brand-lockup.footer {
    color: #fff;
}

.brand-lockup.footer small {
    color: rgba(255, 255, 255, .55);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    padding: .65rem .9rem;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
    transition: .22s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 12px 35px rgba(16, 24, 32, .08);
}

.nav-dropdown {
    position: absolute;
    inset-inline-start: 0;
    top: 110%;
    width: 290px;
    border: 1px solid rgba(220, 229, 233, .9);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .94);
    padding: .65rem;
    box-shadow: 0 28px 80px rgba(16, 24, 32, .14);
    backdrop-filter: blur(18px);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: .75rem;
    border-radius: 1rem;
    padding: .85rem;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 700;
}

.nav-dropdown a:hover {
    background: #eefdf9;
}

.mobile-menu {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    padding: .75rem 1rem 1rem;
}

.mobile-menu a {
    display: block;
    border-radius: 1rem;
    padding: .95rem;
    color: var(--ink);
    font-weight: 700;
}

.mobile-menu a:hover {
    background: #eff7f5;
}

.section-pad {
    padding: 6rem 0;
}

.page-hero,
.service-hero {
    padding: 7rem 0 5rem;
}

.hero-shell {
    position: relative;
    min-height: calc(100vh - 5rem);
    display: flex;
    align-items: center;
}

.mesh-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(120deg, rgba(23, 190, 187, .18), transparent 35%),
        linear-gradient(270deg, rgba(255, 107, 74, .14), transparent 38%),
        linear-gradient(0deg, rgba(228, 161, 27, .10), transparent 42%);
    background-size: 180% 180%;
    animation: meshMove 14s ease-in-out infinite alternate;
}

@keyframes meshMove {
    from { background-position: 0 30%; }
    to { background-position: 100% 70%; }
}

.hero-visual {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 2.2rem;
    background: #111;
    box-shadow: 0 35px 100px rgba(16, 24, 32, .18);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(16, 24, 32, .72));
}

.hero-panel {
    position: absolute;
    inset-inline: 1.25rem;
    bottom: 1.25rem;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.4rem;
    background: rgba(16, 24, 32, .56);
    padding: 1rem;
    backdrop-filter: blur(18px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(23, 190, 187, .22);
    border-radius: 999px;
    background: rgba(220, 255, 246, .75);
    padding: .45rem .8rem;
    color: #087d7c;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

[dir="rtl"] .eyebrow {
    text-transform: none;
}

.eyebrow.dark {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .8);
}

.btn-primary,
.btn-secondary,
.btn-light,
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    min-height: 3rem;
    background: linear-gradient(135deg, var(--ink), #20303c);
    padding: .9rem 1.2rem;
    color: #fff;
    box-shadow: 0 16px 38px rgba(16, 24, 32, .18);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover,
.btn-icon:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    min-height: 3rem;
    border: 1px solid rgba(16, 24, 32, .08);
    background: rgba(255, 255, 255, .86);
    padding: .85rem 1.1rem;
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(16, 24, 32, .08);
}

.btn-secondary.danger,
.danger {
    border-color: rgba(255, 107, 74, .22);
    color: #9f2c17;
}

.btn-secondary.compact {
    min-height: 2.55rem;
    padding: .7rem .9rem;
    font-size: .85rem;
}

.btn-light {
    min-height: 3rem;
    background: #fff;
    padding: .85rem 1.1rem;
    color: var(--ink);
}

.btn-icon {
    height: 2.75rem;
    width: 2.75rem;
    flex: 0 0 2.75rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(16, 24, 32, .08);
}

.field {
    width: 100%;
    border: 1px solid rgba(220, 229, 233, .95);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .92);
    padding: .95rem 1rem;
    color: var(--ink);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
    transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}

.field:focus {
    border-color: rgba(23, 190, 187, .65);
    box-shadow: 0 0 0 4px rgba(23, 190, 187, .12);
}

.field.dark {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.field.dark::placeholder {
    color: rgba(255, 255, 255, .5);
}

.label {
    color: var(--ink);
    font-size: .82rem;
    font-weight: 800;
}

.domain-console,
.premium-card,
.product-card,
.pricing-card {
    border: 1px solid rgba(220, 229, 233, .88);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 55px rgba(16, 24, 32, .08);
    backdrop-filter: blur(18px);
}

.domain-console {
    padding: .75rem;
}

.premium-card,
.product-card,
.pricing-card {
    transition: transform .24s ease, box-shadow .24s ease, border .24s ease;
}

.premium-card:hover,
.product-card:hover,
.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 190, 187, .34);
    box-shadow: 0 26px 70px rgba(16, 24, 32, .12);
}

.pricing-card {
    padding: 1.4rem;
}

.pricing-featured {
    background:
        linear-gradient(180deg, rgba(220, 255, 246, .95), rgba(255, 255, 255, .88)),
        #fff;
    border-color: rgba(23, 190, 187, .4);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    width: fit-content;
    border: 1px solid rgba(16, 24, 32, .08);
    border-radius: 999px;
    background: #fff;
    padding: .45rem .75rem;
    color: var(--ink);
    font-size: .78rem;
    font-weight: 900;
}

.status-good {
    border-color: rgba(23, 190, 187, .25);
    background: #dcfff6;
    color: #087d7c;
}

.status-warn {
    border-color: rgba(255, 107, 74, .25);
    background: #fff0eb;
    color: #9f2c17;
}

.case-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: 1.6rem;
    box-shadow: 0 24px 70px rgba(16, 24, 32, .16);
}

.case-card img {
    height: 100%;
    min-height: 390px;
    width: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.case-card:hover img {
    transform: scale(1.06);
}

.case-overlay {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.2rem;
    background: rgba(16, 24, 32, .66);
    padding: 1rem;
    color: #fff;
    backdrop-filter: blur(16px);
}

.case-overlay span {
    color: rgba(255, 255, 255, .62);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.case-overlay h3 {
    margin-top: .35rem;
    font-size: 1.3rem;
    font-weight: 800;
}

.logo-chip {
    border: 1px solid rgba(220, 229, 233, .9);
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    padding: .8rem 1rem;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(16, 24, 32, .06);
}

.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(23, 190, 187, .22), transparent 36%),
        linear-gradient(315deg, rgba(255, 107, 74, .24), transparent 42%),
        var(--ink);
    padding: clamp(1.5rem, 5vw, 4rem);
    box-shadow: 0 35px 100px rgba(16, 24, 32, .22);
}

.timeline {
    display: grid;
    gap: 1rem;
}

@media (min-width: 900px) {
    .timeline {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.timeline-item {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: #fff;
    padding: 1.1rem;
    box-shadow: 0 18px 45px rgba(16, 24, 32, .07);
}

.timeline-item span {
    display: flex;
    height: 2.4rem;
    width: 2.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--ink);
    color: #fff;
    font-weight: 900;
}

.timeline-item h3 {
    margin-top: 1rem;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 900;
}

.timeline-item p {
    margin-top: .55rem;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.7;
}

.before-after {
    min-height: 280px;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: #fff;
    padding: 1.2rem;
    box-shadow: 0 18px 55px rgba(16, 24, 32, .08);
}

.before-after span {
    font-weight: 900;
    color: var(--muted);
}

.ba-muted,
.ba-brand,
.ba-grid {
    margin-top: 1rem;
    height: 48px;
    border-radius: 1rem;
}

.ba-muted {
    background: #d9dee2;
}

.ba-muted.short {
    width: 72%;
}

.before-after.after {
    background:
        linear-gradient(135deg, rgba(23, 190, 187, .10), rgba(255, 107, 74, .10)),
        #fff;
}

.ba-brand {
    background: linear-gradient(135deg, var(--teal), var(--coral));
}

.ba-grid {
    height: 110px;
    background:
        linear-gradient(90deg, rgba(16, 24, 32, .08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(16, 24, 32, .08) 1px, transparent 1px),
        #fff;
    background-size: 24px 24px;
}

.analytics-board {
    min-height: 420px;
    border: 1px solid rgba(220, 229, 233, .88);
    border-radius: 2rem;
    background: rgba(255, 255, 255, .78);
    padding: 1.25rem;
    box-shadow: 0 30px 85px rgba(16, 24, 32, .14);
}

.analytics-line {
    height: 170px;
    border-radius: 1.2rem;
    background:
        linear-gradient(180deg, rgba(23, 190, 187, .12), rgba(255, 255, 255, .2)),
        linear-gradient(135deg, transparent 10%, rgba(23, 190, 187, .85) 10% 14%, transparent 14% 34%, rgba(255, 107, 74, .85) 34% 38%, transparent 38% 58%, rgba(228, 161, 27, .9) 58% 62%, transparent 62%);
    box-shadow: inset 0 0 0 1px rgba(220, 229, 233, .9);
}

.metric-card {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.2rem;
    background: rgba(16, 24, 32, .72);
    padding: 1rem;
    color: #fff;
}

.metric-card span {
    display: block;
    color: rgba(255, 255, 255, .65);
    font-size: .78rem;
    font-weight: 800;
}

.metric-card strong {
    display: block;
    margin-top: .4rem;
    font-size: 1.65rem;
    font-weight: 900;
}

.metric-card.light {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
    box-shadow: 0 16px 40px rgba(16, 24, 32, .07);
}

.metric-card.light span {
    color: var(--muted);
}

.stats-band {
    background:
        linear-gradient(135deg, rgba(23, 190, 187, .16), transparent 36%),
        linear-gradient(315deg, rgba(255, 107, 74, .16), transparent 42%),
        #101820;
    color: #fff;
}

.stats-tile {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, .10);
    padding: 1.5rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
}

.stats-value {
    color: #fff;
    font-size: 2.45rem;
    font-weight: 900;
    line-height: 1;
}

.stats-label {
    margin-top: .65rem;
    color: rgba(255, 255, 255, .78);
    font-size: .95rem;
    font-weight: 800;
}

.preview-tile {
    height: 112px;
    border-radius: 1.25rem;
    background:
        linear-gradient(135deg, rgba(23, 190, 187, .34), transparent),
        #fff;
    box-shadow: inset 0 0 0 1px var(--line);
}

.preview-tile.alt {
    background:
        linear-gradient(135deg, rgba(16, 24, 32, .18), transparent),
        #fff;
}

.preview-tile.warm {
    background:
        linear-gradient(135deg, rgba(255, 107, 74, .28), transparent),
        #fff;
}

.filter-pill,
.segmented button {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: .7rem 1rem;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 900;
    transition: .2s ease;
}

.filter-pill.active,
.segmented button.active {
    background: var(--ink);
    color: #fff;
}

.segmented {
    display: inline-flex;
    gap: .35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    padding: .35rem;
}

.prose-wawgo {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 2;
}

.prose-wawgo h2 {
    margin-top: 2rem;
    color: var(--ink);
    font-size: 1.8rem;
    font-weight: 900;
}

.contact-row,
.notice-row,
.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    padding: .9rem 1rem;
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(16, 24, 32, .05);
}

.contact-row {
    justify-content: flex-start;
    font-weight: 800;
}

.notice-row,
.service-row {
    color: var(--muted);
    font-size: .9rem;
}

.site-footer {
    background:
        linear-gradient(135deg, rgba(23, 190, 187, .10), transparent 36%),
        linear-gradient(315deg, rgba(255, 107, 74, .12), transparent 40%),
        #101820;
    color: #fff;
}

.site-footer h3 {
    margin-bottom: 1rem;
    font-weight: 900;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-top: .7rem;
    color: rgba(255, 255, 255, .62);
    font-size: .9rem;
}

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

.flash-message {
    position: fixed;
    inset-inline: 1rem;
    top: 5.6rem;
    z-index: 80;
    margin-inline: auto;
    max-width: 680px;
    border: 1px solid rgba(23, 190, 187, .28);
    border-radius: 1rem;
    background: #dcfff6;
    padding: 1rem;
    color: #087d7c;
    text-align: center;
    font-weight: 900;
    box-shadow: 0 18px 55px rgba(16, 24, 32, .14);
}

.flash-message.error {
    border-color: rgba(255, 107, 74, .28);
    background: #fff0eb;
    color: #9f2c17;
}

.flash-message.warning {
    border-color: rgba(228, 161, 27, .34);
    background: #fff8e5;
    color: #875b00;
}

.dashboard-body {
    background: #f3f8f7;
}

.dashboard-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 290px minmax(0, 1fr);
}

.dashboard-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background:
        linear-gradient(180deg, rgba(23, 190, 187, .10), transparent 38%),
        #101820;
    padding: 1.25rem;
    color: #fff;
}

.dashboard-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    border-radius: 1rem;
    padding: .82rem .9rem;
    color: rgba(255, 255, 255, .62);
    font-size: .88rem;
    font-weight: 800;
    transition: .2s ease;
}

.dashboard-link:hover,
.dashboard-link.active {
    background: rgba(255, 255, 255, .10);
    color: #fff;
}

.dashboard-main {
    min-width: 0;
    padding: clamp(1rem, 3vw, 2.25rem);
}

.admin-login-body {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(23, 190, 187, .15), transparent 35%),
        linear-gradient(315deg, rgba(255, 107, 74, .12), transparent 45%),
        #f7fbfa;
}

.admin-shell .dashboard-sidebar {
    width: 310px;
}

.link {
    color: #087d7c;
    font-weight: 900;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
}

@media (max-width: 1023px) {
    .hero-shell {
        min-height: auto;
    }

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

    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: relative;
        height: auto;
    }
}

@media (max-width: 640px) {
    .section-pad {
        padding: 4rem 0;
    }

    .page-hero,
    .service-hero {
        padding: 5rem 0 3.5rem;
    }

    .hero-visual {
        min-height: 360px;
        border-radius: 1.4rem;
    }

    .hero-panel {
        inset-inline: .75rem;
        bottom: .75rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-light {
        width: 100%;
        white-space: normal;
        line-height: 1.35;
    }

    .cta-band {
        border-radius: 1.35rem;
    }

    .dashboard-main {
        padding: 1rem;
    }
}
