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

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

.container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

#linkInput {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#linkInput:focus {
    outline: none;
    border-color: #667eea;
}

#generateBtn {
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#generateBtn:hover {
    background: #5568d3;
}

.qrcode-container {
    text-align: center;
}

.qrcode-container.hidden {
    display: none;
}

#qrcode {
    display: inline-block;
    margin-bottom: 20px;
}

#qrcode canvas,
#qrcode img {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
}

.download-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.download-btn {
    padding: 12px 24px;
    background: #764ba2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #5f3a82;
}

@media (max-width: 480px) {
    .container {
        padding: 24px;
    }
    
    .input-section {
        flex-direction: column;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}


.footer {
    text-align: center;
    color: white;
    margin-top: 20px;
    font-size: 14px;
}

.footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}


/* Espaçamento para anúncios */
.adsbygoogle {
    margin: 20px 0;
}


/* Acessibilidade */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Subtítulo */
.subtitle {
    color: #666;
    text-align: center;
    margin-top: -20px;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Seção informativa */
.info-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.info-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.step-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    color: white;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.step-number {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 16px;
    backdrop-filter: blur(10px);
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: white;
}

.step-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.benefits-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
}

.benefits-section h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: #333;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    transition: transform 0.2s;
}

.benefit-item:hover {
    transform: scale(1.05);
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefit-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
