/* sim-ai.net - Minimal Avant-Garde AI */
/* Colors: #1a1a2e (deep base), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold), #6c757d (muted gray) */
/* Fonts: Space Grotesk, Inter */

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

:root {
    --deep-base: #1a1a2e;
    --primary-blue: #4a90d9;
    --warm-white: #f5f0e8;
    --accent-gold: #e8b84b;
    --muted-gray: #6c757d;
    --gradient-primary: linear-gradient(135deg, #4a90d9, #e8b84b);
    --gradient-hero: linear-gradient(135deg, #4a90d9 0%, #7b68ee 50%, #e8b84b 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--deep-base);
    color: var(--warm-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* SVG Filters - Hidden */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    filter: url(#noiseFilter);
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
}

/* Floating Bubbles */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(74, 144, 217, 0.15), rgba(232, 184, 75, 0.05));
    animation: bubbleFloat linear infinite;
}

.bubble-1 {
    width: 120px;
    height: 120px;
    left: 5%;
    top: 20%;
    animation-duration: 18s;
    animation-delay: 0s;
}

.bubble-2 {
    width: 80px;
    height: 80px;
    left: 85%;
    top: 60%;
    animation-duration: 22s;
    animation-delay: -3s;
}

.bubble-3 {
    width: 60px;
    height: 60px;
    left: 45%;
    top: 80%;
    animation-duration: 16s;
    animation-delay: -6s;
}

.bubble-4 {
    width: 140px;
    height: 140px;
    left: 70%;
    top: 10%;
    animation-duration: 25s;
    animation-delay: -2s;
}

.bubble-5 {
    width: 50px;
    height: 50px;
    left: 20%;
    top: 70%;
    animation-duration: 20s;
    animation-delay: -8s;
}

.bubble-6 {
    width: 90px;
    height: 90px;
    left: 60%;
    top: 40%;
    animation-duration: 19s;
    animation-delay: -4s;
}

.bubble-7 {
    width: 70px;
    height: 70px;
    left: 30%;
    top: 50%;
    animation-duration: 23s;
    animation-delay: -10s;
}

.bubble-8 {
    width: 100px;
    height: 100px;
    left: 90%;
    top: 30%;
    animation-duration: 17s;
    animation-delay: -5s;
}

@keyframes bubbleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(-40px, -80px) scale(1.1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(30px, -160px) scale(0.9);
        opacity: 0;
    }
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scale Hover */
.scale-hover {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.scale-hover:hover {
    transform: scale(1.04);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
    background-color: rgba(26, 26, 46, 0.92);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
}

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

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: baseline;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--warm-white);
}

.logo-dot {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-gray);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link:hover {
    color: var(--warm-white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--warm-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(26, 26, 46, 0.98);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--warm-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--warm-white);
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--muted-gray);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--deep-base);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(74, 144, 217, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--warm-white);
    border: 1px solid rgba(245, 240, 232, 0.2);
}

.btn-ghost:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Hero Visual - Orbs */
.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.25), transparent);
    top: 20%;
    right: 10%;
    animation: orbPulse1 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.15), transparent);
    top: 40%;
    right: 30%;
    animation: orbPulse2 10s ease-in-out infinite;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(123, 104, 238, 0.2), transparent);
    top: 60%;
    right: 5%;
    animation: orbPulse3 12s ease-in-out infinite;
}

@keyframes orbPulse1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.15); }
}

@keyframes orbPulse2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.1); }
}

@keyframes orbPulse3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.2); }
}

/* Organic Transitions */
.organic-transition {
    height: 120px;
    position: relative;
    z-index: 2;
}

.organic-transition-1 {
    background: var(--deep-base);
    clip-path: url(#organicClip1);
    margin-top: -1px;
}

.organic-transition-2 {
    background: var(--deep-base);
    clip-path: url(#organicClip2);
    margin-top: -1px;
}

.organic-transition-3 {
    background: var(--deep-base);
    clip-path: url(#organicClip3);
    margin-top: -1px;
}

/* Sections */
.section {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem;
}

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

.section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--warm-white);
    margin-bottom: 3rem;
}

/* About Section */
.section-about {
    background-color: rgba(26, 26, 46, 0.6);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--muted-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    padding: 1.5rem;
    border-left: 2px solid rgba(74, 144, 217, 0.3);
    transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-item:hover {
    border-left-color: var(--primary-blue);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--muted-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Capabilities Section */
.section-capabilities {
    background-color: rgba(26, 26, 46, 0.4);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.capability-card {
    padding: 2.5rem;
    border: 1px solid rgba(74, 144, 217, 0.1);
    border-radius: 8px;
    background: rgba(26, 26, 46, 0.5);
    transition: border-color 0.4s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.capability-card:hover {
    border-color: rgba(74, 144, 217, 0.3);
    box-shadow: 0 8px 40px rgba(74, 144, 217, 0.08);
}

.capability-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.capability-icon svg {
    width: 100%;
    height: 100%;
}

.capability-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--warm-white);
    margin-bottom: 0.75rem;
}

.capability-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted-gray);
    line-height: 1.7;
}

/* Research Section */
.section-research {
    background-color: rgba(26, 26, 46, 0.6);
}

.research-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.research-item {
    display: block;
    text-decoration: none;
    padding: 2.5rem;
    border: 1px solid rgba(74, 144, 217, 0.08);
    border-radius: 4px;
    margin-bottom: 1rem;
    position: relative;
    background: rgba(26, 26, 46, 0.3);
    transition: border-color 0.4s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.4s ease;
}

.research-item:hover {
    border-color: rgba(74, 144, 217, 0.25);
    background: rgba(74, 144, 217, 0.05);
}

.research-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.research-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(232, 184, 75, 0.3);
    border-radius: 2px;
}

.research-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--muted-gray);
}

.research-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--warm-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.research-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted-gray);
    line-height: 1.6;
}

.research-arrow {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.research-item:hover .research-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Section */
.section-contact {
    background-color: rgba(26, 26, 46, 0.4);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--muted-gray);
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--warm-white);
    background: rgba(245, 240, 232, 0.05);
    border: 1px solid rgba(245, 240, 232, 0.1);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--muted-gray);
}

.form-input:focus {
    border-color: var(--primary-blue);
    background: rgba(74, 144, 217, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(245, 240, 232, 0.06);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: baseline;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted-gray);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-link:hover {
    color: var(--warm-white);
}

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--muted-gray);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero-visual {
        width: 100%;
        opacity: 0.4;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .organic-transition {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }
}
