/* ============================================
   LAYOUT SYSTEM - SINGLE SOURCE OF TRUTH
   ============================================ */

/* Global Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Image Constraints */
img {
    max-width: 100%;
    height: auto;
}

.hero-illustration img {
    max-width: 480px;
    object-fit: contain;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    white-space: nowrap;
}

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

header .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

header .nav-links li {
    white-space: nowrap;
}

header .nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

header .nav-links a:hover {
    color: var(--color-primary);
}

header .nav-cta {
    margin-left: auto;
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ============================================
   HERO SECTION - LEFT/RIGHT LAYOUT
   ============================================ */

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem 0;
    color: var(--color-text);
}

.hero-content .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0 0 2rem 0;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 80px 0;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px 0 30px 0;
}

footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

footer .footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

footer .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-section li {
    margin-bottom: 0.75rem;
}

footer .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

footer .footer-section a:hover {
    color: white;
}

footer .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-illustration {
        order: -1;
    }

    .hero-illustration img {
        max-width: 320px;
    }

    header nav {
        flex-wrap: wrap;
    }

    header .nav-links {
        gap: 1rem;
        font-size: 14px;
    }
}
