/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&amp;family=Space+Grotesk:wght@500;600&amp;display=swap');

:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --text-dark: #111827;
    --bg-light: #F8FAFC;
    --border: #E5E7EB;
    --card-bg: #FFFFFF;
}

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

body {
    font-family: 'Inter', system_ui, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* HEADER */
.header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.4rem;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* HERO */
.hero {
    padding: 120px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    max-width: 420px;
    margin-bottom: 40px;
}

.badge {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

/* GENERATOR CARD */
.generator-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    padding: 32px;
    max-width: 480px;
}

.tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 9999px;
    padding: 6px;
    margin-bottom: 32px;
}

.tab-button {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-size: 1.05rem;
    transition: border 0.2s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-generate {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 9999px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 32px;
}

.btn-generate:hover {
    background: var(--primary-hover);
}

.qr-preview-container {
    text-align: center;
    margin-bottom: 32px;
}

.preview-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.qr-frame {
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

#qr-image {
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.customization {
    margin-bottom: 32px;
}

.color-pickers {
    display: flex;
    gap: 32px;
}

.color-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-group label {
    font-size: 0.85rem;
    color: #64748b;
}

.color-group input[type="color"] {
    width: 60px;
    height: 50px;
    padding: 4px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.btn-secondary {
    flex: 1;
    padding: 14px 24px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* OTHER SECTIONS */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 12px;
}

.section-header p {
    color: #64748b;
    font-size: 1.2rem;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.how-card {
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.3s;
}

.how-card:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.how-image {
    width: 120px;
    height: 120px;
    margin-bottom: 28px;
    object-fit: contain;
}

/* Types Grid */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
}

.type-card {
    background: white;
    padding: 32px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.type-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.type-card img {
    margin-bottom: 16px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-item {
    background: white;
    padding: 36px 28px;
    border-radius: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 12px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 24px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 24px 24px;
    color: #475569;
    display: none;
}

/* CTA */
.cta-section {
    background: var(--primary);
    color: white;
    padding: 100px 0;
}

.cta-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.25rem;
}

/* FOOTER */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
}

.footer-col a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.copyright {
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .generator-card {
        margin: 0 auto;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}