/* ═══════════════════════════════════════════════════
   MyZolve Marketing — Shared Design System
   ═══════════════════════════════════════════════════ */

/* ── RESET & TOKENS ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #0a1628;
    --navy-deep: #060f1d;
    --navy-mid: #121f35;
    --navy-light: #1a2d4a;
    --navy-lighter: #223a5c;

    --teal: #4a9b9b;
    --teal-muted: #3d8585;
    --teal-bright: #5cb8b8;
    --teal-glow: rgba(74, 155, 155, 0.15);
    --teal-subtle: rgba(74, 155, 155, 0.06);

    --off-white: #f0f2f5;
    --warm-gray: #e6e9ee;
    --gray-100: #e8eaee;
    --gray-200: #d0d4db;
    --gray-300: #b0b6c1;
    --gray-400: #8a92a1;
    --gray-500: #6b7280;
    --gray-600: #5a6270;
    --white: #ffffff;

    --red: #e74c3c;
    --orange: #f39c12;
    --yellow: #f1c40f;
    --green: #27ae60;

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 8px 32px rgba(10, 22, 40, 0.12);
    --shadow-teal: 0 6px 24px rgba(74, 155, 155, 0.25);
}

body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── NAVIGATION ── */
.m-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(74, 155, 155, 0.08);
    transition: background 0.3s ease;
}

.m-nav-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.3px;
    cursor: pointer;
    flex-shrink: 0;
}
.m-nav-logo span { color: var(--teal); }

.m-nav-center {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.m-nav-link {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-400);
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.m-nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}
.m-nav-link.active {
    color: var(--teal-bright);
}

.m-nav-right {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.m-nav-btn {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.m-nav-btn.ghost {
    background: transparent;
    color: var(--gray-300);
}
.m-nav-btn.ghost:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}
.m-nav-btn.primary {
    background: var(--teal);
    color: var(--white);
}
.m-nav-btn.primary:hover {
    background: var(--teal-bright);
}

/* Mobile nav toggle */
.m-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-300);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.3rem;
}

/* ── BUTTONS ── */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1;
}

.btn-teal {
    background: var(--teal);
    color: var(--white);
}
.btn-teal:hover {
    background: var(--teal-bright);
    transform: translateY(-1px);
    box-shadow: var(--shadow-teal);
}

.btn-outline {
    background: transparent;
    color: var(--gray-200);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-outline:hover {
    border-color: var(--teal);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--gray-200);
}
.btn-outline-dark:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

/* ── LAYOUT ── */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── SECTION UTILITIES ── */
.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-mid {
    background: var(--navy-mid);
    color: var(--white);
}

.section-light {
    background: var(--off-white);
    color: var(--navy);
}

.section-warm {
    background: var(--warm-gray);
    color: var(--navy);
}

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

.section-pad-lg {
    padding: 8rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 560px;
}

.text-teal { color: var(--teal); }
.text-gray { color: var(--gray-400); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── TAG / BADGE ── */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    background: var(--teal-subtle);
    border: 1px solid rgba(74, 155, 155, 0.12);
}

/* ── CARDS ── */
.card {
    background: var(--navy-light);
    border: 1px solid rgba(74, 155, 155, 0.08);
    border-radius: 14px;
    padding: 2rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover {
    border-color: rgba(74, 155, 155, 0.2);
    transform: translateY(-2px);
}

.card-light {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    padding: 2rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.card-light:hover {
    border-color: var(--teal-muted);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--teal-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.card p, .card-light p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-400);
}

.card-light h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.6rem;
}
.card-light p {
    color: var(--gray-500);
}

/* ── GRID LAYOUTS ── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ── FOOTER ── */
.m-footer {
    background: var(--navy-deep);
    border-top: 1px solid rgba(74, 155, 155, 0.06);
    padding: 4rem 0 2rem;
}

.m-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.m-footer-brand {
    max-width: 280px;
}

.m-footer-brand .m-nav-logo {
    margin-bottom: 1rem;
    display: block;
}

.m-footer-brand p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.m-footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.m-footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--gray-500);
    padding: 0.3rem 0;
    transition: color 0.2s;
}
.m-footer-col a:hover {
    color: var(--teal-bright);
}

.m-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.m-footer-bottom p {
    font-size: 0.78rem;
    color: var(--gray-600);
}

.m-footer-bottom a {
    color: var(--gray-500);
    font-size: 0.78rem;
    transition: color 0.2s;
}
.m-footer-bottom a:hover {
    color: var(--teal);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
    padding: 1.2rem 0;
    background: var(--navy);
    border-top: 1px solid rgba(74, 155, 155, 0.06);
}
.disclaimer-bar p {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── DIVIDER ── */
.divider {
    width: 48px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    opacity: 0.5;
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .m-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .m-nav {
        padding: 0 1.25rem;
    }
    .m-nav-center {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid rgba(74, 155, 155, 0.1);
    }
    .m-nav-center.open {
        display: flex;
    }
    .m-nav-link {
        padding: 0.7rem 1rem;
        width: 100%;
        text-align: left;
    }
    .m-nav-toggle {
        display: block;
    }
    .m-nav-right .m-nav-btn.ghost {
        display: none;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .section-pad {
        padding: 4rem 0;
    }
    .section-pad-lg {
        padding: 5rem 0;
    }
    .container, .container-narrow {
        padding: 0 1.25rem;
    }
    .m-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .m-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn-lg {
        padding: 0.85rem 1.8rem;
        font-size: 0.95rem;
    }
}
