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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-img {
    height: 40px; /* Adjust the height as needed */
    margin-right: 10px; /* Add some space between the image and the text */
    vertical-align: middle; /* Aligns the image with the text */
}

.logo {
    display: flex; /* Makes the logo and the text align horizontally */
    align-items: center; /* Vertically centers the items */
}

.logo h1 {
    color: #3b82f6;
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #3b82f6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Generator Section */
.generator-section {
    padding: 80px 0;
    background: #fff;
}

.generator-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.generator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.input-section {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
}

.generate-btn {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.generate-btn:hover {
    background: #2563eb;
}

.output-section {
    text-align: center;
}

.qr-placeholder {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 1rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder p {
    color: #64748b;
    font-size: 1.1rem;
}

#qr-result canvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.download-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background: #059669;
}

.instructions {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.instructions h3 {
    color: #0369a1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.instructions ol {
    color: #0c4a6e;
    line-height: 1.8;
    padding-left: 1.5rem;
}

.instructions li {
    margin-bottom: 0.5rem;
}

.instructions strong {
    color: #0369a1;
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8fafc;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-5px);
    background: #dbeafe;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    transition: stroke 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    stroke: #2563eb;
}

/* Developer Section */
.developer-section {
    padding: 80px 0;
    background: #f8fafc;
}

.developer-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.developer-content {
    max-width: 900px;
    margin: 0 auto;
}

.developer-info {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.developer-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 2rem;
    flex-shrink: 0;
    border: 4px solid #e2e8f0;
}

.developer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developer-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.developer-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #64748b;
}

.social-links {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.social-links h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #64748b;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.social-link:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.social-link.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.social-link.disabled:hover {
    background: #fff;
    transform: none;
    box-shadow: none;
}

.social-link.disabled::after {
    content: "Em breve";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1e293b;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.social-link.disabled:hover::after {
    opacity: 1;
}

.social-link svg {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.social-link span {
    font-weight: 500;
}

.social-link.buymeacoffee {
    background: #ffdd00;
    color: #000;
    border-color: #ffdd00;
    font-weight: 600;
}

.social-link.buymeacoffee:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 221, 0, 0.4);
}

.social-link.buymeacoffee svg {
    stroke: #000;
}

/* Social link specific colors */
.social-link.linkedin:hover {
    color: #0e76a8;
    border-color: #0e76a8;
}

.social-link.github:hover {
    color: #333;
    border-color: #333;
}

.social-link.portfolio:hover {
    color: #6366f1;
    border-color: #6366f1;
}

.social-link.resume:hover {
    color: #10b981;
    border-color: #10b981;
}

.social-link.medium:hover {
    color: #000;
    border-color: #000;
}

.social-link.substack:hover {
    color: #ff6719;
    border-color: #ff6719;
}

.social-link.devto:hover {
    color: #0a0a0a;
    border-color: #0a0a0a;
}

.social-link.dailydev:hover {
    color: #ff6719;
    border-color: #ff6719;
}


/* Footer */
footer {
    background: #1e293b;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    opacity: 0.8;
}

.author-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon svg {
    transition: fill 0.3s ease;
}

.linkedin-icon:hover svg {
    fill: #0e76a8;
}

.github-icon:hover svg {
    fill: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .generator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-section h2,
    .generator-section h2 {
        font-size: 2rem;
    }

    .developer-info {
        flex-direction: column;
        text-align: center;
    }

    .developer-avatar {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .social-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}