.tool-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.qr-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

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

.type-selector {
    margin-bottom: 2rem;
}

.type-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d5a27;
}

.type-selector select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccdac9;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.type-selector select:focus {
    outline: none;
    border-color: #2d5a27;
    box-shadow: 0 0 0 3px rgba(45,90,39,0.1);
}

.dynamic-inputs {
    margin-bottom: 2rem;
}

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

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group input[type="number"],
.input-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccdac9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #2d5a27;
    box-shadow: 0 0 0 3px rgba(45,90,39,0.1);
}

.input-group small {
    display: block;
    margin-top: 0.25rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.input-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.qr-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.option-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccdac9;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.option-group select:focus {
    outline: none;
    border-color: #2d5a27;
    box-shadow: 0 0 0 3px rgba(45,90,39,0.1);
}

.button-container {
    display: flex;
    gap: 1rem;
}

.generate-btn, .clear-btn, .download-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.generate-btn {
    background: #34764c;
    color: white;
    box-shadow: 0 2px 6px rgba(52,118,76,0.2);
}

.generate-btn:hover {
    background: #2a5f3d;
    box-shadow: 0 4px 12px rgba(52,118,76,0.3);
    transform: translateY(-2px);
}

.clear-btn {
    background: #6c757d;
    color: white;
}

.clear-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.output-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e3eaf2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.qr-display {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.qr-display canvas {
    border: 2px solid #f0f0f0;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.qr-display img {
    max-width: 100%;
    height: auto;
    border: 2px solid #f0f0f0;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.qr-actions {
    margin-top: 2rem;
    text-align: center;
    width: 100%;
}

.download-btn {
    background: #28a745;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(40,167,69,0.2);
    width: 100%;
    max-width: 300px;
}

.download-btn:hover {
    background: #218838;
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
    transform: translateY(-2px);
}

.qr-info {
    margin-top: 1rem;
    color: #6c757d;
    font-size: 0.95rem;
}

.info-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fffe;
    border-radius: 12px;
    border: 1px solid #e3eaf2;
}

.info-section h2 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-section h3 {
    color: #34764c;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-section li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #34764c;
    font-weight: bold;
    font-size: 1.2em;
}

.info-section p {
    line-height: 1.6;
    color: #555;
    margin: 1rem 0;
}

/* SEO and FAQ Styles */
.seo-intro {
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f5e9 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0 2rem 0;
    border-left: 4px solid #34764c;
}

.seo-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.best-practices {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.best-practices h4 {
    color: #2d5a27;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}

.best-practices ul {
    margin-bottom: 1rem;
}

.faq-section {
    margin: 1.5rem 0;
}

.faq-section details {
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-section details:hover {
    border-color: #34764c;
    box-shadow: 0 2px 8px rgba(52,118,76,0.1);
}

.faq-section summary {
    cursor: pointer;
    color: #2d5a27;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-section summary::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid #34764c;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-right: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-section details[open] summary::before {
    transform: rotate(90deg);
}

.faq-section details p {
    margin-top: 1rem;
    padding-left: 1.6rem;
    color: #555;
    line-height: 1.6;
}

.pro-tip {
    background: #fffbf0;
    border: 1px solid #ffd700;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.cta-section {
    background: linear-gradient(135deg, #2d5a27 0%, #34764c 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #f0f8ff;
    line-height: 1.7;
    margin: 1rem 0;
}

.cta-section a {
    color: #ffe082;
    text-decoration: none;
    border-bottom: 1px dotted #ffe082;
    transition: all 0.3s ease;
}

.cta-section a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* Responsive Design */
@media (max-width: 968px) {
    .qr-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .output-section {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .qr-options {
        grid-template-columns: 1fr;
    }

    .button-container {
        flex-direction: column;
    }

    .generate-btn, .clear-btn {
        width: 100%;
    }

    .input-section, .output-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .qr-container {
        margin: 1rem 0;
    }

    .input-section, .output-section {
        padding: 1rem;
        border-radius: 8px;
    }

    .info-section {
        padding: 1.5rem 1rem;
    }

    .tool-subtitle {
        font-size: 1rem;
    }
}