/* About Section - Space Theme */
.about {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a2e, #16213e, #0f3460);
    min-height: 100vh;
}

/* Space Background */
.about-space-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.stars {
    background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="white"/><circle cx="80" cy="40" r="0.5" fill="white"/><circle cx="40" cy="80" r="1.5" fill="white"/><circle cx="90" cy="10" r="0.8" fill="white"/><circle cx="10" cy="90" r="1" fill="white"/></svg>') repeat;
    background-size: 200px 200px;
    animation: twinkle 20s linear infinite;
    position: absolute;
    width: 100%;
    height: 100%;
}

.twinkling {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.3)"/></svg>') repeat;
    background-size: 100px 100px;
    animation: twinkle 15s linear infinite;
    position: absolute;
    width: 100%;
    height: 100%;
}

.clouds {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><ellipse cx="50" cy="50" rx="30" ry="10" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 300px 100px;
    animation: float 30s linear infinite;
    position: absolute;
    width: 100%;
    height: 100%;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

@keyframes float {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* About Content */
.about .container {
    position: relative;
    z-index: 2;
}

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

.about .section-title {
    font-size: 3rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* About Hero */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 2rem 0;
}

.about-hero-text {
    text-align: left;
}

.about-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.about-hero-subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-word {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: wordFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.hero-word:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-word:nth-child(1) { animation-delay: 0s; }
.hero-word:nth-child(2) { animation-delay: 0.5s; }
.hero-word:nth-child(3) { animation-delay: 1s; }
.hero-word:nth-child(4) { animation-delay: 1.5s; }
.hero-word:nth-child(5) { animation-delay: 2s; }

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

/* Tardigrade Orb */
.about-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tardigrade-orb {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, rgba(78, 205, 196, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    animation: orbPulse 4s ease-in-out infinite;
}

.orb-core {
    font-size: 8rem;
    z-index: 2;
    animation: orbRotate 20s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.orb-rings {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ringRotate 15s linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.ring-2 {
    width: 250px;
    height: 250px;
    top: 25px;
    left: 25px;
    animation-delay: -5s;
}

.ring-3 {
    width: 300px;
    height: 300px;
    top: 0;
    left: 0;
    animation-delay: -10s;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes orbRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Story Cards */
.about-story {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.story-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.5s ease;
    animation: cardFloat 6s ease-in-out infinite;
}

.story-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

.story-card:nth-child(1) { animation-delay: 0s; }
.story-card:nth-child(2) { animation-delay: 2s; }
.story-card:nth-child(3) { animation-delay: 4s; }

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

.story-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)); }
}

.story-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.story-content p {
    color: #fff;
    line-height: 1.6;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.story-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 1; }
}

/* Feature Cards */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-bg {
    transform: translateX(100%);
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: featureIconFloat 4s ease-in-out infinite;
}

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

.feature-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.feature-content p {
    color: #fff;
    line-height: 1.6;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.feature-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-glow {
    opacity: 1;
}

/* Army Section */
.about-army {
    text-align: center;
    margin-top: 4rem;
}

.army-banner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.army-text h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.army-text p {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.army-visual {
    margin-top: 2rem;
}

.army-particles {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.army-particle {
    font-size: 2rem;
    animation: armyParticleFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.army-particle:nth-child(1) { animation-delay: 0s; }
.army-particle:nth-child(2) { animation-delay: 0.5s; }
.army-particle:nth-child(3) { animation-delay: 1s; }
.army-particle:nth-child(4) { animation-delay: 1.5s; }
.army-particle:nth-child(5) { animation-delay: 2s; }
.army-particle:nth-child(6) { animation-delay: 2.5s; }

@keyframes armyParticleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

.army-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.stat-label {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Transition Section */
.transition-section {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(180deg, 
        #0a0a0a 0%, 
        #1a1a2e 25%, 
        #16213e 50%, 
        #0f3460 75%, 
        #ffffff 100%);
}

.transition-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.transition-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: starFloat 20s linear infinite;
    opacity: 0.8;
}

.transition-planet {
    position: absolute;
    right: 10%;
    top: 20%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(78, 205, 196, 0.6),
        inset -5px -5px 15px rgba(0,0,0,0.3);
    animation: planetRotate 8s linear infinite;
}

.transition-text {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.transition-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.transition-text p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.transition-arrow {
    position: absolute;
    bottom: 20px;
    font-size: 2rem;
    color: #fff;
    animation: arrowBounce 2s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

@keyframes starFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

@keyframes planetRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Chart Section - Space Theme */
.chart {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a0a0a 100%);
    overflow: hidden;
}

.chart-space-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.chart .container {
    position: relative;
    z-index: 2;
}

.chart .section-title {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.chart-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: cardFloat 6s ease-in-out infinite;
    max-width: 600px;
    width: 100%;
}

.chart-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chart-card:hover .chart-glow {
    opacity: 1;
}

.chart-content {
    position: relative;
    z-index: 2;
}

.chart-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: featureIconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.chart-content h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.chart-content p {
    color: #fff;
    line-height: 1.6;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.chart-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.chart-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}

.chart-particles .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.chart-particles .particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.chart-particles .particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* Footer - Space Theme */
.footer {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a0a0a 100%);
    overflow: hidden;
}

.footer-space-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-title {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.footer-heading {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-main-title {
        font-size: 2.5rem;
    }
    
    .hero-word {
        font-size: 1.2rem;
        padding: 0.3rem 0.8rem;
    }
    
    .tardigrade-orb {
        width: 200px;
        height: 200px;
    }
    
    .orb-core {
        font-size: 5rem;
    }
    
    .ring-1 { width: 150px; height: 150px; top: 25px; left: 25px; }
    .ring-2 { width: 180px; height: 180px; top: 10px; left: 10px; }
    .ring-3 { width: 200px; height: 200px; top: 0; left: 0; }
    
    .about-story {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .army-text h2 {
        font-size: 2rem;
    }
    
    .army-text p {
        font-size: 1.2rem;
    }
    
    .army-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .transition-section {
        height: 150px;
    }
    
    .transition-text h3 {
        font-size: 1.5rem;
    }
    
    .transition-text p {
        font-size: 1rem;
    }
    
    .transition-planet {
        width: 40px;
        height: 40px;
        right: 5%;
        top: 15%;
    }
    
    .chart-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .chart-content h3 {
        font-size: 2rem;
    }
    
    .chart-content p {
        font-size: 1rem;
    }
    
    .chart-icon {
        font-size: 3rem;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .footer-subtitle {
        font-size: 1rem;
    }
    
    .social-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
} 