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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Color Palette */
:root {
    --primary: #374151;
    --primary-light: #6b7280;
    --accent: #0A8B9C;
    --accent-hover: #076C7A;
    --text-dark: #111827;
    --text-medium: #374151;
    --text-light: #6b7280;
    --background-light: #f9fafb;
    --border: #e5e7eb;
    --white: #ffffff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-light);
}

.cta-button.secondary {
    background: var(--accent);
}

.cta-button.secondary:hover {
    background: var(--accent-hover);
}

/* Main Content */
.main {
    margin-top: 80px;
}

.section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: var(--background-light);
    padding: 8rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero .highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-metrics {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.metric-label {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 500;
}

/* pAIr Programming Process Section */
.pair-process {
    background: var(--white);
    color: var(--text-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pair-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.pair-hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pair-hero .pair-highlight {
    color: var(--accent);
}

.pair-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.pair-text {
    display: flex;
    flex-direction: column;
}

.pair-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
    line-height: 1.2;
}

.pair-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.pain-points {
    background: var(--white);
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.pain-points h4 {
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pain-points ul {
    list-style: none;
    padding-left: 0;
}

.pain-points li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.pain-points li::before {
    content: "×";
    color: #dc2626;
    font-weight: bold;
    margin-right: 0.5rem;
}

.solution-box {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.solution-box h4 {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.solution-box ul {
    list-style: none;
    padding-left: 0;
}

.solution-box li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.solution-box li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Compound Engineering Section */
.compound-engineering {
    background: var(--background-light);
    color: var(--text-dark);
}

.compound-highlight {
    color: var(--accent);
}

.compound-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.compound-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.compound-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.compound-principles {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.compound-principles h4 {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.compound-principles ul {
    list-style: none;
    padding-left: 0;
}

.compound-principles li {
    margin-bottom: 0.75rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.compound-principles li::before {
    content: "→";
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

.compound-examples {
    background: var(--white);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.compound-examples h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.compound-examples ul {
    list-style: none;
    padding-left: 0;
}

.compound-examples li {
    margin-bottom: 0.75rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.compound-examples li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Studio Section */
.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--light-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.project-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-slate);
}

.project-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.project-origin {
    background: var(--background-light);
    border-left: 3px solid var(--accent);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.project-origin h4 {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-origin p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.live-badge {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.live-badge a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.live-badge a:hover {
    text-decoration: underline;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--light-gray);
    color: var(--dark-slate);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Tools Section */
.tools {
    background: var(--light-gray);
}

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

.tool-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange), #ea580c);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.tool-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-slate);
}

.tool-card p {
    color: var(--warm-gray);
    line-height: 1.6;
}

/* Methodology Section */
.methodology {
    background: white;
}

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

.method-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--light-gray);
    transition: border-color 0.3s ease;
}

.method-step:hover {
    border-color: var(--primary-teal);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Stats Section */
.stats {
    background: var(--background-light);
    color: var(--text-dark);
    text-align: center;
    border-top: 1px solid var(--border);
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background: var(--white);
    text-align: center;
    border-top: 1px solid var(--border);
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    background: var(--background-light);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.1);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-slate);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .pair-hero h2 {
        font-size: 2rem;
    }
    
    .pair-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .compound-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-metrics {
        gap: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .container {
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
} 