:root {
    --zt-navy: #071428;
    --zt-navy-2: #0b1f3a;
    --zt-blue: #1d6ef5;
    --zt-electric: #2f8cff;
    --zt-cyan: #38e8ff;
    --zt-violet: #8b7cff;
    --zt-text: #e8f1ff;
    --zt-muted: #9db2d1;
    --zt-glass: rgba(12, 28, 54, 0.55);
    --zt-glass-border: rgba(120, 170, 255, 0.22);
    --zt-radius: 1.25rem;
    --zt-radius-sm: 0.85rem;
    --zt-shadow: 0 20px 50px rgba(2, 10, 28, 0.45);
    --zt-font: "Cairo", "Tajawal", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.zt-body {
    margin: 0;
    font-family: var(--zt-font);
    color: var(--zt-text);
    background:
        radial-gradient(900px 500px at 90% -10%, rgba(47, 140, 255, 0.22), transparent 55%),
        radial-gradient(700px 400px at 0% 20%, rgba(139, 124, 255, 0.14), transparent 50%),
        linear-gradient(180deg, #06101f 0%, var(--zt-navy) 40%, #08182d 100%);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.zt-skip {
    position: absolute;
    inset-inline-start: 1rem;
    top: -3rem;
    background: var(--zt-blue);
    color: #fff;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    z-index: 1000;
}
.zt-skip:focus { top: 0.75rem; }

.zt-container {
    width: min(1140px, calc(100% - 2rem));
    margin-inline: auto;
}

.zt-kicker {
    margin: 0 0 0.65rem;
    color: var(--zt-cyan);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

h1, h2, h3 {
    font-family: "Cairo", var(--zt-font);
    line-height: 1.25;
    margin: 0 0 0.85rem;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }

.zt-lead,
.zt-section-head p,
.zt-about-copy > p,
.zt-contact-info > p {
    color: var(--zt-muted);
    margin: 0 0 1.25rem;
    max-width: 38rem;
}

/* Nav */
.zt-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(7, 20, 40, 0.72);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.zt-nav.is-scrolled {
    border-bottom-color: var(--zt-glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.zt-nav-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.zt-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.zt-brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.zt-brand-footer .zt-brand-logo {
    width: 50px;
    height: 50px;
}

.zt-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.08rem;
    line-height: 1.15;
}
.zt-brand-text strong {
    font-size: 1.08rem;
    font-weight: 800;
    color: #fff;
}
.zt-brand-text small {
    color: var(--zt-muted);
    font-size: 0.72rem;
    font-weight: 500;
}

.zt-nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem 1rem;
    flex-wrap: wrap;
}
.zt-nav-links a {
    color: var(--zt-muted);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.35rem 0.15rem;
    transition: color .2s ease;
}
.zt-nav-links a:hover,
.zt-nav-links a.is-active { color: #fff; }
.zt-nav-toggle {
    display: none;
    border: 1px solid var(--zt-glass-border);
    background: var(--zt-glass);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

/* Hero */
.zt-hero {
    position: relative;
    padding: 3.5rem 0 4.5rem;
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
}
.zt-hero-glow {
    position: absolute;
    inset: 10% 5% auto auto;
    width: min(520px, 70vw);
    height: min(520px, 70vw);
    background: radial-gradient(circle, rgba(56, 232, 255, 0.18), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}
.zt-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
}
.zt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}
.zt-hero-visual {
    position: relative;
}
.zt-hero-visual img {
    width: 100%;
    border-radius: calc(var(--zt-radius) + 0.35rem);
    box-shadow: var(--zt-shadow);
    border: 1px solid rgba(120, 170, 255, 0.25);
    animation: zt-float 7s ease-in-out infinite;
}

@keyframes zt-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Buttons */
.zt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.zt-btn:hover { transform: translateY(-2px); }
.zt-btn-primary {
    background: linear-gradient(135deg, var(--zt-electric), #3d5bff 70%, var(--zt-violet));
    color: #fff;
    box-shadow: 0 12px 28px rgba(47, 140, 255, 0.35);
}
.zt-btn-ghost {
    background: rgba(255,255,255,0.04);
    border-color: var(--zt-glass-border);
    color: #fff;
}
.zt-btn-whatsapp {
    background: #128c7e;
    color: #fff;
}
.zt-btn-block { width: 100%; }

/* Sections */
.zt-section { padding: 5rem 0; }
.zt-section-head { margin-bottom: 2rem; }

.zt-card {
    background: var(--zt-glass);
    border: 1px solid var(--zt-glass-border);
    border-radius: var(--zt-radius);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.zt-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 232, 255, 0.35);
    box-shadow: 0 18px 40px rgba(20, 80, 180, 0.25);
}

.zt-services-grid,
.zt-why-grid,
.zt-work-grid {
    display: grid;
    gap: 1rem;
}
.zt-services-grid { grid-template-columns: repeat(4, 1fr); }
.zt-why-grid { grid-template-columns: repeat(3, 1fr); }
.zt-work-grid { grid-template-columns: repeat(2, 1fr); }

.zt-service-card,
.zt-why-card { padding: 1.35rem 1.25rem; }
.zt-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, rgba(47,140,255,.25), rgba(56,232,255,.12));
    color: var(--zt-cyan);
    font-size: 1.35rem;
}
.zt-service-card p,
.zt-why-card p,
.zt-work-body p {
    margin: 0;
    color: var(--zt-muted);
    font-size: 0.95rem;
}
.zt-why-card i {
    font-size: 1.4rem;
    color: var(--zt-electric);
    margin-bottom: 0.75rem;
    display: inline-block;
}

/* About */
.zt-about {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.zt-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}
.zt-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}
.zt-stat {
    padding: 1.2rem;
    border-radius: var(--zt-radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--zt-glass-border);
}
.zt-stat strong {
    display: block;
    font-size: 1.8rem;
    color: var(--zt-cyan);
    font-weight: 800;
}
.zt-stat span {
    color: var(--zt-muted);
    font-size: 0.9rem;
}

/* Work */
.zt-work-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 220px;
}
.zt-device {
    padding: 1.25rem;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(56,232,255,.2), transparent 45%),
        linear-gradient(160deg, #0a274d, #071428);
}
.tone-violet .zt-device { background: linear-gradient(160deg, #2a1f55, #071428); }
.tone-blue .zt-device { background: linear-gradient(160deg, #12386d, #071428); }
.tone-navy .zt-device { background: linear-gradient(160deg, #0d2038, #050d1a); }
.zt-device-screen {
    width: min(100%, 180px);
    aspect-ratio: 16/10;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,.18);
    background: linear-gradient(145deg, rgba(47,140,255,.35), rgba(8,20,40,.9));
    box-shadow: inset 0 0 30px rgba(56,232,255,.15);
    padding: 0.75rem;
    display: grid;
    gap: 0.35rem;
    align-content: start;
}
.zt-device-screen span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
}
.zt-device-screen span:nth-child(1) { width: 70%; background: rgba(56,232,255,.55); }
.zt-device-screen span:nth-child(2) { width: 92%; }
.zt-device-screen span:nth-child(3) { width: 55%; }
.zt-work-body { padding: 1.35rem 1.25rem; }
.zt-chip {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--zt-cyan);
    background: rgba(56,232,255,.1);
    border: 1px solid rgba(56,232,255,.2);
}
.zt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.9rem;
    color: #fff;
    font-weight: 700;
}
.zt-link:hover { color: var(--zt-cyan); }

/* CTA */
.zt-cta {
    position: relative;
    margin: 1rem 0 2rem;
    min-height: 280px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.zt-cta-bg {
    position: absolute;
    inset: 0;
}
.zt-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) brightness(0.55);
}
.zt-cta-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,20,40,.88), rgba(7,20,40,.55));
}
.zt-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3.5rem 0;
}
.zt-cta-inner h2 {
    max-width: 18ch;
    margin-inline: auto;
    margin-bottom: 1.25rem;
}

/* Contact */
.zt-contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.5rem;
    align-items: start;
}
.zt-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}
.zt-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    color: var(--zt-muted);
}
.zt-meta-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}
.zt-social {
    display: flex;
    gap: 0.55rem;
}
.zt-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid var(--zt-glass-border);
    background: rgba(255,255,255,.04);
}
.zt-social a:hover {
    color: var(--zt-cyan);
    border-color: rgba(56,232,255,.4);
}

.zt-form-card { padding: 1.35rem; }
.zt-field { margin-bottom: 0.85rem; }
.zt-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.zt-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
}
.zt-input {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid var(--zt-glass-border);
    background: rgba(255,255,255,0.04);
    color: #fff;
    padding: 0.65rem 0.85rem;
    outline: none;
}
textarea.zt-input { min-height: 120px; resize: vertical; }
.zt-input:focus {
    border-color: rgba(56,232,255,.55);
    box-shadow: 0 0 0 3px rgba(56,232,255,.12);
}
.zt-input option { color: #111; }
.errorlist {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    color: #ff8f8f;
    font-size: 0.82rem;
}
.zt-alert {
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 600;
}
.zt-alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #9ef0ce;
}
.zt-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #ffb4b4;
}

/* Footer */
.zt-footer {
    border-top: 1px solid var(--zt-glass-border);
    padding-top: 3rem;
    background: rgba(3, 10, 22, 0.55);
}
.zt-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
}
.zt-footer h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}
.zt-footer a,
.zt-footer span,
.zt-footer p {
    display: block;
    color: var(--zt-muted);
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
}
.zt-footer a:hover { color: #fff; }
.zt-brand-footer { margin-bottom: 0.85rem; }
.zt-footer-copy {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 1rem 0;
    color: var(--zt-muted);
    font-size: 0.88rem;
}

/* WhatsApp float */
.zt-whatsapp-float {
    position: fixed;
    inset-inline-start: 1.1rem;
    bottom: 1.1rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    z-index: 60;
    transition: transform .2s ease;
}
.zt-whatsapp-float:hover { transform: scale(1.06); }

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .zt-hero-grid,
    .zt-about-grid,
    .zt-contact-grid,
    .zt-work-card {
        grid-template-columns: 1fr;
    }
    .zt-services-grid { grid-template-columns: repeat(2, 1fr); }
    .zt-why-grid,
    .zt-work-grid,
    .zt-footer-grid { grid-template-columns: 1fr 1fr; }
    .zt-hero { min-height: auto; padding-top: 2rem; }
    .zt-nav-toggle { display: grid; place-items: center; }
    .zt-nav-links {
        display: none;
        position: absolute;
        inset-inline: 1rem;
        top: calc(100% + 0.4rem);
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem;
        border-radius: 16px;
        background: rgba(8, 20, 40, 0.96);
        border: 1px solid var(--zt-glass-border);
        box-shadow: var(--zt-shadow);
    }
    .zt-nav-links.is-open { display: flex; }
}

@media (max-width: 575.98px) {
    .zt-services-grid,
    .zt-why-grid,
    .zt-work-grid,
    .zt-footer-grid,
    .zt-field-row,
    .zt-stats { grid-template-columns: 1fr; }
    .zt-hero-actions .zt-btn { width: 100%; }
}
