/* Color Palette & Variables */
:root {
    --primary-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-dark: #0B0B0B;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--primary-white);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    font-weight: 400;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    margin-left: 2rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* Sections */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 5%;
    padding-top: 80px;
    color: var(--text-primary);
    background-color: #F2F2F2;
    position: relative;
    overflow-x: hidden;
}

.hero-content:nth-child(2) {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Stick Figure Animation */
.stick-figure-container {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 60px;
    height: 32px;
}

.stick-figure {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 16px;
    height: 32px;
}

.stick-figure .head {
    position: absolute;
    top: 0;
    left: 4px;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--text-primary);
    border-radius: 50%;
}

.stick-figure .torso {
    position: absolute;
    top: 8px;
    left: 7px;
    width: 1.5px;
    height: 12px;
    background-color: var(--text-primary);
}

.stick-figure .arm {
    position: absolute;
    top: 10px;
    left: 7px;
    width: 1.5px;
    height: 9px;
    background-color: var(--text-primary);
    transform-origin: top center;
}

.stick-figure .arm-left {
    transform: rotate(30deg);
}

.stick-figure .arm-right {
    transform: rotate(-30deg);
}

.stick-figure .leg {
    position: absolute;
    top: 20px;
    left: 7px;
    width: 1.5px;
    height: 12px;
    background-color: var(--text-primary);
    transform-origin: top center;
}

.stick-figure .leg-left {
    transform: rotate(20deg);
}

.stick-figure .leg-right {
    transform: rotate(-20deg);
    animation: kickLeg 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

.stick-figure-container .ball {
    position: absolute;
    bottom: 0;
    left: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-primary);
    animation: bounceBall 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

@keyframes kickLeg {
    0% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(-60deg);
    }
}

@keyframes bounceBall {
    0% {
        left: 12px;
        bottom: 0px;
    }

    100% {
        left: 35px;
        bottom: 18px;
    }
}

.hero-content {
    flex: 1;
    color: var(--text-primary);
}

.hero-content:first-child {
    max-width: 600px;
}

.hero-content:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content img {
    animation: float 3s ease-in-out infinite;
    will-change: transform;
}

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

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

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

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.section {
    padding: 8rem 5%;
    display: flex;
    justify-content: center;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-content {
    max-width: 1000px;
    width: 100%;
}

.section-content p {
    font-size: 1.25rem;
    line-height: 1.7;
}

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

.value-card {
    background: var(--primary-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.value-card p {
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 4rem 5%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-weight: 500;
    color: var(--text-primary);
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Icons Around Brain */
.floating-icon {
    position: absolute;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: floatIcon 4s ease-in-out infinite alternate;
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}

.icon-bulb {
    top: 0%;
    left: 10%;
    animation-delay: 0s;
}

.icon-gear {
    top: 70%;
    right: 5%;
    animation-delay: 1.5s;
}

.icon-tool {
    bottom: 5%;
    left: 15%;
    animation-delay: 3s;
}

.icon-robot {
    top: -10%;
    left: 70%;
    animation-delay: 2s;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0px) rotate(-5deg);
    }

    100% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Mission Target Icon */
.mission-target {
    animation: targetPulse 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes targetPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Minimalist Eye Animation */
.vision-eye {
    animation: eyeBlinkMinimal 4s infinite;
    transform-origin: center;
}

@keyframes eyeBlinkMinimal {

    0%,
    92%,
    100% {
        transform: scaleY(1);
    }

    96% {
        transform: scaleY(0.1);
    }
}

@media (max-width: 768px) {
    #mission .section-content,
    #vision .section-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem !important;
    }

    .mission-target-container,
    .vision-eye-container {
        flex-direction: column;
        margin-bottom: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        width: 100%;
    }

    .image-wrapper {
        width: 80%;
        margin-bottom: 2rem;
    }

    .floating-icon {
        width: 60px;
        height: 60px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}