/* AI Solutions Lab - Professional Styling */

/* Self-hosted Inter font */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-semibold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/inter-bold.woff2') format('woff2');
}

:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --accent-color: #2b6cb0;
    --text-color: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #edf2f7;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.nav {
    display: flex;
    gap: 36px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(160deg, var(--primary-color) 0%, #1e4976 100%);
    color: white;
    padding: 100px 0 110px;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.85;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 680px;
    font-weight: 400;
    line-height: 1.7;
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background: var(--bg-white);
}

.mission h2 {
    font-size: 1.75rem;
    margin-bottom: 32px;
    color: var(--primary-color);
    font-weight: 600;
}

.mission-content {
    max-width: 760px;
}

.mission .lead {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.8;
}

.mission p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.mission p:last-child {
    margin-bottom: 0;
}

/* Research Section */
.research {
    padding: 100px 0;
    background: var(--bg-light);
}

.research h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.section-intro {
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 48px;
    font-size: 1.05rem;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.research-card {
    background: var(--bg-white);
    padding: 36px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.research-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.research-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.research-card p:last-child {
    margin-bottom: 0;
}

.research-industry {
    font-size: 0.8rem !important;
    color: var(--accent-color) !important;
    font-weight: 500;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin-top: 8px;
}

/* Approach Section */
.approach {
    padding: 100px 0;
    background: var(--bg-white);
}

.approach h2 {
    font-size: 1.75rem;
    margin-bottom: 48px;
    color: var(--primary-color);
    font-weight: 600;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
}

.approach-item {
    position: relative;
}

.approach-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.approach-item h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.approach-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Disclaimer Section */
.disclaimer {
    padding: 80px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.disclaimer h2 {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 600;
}

.disclaimer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.disclaimer-item {
    padding: 24px;
    background: var(--bg-white);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.disclaimer-item h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
}

.disclaimer-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-white);
}

.contact h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.contact > .container > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    font-size: 1.05rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 32px 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    display: inline-block;
    max-width: 500px;
}

.contact-info p {
    margin: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-info strong {
    color: var(--text-color);
}

.org-detail {
    margin: 4px 0;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 48px 0;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-legal {
    font-size: 0.8rem;
    opacity: 0.65;
    line-height: 1.8;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 16px 24px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.95;
    flex: 1;
    min-width: 280px;
}

.cookie-content a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.cookie-content button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cookie-content button:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding: 60px 0 70px;
    }

    .hero h1 {
        font-size: 1.85rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }

    .mission,
    .research,
    .approach {
        padding: 60px 0;
    }
    
    .nav {
        gap: 20px;
    }
    
    .nav a {
        font-size: 0.85rem;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        gap: 32px;
    }

    .mission h2,
    .research h2,
    .approach h2,
    .disclaimer h2,
    .contact h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 16px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }
}
