* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    color: #f1f5f9;
}
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    flex: 1;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 1rem;
}
.logo {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 1rem;
    font-weight: 500;
    transition: 0.2s;
}
.nav-links a:hover {
    color: #60a5fa;
}
.hero {
    text-align: center;
    margin-bottom: 2rem;
}
.hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.hero p {
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}
.card {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.upload-area {
    border: 2px dashed #334155;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 1.5rem;
}
.upload-area:hover {
    border-color: #60a5fa;
    background: rgba(96, 165, 250, 0.05);
}
.file-input {
    display: none;
}
.preview-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.preview-canvas {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
    background: white;
}
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.control-group {
    background: #0f172a;
    border-radius: 40px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.control-group label {
    font-size: 0.85rem;
    color: #cbd5e1;
}
input, select {
    background: #0f172a;
    border: 1px solid #334155;
    color: white;
    padding: 0.4rem;
    border-radius: 8px;
}
button {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(96,165,250,0.4);
}
.download-btn {
    background: #2dd4bf;
    color: #0f172a;
}
.download-btn:hover {
    background: #14b8a6;
}
.info-text {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    line-height: 1.6;
    color: #cbd5e1;
}
/* FAQ */
.faq-section {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 24px;
    padding: 1.5rem;
    margin-top: 2rem;
}
.faq-section h2 {
    text-align: center;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}
.faq-item {
    background: #0f172a;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid #334155;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem 1.2rem;
    background: transparent;
    border: none;
    color: #f1f5f9;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
    font-family: inherit;
}
.faq-question:hover {
    background: rgba(96, 165, 250, 0.1);
}
.faq-question .icon {
    font-size: 1.3rem;
    font-weight: 400;
    transition: transform 0.25s;
}
.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    padding: 0 1.2rem;
    color: #cbd5e1;
    line-height: 1.5;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 1.2rem 1rem 1.2rem;
}
.footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.7rem;
    color: #475569;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 0.5rem;
}
.footer a:hover {
    color: #60a5fa;
}
@media (max-width: 640px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links a {
        margin-left: 0;
        margin-right: 1rem;
    }
    .controls {
        flex-direction: column;
        align-items: stretch;
    }
    .control-group {
        justify-content: space-between;
    }
}
/* QR Crafts promo */
.qrcraft-link {
    margin: 1rem 0;
    text-align: center;
    background: rgba(96, 165, 250, 0.1);
    padding: 0.5rem;
    border-radius: 40px;
}
.qrcraft-link a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: bold;
}
.qrcraft-link a:hover {
    color: #a78bfa;
}