/* ========================================================================== */
/* QR Code Generator Stylesheet - Generated from SCSS (Optimized)           */
/* ========================================================================== */

/* ========================================================================== */
/* 1. Base (Reset, Typography, Base element styles)                       */
/* ========================================================================== */

/* --- _reset.scss --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.65;
}

ul {
    margin-left: 16px;
}
li::marker {
    color: #3c7efb;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

html:focus-within {
    scroll-behavior: smooth;
}

a:not([class]) {
    -webkit-text-decoration-skip: ink;
            text-decoration-skip-ink: auto;
}

img,
picture,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
    border-radius: 4px;
}

button {
    cursor: pointer;
    border: none;
    background-color: transparent;
}

/* --- _typography.scss --- */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #1A202C;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1A202C;
    margin-top: 0;
    margin-bottom: 16px;
}

h1, .h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Adjusted size slightly */
@media (max-width: 767px) {
    h1, .h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 575px) {
    h1, .h1 {
        font-size: 2.2rem;
    }
}

h2, .h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

/* Adjusted size */
@media (max-width: 767px) {
    h2, .h2 {
        font-size: 1.8rem;
    }
}

h3, .h3 {
    font-size: 1.5rem;
}

h4, .h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

h5, .h5 {
    font-size: 1rem;
    font-weight: 600;
}

h6, .h6 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 16px;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: #3A7DFF;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #0056b3;
    text-decoration: none;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

small {
    font-size: 0.875rem;
}

blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    border-left: 4px solid rgba(0, 0, 0, 0.08);
    background-color: rgba(234, 228, 255, 0.2);
    font-style: italic;
    color: #4A5568;
}

blockquote p {
    margin-bottom: 0;
}

pre, code {
    font-family: monospace, monospace;
    font-size: 0.875rem;
    background-color: rgba(26, 32, 44, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
}

pre {
    padding: 16px;
    overflow-x: auto;
}

hr {
    border: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    margin: 32px 0;
}

/* --- _base.scss --- */
body {
    background-color: #fbfbff;
    position: relative;
    /*overflow-x: hidden;*/
}

/* Abstract blobs removed for performance */

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page__header {
    flex-shrink: 0;
}

.page__main {
    flex-grow: 1;
    padding-top: 75px;
    /*padding-bottom: 48px;*/
}

.page__footer {
    flex-shrink: 0;
}

/* ========================================================================== */
/* 2. Layout (Header, Footer, Navigation, Grid/Container)                 */
/* ========================================================================== */

/* --- _grid.scss (No changes needed here from previous CSS version) --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -16px;
    margin-right: -16px;
}

[class^="col-"] {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    min-height: 1px;
}

@media (min-width: 576px) {
    .col-1 {
        flex: 0 0 8.33333%;
        max-width: 8.33333%;
    }

    .col-2 {
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
    }

    .col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-4 {
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }

    .col-5 {
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
    }

    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-7 {
        flex: 0 0 58.33333%;
        max-width: 58.33333%;
    }

    .col-8 {
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }

    .col-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-10 {
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }

    .col-11 {
        flex: 0 0 91.66667%;
        max-width: 91.66667%;
    }

    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .col-md-1 {
        flex: 0 0 8.33333%;
        max-width: 8.33333%;
    }

    .col-md-2 {
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
    }

    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-4 {
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }

    .col-md-5 {
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-7 {
        flex: 0 0 58.33333%;
        max-width: 58.33333%;
    }

    .col-md-8 {
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }

    .col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-md-10 {
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }

    .col-md-11 {
        flex: 0 0 91.66667%;
        max-width: 91.66667%;
    }

    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .col-lg-1 {
        flex: 0 0 8.33333%;
        max-width: 8.33333%;
    }

    .col-lg-2 {
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
    }

    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }

    .col-lg-5 {
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 58.33333%;
        max-width: 58.33333%;
    }

    .col-lg-8 {
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }

    .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-lg-10 {
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }

    .col-lg-11 {
        flex: 0 0 91.66667%;
        max-width: 91.66667%;
    }

    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.row--align-center {
    align-items: center;
}

.row--align-start {
    align-items: flex-start;
}

.row--align-end {
    align-items: flex-end;
}

.row--justify-center {
    justify-content: center;
}

.row--justify-start {
    justify-content: flex-start;
}

.row--justify-end {
    justify-content: flex-end;
}

.row--justify-between {
    justify-content: space-between;
}

.row--justify-around {
    justify-content: space-around;
}

/* --- _header.scss --- */
.header {
    position: fixed; /* Changed back to fixed, simple transparency */
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    z-index: 100;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    /* Simpler background for performance */
    background-color: rgba(253, 254, 255, 0.85); /* $color-background with alpha */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Lighter border */
    /* Optional: Add back backdrop-filter if performance allows */
    /*
    @supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
        background-color: rgba(253, 254, 255, 0.75);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-color: rgba(255, 255, 255, 0.2);
    }
    */
}

/* Optional shadow on scroll - requires JS to add .header--scrolled */
.header--scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); /* $box-shadow-sm */
    background-color: rgba(253, 254, 255, 0.95); /* Slightly more opaque */
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    flex-shrink: 0;
}

/* --- _navigation.scss (No major changes needed here from previous CSS version) --- */
.nav {
    position: relative;
}

.nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (max-width: 767px) {
    .nav__list {
        display: none;
        position: absolute;
        top: calc(100% + 16px);
        right: 0;
        min-width: 240px;
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: stretch;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Simplified shadow */
        padding: 16px;
        gap: 8px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        transform: translateY(10px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .nav__list--mobile-open {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.nav__item {
    position: relative;
}

.nav__link {
    text-decoration: none;
    color: #4A5568;
    font-weight: 500;
    padding: 8px 4px;
    display: inline-block;
    position: relative;
    transition: color 0.2s ease-in-out;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4A90E2, #3A7DFF);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.nav__link:hover, .nav__link--active {
    color: #1A202C;
}

.nav__link:hover::after, .nav__link--active::after {
    width: 100%;
    left: 0;
}

.nav__link--active {
    color: #1A202C;
}

.nav__link--active::after {
    width: 100%;
    left: 0;
}

@media (max-width: 767px) {
    .nav__link {
        display: block;
        padding: 16px;
        text-align: left;
    }

    .nav__link::after {
        display: none;
    }

    .nav__link:hover, .nav__link--active {
        background-color: rgba(74, 144, 226, 0.05);
        color: #3A7DFF;
        border-radius: 4px;
    }
}

@media (min-width: 992px) {
    .nav__item--dropdown:hover > .nav__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.nav__dropdown {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Simplified shadow */
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}

@media (max-width: 767px) {
    .nav__dropdown {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0 0 8px 24px;
        background-color: transparent;
        min-width: auto;
        margin-top: -4px;
    }
}

.nav__dropdown-link {
    display: block;
    padding: 8px 24px;
    color: #4A5568;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.nav__dropdown-link:hover, .nav__dropdown-link--active {
    background-color: rgba(74, 144, 226, 0.1);
    color: #3A7DFF;
}

@media (max-width: 767px) {
    .nav__dropdown-link {
        padding: 8px 16px;
    }

    .nav__dropdown-link:hover, .nav__dropdown-link--active {
        background-color: transparent;
        color: #3A7DFF;
    }
}

.nav__burger {
    display: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1050;
    width: 40px;
    height: 40px;
    position: relative;
    border: none;
    background: transparent;
}

@media (max-width: 767px) {
    .nav__burger {
        display: block;
    }
}

.nav__burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1A202C;
    border-radius: 1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.nav__burger-line:nth-child(1) {
    top: 12px;
}

.nav__burger-line:nth-child(2) {
    top: 19px;
}

.nav__burger-line:nth-child(3) {
    top: 26px;
}

.nav--mobile-open .nav__burger-line:nth-child(1) {
    transform: translateX(-50%) translateY(7px) rotate(45deg);
}

.nav--mobile-open .nav__burger-line:nth-child(2) {
    opacity: 0;
}

.nav--mobile-open .nav__burger-line:nth-child(3) {
    transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

/* --- _logo.scss --- */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #3c7efb;
    gap: 8px;
    font-size: 26px;
    font-weight: bold;
}

.logo__image {
    height: 32px;
    width: auto;
    display: block;
}

.logo__text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2375rem;
    font-weight: 700;
    line-height: 1;
    color: #1A202C;
}

/* --- _footer.scss --- */
.footer {
    background-color: #F7FAFC;
    padding: 32px 0;
    color: #4A5568;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: auto;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 575px) {
    .footer__container {
        flex-direction: column;
        text-align: center;
    }
}

.footer__copyright {
    font-size: 0.875rem;
    margin: 0;
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 575px) {
    .footer__links {
        justify-content: center;
        gap: 16px;
    }
}

.footer__link {
    font-size: 0.875rem;
    color: #4A5568;
    text-decoration: none;
}

.footer__link:hover {
    color: #3A7DFF;
    text-decoration: underline;
}


/* ========================================================================== */
/* 3. Components (Reusable UI blocks)                                     */
/* ========================================================================== */

/* --- _button.scss --- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px; /* Slightly adjusted padding */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.2s ease-in-out; /* Faster transition */
    position: relative;
    overflow: hidden;
    /* transform: translateZ(0); */ /* Removed will-change/translateZ for performance */
}

.button:hover {
    text-decoration: none;
    transform: translateY(-1px); /* Smaller lift */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); /* $box-shadow-sm */
}

.button:active {
    transform: translateY(0px);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05); /* Inset shadow on active */
}

.button:focus-visible {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

.button:disabled, .button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.button--primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, #4A90E2, #3A7DFF);
    border-color: transparent;
}

.button--primary:hover {
    background: linear-gradient(135deg, #3A7DDD, #2162E1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* $box-shadow */
}

.button--primary:focus-visible {
    outline-color: #3A7DFF;
}

.button--secondary {
    color: #3A7DFF;
    background-color: transparent;
    border-color: #3A7DFF;
}

.button--secondary:hover {
    background-color: rgba(74, 144, 226, 0.1);
    color: #0056b3;
    border-color: #0056b3;
}

.button--secondary:focus-visible {
    outline-color: #3A7DFF;
}

.button--text {
    color: #3A7DFF;
    background-color: transparent;
    border-color: transparent;
    padding-left: 8px;
    padding-right: 8px;
}

.button--text:hover {
    background-color: rgba(74, 144, 226, 0.1);
    transform: none;
    box-shadow: none;
}

.button--text:focus-visible {
    background-color: rgba(74, 144, 226, 0.15);
    outline: none;
}

.button__icon {
    margin-left: 8px;
    width: 1.1em;
    height: 1.1em;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.button:hover .button__icon {
    transform: translateX(2px);
}

/* --- _card.scss --- */
.card {
    display: block;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 24px 28px; /* Adjusted padding */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); /* $box-shadow-sm */
    /*border: 1px solid rgba(0, 0, 0, 0.08);*/
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    text-align: left;
    /* transform: translateZ(0); */ /* Removed will-change/translateZ */
}

.card:hover {
    transform: translateY(-3px); /* Smaller lift */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* $box-shadow */
}

.card__icon {
    margin-bottom: 16px;
    color: #4A90E2;
    transition: transform 0.2s ease-in-out;
    display: inline-block;
}

.card:hover .card__icon {
    transform: scale(1.05); /* Smaller scale */
}

.card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1A202C;
}

.card__text {
    font-size: 1rem;
    color: #4A5568;
    line-height: 1.65;
}


/* Removed --glass and --interactive-border modifiers for simplicity/performance */

/* --- _form.scss --- */
.form {
    width: 100%;
}

.form__group {
    margin-bottom: 20px;
}

/* Slightly reduced margin */
.form__group:last-child {
    margin-bottom: 0;
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4A5568;
    margin-bottom: 8px;
}

.form__input, .form__textarea, .form__select {
    display: block;
    width: 100%;
    padding: 14px; /* Adjusted padding */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: #1A202C;
    background-color: #FFFFFF;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.form__input::-moz-placeholder, .form__textarea::-moz-placeholder, .form__select::-moz-placeholder {
    color: #A0AEC0; /* Adjusted placeholder color */
    opacity: 1;
}

.form__input::placeholder, .form__textarea::placeholder, .form__select::placeholder {
    color: #A0AEC0; /* Adjusted placeholder color */
    opacity: 1;
}

.form__input:focus, .form__textarea:focus, .form__select:focus {
    outline: 0;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

.form__input:disabled, .form__input[readonly], .form__textarea:disabled, .form__textarea[readonly], .form__select:disabled, .form__select[readonly] {
    background-color: #F7FAFC;
    opacity: 0.7;
    cursor: not-allowed;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: none;
}

.form__input.is-invalid, .form__textarea.is-invalid, .form__select.is-invalid {
    border-color: #e53e3e;
}

.form__input.is-invalid:focus, .form__textarea.is-invalid:focus, .form__select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

.form__input.is-valid, .form__textarea.is-valid, .form__select.is-valid {
    border-color: #38a169;
}

.form__input.is-valid:focus, .form__textarea.is-valid:focus, .form__select.is-valid:focus {
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.15);
}

.form__textarea {
    min-height: 80px; /* Reduced default height */
    resize: vertical;
}

.form__select {
    padding-right: 40px; /* Adjusted padding for arrow */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234A5568' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 12px;
}

/* New styles for form options */
.form__options-group {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form__options-legend {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0 8px;
    margin-left: 8px; /* Indent legend slightly */
    color: #1A202C;
}

.qr-generator__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    align-items: end; /* Align items to bottom for consistent look */
    margin-top: 8px;
}

.form__group--inline {
    margin-bottom: 0; /* Remove bottom margin for inline groups */
    display: flex;
    flex-direction: column; /* Stack label and input */
}

.form__label--inline {
    margin-bottom: 4px; /* Smaller margin */
}

.form__input--color {
    padding: 4px; /* Minimal padding for color input */
    height: 40px; /* Fixed height */
    border-radius: 4px;
    cursor: pointer;
    width: auto; /* Allow shrinking */
    min-width: 60px;
}

.form__group--file {
    grid-column: 1 / -1; /* Span full width on grid */
    margin-bottom: 0;
}

.form__input--file {
    padding: 8px; /* Different padding for file input */
    font-size: 0.875rem;
    /* Basic styling, consider label trick for better look */
}

.form__input--file::-webkit-file-upload-button {
    /* Basic styling for the button part */
    padding: 6px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    background-color: #F7FAFC;
    cursor: pointer;
    margin-right: 8px;
    font-size: 0.875rem;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

.form__input--file::-webkit-file-upload-button:hover {
    background-color: #EDF2F7;
}

.qr-generator__logo-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qr-generator__logo-preview-img {
    max-width: 40px;
    max-height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    -o-object-fit: contain;
       object-fit: contain;
}

.qr-generator__logo-remove-btn {
    padding: 2px 6px;
    font-size: 1.2rem;
    line-height: 1;
    min-width: auto; /* Override button min-width */
}

/* --- _hero.scss --- */
.hero {
    padding: 64px 0; /* Reduced padding */
    text-align: center;
    position: relative;
    /*overflow: hidden;*/
    background: none; /* Removed gradient background */
}

.hero__container {
    position: relative;
    z-index: 10;
}

.hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1A202C;
}

@media (max-width: 767px) {
    .hero__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 575px) {
    .hero__title {
        font-size: 2.2rem;
    }
}

.hero__subtitle {
    font-size: 1.125rem;
    color: #4A5568;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px; /* Reduced margin */
}

@media (max-width: 575px) {
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
}

.hero__qr-generator {
    margin-top: 48px;
    /*max-width: 800px;*/
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* --- _qr-generator.scss --- */
.qr-generator {
    /*background-color: #FFFFFF;*/
    /*padding: 28px; !* Adjusted padding *!*/
    /*border-radius: 12px; !* Slightly smaller radius *!*/
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); !* $box-shadow *!*/
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    /*border: 1px solid rgba(0, 0, 0, 0.08);*/
}

.qr-generator__form {
    /*display: flex;*/
    /*flex-direction: column;*/
    /*gap: 20px;*/
    order: 2;
}

.qr-generator__preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    border: 1px dashed rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    background-color: #fff;
    position: relative;
    top: 80px;
    transition: background-color 0.3s ease;
    order: 1;
    margin-bottom: 100px;
}

@media (min-width: 880px) {
    .qr-generator {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        align-items: start;
        /*padding: 32px;*/
    }
    .qr-generator__form {
        order: 1;
    }
    .qr-generator__preview {
        position: sticky;
        order: 2;
    }
}

.qr-generator__preview-placeholder {
    color: #4A5568;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.qr-generator__image { /* Это контейнер #qrCodeContainer */
    /* display: none; */ /* Управляется JS */
    /* Удаляем фиксированные размеры и aspect-ratio */
    /* width: 100%; */ /* Можно убрать, пусть определяется контентом и max-width */
    /* max-width: 200px; */ /* Увеличим или сделаем 100% */
    max-width: 100%; /* Занимать всю ширину родителя */
    height: auto; /* Высота автоматическая */
    /* aspect-ratio: 1 / 1; */ /* Убираем */
    margin-bottom: 16px; /* Уменьшим отступ снизу */
    border: 1px solid rgba(0, 0, 0, 0.08); /* $color-border */
    background-color: #FFFFFF; /* $color-white */
    padding: 8px; /* Немного уменьшим padding, чтобы больше места было для QR */
    border-radius: 4px; /* $border-radius-sm */
    display: flex; /* Остается для центрирования */
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Добавим, чтобы рамка контейнера обрезала возможное выпирание SVG/Canvas */
    box-sizing: border-box; /* Убедимся, что padding/border включены в размер */
}

.qr-generator__image svg,
.qr-generator__image canvas {
    display: block;
    max-width: 100%;
    height: auto; /* Позволяем SVG/Canvas масштабироваться */
    /* Убираем max-height, чтобы не ограничивать */
}

.qr-generator__download-button {
    display: none;
    margin-top: auto;
}

.qr-generator__download-button--visible {
    display: inline-flex;
}

.qr-generator__loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
}

.qr-generator__loading-overlay--visible {
    opacity: 1;
    visibility: visible;
}

.qr-generator__loading-overlay .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(74, 144, 226, 0.2);
    border-top-color: #3A7DFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================================================== */
/* 4. Pages (Specific styles for individual pages)                        */
/* ========================================================================== */

/* --- _home.scss --- */
.features {
    padding: 48px 0;
}

.features__container {
    text-align: center;
}

.features__title {
    margin-bottom: 8px;
}

.features__subtitle {
    font-size: 1.125rem;
    color: #4A5568;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

.features__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Slightly smaller min */
    gap: 24px;
    text-align: left;
}

@media (max-width: 575px) {
    .features__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- NEW: _seo-text.scss --- */
.seo-text {
    padding: 48px 0;
    background-color: #F7FAFC; /* Slightly different background */
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.seo-text__container {
    max-width: 900px; /* Wider container for text */
}

.seo-text__title {
    text-align: center;
    margin-bottom: 32px;
    font-size: 2rem; /* $font-size-xxl */
}

.seo-text__content p {
    color: #4A5568; /* $color-text-secondary */
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7; /* Slightly more line height for readability */
}

.seo-text__content strong {
    color: #1A202C; /* $color-text */
    font-weight: 600;
}

/* --- _generator-page.scss (No changes needed here from previous CSS version) --- */
.generator-page {
    padding: 48px 0;
}

.generator-page__container {
    max-width: 850px;
}

.generator-page__header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.generator-page__icon {
    margin-bottom: 24px;
    width: 50px;
    height: 50px;
}

.generator-page__title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

@media (max-width: 575px) {
    .generator-page__title {
        font-size: 2.2rem;
    }
}

.generator-page__description {
    font-size: 1rem;
    color: #4A5568;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.alert {
    padding: 16px; /* $spacing-md */
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 8px; /* $border-radius */
    font-size: 0.95rem;
    max-width: 800px; /* Match generator width */
    margin-left: auto;
    margin-right: auto;
}

.alert--success {
    color: #1c4b3f; /* Darker green text */
    background-color: #d1e7dd; /* Light green background */
    border-color: #badbcc; /* Green border */
}

.alert--error {
    color: #6a1a21; /* Darker red text */
    background-color: #f8d7da; /* Light red background */
    border-color: #f5c2c7; /* Red border */
}

.form-messages {
    margin-bottom: 20px; /* Space below messages */
    min-height: 1em; /* Reserve some space even when empty */
}


/* Стилизация группы радио-кнопок для выбора цвета */
.form__group--color-type {
    grid-column: 1 / -1; /* Занять всю ширину в гриде опций */
    margin-bottom: 8px !important; /* Уменьшить отступ перед полями цвета */
}

.form__group--color-type .form__label { /* Обычный лейбл для группы */
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4A5568;
    margin-bottom: 4px;
}

.form__radio-group {
    display: flex;
    gap: 16px;
    margin-top: 4px;
    flex-wrap: wrap;
}

/* Используем существующие стили для .form__check */


/* Стили для Range Input */
input[type="range"] {
    width: 100%;
    height: 8px;
    cursor: pointer;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background: #EDF2F7; /* Светлый фон трека */
    border-radius: 4px;
    outline: none;
    padding: 0; /* Убрать внутренние отступы */
    border: none; /* Убрать границу */
}

input[type="range"]::-webkit-slider-thumb { /* Chrome, Edge, Safari */
    -webkit-appearance: none;
            appearance: none;
    width: 16px;
    height: 16px;
    background: #4A90E2; /* Синий ползунок */
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

input[type="range"]::-moz-range-thumb { /* Firefox */
    width: 16px;
    height: 16px;
    background: #4A90E2;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

input[type="range"]::-ms-thumb { /* IE */
    width: 16px;
    height: 16px;
    background: #4A90E2;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}


/* Контейнер кнопок скачивания */
.qr-generator__download-buttons {
    margin-top: 16px; /* $spacing-md */
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.qr-generator__options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px 20px;
}

.options-group {
    border: 1px solid #fff;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    position: relative;
    margin-bottom: 40px;
}

.options-group:first-child {
    margin-top: 0;
}

.options-group__title {
    font-weight: 600;
    font-size: 1rem;
    display: block;
    position: absolute;
    top: -15px;
    left: 0;
    background: #fff;
    padding: 0 5px;
    border-radius: 8px;
    /*margin-bottom: 12px;*/
    /*padding-bottom: 8px;*/
}

.form__group--sub {
    margin-bottom: 12px;
}

.form__label--sub {
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.color-options {
    border-left: 3px solid #eee;
    padding-left: 10px;
    margin-top: 5px;
}

.gradient-controls {
    /*display: none; !* Показывается JS *!*/
}

.gradient-controls--visible {
    display: block;
}

input[type="range"] {
    width: 100%;
}

.block-option-open {
    text-align: center;
    margin-bottom: 40px;
}

.breadcrumb { /* Стили для хлебных крошек, если нет глобальных */
    display: flex;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: .25rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    color: #6c757d;
    content: "/";
}
.breadcrumb-item.active {
    color: #6c757d;
}
.content-page h1 { font-size: 2.2rem; margin-bottom: 0.5rem; color: #2c3e50; }
.content-page .text-muted { font-size: 0.9em; margin-bottom: 1.5rem; }
.content-page h2 { font-size: 1.7rem; margin-top: 2.5rem; margin-bottom: 1rem; color: #34495e; border-bottom: 1px solid #eee; padding-bottom: 0.3rem;}
.content-page h3 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.75rem; color: #34495e; }
.content-page p, .content-page li { color: #333; margin-bottom: 0.75rem; }
.content-page ul { padding-left: 20px; }
.content-page ul li { margin-bottom: 0.5rem; }
.content-page ol { padding-left: 20px; } /* Для нумерованных списков, если будете использовать */
.content-page ol li { margin-bottom: 0.5rem; }
.content-page a { color: #3498db; text-decoration: none; }
.content-page a:hover { text-decoration: underline; }
