.heros {
    padding: 5rem 2rem;
    text-align: center;
    background: #fff
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.heros h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #0f394c;
    line-height: 1.2;
}

.heros p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #0f394c;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-buttons a.btn-primary {
    border: none;
}

.cta-buttons a:hover {
    border-color: #49b5e7;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: #49b5e7;
    color: #fff;
    box-shadow: 0 4px 15px rgba(73, 181, 231, 0.3);
}

.btn-primary:hover {
    background-color: #0f394c;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #fff;
    color: #49b5e7;
    border: 2px solid #49b5e7;
}

.btn-secondary:hover {
    background-color: #49b5e7;
    color: #fff;
    transform: translateY(-2px);
}

.features {
    padding: 5rem 2rem;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h1 {
    font-size: 2.5rem;
    color: #0f394c;
    margin-bottom: 1rem;
}

.section-title p {
    color: #0f394c;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #49b5e7;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #0f394c;
}

.generator {
    padding: 5rem 2rem;
    background-color: #f5fbff;
}

.generator-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.generator-controls {
    padding: 25px;
}

.input-group {
    display: block;
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0f394c;
}

textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #49b5e7;
    border-radius: 8px!important;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    transition: all 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #0f394c;
    box-shadow: 0 0 0 3px rgba(73, 181, 231, 0.2);
}

.style-options {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.style-btn {
    padding: 8px 20px;
    border-radius: 50px;
    background: #f0f7fa;
    border: 1.4px dashed rgba(73, 181, 231, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.style-btn.active {
    background: #49b5e7;
    color: #fff;
}

.style-btn:hover:not(.active) {
    background: rgba(73, 181, 231, 0.1);
}

.design-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.design-btn {
    padding: 8px 20px;
    border-radius: 50px;
    background: #f0f7fa;
    border: 1.4px dashed rgba(73, 181, 231, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.design-btn.active {
    background: #49b5e7;
    color: #fff;
}

.design-btn:hover:not(.active) {
    background: rgba(73, 181, 231, 0.1);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    justify-content: center;
}

.action-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    background-color: #49b5e7;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background-color: #0f394c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 57, 76, 0.2);
}

.action-btn.secondary {
    background-color: transparent;
    color: #49b5e7;
    border: 2px solid #49b5e7;
}

.action-btn.secondary:hover {
    background-color: #49b5e7;
    color: #fff;
}

#qrcode {
    position: relative;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: #fff;
    transition: all 0.3s ease;
}

.action-buttons.absolute {
    position: absolute;
    margin: 0;
    bottom: 50px;
    z-index: 10;
}
.action-buttons.absolute button {
    background: #fff;
    padding: 8px 20px;
}

#qrcode {
    border-left: 1px solid #49b5e7;
}

@media (max-width: 992px) {
    .heros h1 {
        font-size: 2.5rem;
    }
    
    .section-title h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    
    .heros h1 {
        font-size: 2rem;
    }
    
    .heros p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    #qrcode {
        min-height: 300px;
    }
    
    .style-options, .design-options {
        flex-direction: column;
    }
    
    .style-btn, .design-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    canvas {
        position: relative;
        top: -30px;
    }
}

@media (max-width: 991px) {
    .action-buttons.absolute {
        bottom: 15px;
    }
    
    .action-buttons.absolute button {
        padding: 5px 15px;
    }
    
    canvas {
        position: relative;
        top: -10px;
    }
    
    #qrcode {
        border-top: 1px solid #49b5e7;
        border-left: none;
    }
}
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}