/* ═══════════════════════════════════════
   GLOBAL.CSS – inzpyre.me Shared Styles
   Reset, Variables, Typography, Nav, Footer, Buttons, Reveal
   ═══════════════════════════════════════ */

/* ── Variables ── */
:root {
    --dark-blue: #1F2641;
    --dark-blue-deep: #161b33;
    --lila: #313B77;
    --blue: #00B1EA;
    --turquoise: #71D0C5;
    --orange-red: #C73E1D;
    --orange-red-hover: #d94828;
    --text-primary: #E8EAF0;
    --text-secondary: #B0B5C8;
    --text-muted: #7E84A0;
    --card-bg: rgba(49, 59, 119, 0.18);
    --card-border: rgba(255, 255, 255, 0.08);
    --gradient-brand: linear-gradient(135deg, var(--blue), var(--turquoise));
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1080px;
}

/* ── Utility ── */
.hidden { display: none; }

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--dark-blue-deep);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

::selection { background: rgba(0, 177, 234, 0.3); }

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

/* ── Layout ── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

section { padding: 100px 0; position: relative; }
@media (max-width: 768px) { section { padding: 72px 0; } }
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    section { padding: 48px 0; }
}

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }
h4 { font-size: 0.95rem; margin-bottom: 8px; }

.accent { color: var(--blue); }
.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--turquoise);
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.75;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.4s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.btn-primary {
    background: var(--orange-red);
    color: #fff;
}
.btn-primary:hover {
    background: var(--orange-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(199, 62, 29, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.btn-secondary {
    background: rgba(0, 177, 234, 0.12);
    color: var(--blue);
    border: 1px solid rgba(0, 177, 234, 0.2);
}
.btn-secondary:hover {
    background: rgba(0, 177, 234, 0.2);
    transform: translateY(-1px);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 480px) {
    .btn { padding: 12px 20px; font-size: 0.9rem; }
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.35s var(--ease);
}
nav.scrolled {
    padding: 10px 0;
    background: rgba(22, 27, 51, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo span {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}
.nav-links > li > a,
.nav-dropdown-toggle {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
    cursor: pointer;
}
.nav-links > li > a:hover,
.nav-dropdown-toggle:hover { color: var(--text-primary); }

.nav-cta-link {
    color: #fff !important;
    background: var(--orange-red);
    padding: 9px 22px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s !important;
}
.nav-cta-link:hover {
    background: var(--orange-red-hover) !important;
    transform: translateY(-1px);
}

/* ── Nav Dropdown ── */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    background: none;
    border: none;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
}
.nav-dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}
.nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(22, 27, 51, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
    background: rgba(0, 177, 234, 0.08);
    color: var(--text-primary);
}
.nav-dropdown-menu li a .soon-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(113, 208, 197, 0.12);
    color: var(--turquoise);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Mobile Toggle ── */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    border-radius: 1px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(22, 27, 51, 0.97);
        backdrop-filter: blur(16px);
        padding: 20px 32px;
        gap: 4px;
        border-bottom: 1px solid var(--card-border);
        max-height: 80vh;
        overflow-y: auto;
    }
    .nav-links.open > li > a,
    .nav-links.open .nav-dropdown-toggle {
        padding: 12px 0;
        font-size: 1rem;
    }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        background: none;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
        transform: none;
    }
    .nav-dropdown-menu li a {
        padding: 10px 12px;
    }
    .nav-cta-link {
        display: none;
    }
}

/* ═══════════════════════════════════════
   FOOTER (4-column grid with sitemap)
   ═══════════════════════════════════════ */
footer {
    background: var(--dark-blue-deep);
    padding: 64px 0 32px;
    border-top: 1px solid var(--card-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-col ul li a .soon-tag {
    font-size: 0.7rem;
    color: var(--turquoise);
    opacity: 0.7;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-brand img { height: 28px; width: auto; }
.footer-brand span { font-weight: 800; font-size: 1.05rem; }
.footer-tagline {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
}
.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.footer-socials a:hover {
    border-color: rgba(0, 177, 234, 0.3);
    color: var(--blue);
}
.footer-socials a svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
    font-size: 0.82rem;
}
.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--text-primary); }

/* ═══════════════════════════════════════
   NEWSLETTER (shared across all pages)
   ═══════════════════════════════════════ */
.newsletter { background: var(--dark-blue); }
.newsletter-box {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-box h2 { margin-bottom: 12px; }
.newsletter-box > p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.75;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto;
}
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    background: rgba(31, 38, 65, 0.5);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--blue); }
.newsletter-form button { padding: 14px 24px; white-space: nowrap; }
@media (max-width: 500px) {
    .newsletter-form { flex-direction: column; }
}
