/* GitHub Copilot Page Specific Styles */

.copilot-hero {
    background: linear-gradient(135deg, #0969da 0%, #0550ae 50%, #032f62 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.copilot-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="%23ffffff" opacity="0.05"/></svg>') repeat;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

.copilot-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #79c0ff;
    text-shadow: 0 0 20px rgba(121, 192, 255, 0.5);
}

.ai-badge {
    background: linear-gradient(45deg, #79c0ff, #58a6ff);
    color: #0d1117;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.feature-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-demo {
    background: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-demo::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent #0969da transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-demo:hover::after {
    opacity: 1;
}

.feature-demo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(9, 105, 218, 0.2);
    border-color: #0969da;
}

.demo-icon {
    font-size: 2.5rem;
    color: #0969da;
    margin-bottom: 1rem;
}

.code-demo {
    background: #0d1117;
    color: #f0f6fc;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    margin: 1.5rem 0;
    position: relative;
    overflow-x: auto;
}

.code-demo::before {
    content: 'GitHub Copilot Suggestion';
    position: absolute;
    top: -10px;
    right: 10px;
    background: #238636;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.suggestion-line {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin: 0.2rem 0;
    border-left: 3px solid #7c3aed;
}

.examples-section {
    background: #f6f8fa;
    padding: 4rem 0;
    margin: 3rem 0;
}

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

.example-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.example-card:hover {
    transform: translateY(-3px);
}

.language-tag {
    background: #0969da;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.setup-section {
    padding: 4rem 0;
}

.setup-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.setup-step {
    background: linear-gradient(135deg, #f6f8fa 0%, #e1e4e8 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.setup-step:hover {
    border-color: #0969da;
    transform: scale(1.02);
}

.step-number {
    background: #0969da;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.tips-section {
    background: #fff8e1;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    border-left: 5px solid #ffc107;
}

.tips-section h3 {
    color: #f57c00;
    margin-bottom: 1.5rem;
}

.tip-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid #ffc107;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.limitations-section {
    background: #ffeaea;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    border-left: 5px solid #dc3545;
}

.limitations-section h3 {
    color: #dc3545;
    margin-bottom: 1.5rem;
}

.limitation-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid #dc3545;
}

.community-section {
    padding: 4rem 0;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.community-card {
    background: white;
    border: 2px solid #e1e4e8;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.community-card:hover {
    border-color: #0969da;
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.community-icon {
    font-size: 3rem;
    color: #0969da;
    margin-bottom: 1rem;
}

.pricing-info {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    border-left: 5px solid #28a745;
    text-align: center;
}

.price-tag {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
    margin: 1rem 0;
}

.cta-copilot {
    background: linear-gradient(135deg, #0969da 0%, #0550ae 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
}

.cta-button-copilot {
    background: #238636;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 0.5rem;
    box-shadow: 0 4px 12px rgba(35, 134, 54, 0.3);
}

.cta-button-copilot:hover {
    background: #2ea043;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
    box-shadow: 0 6px 16px rgba(35, 134, 54, 0.4);
}

.productivity-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.productivity-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 4px solid #0969da;
}

.productivity-number {
    font-size: 3rem;
    font-weight: bold;
    color: #0969da;
    display: block;
}

.productivity-label {
    color: #656d76;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .copilot-hero {
        padding: 2rem 0;
    }
    
    .copilot-icon {
        font-size: 3rem;
    }
    
    .feature-showcase,
    .example-grid,
    .setup-steps,
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-demo,
    .example-card,
    .setup-step {
        padding: 1.5rem;
    }
    
    .code-demo {
        font-size: 0.9rem;
    }
}