/* ==========================================================================
   Enterprise Movement — Shared Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Design Tokens (CSS Custom Properties)
   ========================================================================== */
:root {
    /* Primary Brand Colors — Vision to Action Journey */
    --deep-vision-blue: #172343;
    --vision-blue-light: rgba(23, 35, 67, 0.05);
    --vision-blue-medium: rgba(23, 35, 67, 0.15);

    --purple-insight: #3C306C;
    --purple-light: rgba(60, 48, 108, 0.10);
    --purple-soft: rgba(60, 48, 108, 0.05);

    --transform-fuchsia: #A34790;
    --fuchsia-light: rgba(163, 71, 144, 0.10);
    --fuchsia-soft: rgba(163, 71, 144, 0.05);

    --sunrise-orange: #ba5b2b;
    --orange-dark: #D87A48;
    --orange-light: rgba(236, 140, 90, 0.10);

    /* Supporting Colors */
    --soft-white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-medium: #555555;
    --text-light: #777777;
    --movement-white: #FBF7F7;

    /* Gradients — Vision to Action Journey */
    --gradient-vision: linear-gradient(135deg, #172343 0%, #3C306C 100%);
    --gradient-transform: linear-gradient(135deg, #3C306C 0%, #A34790 100%);
    --gradient-action: linear-gradient(135deg, #A34790 0%, #EC8C5A 100%);
    --gradient-full-journey: linear-gradient(135deg, #172343 0%, #3C306C 50%, #A34790 100%);
    --gradient-soft-purple: linear-gradient(135deg, rgba(60, 48, 108, 0.05) 0%, rgba(163, 71, 144, 0.05) 100%);
    --gradient-soft-fuchsia: linear-gradient(135deg, rgba(163, 71, 144, 0.05) 0%, rgba(236, 140, 90, 0.05) 100%);

    /* Typography */
    --font-headline: 'Outfit', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   Base Typography
   ========================================================================== */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
    font-family: var(--font-headline);
    letter-spacing: 0.5px;
}

a {
    color: inherit;
}

/* ==========================================================================
   Skip to Content (Accessibility)
   ========================================================================== */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sunrise-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* ==========================================================================
   Navigation — Shared across all pages
   ========================================================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(23, 35, 67, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(23, 35, 67, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 50px;
    transition: opacity 0.3s ease;
}

.nav-logo:hover img {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: var(--font-headline);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sunrise-orange);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

.nav-link.nav-cta {
    background: var(--sunrise-orange);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    padding: 0.8rem 1.75rem;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    cursor: pointer;
    font-family: var(--font-headline);
    letter-spacing: 0.3px;
    border: none;
}

.btn-primary {
    background: var(--sunrise-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(236, 140, 90, 0.3);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 140, 90, 0.35);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: white;
    color: var(--deep-vision-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--sunrise-orange);
    border: 2px solid var(--sunrise-orange);
}

.btn-outline:hover {
    background: var(--sunrise-orange);
    color: white;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--deep-vision-blue);
    color: white;
    text-align: center;
    padding: 2rem;
}

.site-footer p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--sunrise-orange);
}

/* ==========================================================================
   Focus Styles (Accessibility)
   ========================================================================== */
:focus-visible {
    outline: 3px solid var(--sunrise-orange);
    outline-offset: 2px;
}

.nav-link:focus-visible,
.btn:focus-visible,
.nav-link.nav-cta:focus-visible {
    outline: 3px solid var(--sunrise-orange);
    outline-offset: 4px;
}

/* ==========================================================================
   Responsive — Navigation
   ========================================================================== */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(23, 35, 67, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link.nav-cta {
        width: 100%;
        text-align: center;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

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