/* ===================================
   COMMON PROJECT PAGE STYLES
   =================================== */

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

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   ANIMATED BACKGROUND
   =================================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

/* ===================================
   NAVIGATION
   =================================== */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.back-btn:hover {
    background: var(--primary);
    transform: translateX(-5px);
}

.project-title-nav {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    padding: 150px 40px 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 30px;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ===================================
   CONTAINER
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

/* ===================================
   SECTIONS
   =================================== */
.section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.section:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.section-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-light);
}

h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    font-family: 'Orbitron', sans-serif;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ===================================
   LISTS
   =================================== */
ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    transition: all 0.3s;
}

ul li:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(8px);
}

ul li::before {
    content: "\2713";
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

ul li strong {
    color: var(--white);
}

/* ===================================
   BUTTONS
   =================================== */
.button, .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s;
    cursor: pointer;
    font-size: 15px;
}

.button:hover, .btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.button i, .btn i {
    font-size: 16px;
}

/* ===================================
   GRIDS
   =================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 15px;
}

.feature-card h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    margin: 0;
}

/* ===================================
   STATS
   =================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.stat-card {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-light);
    font-family: 'Orbitron', sans-serif;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===================================
   BADGES & STATUS
   =================================== */
.status {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-left: 10px;
}

.completed {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.in-progress {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.pending {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.highlight {
    color: var(--primary-light);
    font-weight: 600;
}

/* ===================================
   TOGGLE DETAILS
   =================================== */
.toggle {
    background: var(--primary);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    font-weight: 600;
    margin-top: 15px;
}

.toggle:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.hidden {
    display: none;
}

#details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   FOOTER
   =================================== */
footer {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

footer a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s;
}

footer a:hover {
    color: var(--white);
}

/* ===================================
   LINKS
   =================================== */
a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: var(--white);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .hero-section {
        padding: 120px 20px 60px;
    }

    .container {
        padding: 0 20px 60px;
    }

    .section {
        padding: 25px 20px;
    }

    .hero-links {
        flex-direction: column;
    }

    .feature-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .back-btn span:last-child {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}