/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    font-size: 16px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 300;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #34495e;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

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

/* Header */
header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #ecf0f1;
}

nav h1 {
    text-align: center;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    text-align: center;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #2c3e50;
    line-height: 1.4;
}

.content p {
    font-size: 1.1rem;
    color: #5d6d7e;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Capabilities Section */
.capabilities {
    padding: 4rem 0;
    background-color: #fafbfc;
    border-top: 1px solid #ecf0f1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.capability {
    background: white;
    padding: 2rem;
    border-radius: 2px;
    border: 1px solid #ecf0f1;
    transition: box-shadow 0.3s ease;
}

.capability:hover {
    box-shadow: 0 2px 8px rgba(52, 73, 94, 0.1);
}

.capability h3 {
    margin-bottom: 1rem;
}

.capability p {
    color: #5d6d7e;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid #ecf0f1;
    text-align: center;
}

footer p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .capability {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    header {
        padding: 2rem 0 1.5rem;
    }
    
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .capabilities {
        padding: 3rem 0;
    }
}

/* Performance Optimizations */
.capability {
    will-change: box-shadow;
}

/* Core Web Vitals Optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Reduce layout shift */
.grid {
    contain: layout;
}

/* GPU acceleration for smooth animations */
.capability {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .capability {
        transition: none;
    }
}

/* Print Styles */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero, .capabilities {
        padding: 1rem 0;
    }
    
    .capability {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}