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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

main {
    padding: 60px 40px;
}

.content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.content > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #667eea;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

footer {
    background: #f8f9fa;
    padding: 30px 40px;
    text-align: center;
    color: #666;
    border-top: 1px solid #e9ecef;
}

.cdn-demo {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.cdn-demo h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #667eea;
}

.cdn-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #667eea;
}

.info-card p {
    color: #666;
    margin: 10px 0;
    line-height: 1.6;
}

.info-card span {
    font-weight: 600;
    color: #667eea;
}

.demo-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-weight: 600;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.demo-btn:active {
    transform: translateY(0);
}

.cdn-explanation {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.cdn-explanation h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #856404;
}

.cdn-explanation p {
    color: #856404;
    margin: 10px 0;
    line-height: 1.8;
}

.cdn-explanation ul {
    margin: 15px 0;
    padding-left: 25px;
    color: #856404;
}

.cdn-explanation li {
    margin: 10px 0;
    line-height: 1.6;
}

.cdn-explanation .tip {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-style: italic;
}

#cdn-details {
    min-height: 60px;
    margin-bottom: 10px;
}

#cdn-details pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 10px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    main {
        padding: 40px 20px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }

    .cdn-info {
        grid-template-columns: 1fr;
    }
}

