/* Version 4: Grid Layout Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Version Switcher */
.version-switcher {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.version-btn {
    padding: 8px 20px;
    border: 2px solid #E1E8ED;
    background: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #0A2E4D;
    text-decoration: none;
    display: inline-block;
}

.version-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 46, 77, 0.08);
}

.version-btn.active {
    background: #1A3D3D;
    color: white;
    border-color: #1A3D3D;
}

/* Hero Container */
.hero-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    background: #F8FAFB;
}

/* Navigation */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A2E4D;
}

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

.nav-link {
    color: #5A7184;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0A2E4D;
}

.nav-cta {
    background: #FFE3B3;
    color: #8B6914;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #FFD899;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 199, 95, 0.3);
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Cursors */
.cursor {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
    z-index: 60;
    opacity: 0;
}

.cursor svg {
    width: 20px;
    height: 20px;
    color: #0A2E4D;
}

.cursor-label {
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0A2E4D;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* Different cursor colors based on role */
.cursor[data-role="dev"] .cursor-label {
    background: #E8F5E9;
    color: #2E7D32;
}

.cursor[data-role="design"] .cursor-label {
    background: #F3E5F5;
    color: #6A1B9A;
}

.cursor[data-role="creative"] .cursor-label,
.cursor[data-role="pm"] .cursor-label {
    background: #FFF3E0;
    color: #E65100;
}

/* Expertise Pills Container */
.expertise-pills {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 30;
}

/* Grid Pills */
.pill {
    position: absolute;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    pointer-events: none;
    will-change: transform, opacity, filter;
}

.grid-pill {
    transition: none;
}

/* Pill disciplines */
.pill-dev {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(139, 195, 74, 0.8));
    color: white;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.15);
}

.pill-design {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.8), rgba(186, 104, 200, 0.8));
    color: white;
    box-shadow: 0 2px 10px rgba(156, 39, 176, 0.15);
}

.pill-strategy {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.8), rgba(255, 193, 7, 0.8));
    color: white;
    box-shadow: 0 2px 10px rgba(255, 152, 0, 0.15);
}

/* Hero Content */
.hero-content {
    text-align: center;
    z-index: 50;
    position: relative;
    max-width: 900px;
    padding: 0 2rem;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0A2E4D;
}

.title-line {
    display: block;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #5A7184;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
}

.hero-cta {
    display: inline-block;
    background: #FFE3B3;
    color: #8B6914;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: auto;
}

.hero-cta:hover {
    background: #FFD899;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 199, 95, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .cursor {
        display: none;
    }
    
    .grid-pill {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}