/*-- Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #fbbf24;
    --accent-color: #06b6d4;
    --bg-color: #0c0d1a;
    --bg-light: #1a1b2e;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #1e40af;
    --card-bg: #16213e;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --space-gradient: linear-gradient(135deg, #0c0d1a 0%, #1a1b2e 25%, #1e40af 50%, #3b82f6 75%, #fbbf24 100%);
    --nebula-gradient: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.3) 0%, rgba(251, 191, 36, 0.1) 40%, transparent 70%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Multi-layer parallax star background */
body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: -1;
}

/* Layer 1 - Distant small stars */
body::before {
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(59, 130, 246, 0.6), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(251, 191, 36, 0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(6, 182, 212, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(251, 191, 36, 0.4), transparent),
        radial-gradient(1px 1px at 200px 100px, rgba(6, 182, 212, 0.3), transparent),
        radial-gradient(1px 1px at 250px 60px, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(1px 1px at 300px 120px, rgba(251, 191, 36, 0.3), transparent);
    background-size: 300px 200px, 250px 180px, 400px 250px, 350px 220px, 280px 190px, 380px 240px, 320px 210px, 420px 260px;
    animation: starsMove1 120s linear infinite;
}

/* Layer 2 - Medium stars */
body::after {
    background-image: 
        radial-gradient(2px 2px at 80px 50px, rgba(59, 130, 246, 0.8), transparent),
        radial-gradient(2px 2px at 150px 90px, rgba(251, 191, 36, 0.7), transparent),
        radial-gradient(2px 2px at 220px 140px, rgba(6, 182, 212, 0.6), transparent),
        radial-gradient(2px 2px at 300px 70px, rgba(59, 130, 246, 0.5), transparent),
        radial-gradient(2px 2px at 380px 180px, rgba(251, 191, 36, 0.6), transparent),
        radial-gradient(2px 2px at 460px 110px, rgba(6, 182, 212, 0.5), transparent);
    background-size: 500px 350px, 450px 320px, 600px 400px, 550px 370px, 480px 330px, 650px 420px;
    animation: starsMove2 200s linear infinite;
}

/* Create additional star layers with pseudo-elements on the hero section */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: 0;
}

/* Layer 3 - Large bright stars */
.hero::before {
    background-image: 
        radial-gradient(3px 3px at 100px 80px, rgba(59, 130, 246, 1), transparent),
        radial-gradient(3px 3px at 300px 150px, rgba(251, 191, 36, 0.9), transparent),
        radial-gradient(3px 3px at 500px 200px, rgba(6, 182, 212, 0.8), transparent),
        radial-gradient(3px 3px at 700px 120px, rgba(59, 130, 246, 0.7), transparent),
        radial-gradient(3px 3px at 900px 180px, rgba(251, 191, 36, 0.8), transparent);
    background-size: 800px 600px, 750px 550px, 900px 650px, 850px 600px, 800px 580px;
    animation: starsMove3 300s linear infinite;
}

/* Layer 4 - Twinkling accent stars */
.hero::after {
    background-image: 
        radial-gradient(1.5px 1.5px at 200px 100px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 450px 250px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 650px 180px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 850px 320px, rgba(255, 255, 255, 0.6), transparent);
    background-size: 600px 450px, 700px 500px, 550px 400px, 800px 550px;
    animation: starsTwinkle 8s ease-in-out infinite alternate;
}

/* Parallax animations */
@keyframes starsMove1 {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(-200px) translateY(-100px); }
}

@keyframes starsMove2 {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(-300px) translateY(-150px); }
}

@keyframes starsMove3 {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(-100px) translateY(-50px); }
}

@keyframes starsTwinkle {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

/* Parallax scroll transforms - will be controlled by JavaScript */
body::before {
    transform: var(--star-offset-1, translateX(0) translateY(0));
    transition: transform 0.1s ease-out;
}

body::after {
    transform: var(--star-offset-2, translateX(0) translateY(0));
    transition: transform 0.1s ease-out;
}

.hero::before {
    transform: var(--hero-star-offset-1, translateX(0) translateY(0));
    transition: transform 0.1s ease-out;
}

.hero::after {
    transform: var(--hero-star-offset-2, translateX(0) translateY(0));
    transition: transform 0.1s ease-out;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/*-- Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(12, 13, 26, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/*-- Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}



.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
}

/* Solar System Styles */
.solar-system {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Add subtle orange glow to entire solar system */
    filter: drop-shadow(0 0 30px rgba(255, 140, 60, 0.3)) 
            drop-shadow(0 0 60px rgba(255, 140, 60, 0.2)) 
            drop-shadow(0 0 90px rgba(255, 140, 60, 0.1));
    transition: filter 0.3s ease;
}

.solar-system:hover {
    /* Brighten the glow on hover */
    filter: drop-shadow(0 0 30px rgba(255, 140, 60, 0.5)) 
            drop-shadow(0 0 60px rgba(255, 140, 60, 0.4)) 
            drop-shadow(0 0 90px rgba(255, 140, 60, 0.3))
            drop-shadow(0 0 120px rgba(255, 140, 60, 0.2));
}

.sun {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sun-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fbbf24, #f59e0b, #d97706);
    box-shadow: 
        0 0 20px rgba(251, 191, 36, 0.8),
        0 0 40px rgba(251, 191, 36, 0.6),
        0 0 60px rgba(251, 191, 36, 0.4),
        inset 0 0 10px rgba(245, 158, 11, 0.8);
    animation: sunPulse 4s ease-in-out infinite;
}

.sun-corona {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    background: radial-gradient(circle, transparent 60%, rgba(251, 191, 36, 0.2) 70%, transparent 80%);
    animation: coronaRotate 8s linear infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes coronaRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit {
    position: absolute;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 140px;
    height: 140px;
    animation: orbit1 15s linear infinite;
}

.orbit-2 {
    width: 180px;
    height: 180px;
    animation: orbit2 25s linear infinite;
}

.orbit-3 {
    width: 240px;
    height: 240px;
    animation: orbit3 35s linear infinite;
}

.orbit-4 {
    width: 300px;
    height: 300px;
    animation: orbit4 50s linear infinite;
}

.planet {
    position: absolute;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.3s ease, filter 0.3s ease;
    z-index: 10;
}

.planet-1 {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 30% 30%, #ef4444, #dc2626);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.planet-2 {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 30% 30%, #06b6d4, #0891b2);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.planet-3 {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 30% 30%, #10b981, #059669);
    box-shadow: 0 0 9px rgba(16, 185, 129, 0.6);
}

.planet-4 {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle at 30% 30%, #8b5cf6, #7c3aed);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}

@keyframes orbit1 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit2 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit3 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit4 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/*-- Sections */
.features,
.current-project {
    padding: 80px 0;
    position: relative;
}

/* Extend parallax effect to features section */
.features::before,
.features::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: 0;
}

/* Additional star layer for features section */
.features::before {
    background-image: 
        radial-gradient(1px 1px at 150px 100px, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(1px 1px at 350px 200px, rgba(251, 191, 36, 0.3), transparent),
        radial-gradient(1px 1px at 550px 150px, rgba(6, 182, 212, 0.3), transparent),
        radial-gradient(1px 1px at 750px 250px, rgba(59, 130, 246, 0.2), transparent);
    background-size: 400px 300px, 450px 350px, 500px 300px, 400px 250px;
    transform: var(--features-star-offset-1, translateX(0) translateY(0));
    transition: transform 0.1s ease-out;
}

.features::after {
    background-image: 
        radial-gradient(2px 2px at 200px 180px, rgba(251, 191, 36, 0.5), transparent),
        radial-gradient(2px 2px at 450px 120px, rgba(6, 182, 212, 0.4), transparent),
        radial-gradient(2px 2px at 650px 300px, rgba(59, 130, 246, 0.3), transparent);
    background-size: 600px 450px, 550px 400px, 700px 500px;
    transform: var(--features-star-offset-2, translateX(0) translateY(0));
    transition: transform 0.1s ease-out;
}

/* Ensure content is above background */
.features .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 1;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/*-- Current Project */
.current-project {
    background: var(--bg-light);
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.project-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.project-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    height: 200px;
    background: var(--card-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.placeholder-image:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.placeholder-image i {
    font-size: 3rem;
    color: var(--text-muted);
}

.placeholder-image span {
    color: var(--text-muted);
    font-weight: 500;
}

/*-- About Page Styles */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.team-member {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar i {
    font-size: 2.5rem;
    color: white;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/*-- DevLog Styles */
.devlog-content {
    padding: 80px 0;
}

.devlog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.post {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 40px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.post:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.post-header {
    margin-bottom: 20px;
}

.post-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.post-content h3 {
    color: var(--text-primary);
    margin: 20px 0 10px;
}

.post-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 5px;
}

.post-tags {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Timeline Styles */
.timeline-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Progress Overview */
.timeline-overview {
    margin-bottom: 60px;
    text-align: center;
}

.progress-bar-container {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.progress-bar {
    position: relative;
    height: 20px;
    background: var(--bg-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.timeline-dates {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Vertical Timeline */
.vertical-timeline {
    position: relative;
    margin: 40px 0;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

.timeline-dot {
    position: absolute;
    left: -8px;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    z-index: 2;
}

.timeline-item.completed .timeline-dot {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
}

.timeline-item.current .timeline-dot {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
    animation: pulse 2s infinite;
}

.timeline-item.upcoming .timeline-dot {
    background: var(--text-muted);
    border-color: var(--text-muted);
}

.timeline-content {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 90%, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
    position: relative;
    z-index: 1;
}

.timeline-title {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.timeline-status.current {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
}

.timeline-status.upcoming {
    background: rgba(156, 163, 175, 0.2);
    color: var(--text-muted);
}

/* Timeline Stats */
.timeline-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.milestone-details h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.milestone-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.milestone-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.milestone-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.milestone-icon.beta {
    background: var(--primary-color);
}

.milestone-icon.preorder {
    background: var(--secondary-color);
}

.milestone-icon.final {
    background: #ef4444;
}

.milestone-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.milestone-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.milestone-card p:last-child {
    color: var(--text-secondary);
    line-height: 1.6;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
    }
    100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    }
}

/* Email Signup Section */
.email-signup {
    background: var(--bg-light);
    padding: 80px 0;
    margin-top: 80px;
    margin-bottom: 80px;
    border-top: 1px solid var(--border-color);
}

.signup-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.signup-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.email-input::placeholder {
    color: var(--text-muted);
}

.signup-btn {
    padding: 15px 30px;
    background: var(--gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    justify-content: center;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.signup-btn:active {
    transform: translateY(0);
}

.signup-btn i {
    transition: transform 0.3s ease;
}

.signup-btn:hover i {
    transform: translateX(3px);
}

.form-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

/*-- Footer */
.footer {
    background: var(--bg-light);
    border-top: 2px solid var(--border-color);
    padding: 60px 0 20px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 75%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(251, 191, 36, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Simple About Section */
.simple-about {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.about-description {
    text-align: left;
    line-height: 1.8;
}

.about-description p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: justify;
}

.about-description p:last-child {
    margin-bottom: 0;
}

/* Story Section */
.story-section {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px 0;
    border-top: 2px solid var(--border-color);
}

.story-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.story-content {
    line-height: 1.8;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    text-align: justify;
    position: relative;
    padding-left: 20px;
}

.story-content p:first-child::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    position: absolute;
    left: -10px;
    top: -15px;
    font-family: serif;
    opacity: 0.7;
}

.story-content p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-primary);
    border-left: 3px solid var(--primary-color);
    padding-left: 25px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05), transparent);
}

/* Responsive design for story section */
@media (max-width: 768px) {
    .story-section {
        margin: 40px auto 0;
        padding: 30px 0;
    }
    
    .story-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .story-content p {
        font-size: 1rem;
        margin-bottom: 20px;
        text-align: left;
        padding-left: 15px;
    }
    
    .story-content p:first-child::before {
        font-size: 3rem;
        left: -5px;
        top: -10px;
    }
    
    .story-content p:last-child {
        padding-left: 20px;
    }
}

/* Instagram Link Styling */
.instagram-link {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white !important;
    position: relative;
    overflow: hidden;
}

.instagram-link:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(240, 148, 51, 0.5);
}

.instagram-link::before {
    content: '';
    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;
}

.instagram-link:hover::before {
    left: 100%;
}

/* Mobile-specific styling */
@media (max-width: 768px) {
    .instagram-link {
        -webkit-tap-highlight-color: transparent;
    }
    
    .instagram-link:active {
        transform: scale(0.95);
    }
}

/*-- Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        border-top: 1px solid var(--border-color);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
        max-width: 100%;
    }
    
    .solar-system {
        order: 1;
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .sun {
        width: 60px;
        height: 60px;
    }
    
    .orbit-1 { width: 110px; height: 110px; }
    .orbit-2 { width: 140px; height: 140px; }
    .orbit-3 { width: 180px; height: 180px; }
    .orbit-4 { width: 220px; height: 220px; }
    
    .planet-1 { width: 10px; height: 10px; }
    .planet-2 { width: 12px; height: 12px; }
    .planet-3 { width: 11px; height: 11px; }
    .planet-4 { width: 14px; height: 14px; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container,
    .devlog-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .signup-title {
        font-size: 2rem;
    }
    
    .post {
        padding: 25px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .solar-system {
        width: 250px;
        height: 250px;
    }
    
    .sun {
        width: 50px;
        height: 50px;
    }
    
    .orbit-1 { width: 90px; height: 90px; }
    .orbit-2 { width: 120px; height: 120px; }
    .orbit-3 { width: 150px; height: 150px; }
    .orbit-4 { width: 180px; height: 180px; }
    
    .planet-1 { width: 8px; height: 8px; }
    .planet-2 { width: 10px; height: 10px; }
    .planet-3 { width: 9px; height: 9px; }
    .planet-4 { width: 12px; height: 12px; }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .timeline-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .vertical-timeline::before {
        left: 10px;
    }
    
    .timeline-dot {
        left: -28px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .progress-bar-container {
        padding: 15px;
    }
}

/* Spacer Section */
.section-spacer {
    height: 80px;
    background: var(--bg-color);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    position: relative;
}

.section-spacer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(251, 191, 36, 0.3), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(6, 182, 212, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(59, 130, 246, 0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(251, 191, 36, 0.2), transparent);
    background-size: 200px 100px, 80px 60px, 120px 120px, 180px 90px, 150px 80px;
    z-index: 0;
    pointer-events: none;
}
