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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.9) 30%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.2) 100%
    ),
    url('attached_assets/image1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

body.beach-blend::before {
    opacity: 1;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.ai-loader {
    text-align: center;
}

.neural-network {
    width: 80px;
    height: 80px;
    border: 2px solid #00ff88;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
    margin: 0 auto 20px;
}

.neural-network::before,
.neural-network::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #00ff88;
    border-radius: 50%;
    top: -2px;
    left: -2px;
    opacity: 0.6;
    animation: ripple 2s infinite;
}

.neural-network::after {
    animation-delay: 1s;
}

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

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.glitch-text {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { 
        text-shadow: 0.05em 0 0 #00ff88, -0.05em -0.025em 0 #ff0080;
    }
    15% { 
        text-shadow: 0.05em 0 0 #00ff88, -0.05em -0.025em 0 #ff0080;
    }
    16% { 
        text-shadow: -0.05em -0.025em 0 #00ff88, 0.05em 0.025em 0 #ff0080;
    }
    49% { 
        text-shadow: -0.05em -0.025em 0 #00ff88, 0.05em 0.025em 0 #ff0080;
    }
    50% { 
        text-shadow: 0.025em 0.05em 0 #00ff88, 0.05em 0 0 #ff0080;
    }
    99% { 
        text-shadow: 0.025em 0.05em 0 #00ff88, 0.05em 0 0 #ff0080;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #00ff88;
    border-bottom: 2px solid #00ff88;
    transform: rotate(45deg);
    margin: 10px auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Timeline Sections */
.timeline-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.timeline-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ff88, #0080ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.media-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.media-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.6), 0 0 80px rgba(255, 255, 255, 0.3);
}

.media-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.media-item:hover img {
    filter: brightness(1.2);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.2), rgba(0, 128, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.media-item.video-item {
    position: relative;
}

.media-item.video-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.media-item.video-item:hover video {
    filter: brightness(1.2);
}

.media-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.media-item.video-item:hover .play-icon {
    opacity: 0;
}

/* Video Showcase */
.video-showcase {
    margin: 3rem 0;
    position: relative;
}

.video-showcase:empty {
    display: none;
}

.video-showcase video {
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

/* Journey Items */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.journey-item {
    background: rgba(0, 255, 136, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #00ff88;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.2);
}

.journey-item h3 {
    color: #00ff88;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.journey-item p {
    color: #ccc;
    line-height: 1.6;
}

.conclusion {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 128, 255, 0.1));
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.conclusion h3 {
    color: #00ff88;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
    color: #00ff88;
}

.secondary-links {
    margin-top: 2rem;
}

.secondary-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid #00ff88;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.secondary-link:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

/* Call to Action */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 128, 255, 0.1));
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00ff88, #0080ff);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 2.5rem;
    }
    
    .timeline-section h2 {
        font-size: 2rem;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-section {
        padding: 2rem 1rem;
    }
}

/* Particle styles */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00ff88;
    border-radius: 50%;
    pointer-events: none;
}
