/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    padding: 120px 0 var(--spacing-2xl);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 4.8vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: #090C9B;
    font-weight:400;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-cta {
    background: transparent;
    color: var(--gray-dark);
    padding: var(--spacing-md) var(--spacing-xl);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-yellow);
    transform: skew(-15deg);
    z-index: -1;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover::before {
    background: var(--accent-orange);
}

/* AI Chip Visual */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ai-chip-visual {
    width: 400px;
    height: 400px;
    position: relative;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chip-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.chip-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-xl);
    animation: pulse 3s ease-in-out infinite;
}

.connection-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-yellow);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    animation: glow 2s ease-in-out infinite;
}

.node-1 { top: 20px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-2 { right: 20px; top: 50%; transform: translateY(-50%); animation-delay: 0.5s; }
.node-3 { bottom: 20px; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.node-4 { left: 20px; top: 50%; transform: translateY(-50%); animation-delay: 1.5s; }

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, var(--accent-yellow) 50%, transparent 100%);
    border-radius: 2px;
}

.line-1 {
    top: 26px;
    left: 50%;
    width: 2px;
    height: 60px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--accent-yellow) 0%, transparent 100%);
}

.line-2 {
    right: 26px;
    top: 50%;
    width: 60px;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent 0%, var(--accent-yellow) 100%);
}

.line-3 {
    bottom: 26px;
    left: 50%;
    width: 2px;
    height: 60px;
    transform: translateX(-50%);
    background: linear-gradient(0deg, var(--accent-yellow) 0%, transparent 100%);
}

.line-4 {
    left: 26px;
    top: 50%;
    width: 60px;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(270deg, transparent 0%, var(--accent-yellow) 100%);
}

/* Mission Section */
.mission-section {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--black) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mission-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.maze-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.maze-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(245, 158, 11, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(245, 158, 11, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: maze-flow 20s linear infinite;
}

.maze-pattern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: var(--accent-yellow);
    transform: translate(-50%, -50%);
    border-radius: var(--radius-md);
    box-shadow: 0 0 50px rgba(245, 158, 11, 0.6);
    animation: center-glow 4s ease-in-out infinite;
}

.mission-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-lg);
    text-align: center;
}

.mission-statement {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--white);
    margin-bottom: var(--spacing-xl);
    font-style: italic;
    line-height: 1.5;
}

.mission-tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.mission-statement strong,
.mission-tagline strong {
    color: var(--accent-yellow);
    font-weight: var(--font-weight-bold);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to bottom, #000000, #090C9B);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.cta-title {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    color: #D1D5DB;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
        transform: scale(1.2);
    }
}

@keyframes maze-flow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

@keyframes center-glow {
    0%, 100% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        box-shadow: 0 0 50px rgba(245, 158, 11, 0.6);
    }
    50% { 
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
        box-shadow: 0 0 80px rgba(245, 158, 11, 0.9);
    }
}

/* Responsive Design for Home Page */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .hero-section {
        padding: 50px 0 var(--spacing-xl);
    }
    
    .ai-chip-visual {
        width: 300px;
        height: 300px;
    }
    
    .chip-container {
        width: 150px;
        height: 150px;
    }
    
    .chip-core {
        width: 90px;
        height: 90px;
        font-size: 1.5rem;
    }
    
    .mission-content {
        padding: var(--spacing-xl) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .ai-chip-visual {
        width: 250px;
        height: 250px;
    }
    
    .mission-statement {
        font-size: 1.1rem;
    }
    
    .mission-tagline {
        font-size: 1rem;
    }
}