* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: gilroy, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: #0a0a0f;
    color: #fff;
    overflow-x: hidden;
}

/* NAVIGATION */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
    z-index: 999;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

#nav h3 {
    font-size: 24px;
    font-weight: 400;
}

#nav h3 a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.back-button {
    color: #3b82f6;
    text-decoration: none;
    padding: 10px 24px;
    border: 2px solid #3b82f6;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.back-button:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1), transparent 50%);
    position: relative;
    overflow: hidden;
    padding: 100px 50px 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(150px);
    animation: heroGlow 12s ease-in-out infinite;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    text-align: center;
}

.project-category {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #0ea5e9, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-description {
    font-size: 22px;
    color: #d1d5db;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-label {
    color: #9ca3af;
    font-size: 14px;
}

.meta-value {
    color: #60a5fa;
    font-weight: 600;
    font-size: 16px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.hero-btn.secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.hero-btn.secondary:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* OVERVIEW SECTION */
.overview-section {
    padding: 100px 50px;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.03), transparent);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 60px;
}

.overview-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.overview-card {
    background: rgba(20, 30, 50, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.overview-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.card-description {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.7;
}

/* FEATURES SECTION */
.features-section {
    padding: 100px 50px;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(20, 30, 50, 0.5);
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.6;
}

/* GALLERY SECTION */
.gallery-section {
    padding: 100px 50px;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(20, 30, 50, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* TECH STACK SECTION */
.tech-section {
    padding: 100px 50px;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.tech-category {
    background: rgba(20, 30, 50, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

.tech-category-title {
    font-size: 24px;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: #93c5fd;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* IMPACT SECTION */
.impact-section {
    padding: 100px 50px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), transparent);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.impact-stat {
    text-align: center;
    padding: 40px;
    background: rgba(20, 30, 50, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.impact-stat:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.stat-number {
    display: block;
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 16px;
    color: #d1d5db;
    font-weight: 500;
}

/* CTA SECTION */
.cta-section {
    padding: 100px 50px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 70%);
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-section p {
    font-size: 20px;
    color: #d1d5db;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.cta-button.secondary:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    #nav {
        padding: 15px 20px;
    }
    
    #nav h3 {
        font-size: 18px;
    }
    
    .back-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero-section {
        padding: 80px 20px 50px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-meta {
        gap: 20px;
        flex-direction: column;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .overview-section,
    .features-section,
    .gallery-section,
    .tech-section,
    .impact-section,
    .cta-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .overview-content,
    .features-grid,
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
}
