/* ===== STAGES PAGE STYLES ===== */

/* Logo Styles */
.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    background: linear-gradient(135deg, #0F0F23 0%, #1A1A3A 50%, #0F0F23 100%);
    position: relative;
    overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
.stages-hero {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.1) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(99, 102, 241, 0.1) 100%
    );
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stages-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/backgroundwarg1.webp') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== STAGES OVERVIEW ===== */
.stages-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.8) 0%, 
        rgba(26, 26, 58, 0.6) 50%, 
        rgba(15, 15, 35, 0.8) 100%
    );
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* ===== STAGE CARDS ===== */
.stage-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(99, 102, 241, 0.3);
}

.stage-card:hover::before {
    opacity: 1;
}

/* Stage Specific Colors */
.stage-1 {
    border-left: 4px solid #10B981;
}

.stage-2 {
    border-left: 4px solid #3B82F6;
}

.stage-3 {
    border-left: 4px solid #8B5CF6;
}

.stage-4 {
    border-left: 4px solid #F59E0B;
}

.stage-progressive {
    border-left: 4px solid #EF4444;
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.1) 0%, 
        rgba(255, 255, 255, 0.02) 100%
    );
}

/* Stage Header */
.stage-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-right: 20px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.stage-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

/* Stage Content */
.stage-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.limit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.limit-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

.limit-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.limit-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Progressive Stage */
.progressive-info {
    text-align: center;
}

.progressive-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
}

.max-limits h4 {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 15px;
    font-weight: 600;
}

/* ===== PROTECTION SYSTEM ===== */
.protection-system {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.9) 0%, 
        rgba(26, 26, 58, 0.7) 50%, 
        rgba(15, 15, 35, 0.9) 100%
    );
}

.protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.protection-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.protection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.protection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.protection-card:hover::before {
    opacity: 1;
}

.protection-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.protection-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.protection-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protection-features li {
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.protection-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-accent);
    font-weight: bold;
}

/* ===== COMMANDS SECTION ===== */
.commands-section {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.8) 0%, 
        rgba(26, 26, 58, 0.6) 50%, 
        rgba(15, 15, 35, 0.8) 100%
    );
}

.commands-content {
    max-width: 800px;
    margin: 0 auto;
}

.command-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.command-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.command-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.command-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.command-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.command-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.command-code {
    background: rgba(0, 0, 0, 0.3);
    color: var(--primary-accent);
    padding: 12px 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: inline-block;
    width: fit-content;
}

.command-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0A0A1A 0%, #1A1A3A 100%);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.footer-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .stages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stage-card {
        padding: 20px;
    }
    
    .stage-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stage-title {
        font-size: 1.3rem;
    }
    
    .protection-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .protection-card {
        padding: 25px;
    }
    
    .command-card {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .stages-hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stage-card {
        padding: 15px;
    }
    
    .protection-card {
        padding: 20px;
    }
    
    .command-card {
        padding: 20px;
    }
}
