@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/InterVariable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}


h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

label {
    font-weight: 600;
}

.nav-logo,
.footer-logo {
    font-weight: 700;
}

.qr-type {
    font-weight: 500;
}


/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    color: #111827;
}

.logo-box {
    background: #2563eb;
    color: white;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 14px;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

.btn-login {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #f59e0b;
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
}

.btn-signup {
    padding: 8px 14px;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

/* MOBILE NAV */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 14px;
        display: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}



.qr-app {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    font-family: system-ui, sans-serif;
}

.qr-types {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.qr-type {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    white-space: nowrap;
}

.qr-type.active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
}

.qr-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    margin-top: 20px;
}

.qr-form-area {
    background: #f9fafb;
    padding: 20px;
    border-radius: 16px;
}

.qr-form {
    display: none;
}

.qr-form.active {
    display: block;
}

.qr-form label {
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.qr-form input,
.qr-form textarea {
    width: 90%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.qr-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.qr-placeholder {
    height: 300px;
    width: 300px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    margin-top: 10px;
    cursor: pointer;
}

.btn-download {
    margin-top: 14px;
	padding: 8px 14px;
	border-radius: 10px;
	border: 1px solid #f59e0b;
	color: #f59e0b;
	text-decoration: none;
	font-weight: 600;
	
	transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #f59e0b; /* Change background to the primary color (amber) */
    color: white;             /* Change text color to white for contrast */
    cursor: pointer;          /* Ensures the pointer changes to a hand icon */
}


.btn.primary {
    background: #2563eb;
    color: white;
}

.btn.disabled {
    background: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
}

/* MOBILE */
@media (max-width: 900px) {
    .qr-body {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
.site-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
}

.footer-desc {
    margin-top: 12px;
    color: #6b7280;
    max-width: 320px;
    line-height: 1.6;
}

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

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col a:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding: 16px 20px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

/* MOBILE */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* VERY SMALL SCREENS */
@media (max-width: 360px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}


