/* ====== MOTAPAY — Global Styles ====== */

/* CSS Custom Properties */
:root {
    --purple: #6B3FA0;
    --purple-dark: #5A2D8C;
    --purple-deep: #2D1B4E;
    --purple-soft: #F3EEFA;
    --purple-glow: rgba(107, 63, 160, 0.15);
    --ink: #111118;
    --ink-light: #1a1a2e;
    --body: #3a3a4a;
    --muted: #6b6b7b;
    --border: #e2e2ea;
    --surface: #f8f8fa;
    --white: #ffffff;
    --red: #d94452;
}

/* Reset — nuclear: kill all WordPress/plugin injected spacing */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html,
html[lang],
html body,
html body.admin-bar {
    scroll-behavior: smooth;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--body);
    background: var(--ink) !important;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-width: 100%;
}

/* Kill WP admin bar margin on frontend */
html body.admin-bar {
    margin-top: 32px !important;
    padding: 0 !important;
}

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ====== NAV ====== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(17, 17, 24, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0 1.5rem;
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
}

.nav-cta {
    display: inline-block;
    background: var(--purple);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.7);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ====== FOOTER ====== */
.footer {
    background: var(--ink);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.4);
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.75);
}

.footer-copy {
    color: rgba(255,255,255,0.2);
    font-size: 0.78rem;
}

/* ====== ANIMATIONS ====== */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ink);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        flex-direction: column;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
        box-shadow: 0 12px 24px rgba(0,0,0,0.3);
    }
    .nav-links.active { display: flex; }
}
