/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4A90E2;
    --dark-blue: #1E3A5F;
    --light-blue: #E8F4FD;
    --accent-blue: #2E7BD6;
    --white: #FFFFFF;
    --gray-100: #F8FAFC;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E0;
    --gray-600: #718096;
    --gray-800: #2D3748;
    --gray-900: #1A202C;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    --gradient-secondary: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

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

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.title-line {
    display: block;
    animation: slideInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.3s; }
.title-line:nth-child(3) { animation-delay: 0.5s; }

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
    transform: translateY(30px);
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button.primary:hover .button-glow {
    left: 100%;
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-button.secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.isometric-container {
    width: 400px;
    height: 400px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.floating-cube {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    animation: rotate3d 8s linear infinite;
}

.cube-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cube-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.cube-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

.ai-brain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.brain-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.node-1 { top: 20%; left: 20%; animation-delay: 0s; }
.node-2 { top: 20%; right: 20%; animation-delay: 0.5s; }
.node-3 { bottom: 30%; left: 30%; animation-delay: 1s; }
.node-4 { bottom: 30%; right: 30%; animation-delay: 1.5s; }

.brain-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), transparent);
    animation: dataFlow 3s ease-in-out infinite;
}

.conn-1 {
    top: 30%;
    left: 30%;
    width: 40%;
    transform: rotate(15deg);
}

.conn-2 {
    top: 50%;
    left: 20%;
    width: 60%;
    transform: rotate(-30deg);
}

.conn-3 {
    bottom: 40%;
    left: 35%;
    width: 30%;
    transform: rotate(45deg);
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1), transparent);
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-ai::before {
    content: '🧠';
    font-size: 2rem;
}

.icon-movement::before {
    content: '🚀';
    font-size: 2rem;
}

.icon-multidisciplinary::before {
    content: '🔬';
    font-size: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Coming Soon Section */
.coming-soon {
    padding: 6rem 0;
    background: var(--gray-100);
}

.coming-soon-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.coming-soon-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.coming-soon-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.notify-form {
    margin-bottom: 3rem;
}

.input-group {
    display: flex;
    gap: 0;
    max-width: 400px;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--gray-300);
    border-right: none;
    border-radius: 12px 0 0 12px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    border-color: var(--primary-blue);
}

.notify-button {
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 0 12px 12px 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.notify-button:hover {
    transform: translateX(2px);
}

.button-arrow {
    transition: transform 0.3s ease;
}

.notify-button:hover .button-arrow {
    transform: translateX(4px);
}

.social-proof {
    display: flex;
    gap: 2rem;
}

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

.proof-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.proof-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Coming Soon Visual */
.coming-soon-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rocket-container {
    width: 300px;
    height: 300px;
    position: relative;
}

.rocket {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rocketFloat 4s ease-in-out infinite;
}

.rocket-body {
    width: 40px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 8px 8px;
    position: relative;
}

.rocket-body::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid var(--primary-blue);
}

.rocket-flame {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    background: linear-gradient(180deg, #ff6b35, #f7931e);
    border-radius: 0 0 50% 50%;
    animation: flicker 0.5s ease-in-out infinite alternate;
}

.orbit-ring {
    position: absolute;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 10s linear infinite;
}

.ring-1 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

.ring-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: var(--gray-300);
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--gray-400);
}

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

.footer-legal a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-blue);
}

/* Animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate3d {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(74, 144, 226, 0.8);
    }
}

@keyframes dataFlow {
    0% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rocketFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
}

@keyframes flicker {
    0% { transform: translateX(-50%) scaleY(1); }
    100% { transform: translateX(-50%) scaleY(0.8); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .isometric-container {
        width: 350px;
        height: 350px;
    }
    
    .coming-soon-container {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .isometric-container {
        width: 300px;
        height: 300px;
    }
    
    .floating-cube {
        width: 50px;
        height: 50px;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .coming-soon {
        padding: 4rem 0;
    }
    
    .coming-soon-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
        max-width: 100%;
        gap: 1rem;
    }
    
    .email-input {
        border-radius: 12px;
        border-right: 2px solid var(--gray-300);
    }
    
    .notify-button {
        border-radius: 12px;
        justify-content: center;
    }
    
    .social-proof {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .rocket-container {
        width: 250px;
        height: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-container {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .coming-soon-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .isometric-container {
        width: 250px;
        height: 250px;
    }
    
    .floating-cube {
        width: 40px;
        height: 40px;
    }
    
    .brain-node {
        width: 15px;
        height: 15px;
    }
    
    .rocket-container {
        width: 200px;
        height: 200px;
    }
    
    .social-proof {
        gap: 1rem;
    }
    
    .proof-number {
        font-size: 1.25rem;
    }
    
    .proof-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .coming-soon-title {
        font-size: 1.5rem;
    }
    
    .isometric-container {
        width: 200px;
        height: 200px;
    }
    
    .rocket-container {
        width: 180px;
        height: 180px;
    }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.keyboard-navigation .nav-link:focus,
.keyboard-navigation .cta-button:focus,
.keyboard-navigation .email-input:focus,
.keyboard-navigation .notify-button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --gray-600: #000000;
        --gray-800: #000000;
        --gray-900: #000000;
    }
}