/* ---- Design System ---- */
:root {
    --color-primary: #FF6B35;
    --color-secondary: #004E89;
    --color-accent: #FFD23F;
    --color-bg: #FAFAF8;
    --color-text: #1A1A2E;
    --color-nav-bg: #1A1A2E;
    --color-footer-bg: #111827;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.15);
    --transition: 0.2s ease;
    --font-main: 'Actor', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    background-color: transparent;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
    background-color: var(--color-nav-bg);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-logo {
    height: 2rem;
    width: auto;
    filter: brightness(0) invert(1);
}

.navbar-brand-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    letter-spacing: 0.06em;
}

.navbar-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    cursor: pointer;
}

.toggler-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: white;
    border-radius: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.4rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: color var(--transition), background-color var(--transition);
}

.nav-link:hover { color: white; background-color: rgba(255, 255, 255, 0.1); }
.nav-link.active { color: var(--color-accent); }

.nav-link-cta {
    color: var(--color-nav-bg) !important;
    background-color: var(--color-primary) !important;
    font-weight: bold;
    transition: background-color var(--transition);
}
.nav-link-cta:hover { background-color: #e55a25 !important; color: white !important; }

@media (max-width: 992px) {
    .navbar-toggler { display: flex; }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-nav-bg);
        padding: 0.5rem 1.5rem 1.25rem;
        gap: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.open { display: flex; }
    .nav-link { padding: 0.625rem 0.25rem; border-radius: 0; width: 100%; }
    .nav-link-cta { padding: 0.625rem 0.875rem; margin-top: 0.5rem; border-radius: var(--radius-sm); }
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.875rem;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
    line-height: 1;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-primary { background-color: var(--color-primary); color: white; }
.btn-primary:hover { background-color: #e55a25; }

.btn-secondary { background-color: transparent; color: white; border: 2px solid rgba(255, 255, 255, 0.7); }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.1); border-color: white; }

.btn-outline { background-color: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-outline:hover { background-color: var(--color-primary); color: white; }

.btn-dark { background-color: var(--color-nav-bg); color: white; }
.btn-dark:hover { background-color: #2d2d4e; }

/* ---- Footer ---- */
footer {
    background-color: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 3.5rem 2rem 1.75rem;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0 0 0.75rem;
    letter-spacing: 0.05em;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 1rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
    max-width: 1100px;
    margin: 1.5rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .footer-bottom { justify-content: center; text-align: center; }
}
