/* Page Header Styling */
.page-header {
    background: linear-gradient(135deg, var(--darker) 0%, rgba(88, 101, 242, 0.15) 50%, var(--darker) 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 2px solid var(--primary);
}

/* Wake Lock Button Styles */
.wake-lock-btn {
    background: rgba(88, 101, 242, 0.2);
    border: 2px solid var(--primary);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.wake-lock-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.wake-lock-btn.active {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-color: var(--secondary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

/* Page Header Styling */
.page-header {
    background: linear-gradient(135deg, var(--darker) 0%, rgba(88, 101, 242, 0.15) 50%, var(--darker) 100%);
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(88, 101, 242, 0.2);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15), transparent);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1), transparent);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    position: relative;
    z-index: 10;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--light);
    position: relative;
    z-index: 10;
    font-weight: 500;
}

/* Wake Lock Button Styles */
.wake-lock-btn {
    background: rgba(88, 101, 242, 0.1);
    border: 1.5px solid var(--primary);
    color: var(--light);
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    backdrop-filter: blur(10px);
}

.wake-lock-btn:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.wake-lock-btn.active {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(88, 101, 242, 0.2));
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

/* Commands Section */
.commands-section {
    padding: 4rem 0;
    background: var(--dark);
}

.command-category {
    background: rgba(88, 101, 242, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 101, 242, 0.2);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.command-category:hover {
    border-color: var(--secondary);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.15);
    transform: translateY(-4px);
    background: rgba(88, 101, 242, 0.08);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.command-category h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.commands-list {
    display: grid;
    gap: 1rem;
}

.command-item {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent);
    padding: 1.2rem;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.command-item:hover {
    background: rgba(0, 217, 255, 0.1);
    border-left-color: var(--secondary);
    transform: translateX(4px);
}

.command-item code {
    color: var(--success);
    background: rgba(35, 255, 0, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.command-item p {
    color: var(--light);
    margin: 0.5rem 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.example {
    font-size: 0.95rem;
    color: var(--secondary);
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
}

.example code {
    color: #00D9FF;
}

.highlight {
    display: block;
    background: rgba(0, 217, 255, 0.15);
    padding: 0.7rem;
    border-radius: 0.3rem;
    color: var(--secondary);
    margin-top: 0.5rem;
    font-weight: 600;
    border-left: 3px solid var(--secondary);
}

.tips-section .tips-list {
    list-style: none;
    padding-left: 0;
}

.tips-section li {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.2rem;
    margin-bottom: 0.8rem;
    border-radius: 0.5rem;
    border-left: 3px solid var(--success);
    color: var(--light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.8;
}

.tips-section li:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(4px);
}

.tips-section strong {
    color: var(--secondary);
    font-weight: 700;
}

/* Comparison Section */
.comparison-section {
    padding: 4rem 0;
    background: var(--darker);
}

.comparison-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.comparison-card {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(255, 0, 110, 0.05));
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--secondary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.comparison-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 0, 110, 0.2);
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(255, 0, 110, 0.1));
}

.comparison-card h3 {
    color: var(--secondary);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.comparison-card p {
    color: var(--light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.info-box {
    background: rgba(88, 101, 242, 0.15);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(88, 101, 242, 0.3);
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    color: var(--light);
    margin: 1.5rem 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .command-category {
        padding: 1.5rem;
    }

    .command-category h2 {
        font-size: 1.3rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
