/* Hero Section */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: radial-gradient(circle at center, rgba(30,30,60,0.4) 0%, var(--bg-dark) 70%);
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle 5s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

.pulse {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    animation: pulse 8s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
}

.pulse2 {
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(255, 94, 91, 0.5) 0%, transparent 70%);
    width: 350px;
    height: 350px;
    opacity: 0.6;
}

.pulse3 {
    animation-delay: 4s;
    background: radial-gradient(circle, rgba(54, 234, 204, 0.5) 0%, transparent 70%);
    width: 300px;
    height: 300px;
    opacity: 0.6;
}

.network-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translate(-50%, -50%);
}

.connection {
    position: absolute;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    transform-origin: left center;
    z-index: -1;
    box-shadow: 0 0 5px var(--primary-glow);
    animation: connectionFade 8s infinite alternate;
}

@keyframes connectionFade {
    0% { opacity: 0.1; }
    100% { opacity: 0.4; }
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    z-index: 2;
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -2px;
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero p {
    font-size: 1.6rem;
    max-width: 700px;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.typing-container {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    margin-top: 20px;
    padding: 0 20px;
}

#typing-text {
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    display: inline-block;
}

/* New pseudo-element cursor */
#typing-text::after {
    content: '_';
    color: var(--primary);
    animation: blink 1s step-end infinite;
    margin-left: 5px;
}

/* Remove the old, unused cursor style */
.cursor-blink {
    display: none;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    z-index: 2;
    position: relative;
}

/* Manifesto Section */
.manifesto {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(30,30,60,0.2) 0%, transparent 100%);
    border-radius: 20px;
}

.manifesto-title {
    font-size: 3rem;
    font-weight: 700;
}

.manifesto-text {
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1.5;
    font-weight: 300;
    transition: all 0.3s ease;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.secondary-highlight {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(255, 94, 91, 0.3);
}

.accent-highlight {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(54, 234, 204, 0.3);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: linear-gradient(145deg, var(--bg-darker), rgba(20, 20, 40, 0.8));
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 0 0 20px currentColor;
}

.feature-icon.red {
    color: var(--secondary);
}

.feature-icon.blue {
    color: var(--accent);
}

.feature-icon.yellow {
    color: var(--primary);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
    font-weight: 600;
}

.feature p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Mission Section */
.mission {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(20, 20, 40, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

.subtitle {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.mission-summary p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.read-more-btn, .read-less-btn {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin: 20px auto;
    display: block;
    transition: all 0.3s ease;
}

.read-more-btn:hover, .read-less-btn:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.extended-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    opacity: 0;
}

.extended-content.show {
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.extended-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.read-less-btn {
    display: none;
}

/* Future Section */
.future {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.future::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, rgba(30,30,60,0.4) 0%, transparent 70%);
    pointer-events: none;
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
    max-width: 1000px;
    width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    z-index: 0;
}

.timeline-item {
    width: 220px;
    text-align: center;
    position: relative;
    z-index: 1;
    background-color: rgba(12, 12, 26, 0.7);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.2);
}

.timeline-item p {
    margin: 0;
    line-height: 1.4;
    color: var(--text-dim);
}

.timeline-item h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.3rem;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    border-radius: 50%;
    margin: -37px auto 20px auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* CTA Section */
.cta {
    background: linear-gradient(to bottom, var(--bg-darker), rgba(10, 10, 30, 0.9));
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 0 15px var(--primary-glow);
}

.cta p {
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.3rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.staggered-delay-1 { transition-delay: 0.1s; }
.staggered-delay-2 { transition-delay: 0.2s; }
.staggered-delay-3 { transition-delay: 0.3s; }
.staggered-delay-4 { transition-delay: 0.4s; }
.staggered-delay-5 { transition-delay: 0.5s; }

/* Timeline Colors */
.genesis-dot {
    background-color: #36eacc !important;
    box-shadow: 0 0 20px #36eacc, 0 0 40px #36eacc;
    animation: pulse-green 2s infinite;
}

.genesis-label {
    color: #36eacc !important;
}

.yellow-dot {
    background-color: var(--primary) !important;
    box-shadow: 0 0 15px var(--primary-glow);
}

.yellow-label {
    color: var(--primary) !important;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 #36eacc, 0 0 20px #36eacc;
    }
    70% {
        box-shadow: 0 0 0 15px rgba(54, 234, 204, 0.2), 0 0 40px #36eacc;
    }
    100% {
        box-shadow: 0 0 0 0 #36eacc, 0 0 20px #36eacc;
    }
}

/* Responsive for home page */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 4.5rem;
    }
    .manifesto-title {
        font-size: 2.5rem;
    }
    .feature h3 {
        font-size: 1.4rem;
    }
    .cta h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 60px);
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    #typing-text {
        font-size: 1.5rem;
    }
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .timeline::before {
        width: 2px;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-item {
        width: 80%;
        margin-bottom: 20px;
    }
    .manifesto-title {
        font-size: 2.2rem;
    }
    .manifesto-text {
        font-size: 1.3rem;
    }
    .feature h3 {
        font-size: 1.3rem;
    }
    .mission-content {
        padding: 20px;
    }
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    .cta h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .manifesto-title {
        font-size: 2rem;
    }
    .manifesto-text {
        font-size: 1.1rem;
    }
    .timeline-item {
        padding: 10px;
    }
    .feature {
        padding: 30px 20px;
    }
    .feature h3 {
        font-size: 1.2rem;
    }
    .cta h2 {
        font-size: 2rem;
    }
} 