/*
 Theme Name:   Zaki Dev
 Theme URI:    https://zaki.dev
 Author:       Zaki
 Author URI:   https://zaki.dev
 Description:  Elementor-friendly theme for Zaki Dev — enterprise systems & automation solutions.
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  zaki-dev
 Requires at least: 6.0
 Tested up to: 6.5
 Requires PHP: 7.4
*/

/* ─── Design Tokens (Light Only — no dark mode) ─────────── */
:root {
    --bg: #f0f4ff;
    --bg2: #e8eeff;
    --text: #0f172a;
    --muted: #475569;
    --card: rgba(255, 255, 255, 0.68);
    --stroke: rgba(148, 163, 184, 0.30);
    --primaryA: #2563eb;
    --primaryB: #4f46e5;
    --accent3: #7c3aed;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.09);
    --radius: 28px;
    --max: 1200px;
    --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
}

/* ─── Scroll Progress Bar ───────────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primaryA), var(--accent3));
    z-index: 1000;
    transition: width .1s linear;
    border-radius: 0 999px 999px 0;
}

/* ─── Hero Shell ────────────────────────────────────────── */
.hero-shell {
    width: 100vw;
    position: relative;
    overflow: hidden;
    padding: 32px 0 80px;
    isolation: isolate;
    background: var(--bg);
}

/* Mesh blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    z-index: -2;
    pointer-events: none;
    animation: blobDrift 12s ease-in-out infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    background: radial-gradient(circle at 30% 30%, #60a5fa, transparent 55%),
        radial-gradient(circle at 70% 70%, #a78bfa, transparent 55%);
    animation-delay: 0s;
}

.blob-2 {
    width: 560px;
    height: 560px;
    bottom: -240px;
    right: -200px;
    background: radial-gradient(circle at 35% 40%, #93c5fd, transparent 55%),
        radial-gradient(circle at 70% 70%, #4f46e5, transparent 58%);
    animation-delay: -6s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 65%);
    animation-delay: -3s;
}

@keyframes blobDrift {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.12) translate(20px, -20px);
    }
}

/* Grid */
.grid-layer {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.40;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at 40% 30%, black 0 40%, transparent 72%);
}

/* Particles canvas */
#particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* ─── Layout ────────────────────────────────────────────── */
.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Top row */
.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.20);
    backdrop-filter: blur(12px);
    white-space: nowrap;
    transition: box-shadow var(--transition), transform var(--transition);
}

.pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.20);
}

.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #1d4ed8;
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.dot::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1d4ed8;
    animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.45);
        opacity: 0.7;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.03em;
    white-space: nowrap;
    color: var(--text);
}

.mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #7c3aed, #2563eb);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

/* ─── Main Grid ─────────────────────────────────────────── */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.left {
    max-width: 680px;
}

/* Rating */
.rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: 8px 14px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 1.05rem;
    direction: ltr;
}

.rating strong {
    color: #0b1220;
    font-weight: 900;
}

/* Headline */
h1 {
    font-size: clamp(2.1rem, 3.2vw + 0.9rem, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text);
}

.accent {
    background: linear-gradient(135deg, #1d4ed8, #6d28d9, #7c3aed);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 5s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: #4f46e5;
    border-radius: 2px;
    margin-right: 4px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.sub {
    color: var(--muted);
    font-size: 1.07rem;
    max-width: 46rem;
    margin-bottom: 22px;
    line-height: 1.8;
}

/* CTA Row */
.cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    user-select: none;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--primaryA), var(--primaryB));
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.38);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.50);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    color: #111827;
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--stroke);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
}

.btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.40);
    outline-offset: 3px;
}

/* Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple-anim .55s linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-arrow {
    font-size: 1.1rem;
    transition: transform var(--transition);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(-4px);
}

/* Stats row */
.stats-row {
    display: flex;
    gap: 28px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, var(--primaryA), var(--accent3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 2px;
}

/* Trust chips */
.trust {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    color: #334155;
    font-size: 0.93rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: default;
}

.chip:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.12);
}

.chip b {
    font-weight: 900;
    color: #0b1220;
}

/* ─── Media Card ────────────────────────────────────────── */
.media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(14px);
}

/* Animated gradient border */
.media::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius) + 2px);
    background: conic-gradient(from var(--angle, 0deg),
            #2563eb, #7c3aed, #4f46e5, #60a5fa, #2563eb);
    z-index: -1;
    animation: borderSpin 5s linear infinite;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderSpin {
    to {
        --angle: 360deg;
    }
}

.photo {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom right, rgba(2, 6, 23, 0.50), rgba(2, 6, 23, 0.12)),
        url("https://images.pexels.com/photos/3845129/pexels-photo-3845129.jpeg?auto=compress&cs=tinysrgb&w=1600");
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 8s ease;
}

.media:hover .photo {
    transform: scale(1.07);
}

/* Badge */
.badge {
    position: absolute;
    top: -20px;
    left: -12px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb 55%, #1d4ed8 100%);
    color: #fff;
    display: grid;
    place-items: center;
    padding: 16px;
    z-index: 2;
    box-shadow: 0 24px 56px rgba(37, 99, 235, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.badge::before,
.badge::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.40);
    animation: pulsering 2.8s ease-out infinite;
}

.badge::after {
    inset: -22px;
    animation-delay: 1.4s;
    border-color: rgba(37, 99, 235, 0.20);
}

@keyframes pulsering {
    0% {
        transform: scale(0.92);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

.badge-inner {
    text-align: center;
    transform: translateY(-2px);
    direction: ltr;
    position: relative;
    z-index: 1;
}

.badge .num {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
}

.badge .lbl {
    margin-top: 6px;
    font-size: 0.88rem;
    opacity: 0.95;
    line-height: 1.3;
}

/* Seal */
.seal {
    position: absolute;
    left: 16px;
    bottom: 14px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.60);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.45);
    display: grid;
    place-items: center;
    z-index: 2;
    transition: transform var(--transition);
}

.seal:hover {
    transform: scale(1.06) rotate(10deg);
}

.seal-inner {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(219, 234, 254, 0.80);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #e0f2fe;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.61rem;
    text-align: center;
    gap: 3px;
    direction: ltr;
}

.seal .icon {
    font-size: 1.45rem;
    line-height: 1;
}

/* Mini card */
.mini-card {
    position: absolute;
    right: 16px;
    bottom: 14px;
    max-width: 290px;
    padding: 14px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.45);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.20);
    z-index: 2;
    transition: transform var(--transition), box-shadow var(--transition);
}

.mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(2, 6, 23, 0.28);
}

.mini-card .kicker {
    font-weight: 900;
    font-size: 0.98rem;
    color: #0b1220;
    margin-bottom: 5px;
}

.mini-card .txt {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.55;
}

/* Floating feature tags */
.tag-float {
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

.ftag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(12px);
    font-size: 0.80rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
    animation: floatTag 3.5s ease-in-out infinite alternate;
}

.ftag:nth-child(2) {
    animation-delay: -1.2s;
}

.ftag:nth-child(3) {
    animation-delay: -2.4s;
}

@keyframes floatTag {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-6px);
    }
}

/* ─── Reveal Animations ─────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1);
}

.reveal.is-on {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .btn {
        transition: none;
    }

    .photo {
        transform: none;
    }

    .blob {
        animation: none;
    }

    .dot::after {
        animation: none;
    }

    .badge::before,
    .badge::after {
        animation: none;
    }

    .cursor {
        animation: none;
    }

    .accent {
        animation: none;
    }

    .ftag {
        animation: none;
    }
}

/* ─── Responsive — Hero ──────────────────────────────────── */
@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .right {
        order: -1;
    }

    .media {
        min-height: 320px;
    }

    .badge {
        width: 162px;
        height: 162px;
        top: -14px;
        left: 8px;
    }

    .badge .num {
        font-size: 2.0rem;
    }

    .tag-float {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-shell {
        padding-top: 20px;
    }

    .media {
        border-radius: 22px;
    }

    .mini-card {
        max-width: 250px;
        font-size: 0.85rem;
    }

    .stats-row {
        gap: 18px;
    }

    .cta-row {
        gap: 10px;
    }

    .btn {
        padding: 13px 18px;
        font-size: 0.95rem;
    }
}


/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */

/* ─── Navbar Base ───────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 0;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

/* Floating pill wrapper */
.nav-inner {
    max-width: 1200px;
    margin: 14px auto 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 62px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

/* Scrolled state */
.navbar.scrolled .nav-inner {
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(148, 163, 184, 0.30);
}

/* ─── Logo ──────────────────────────────────────────────── */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #7c3aed, #2563eb);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    position: relative;
    transition: transform .3s ease;
}

.nav-logo:hover .nav-mark {
    transform: rotate(20deg) scale(1.08);
}

/* Animated ring on mark */
.nav-mark::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.25);
    animation: navMarkRing 3s ease-in-out infinite;
}

@keyframes navMarkRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.22);
        opacity: 0;
    }
}

.nav-name {
    font-size: 1.12rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.04em;
    line-height: 1;
}

.nav-name span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    margin-right: 2px;
    margin-bottom: 6px;
    vertical-align: middle;
}

/* ─── Nav Links ─────────────────────────────────────────── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.90rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    position: relative;
    transition: color .2s ease, background .2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.07);
}

.nav-links a.active {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.08);
}

/* Dropdown parent */
.nav-item {
    position: relative;
}

.nav-links .has-drop>a::after {
    content: "▾";
    font-size: 0.7rem;
    opacity: 0.6;
    margin-right: 2px;
    transition: transform .2s ease;
    display: inline-block;
}

.nav-item.drop-open>a::after,
.nav-item:hover>a::after {
    transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 230px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    z-index: 100;
}

.nav-item:hover .nav-dropdown,
.nav-item.drop-open .nav-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background .18s ease, color .18s ease;
}

.drop-item:hover {
    background: rgba(37, 99, 235, 0.07);
    color: #1d4ed8;
}

.drop-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.dico-blue {
    background: rgba(37, 99, 235, 0.10);
}

.dico-violet {
    background: rgba(124, 58, 237, 0.10);
}

.dico-sky {
    background: rgba(14, 165, 233, 0.10);
}

.dico-green {
    background: rgba(16, 185, 129, 0.10);
}

.drop-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.drop-title {
    font-weight: 800;
    font-size: 0.88rem;
    color: #0f172a;
}

.drop-sub {
    font-size: 0.76rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Dropdown divider */
.drop-divider {
    height: 1px;
    background: rgba(148, 163, 184, 0.20);
    margin: 6px 8px;
}

/* ─── Right Actions ─────────────────────────────────────── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Language toggle */
.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: transparent;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    color: #475569;
    cursor: pointer;
    transition: all .2s ease;
}

.nav-lang:hover {
    border-color: rgba(37, 99, 235, 0.30);
    color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
}

/* CTA button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.90rem;
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32);
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.44);
}

.nav-cta-arrow {
    font-size: 0.9rem;
    transition: transform .2s ease;
}

.nav-cta:hover .nav-cta-arrow {
    transform: translateX(-3px);
}

/* ─── Active section indicator dot ─────────────────────── */
.nav-links a .nav-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2563eb;
    opacity: 0;
    transition: opacity .2s ease;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a.active .nav-dot {
    opacity: 1;
}

/* ─── Mobile Hamburger ──────────────────────────────────── */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: 10px;
    transition: background .2s ease;
}

.nav-burger:hover {
    background: rgba(37, 99, 235, 0.07);
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2.5px;
    border-radius: 99px;
    background: #334155;
    transition: transform .3s ease, opacity .3s ease, width .3s ease;
}

.nav-burger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-burger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ─── Mobile Drawer ─────────────────────────────────────── */
.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 8999;
    pointer-events: none;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 25, 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .3s ease;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100%;
    background: #ffffff;
    box-shadow: -20px 0 60px rgba(5, 10, 25, 0.18);
    padding: 28px 24px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-drawer.open {
    pointer-events: auto;
}

.nav-drawer.open .drawer-backdrop {
    opacity: 1;
}

.nav-drawer.open .drawer-panel {
    transform: translateX(0);
}

/* Drawer header */
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.30);
    background: transparent;
    font-size: 1.1rem;
    color: #475569;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s ease;
}

.drawer-close:hover {
    background: rgba(244, 63, 94, 0.08);
    color: #f43f5e;
}

/* Drawer nav links */
.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.drawer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.drawer-links a:hover {
    background: rgba(37, 99, 235, 0.07);
    color: #1d4ed8;
}

.drawer-links a .d-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: rgba(37, 99, 235, 0.07);
}

.drawer-divider {
    height: 1px;
    background: rgba(148, 163, 184, 0.20);
    margin: 12px 0;
}

.drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.32);
    margin-top: 16px;
}

/* Hide old pill row — navbar replaces it */
.hero-top {
    display: none !important;
}

/* Push hero down for fixed navbar */
.hero-shell {
    padding-top: 100px !important;
}

/* ─── Responsive — Navbar ──────────────────────────────── */
@media (max-width: 900px) {

    .nav-links,
    .nav-lang {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .nav-inner {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        margin-top: 10px;
    }

    .nav-cta span:not(.nav-cta-arrow) {
        display: none;
    }

    .nav-cta {
        padding: 10px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .nav-inner,
    .navbar,
    .nav-mark,
    .nav-dropdown,
    .drawer-panel,
    .drawer-backdrop {
        transition: none;
    }

    .nav-mark::after {
        animation: none;
    }
}


/* ═══════════════════════════════════════════════
   FOOTER & CONTACT
═══════════════════════════════════════════════ */

/* ─── Footer ────────────────────────────────────────────── */
.site-footer {
    background: #0b1220;
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Footer blobs */
.footer-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.footer-blob-1 {
    width: 420px;
    height: 420px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 65%);
}

.footer-blob-2 {
    width: 360px;
    height: 360px;
    bottom: -80px;
    left: -80px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.14), transparent 65%);
}

.footer-main {
    padding: 64px 0 48px;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
    gap: 48px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Brand column */
.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #7c3aed, #2563eb);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.40);
    flex-shrink: 0;
}

.footer-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.footer-tagline {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 300px;
}

/* Footer newsletter */
.footer-nl {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 24px;
}

.footer-nl input {
    flex: 1;
    padding: 11px 14px;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.88rem;
    color: #e2e8f0;
    direction: rtl;
}

.footer-nl input::placeholder {
    color: #64748b;
}

.footer-nl button {
    padding: 11px 18px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .2s ease;
}

.footer-nl button:hover {
    opacity: 0.88;
}

/* Footer social icons */
.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-social-icon:hover {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.35);
    color: #60a5fa;
    transform: translateY(-2px);
}

/* Footer nav columns */
.footer-col {}

.footer-col-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.90rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color .18s ease, padding-right .18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #e2e8f0;
    padding-right: 4px;
}

.footer-links a .fl-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2563eb;
    opacity: 0;
    transition: opacity .18s ease;
    flex-shrink: 0;
}

.footer-links a:hover .fl-dot {
    opacity: 1;
}

/* Footer bottom bar */
.footer-bottom {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.footer-copy {
    font-size: 0.85rem;
    color: #64748b;
}

.footer-copy a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-copy a:hover {
    text-decoration: underline;
}

/* Footer bottom bar nav (wp_nav_menu or fallback links) */
.footer-legal-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-legal-nav a,
.footer-legal-nav .menu-item a {
    font-size: 0.84rem;
    color: #64748b;
    text-decoration: none;
    transition: color .18s ease;
}

.footer-legal-nav a:hover,
.footer-legal-nav .menu-item a:hover {
    color: #94a3b8;
}

/* wp_nav_menu inside footer-legal-nav produces <ul> we need to flatten */
.footer-legal-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

/* Back to top button */
.back-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.40);
    z-index: 999;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}

.back-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-top:hover {
    transform: translateY(-3px);
}

/* ─── Reveal — Contact ──────────────────────────────────── */
.ct-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s cubic-bezier(.4, 0, .2, 1),
        transform .65s cubic-bezier(.4, 0, .2, 1);
}

.ct-reveal.is-on {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ct-reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .back-top {
        transition: none;
    }

    .success-icon {
        animation: none;
    }
}

/* ─── Responsive — Footer ──────────────────────────────── */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .back-top {
        bottom: 18px;
        left: 18px;
    }
}