:root {
    --black: #0b1418;
    --text: #11181c;
    --muted: #68747a;
    --light: #7b858a;
    --blue: #1452a2;
    --soft: #f5f6f7;
    --border: #e2e5e7;
    --success-bg: #eaf8ef;
    --success: #23864f;
    --r1: 32px;
    --r2: 24px;
    --r3: 16px;
}

body {
    margin: 0;
    background: #fff;
    color: #11181c;
    font-family: "Montserrat", Helvetica, Arial, "Noto Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.site-header {
    padding: 28px 0 10px;
}
.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.personal-badge {
    padding: 7px 12px;
    border-radius: 999px;
    background: #f1f3f4;
    color: #566168;
    font-size: 12px;
    font-weight: 700;
}
.main-container {
    max-width: 1080px;
    padding-top: 40px;
    padding-bottom: 70px;
}
.hero-section {
    margin-bottom: 42px;
}
.eyebrow {
    margin-bottom: 20px;
    color: #1452a2;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.2px;
}
.hero-section h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 64px);
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -2.5px;
}
.hero-description {
    max-width: 690px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}
.generator-card {
    padding: 32px;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: var(--r1);
}
.qr-tabs {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    margin-bottom: 28px;
    background: #e8ebed;
    border-radius: 999px;
    gap: 4px;
}
.qr-tab {
    border: 0;
    outline: 0;
    padding: 11px 20px;
    border-radius: 999px;
    background: transparent;
    color: #657077;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.qr-tab:hover {
    color: var(--text);
}
.qr-tab.active {
    background: #fff;
    color: var(--black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.input-panel[hidden] {
    display: none !important;
}
.input-label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
}
.qr-input {
    width: 100%;
    height: 64px;
    padding: 0 20px;
    border: 1px solid #d9dddf;
    border-radius: var(--r3);
    outline: 0;
    background: #fff;
    color: var(--text);
    font-size: 17px;
}
.qr-input:focus {
    border-color: #8e979c;
    box-shadow: 0 0 0 3px rgba(17, 24, 28, 0.05);
}
.input-help {
    margin: 10px 0 0;
    color: var(--light);
    font-size: 14px;
    line-height: 1.5;
}
.file-upload {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 14px;
    border: 1px dashed #b8c0c4;
    border-radius: var(--r3);
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}
.file-upload:hover {
    border-color: #707a7f;
    background: #fcfcfc;
}
.file-upload-left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}
.file-upload-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 13px;
    background: #eef1f3;
    font-size: 23px;
    font-weight: 700;
}
.file-upload-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.file-upload-text strong {
    font-size: 15px;
}
.file-upload-text span {
    overflow: hidden;
    color: #747e83;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.browse-button {
    flex: 0 0 auto;
    padding: 9px 15px;
    border-radius: 999px;
    background: #eef1f3;
    font-size: 13px;
    font-weight: 700;
}
.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.btn-primary-pill {
    width: 100%;
    margin-top: 28px;
    padding: 17px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--black);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.preview-card {
    margin-top: 28px;
    padding: 30px;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: var(--r1);
}
.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.preview-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}
.preview-status {
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--success-bg);
    color: var(--success);
    font-size: 13px;
    font-weight: 700;
}
.qr-stage {
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    border-radius: var(--r2);
    background: #fff;
}
.qr-preview-box {
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7e9ea;
    border-radius: 20px;
    background: #fff;
}
.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #7b858a;
    font-size: 13px;
    text-align: center;
}
.qr-placeholder-mark {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #1a2024;
    color: #1a2024;
    font-size: 17px;
    font-weight: 800;
}
.destination-area {
    margin-top: 24px;
}
.destination-label {
    margin-bottom: 7px;
    color: #7a858b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}
.destination-value {
    overflow-wrap: anywhere;
    color: #394349;
    font-size: 15px;
    line-height: 1.5;
}
.download-area {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.btn-download {
    min-width: 230px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: #e2e6e8;
    color: #899196;
    font-size: 14px;
    font-weight: 700;
    cursor: not-allowed;
}
.btn-download:not(:disabled) {
    background: var(--black);
    color: #fff;
    cursor: pointer;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}
.info-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--r2);
    background: #fff;
}
.info-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 12px;
    background: #f1f3f4;
    font-size: 19px;
    font-weight: 700;
}
.info-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
}
.info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.site-footer {
    padding: 24px 0 40px;
    color: #879095;
    text-align: center;
    font-size: 13px;
}
@media (max-width: 767px) {
    .site-header {
        padding-top: 20px;
    }
    .brand {
        font-size: 17px;
    }
    .personal-badge {
        font-size: 11px;
    }
    .main-container {
        padding: 30px 18px 60px;
    }
    .hero-section {
        margin-bottom: 30px;
    }
    .eyebrow {
        margin-bottom: 17px;
        font-size: 13px;
    }
    .hero-section h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
    }
    .hero-description {
        margin-top: 18px;
        font-size: 17px;
    }
    .generator-card,
    .preview-card {
        padding: 20px;
        border-radius: 24px;
    }
    .qr-tabs {
        width: 100%;
        display: flex;
    }
    .qr-tab {
        flex: 1;
        padding: 11px 8px;
        font-size: 13px;
    }
    .qr-input {
        height: 60px;
        font-size: 16px;
    }
    .file-upload {
        min-height: 76px;
        gap: 10px;
        padding: 11px;
    }
    .file-upload-icon {
        width: 42px;
        height: 42px;
    }
    .browse-button {
        padding: 8px 11px;
        font-size: 12px;
    }
    .file-upload-text span {
        font-size: 12px;
    }
    .qr-stage {
        min-height: 290px;
        padding: 20px;
    }
    .qr-preview-box {
        width: 240px;
        height: 240px;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .btn-download {
        width: 100%;
    }
}
@media (max-width: 420px) {
    .hero-section h1 {
        font-size: 39px;
    }
    .qr-tab {
        font-size: 12px;
    }
    .file-upload-text {
        max-width: 145px;
    }
}
