/* HumAIna - Canadian Red/White Theme (matches WeRAI) */
:root {
    --canada-red: #C8102E;
    --canada-dark-red: #8B0000;
    --canada-white: #FFFFFF;
    --canada-gold: #FFD700;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --bg-light: #f8f8f8;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--canada-white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Hide particles on light theme */
#particles-js {
    display: none;
}

/* Content Layer */
.content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

/* Navigation */
nav {
    background: linear-gradient(135deg, var(--canada-red) 0%, var(--canada-dark-red) 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--canada-red) 0%, var(--canada-dark-red) 100%);
    color: white;
    padding: 8rem 2rem 4rem;
    margin-top: 60px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.patent-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 1rem;
    border: 2px solid white;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Sections */
section {
    padding: 4rem 2rem;
}

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

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 4px solid var(--canada-red);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(200,16,46,0.1);
}

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

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
}

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

.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--canada-red);
}

.card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    background: white;
    color: var(--canada-red);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* CTA Section */
section[style*="background"] {
    background: var(--bg-light) !important;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem;
    text-align: center;
}

footer p {
    opacity: 0.8;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
