/* West 52 Ventures - AI R&D Studio Design */

:root {
    /* Professional AI R&D Color Palette */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-accent: #8b5cf6;
    --color-text: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    --color-background: #f8fafc;
    --color-surface: #ffffff;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    
    /* Hero gradient colors */
    --hero-bg-start: #0f172a;
    --hero-bg-mid: #1e293b;
    --hero-bg-end: #334155;
    --hero-accent: rgba(99, 102, 241, 0.15);
    
    --radius-sm: 8px;
    --radius-lg: 12px;
    --container-width: 1120px;
    --content-width: 760px;
    --section-spacing: 64px;
    --section-spacing-sm: 48px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    margin: 0;
    padding: 0;
    color: var(--color-text);
    background: var(--color-background);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 6px;
}

.page {
    min-height: 100vh;
    background: var(--color-background);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    background: var(--color-surface);
    box-shadow: 0 0 0 1px var(--color-border);
    min-height: 100vh;
}

/* Top Navigation */
.site-header {
    position: relative;
}

.top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 20px 40px;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s ease;
    letter-spacing: -0.01em;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    position: relative;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--hero-accent), transparent),
        linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-mid) 50%, var(--hero-bg-end) 100%);
    color: white;
    text-align: center;
    padding: 80px 40px 96px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 0.05);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1), transparent 50%);
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin: 0 0 20px 0;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    margin: 0 0 16px 0;
    font-size: 1.375rem;
    opacity: 0.9;
    font-weight: 500;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.01em;
}

.hero-description {
    margin: 0 0 16px 0;
    font-size: 1.125rem;
    opacity: 0.8;
    font-weight: 400;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--section-spacing) 40px;
}

.section {
    margin-bottom: var(--section-spacing);
    scroll-margin-top: 80px;
}

.section:last-child {
    margin-bottom: 0;
}

h2 {
    color: var(--color-text);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 48px 0 24px 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h2:first-child {
    margin-top: 0;
}

h3 {
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 16px 0;
    line-height: 1.4;
}

h3:first-child {
    margin-top: 0;
}

p {
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin: 0 0 20px 0;
    font-size: 16px;
    max-width: 70ch;
}

a:focus, button:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin: 32px 0;
    flex-wrap: wrap;
}

.cta {
    display: inline-block;
    padding: 13px 28px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.5;
}

.cta-primary {
    background: white;
    color: var(--hero-bg-start);
    border: 1px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-primary:hover, .cta-primary:focus {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover, .cta-secondary:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 32px 0;
}

.feature-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-item h3 {
    margin: 0 0 12px 0;
    color: var(--color-text);
    font-size: 1.125rem;
    font-weight: 600;
}

.feature-item p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
    max-width: none;
}

.product-card {
    background: var(--color-border-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 32px 0;
}

.product-card h3 {
    margin-top: 0;
}

.product-card p {
    max-width: none;
}

footer {
    text-align: center;
    padding: 48px 40px;
    border-top: 1px solid var(--color-border);
    margin-top: var(--section-spacing);
    color: var(--color-text-muted);
    font-size: 14px;
    background: var(--color-surface);
}

footer p {
    margin: 8px 0;
    max-width: none;
}

footer a {
    color: var(--color-text-secondary);
    text-decoration: none;
    margin: 0 12px;
    font-weight: 500;
}

footer a:hover, footer a:focus {
    color: var(--color-text);
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 48px;
        --section-spacing-sm: 32px;
    }
    
    .top-nav {
        gap: 20px;
        padding: 16px 24px;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero {
        padding: 56px 24px 72px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .content {
        padding: var(--section-spacing-sm) 24px;
    }
    
    h2 {
        font-size: 1.5rem;
        margin: 32px 0 20px 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta {
        min-height: 44px;
        min-width: 44px;
        padding: 14px 24px;
        width: 100%;
        max-width: 300px;
    }
    
    footer {
        padding: 32px 24px;
    }
}
