/* Rta AI Labs - Cosmic Minimalist Theme */

:root {
    --bg-deep: #050508;
    /* Void Black */
    --bg-nebula: #0b0b1a;
    /* Dark Blue-ish Black */
    --text-primary: #e0e6ed;
    /* Starlight White */
    --text-secondary: #94a3b8;
    /* Faded Star */
    --accent-glow: #6366f1;
    /* Indigo */
    --accent-secondary: #ec4899;
    /* Pink/Purple Nebula */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-main: 'Outfit', sans-serif;
    /* Modern, geometric, clean */
}

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

body {
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.08) 0%, transparent 25%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.3;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    animation: fadeIn 1s ease-out;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    /* Reduced from 70vh */
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.hero .concept {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    /* Reduced from 3rem */
    max-width: 700px;
    font-weight: 300;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.hero .concept span {
    color: var(--accent-glow);
    font-weight: 500;
}

/* Cards Section */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    /* Reduced from 2rem */
    margin: 2rem 0;
    /* Reduced from 4rem */
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Links Section */
.links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Reduced from 2rem */
    margin-top: 2rem;
    /* Reduced from 4rem */
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.25rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0 2rem;
    color: #4b5563;
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out 1s backwards;
}

/* Background Stars */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

/* Manifesto Section */
.manifesto {
    text-align: center;
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    animation: fadeIn 1s ease-out 0.7s backwards;
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 300;
}

.manifesto p {
    margin-bottom: 1.5rem;
}

.manifesto span {
    color: var(--text-primary);
    font-weight: 500;
}

.manifesto .punchline {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 2.5rem 0;
    font-weight: 600;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.manifesto .sub-text {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-top: 0.5rem;
    -webkit-text-fill-color: initial;
}