/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1a73e8;
    --color-primary-dark: #1557b0;
    --color-primary-light: #e8f0fe;
    --color-dark: #1a1a2e;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-accent: #00c853;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1200px;
    --header-height: 72px;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Body lock for mobile menu ===== */
body.menu-open {
    /* allow scroll when menu is open */
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    height: var(--header-height);
}

.header--scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

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

.header__logo-img {
    width: 40px;
    height: 40px;
}

.header__logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-dark);
    white-space: nowrap;
}

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

.header__link {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-text-light);
    transition: color var(--transition);
}

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

.header__link--cta {
    background: var(--color-primary);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}

.header__link--cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Burger */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26, 115, 232, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

/* ===== Hero ===== */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-primary-light) 100%);
    overflow: hidden;
}

.hero__inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero__content {
    flex: 1;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__logo-graphic {
    width: 100%;
    max-width: 400px;
    /*border-radius: var(--radius);*/
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(26, 115, 232, 0.15));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== Section Title ===== */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 56px;
}

.section-title--light {
    color: #fff;
}

/* ===== Features ===== */
.features {
    padding: 100px 0;
    background: var(--color-bg);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card__image {
    width: 200px;
    height: 200px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.feature-card__text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== How it Works ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step__link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform var(--transition);
}

.step__link:hover {
    transform: translateY(-4px);
}

.step__image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step__number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
}

.step__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.step__text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}

/* ===== Scheme ===== */
.scheme {
    margin-top: 64px;
    text-align: center;
}

.scheme__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 32px;
}

.scheme__content {
    display: flex;
    align-items: center;
    gap: 48px;
}

.scheme__image {
    display: block;
    flex: 1 1 50%;
    max-width: 50%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.scheme__steps {
    list-style: none;
    counter-reset: scheme-step;
    flex: 1 1 50%;
    text-align: left;
    padding: 0;
    margin: 0;
}

.scheme__steps li {
    counter-increment: scheme-step;
    position: relative;
    padding-left: 40px;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

.scheme__steps li::before {
    content: counter(scheme-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
}

.scheme__steps li:nth-child(1)::before { background: #74BAF5; }
.scheme__steps li:nth-child(2)::before { background: #8B7ADE; }
.scheme__steps li:nth-child(3)::before { background: #4D6795; }
.scheme__steps li:nth-child(4)::before { background: #63AC8B; }
.scheme__steps li:nth-child(5)::before { background: #D9E7D7; }

/* ===== Download ===== */
.download {
    padding: 100px 0;
    background: var(--color-bg);
    text-align: center;
}

.download__text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.download__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: left;
}

.download__col {
    background: var(--color-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.download__col-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 28px;
    color: #fff;
    background: var(--color-dark);
}

.download__col-header--apple {
    background: #000;
}

.download__col-header--android {
    background: #3ddc84;
    color: var(--color-dark);
}

.download__col-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    flex: 1;
}

.download__col-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.download__col-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download__col-badge--soon {
    background: rgba(0, 0, 0, 0.15);
    color: var(--color-dark);
}

.download__col-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download__col-body--center {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.download__step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.download__step:last-of-type {
    margin-bottom: 32px;
}

.download__step-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    margin-top: 2px;
}

.download__step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.download__step-content p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 6px;
}

.download__step-content p:last-child {
    margin-bottom: 0;
}

.download__step-content a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(26, 115, 232, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color var(--transition), color var(--transition);
}

.download__step-content a:hover {
    text-decoration-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.download__link {
    color: var(--color-primary);
    font-weight: 600;
    word-break: break-all;
}

.download__link:hover {
    text-decoration: underline;
}

.download__col-btn {
    margin-top: auto;
    width: 100%;
}

.download__policy-link {
    margin-top: 12px;
    font-size: 0.5rem;
    text-align: center;
    opacity: 0.7;
}

.download__policy-link a {
    color: var(--color-text-secondary, #666);
    text-decoration: underline;
    transition: color 0.2s;
}

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

.download__coming-soon {
    padding: 40px 20px;
}

.download__coming-soon-icon {
    width: 64px;
    height: 64px;
    color: var(--color-primary);
    margin: 0 auto 24px;
    display: block;
    opacity: 0.7;
}

.download__coming-soon h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.download__coming-soon-date {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.download__coming-soon-text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
}

.download iframe {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
    max-width: 100%;
}

.download__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all var(--transition);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.store-btn__icon {
    width: 32px;
    height: 32px;
}

.store-btn__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-btn__label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-btn__store {
    font-size: 1.125rem;
    font-weight: 700;
}

/* ===== Footer ===== */
.footer {
    padding: 32px 0 24px;
    background: var(--color-bg-alt);
    border-top: 1px solid #eee;
}

.footer__logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer__logo-item {
    flex: 1;
    display: flex;
    align-items: center;
}

.footer__logo-item:first-child {
    justify-content: flex-start;
}

.footer__logo-item:nth-child(2) {
    justify-content: center;
}

.footer__logo-item:last-child {
    justify-content: flex-end;
}

.footer__logo-item:first-child img,
.footer__logo-item:nth-child(2) img {
    width: 56px;
    height: auto;
    object-fit: contain;
}

.footer__logo-item:last-child img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.footer__copy {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    text-align: right;
    margin-top: 20px;
}

.footer__copy a {
    color: var(--color-text-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

.footer__copy a:hover {
    color: var(--color-primary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.75rem;
    }

    .features__grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        position: relative;
        height: auto;
        overflow: hidden;
    }

    .header__inner {
        height: auto;
        flex-wrap: wrap;
    }

    .header__logo {
        height: var(--header-height);
    }

    .header__burger {
        height: var(--header-height);
    }

    .header__nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        flex-basis: 100%;
        gap: 0;
        padding: 0;
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        position: relative;
    }

    .header__nav.open {
        display: flex;
    }

    .header__nav.open + .header__burger,
    .header__burger.active {
        position: absolute;
        top: 0;
        right: 16px;
        height: var(--header-height);
        z-index: 101;
    }

    .header__link {
        font-size: 1.125rem;
        padding: 14px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        text-align: left;
    }

    .header__link--cta {
        border-radius: 0;
        text-align: center;
        margin: 12px 20px;
        border-bottom: none;
    }

    .header__burger {
        display: flex;
        align-items: center;
    }

    .hero {
        padding-top: 40px;
    }

    .hero__inner {
        flex-direction: column;
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__logo-graphic {
        max-width: 280px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    .features__grid,
    .steps,
    .download__columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .scheme__content {
        flex-direction: column;
        gap: 24px;
    }

    .scheme__image {
        max-width: 100%;
        flex: none;
    }

    .scheme__steps {
        flex: none;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .feature-card__image {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .step__image {
        max-width: 100%;
    }

    .footer__logos {
        gap: 16px;
    }

    .footer__logo-item:first-child img,
    .footer__logo-item:nth-child(2) img {
        width: 36px;
    }

    .footer__logo-item:last-child img {
        height: 36px;
    }

    .footer__copy {
        text-align: center;
        margin-top: 16px;
    }
}

/* iPhone 12 / 13 / 14 — 390px viewport */
@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }

    .header__logo-img {
        width: 32px;
        height: 32px;
    }

    .header__logo-text {
        font-size: 0.9375rem;
    }

    .hero {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 40px;
    }

    .hero__inner {
        gap: 32px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 0.9375rem;
        margin-bottom: 28px;
    }

    .hero__logo-graphic {
        max-width: 220px;
    }

    .hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.9375rem;
    }

    .features,
    .how-it-works,
    .download {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .feature-card__image {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .feature-card__title {
        font-size: 1.125rem;
    }

    .feature-card__text {
        font-size: 0.875rem;
    }

    .step__number {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }

    .step__image {
        max-width: 100%;
    }

    .step__title {
        font-size: 1rem;
    }

    .step__text {
        font-size: 0.875rem;
    }

    .download__text {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .download__col-header {
        padding: 18px 20px;
    }

    .download__col-body {
        padding: 20px;
    }

    .download__step-content h4 {
        font-size: 0.9375rem;
    }

    .download__step-content p {
        font-size: 0.875rem;
    }

    .download__coming-soon {
        padding: 28px 16px;
    }

    .download__coming-soon-date {
        font-size: 1.25rem;
    }

    .download__buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
    }

    .store-btn__store {
        font-size: 1rem;
    }

    .footer {
        padding: 24px 0;
    }

    .footer__copy {
        font-size: 0.75rem;
    }
}

/* ===== Contacts Page ===== */
.contacts-page {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background: var(--color-bg);
    min-height: 100vh;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border: 1px solid #eee;
    transition: all var(--transition);
}

.contact-info__item:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.contact-info__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.contact-info__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info__value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    transition: color var(--transition);
}

a.contact-info__value:hover {
    color: var(--color-primary);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    display: block;
}

/* ===== Get App Page ===== */
.getapp-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-primary-light) 100%);
    padding: 40px 24px;
}

.getapp__inner {
    text-align: center;
    max-width: 480px;
}

.getapp__logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
}

.getapp__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
}

.getapp__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.getapp__text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.getapp__buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.getapp__btn {
    gap: 10px;
    min-width: 260px;
}

.getapp__btn svg {
    flex-shrink: 0;
}

.getapp__home-link {
    display: inline-block;
    margin-top: 40px;
    font-size: 0.9375rem;
    color: var(--color-primary);
    font-weight: 500;
    transition: opacity var(--transition);
}

.getapp__home-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .contacts-page {
        padding-top: 40px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .getapp__logo {
        width: 96px;
        height: 96px;
    }

    .getapp__title {
        font-size: 1.75rem;
    }

    .getapp__btn {
        min-width: 100%;
    }
}

/* Safe area insets for notched iPhones */
@supports (padding-top: env(safe-area-inset-top)) {
    .header {
        padding-top: env(safe-area-inset-top);
    }

    .footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ===== FAQ Page ===== */
.faq-page {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background: var(--color-bg-alt);
    min-height: 100vh;
}

.faq-page__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.faq-page__note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-top: 48px;
    opacity: 0.7;
}

/* Checklist */
.faq-checklist {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 48px;
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow);
}

.faq-checklist__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.faq-checklist__items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.faq-checklist__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-checklist__icon {
    width: 36px;
    height: 36px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-checklist__item strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.faq-checklist__item p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Section heading */
.faq-section-heading {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}

/* Steps */
.faq-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.faq-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 20px 24px;
    border: 1px solid #eee;
    transition: all var(--transition);
}

.faq-step:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.faq-step__num {
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.faq-step__content strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.faq-step__content p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-accordion__item {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border: 1px solid #eee;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-accordion__item:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.faq-accordion__item.open {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.1);
}

.faq-accordion__question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--font-family);
    transition: color var(--transition);
}

.faq-accordion__question:hover {
    color: var(--color-primary);
}

.faq-accordion__item.open .faq-accordion__question {
    color: var(--color-primary);
}

.faq-accordion__arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-accordion__item.open .faq-accordion__arrow {
    transform: rotate(180deg);
}

.faq-accordion__answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
    border-top: 1px solid #eee;
}

.faq-accordion__item.open .faq-accordion__answer {
    display: block;
    padding-top: 16px;
}

.faq-accordion__answer ul {
    padding-left: 20px;
    margin: 8px 0;
}

.faq-accordion__answer li {
    margin-bottom: 6px;
}

.faq-accordion__answer p {
    margin-bottom: 8px;
}

.faq-accordion__answer p:last-child {
    margin-bottom: 0;
}

/* Tags */
.faq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 16px;
}

.faq-tag {
    display: inline-block;
    border-radius: var(--radius-sm);
    padding: 4px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.faq-tag--bad {
    background: #fdecea;
    color: #c62828;
}

.faq-tag--good {
    background: #e8f5e9;
    color: #2e7d32;
}

@media (max-width: 768px) {
    .faq-page {
        padding-top: 40px;
        padding-bottom: 48px;
    }

    .faq-checklist {
        padding: 20px;
    }

    .faq-step {
        padding: 16px;
    }

    .faq-accordion__question {
        padding: 16px 20px;
    }

    .faq-accordion__answer {
        padding: 0 20px 16px;
    }

    .faq-accordion__item.open .faq-accordion__answer {
        padding-top: 12px;
    }
}
