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

:root {
    --blue: #1677ff;
    --blue-dark: #0b5ed7;
    --blue-soft: #eaf3ff;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --text: #172033;
    --muted: #6b7280;
    --card: #ffffff;
    --radius: 30px;
    --shadow: 0 24px 70px rgba(15, 40, 90, 0.1);
    --shadow-soft: 0 14px 38px rgba(15, 40, 90, 0.08);
    --container-max: 1180px;
    --header-height: 76px;
    --header-scroll-offset: calc(var(--header-height) + 24px);
    --font-base:
        "Montserrat",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-base);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-padding-top: var(--header-scroll-offset);
}

body {
    font-family: var(--font-base);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

button,
input,
textarea,
select {
    font: inherit;
    font-family: var(--font-base);
}

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

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

[id] {
    scroll-margin-top: var(--header-scroll-offset);
}

.container {
    width: min(100% - 40px, var(--container-max));
    margin-inline: auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 40, 90, 0.08);
    box-shadow: 0 10px 28px rgba(15, 40, 90, 0.06);
}

.header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 900;
    font-size: clamp(18px, 2vw, 22px);
    letter-spacing: -0.04em;
    line-height: 1;
    min-width: 0;
    flex-shrink: 0;
}

.logo-img {
    width: 42px;
    height: 42px;
    min-width: 42px;
    object-fit: contain;
    object-position: center;
    display: block;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
    overflow: visible;
    transform: translateY(0);
}

.logo span {
    display: block;
    font-weight: 800;
    color: var(--text);
    line-height: 0.92;
}

.footer .logo-img,
.footer-logo .logo-img,
.footer-logo img {
    width: 42px;
    height: 42px;
    min-width: 42px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
}

.brand,
.brand-icon,
.logo-mark,
.logo-badge,
.footer-logo {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    box-shadow: none;
}

.brand-icon img,
.logo-mark img,
.logo-badge img {
    width: 42px;
    height: 42px;
    min-width: 42px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #374151;
    font-weight: 700;
    font-size: 15px;
}

.nav a:hover {
    color: var(--blue);
}

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

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(15, 40, 90, 0.12);
    border-radius: 16px;
    background: white;
    color: var(--text);
    box-shadow: 0 10px 25px rgba(15, 40, 90, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: 0.2s ease;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: 0.2s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 14px 34px rgba(22, 119, 255, 0.32);
}

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

.btn[disabled],
.btn-disabled {
    background: linear-gradient(135deg, #9abcf5, #7fa8f2);
    color: white;
    box-shadow: 0 14px 34px rgba(127, 168, 242, 0.24);
    cursor: not-allowed;
    pointer-events: none;
}

.btn[disabled]:hover,
.btn-disabled:hover {
    background: linear-gradient(135deg, #9abcf5, #7fa8f2);
    transform: none;
}

.btn-outline {
    background: white;
    color: var(--blue);
    border: 1px solid rgba(22, 119, 255, 0.25);
}

.btn-outline:hover {
    background: var(--blue-soft);
    transform: translateY(-1px);
}

.btn-white {
    background: white;
    color: var(--blue);
    box-shadow: 0 14px 34px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    transform: translateY(-1px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.38);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.hero {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(22, 119, 255, 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 80% 8%,
            rgba(101, 182, 255, 0.15),
            transparent 28%
        ),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    padding: 96px 0 76px;
}

.hero-inner {
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 900;
    margin-bottom: 22px;
    width: fit-content;
    max-width: 100%;
    justify-self: center;
    margin-inline: auto;
}

.eyebrow-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(22, 119, 255, 0.1),
        rgba(56, 189, 248, 0.14)
    );
    color: var(--blue);
    box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.08);
    flex: 0 0 auto;
}

.eyebrow-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.07em;
    max-width: 930px;
    margin: 0 auto 24px;
}

.hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 21px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero-visual {
    margin: 70px auto 0;
    position: relative;
    min-height: 480px;
    max-width: 980px;
}

.phone-wrap {
    width: 300px;
    height: 600px;
    margin: 0 auto;
    border-radius: 48px;
    padding: 14px;
    background: linear-gradient(145deg, #111827, #344054);
    box-shadow: 0 45px 100px rgba(15, 40, 90, 0.28);
    transform: rotate(-8deg);
    position: relative;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 38px;
    background: #f8fbff;
    overflow: hidden;
}

.phone-top {
    padding: 22px 18px 12px;
    background: linear-gradient(135deg, var(--blue), #62b5ff);
    color: white;
}

.phone-top small {
    opacity: 0.9;
    font-weight: 800;
}

.phone-top h3 {
    font-size: 25px;
    letter-spacing: -0.04em;
    margin-top: 6px;
}

.search-pill {
    margin-top: 16px;
    background: white;
    color: #6b7280;
    border-radius: 18px;
    padding: 13px 14px;
    font-size: 13px;
    font-weight: 800;
}

.phone-content {
    padding: 16px;
}

.service-card {
    background: white;
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 8px 25px rgba(15, 40, 90, 0.08);
    margin-bottom: 12px;
}

.service-image {
    height: 84px;
    border-radius: 18px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    margin-bottom: 12px;
}

.service-title {
    height: 12px;
    width: 70%;
    background: #1f2937;
    border-radius: 20px;
    margin-bottom: 8px;
}

.service-line {
    height: 10px;
    width: 48%;
    background: #d1d5db;
    border-radius: 20px;
}

.floating {
    position: absolute;
    background: white;
    border-radius: 24px;
    padding: 18px 20px;
    box-shadow: var(--shadow);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.floating span:not(.mockup-badge-icon) {
    font-size: 16px;
}

.float-1 {
    left: 70px;
    top: 70px;
}
.float-2 {
    right: 70px;
    top: 120px;
}
.float-3 {
    left: 135px;
    bottom: 95px;
}
.float-4 {
    right: 120px;
    bottom: 70px;
}

.section {
    padding: 96px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-title {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 54px;
}

.section-title h2 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.06em;
    margin-bottom: 18px;
}

.section-title p {
    color: var(--muted);
    font-size: 19px;
    font-weight: 600;
}

.section-title-left {
    text-align: left;
    margin: 0 0 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

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

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

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 40, 90, 0.06);
    transition: 0.22s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon,
.badge-icon,
.mockup-badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(22, 119, 255, 0.1),
        rgba(56, 189, 248, 0.14)
    );
    color: var(--blue);
    box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.08);
    flex: 0 0 auto;
}

.feature-icon {
    margin-bottom: 22px;
}

.feature-icon svg,
.badge-icon svg,
.mockup-badge-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mockup-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
}

.mockup-badge-icon svg {
    width: 16px;
    height: 16px;
}

.card h3 {
    font-size: 23px;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
    font-weight: 600;
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
    align-items: center;
}

.mockup-card {
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(255, 255, 255, 0.9),
            transparent 28%
        ),
        linear-gradient(135deg, #dceeff, #f8fbff);
    border-radius: 42px;
    padding: 44px;
    min-height: 520px;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-soft);
}

.mini-phone {
    width: 245px;
    height: 490px;
    border-radius: 42px;
    padding: 12px;
    background: #111827;
    box-shadow: 0 30px 80px rgba(15, 40, 90, 0.25);
}

.mini-screen {
    height: 100%;
    border-radius: 32px;
    background: white;
    overflow: hidden;
    padding: 18px;
}

.profile-cover {
    height: 110px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--blue), #80c7ff);
    margin-bottom: 44px;
    position: relative;
}

.avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: white;
    border: 6px solid white;
    position: absolute;
    left: 18px;
    bottom: -34px;
    box-shadow: 0 12px 28px rgba(15, 40, 90, 0.16);
}

.mock-line {
    height: 14px;
    border-radius: 20px;
    background: #e5e7eb;
    margin-bottom: 12px;
}

.mock-line.dark {
    background: #1f2937;
    width: 70%;
}

.benefits {
    display: grid;
    gap: 16px;
    margin: 28px 0;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: white;
    border: 1px solid rgba(15, 40, 90, 0.08);
    border-radius: 22px;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(15, 40, 90, 0.05);
}

.check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.check svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.download-card {
    min-height: 360px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(22, 119, 255, 0.16),
            transparent 36%
        ),
        white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.app-icon {
    width: 128px;
    height: 128px;
    border-radius: 34px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 22px 45px rgba(22, 119, 255, 0.28);
    margin-bottom: 22px;
}

#download .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    align-items: stretch;
}

#download .download-card {
    width: 100%;
    height: 100%;
    min-height: 360px;
    padding: 38px 32px;
    justify-content: flex-start;
    gap: 28px;
    text-align: center;
    align-items: center;
}

#download .download-card > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

#download .download-card h3,
#download .download-card p {
    width: 100%;
    margin: 0;
    text-align: center;
}

#download .download-card .app-icon {
    width: 112px;
    height: 112px;
    display: block;
    align-self: center;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    position: static;
    transform: none;
    object-position: center;
}

#download .download-card .btn {
    display: inline-flex;
    justify-content: center;
    margin-inline: auto;
}

.support-box {
    border-radius: 42px;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(255, 255, 255, 0.4),
            transparent 30%
        ),
        linear-gradient(135deg, var(--blue), #61b4ff);
    padding: 60px;
    color: white;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    box-shadow: 0 30px 90px rgba(22, 119, 255, 0.28);
}

.support-box h2 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.06em;
    margin-bottom: 18px;
}

.support-box p {
    font-size: 19px;
    opacity: 0.92;
    max-width: 580px;
    margin-bottom: 28px;
}

.support-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
}

.support-card {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 24px;
}

.chat-bubble {
    background: white;
    color: var(--text);
    border-radius: 22px;
    padding: 16px;
    margin-bottom: 14px;
    font-weight: 800;
}

.chat-bubble.blue {
    background: #0b5ed7;
    color: white;
    margin-left: 28px;
}

.cta {
    background: #0b1220;
    color: white;
    padding: 96px 0;
}

.cta-box {
    border-radius: 44px;
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(96, 165, 250, 0.55),
            transparent 32%
        ),
        linear-gradient(135deg, #1677ff, #0b5ed7);
    padding: 70px;
    text-align: center;
    box-shadow: 0 35px 100px rgba(22, 119, 255, 0.3);
}

.cta h2 {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.07em;
    max-width: 850px;
    margin: 0 auto 18px;
}

.cta p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    max-width: 720px;
    margin: 0 auto 32px;
}

.footer {
    background: #f8fafc;
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 34px;
    margin-bottom: 44px;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-copy {
    color: var(--muted);
    font-weight: 700;
    max-width: 320px;
    line-height: 1.6;
}

.footer h4 {
    margin-bottom: 16px;
    font-size: 17px;
}

.footer a {
    display: block;
    color: var(--muted);
    margin-bottom: 10px;
    font-weight: 700;
}

.footer a:hover {
    color: var(--blue);
}

.footer-bottom {
    border-top: 1px solid rgba(15, 40, 90, 0.08);
    padding-top: 22px;
    color: var(--muted);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Download pages */

.download-page {
    background: #f5f7fb;
}

.download-hero {
    padding: 34px 0 80px;
}

.breadcrumbs {
    color: #707989;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 28px;
}

.info-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #dbeafe;
    color: #1f2937;
    border-radius: 20px;
    padding: 17px 20px;
    font-weight: 800;
    margin-bottom: 70px;
}

.info-alert-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: white;
    flex: 0 0 auto;
}

.info-alert-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.download-title {
    text-align: center;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.07em;
    margin-bottom: 54px;
}

.platform-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 52px;
}

.platform-icon,
.download-hero-icon {
    width: 118px;
    height: 118px;
    border-radius: 28px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    flex: 0 0 auto;
}

.platform-icon img,
.download-hero-icon img,
.download-hero-icon svg,
.download-app-mark {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.download-hero-ios .download-title {
    margin-bottom: 0;
}

.download-hero-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 36px auto 52px;
}

.platform-icon img,
.download-hero-icon img {
    border-radius: 18px;
}

.download-hero-icon.apple-icon {
    color: #1f2937;
}

.download-hero-ios .download-status-panel {
    text-align: center;
}

.download-app-icon {
    color: var(--blue);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 46%),
        linear-gradient(135deg, rgba(22, 119, 255, 0.14), rgba(56, 189, 248, 0.24));
    box-shadow:
        0 18px 42px rgba(22, 119, 255, 0.16),
        inset 0 0 0 1px rgba(22, 119, 255, 0.1);
}

.download-app-mark {
    color: var(--blue);
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.download-hero-android .download-app-icon {
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.download-hero-android .download-app-mark {
    width: 64px;
    height: 64px;
    color: #1677ff;
    stroke: none;
}

.download-main-btn {
    display: flex;
    justify-content: center;
}

.download-main-btn .btn,
.download-disabled-button {
    min-width: min(100%, 280px);
}

.apk-download-btn,
.download-disabled-button {
    gap: 10px;
    min-height: 56px;
    padding: 0 34px;
}

.download-disabled-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(
        135deg,
        rgba(22, 119, 255, 0.72),
        rgba(37, 99, 235, 0.72)
    );
    color: #fff;
    font-weight: 800;
    cursor: not-allowed;
    opacity: 0.78;
    box-shadow: 0 18px 42px rgba(22, 119, 255, 0.18);
    pointer-events: none;
    white-space: nowrap;
}

.install-title {
    text-align: center;
    font-size: 30px;
    letter-spacing: -0.04em;
    margin: 16px 0 42px;
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.install-card {
    overflow: hidden;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 40, 90, 0.06);
}

.install-visual {
    min-height: 260px;
    background: #eef2f7;
    display: grid;
    place-items: center;
    padding: 30px;
    position: relative;
}

.install-text {
    padding: 26px 28px 30px;
    font-size: 17px;
    font-weight: 700;
    color: #374151;
}

.phone-frame {
    width: 170px;
    height: 245px;
    border: 6px solid var(--blue);
    border-radius: 36px;
    background: linear-gradient(180deg, #f8fbff, #dbeafe);
    position: relative;
}

.dialog {
    position: absolute;
    width: min(calc(100% - 24px), 270px);
    padding: 18px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 18px 45px rgba(15, 40, 90, 0.16);
    font-size: 13px;
    font-weight: 800;
    color: #1f2937;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.dialog-title {
    font-size: 16px;
    margin-bottom: 7px;
}

.dialog-actions {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    color: var(--blue);
    font-size: 12px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 22px;
    background: white;
    color: var(--blue);
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(15, 40, 90, 0.06);
}

body.menu-open {
    overflow: hidden;
}

.download-section-title {
    margin-bottom: 26px;
}

.download-status-panel {
    max-width: 720px;
    margin: 0 auto;
}

.download-status-panel .section-title {
    max-width: 640px;
    margin: 0 auto 30px;
}

.download-status-panel .section-title h2 {
    margin-bottom: 20px;
}

.download-status-panel .section-title p {
    max-width: 620px;
    margin: 0 auto;
}

.android-download-panel {
    margin-bottom: 42px;
}

.android-download-panel .section-title {
    margin-bottom: 0;
}

.download-status-panel .download-main-btn {
    margin-bottom: 32px;
}

.android-download-panel .download-main-btn {
    margin-bottom: 48px;
}

.download-hero-android .download-lead {
    margin: 0 auto;
    max-width: 620px;
}

.ios-download-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.download-hero-android .android-download-panel .download-main-btn {
    margin-top: 28px;
    margin-bottom: 64px;
}

.apk-download-btn {
    font-weight: 900;
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.download-note {
    text-align: center;
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
    max-width: 560px;
    margin: 0 auto;
}

.android-instructions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.android-instruction {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 26px;
    padding: 24px;
    border: 1px solid rgba(15, 40, 90, 0.06);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.install-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 119, 255, 0.1);
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
    flex: 0 0 auto;
}

.step-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(22, 119, 255, 0.1),
        rgba(56, 189, 248, 0.16)
    );
    color: var(--blue);
    box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.08);
    flex: 0 0 auto;
}

.step-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.android-instruction h3 {
    font-size: 20px;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.android-instruction p {
    color: var(--muted);
    font-weight: 600;
}

@media (max-width: 1024px) {
    :root {
        --header-height: 80px;
    }

    .header {
        overflow: visible;
        background: #ffffff;
        backdrop-filter: blur(18px);
        box-shadow: 0 10px 28px rgba(15, 40, 90, 0.06);
    }

    .header-inner {
        min-height: 0;
        height: var(--header-height);
        padding: 0;
        gap: 14px;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .header-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.99);
        border: 1px solid rgba(15, 40, 90, 0.08);
        border-radius: 28px;
        box-shadow: 0 26px 60px rgba(15, 40, 90, 0.12);
    }

    .header.is-menu-open .header-menu {
        display: flex;
    }

    .header.is-menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .header.is-menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .header.is-menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav,
    .header-actions {
        width: 100%;
    }

    .nav {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav a {
        padding: 16px 18px;
        border-radius: 20px;
        background: var(--bg-soft);
        font-size: 17px;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions .btn {
        width: 100%;
        min-height: 54px;
        font-size: 16px;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .split,
    .support-box,
    .footer-grid,
    .install-grid {
        grid-template-columns: 1fr;
    }

    .android-instructions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-inner {
        display: grid;
        gap: 40px;
    }

    .hero-visual {
        min-height: auto;
        max-width: 460px;
        margin-top: 0;
        display: grid;
        place-items: center;
    }

    .floating {
        max-width: 250px;
        padding: 16px 18px;
    }

    .phone-wrap {
        width: min(78vw, 360px);
        height: auto;
        max-width: 100%;
        aspect-ratio: 1 / 2;
        transform: rotate(-3deg);
    }

    .mockup-card {
        min-height: auto;
        padding: 40px 34px;
    }

    .support-box,
    .cta-box {
        padding: 48px 34px;
        text-align: center;
    }

    .section-title-left {
        text-align: center;
        margin: 0 0 32px;
    }

    .support-actions {
        justify-content: center;
    }

    .support-card {
        width: min(100%, 520px);
        margin-inline: auto;
    }

    .footer-grid {
        gap: 28px;
    }

    .download-hero-icons {
        gap: 18px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-visual {
        width: 100%;
        max-width: 480px;
        margin-inline: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        overflow: visible;
    }

    .phone-wrap {
        width: min(68vw, 360px);
        transform: rotate(0);
        margin-inline: auto;
    }

    .mockup-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .mockup-badges .floating {
        position: static !important;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100%;
        min-width: 0;
        justify-content: center;
        padding: 14px 16px;
        border-radius: 18px;
        font-size: 14px;
        line-height: 1.18;
        text-align: center;
        white-space: normal;
    }

    .mockup-badges .floating span:not(.mockup-badge-icon) {
        font-size: 14px;
    }

    .mockup-badges .mockup-badge-icon {
        width: 28px;
        height: 28px;
    }

    #masters .split {
        gap: 40px;
    }

    #masters .split > div:last-child {
        width: 100%;
        max-width: 720px;
        margin-inline: auto;
    }

    #masters .btn {
        display: flex;
        width: fit-content;
        max-width: 100%;
        min-height: 56px;
        margin: 0 auto;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container,
    .section-inner,
    .hero-inner,
    .download-container,
    .support-container,
    .footer-inner {
        width: min(100% - 32px, 560px);
        margin-left: auto;
        margin-right: auto;
    }

    [id] {
        scroll-margin-top: var(--header-scroll-offset);
    }

    .header-inner,
    .section-title,
    .hero-visual,
    .mockup-card,
    .support-box,
    .cta-box,
    .download-status-panel,
    .android-download-panel,
    .support-card,
    .grid-4,
    .grid-3,
    .grid-2,
    .benefits,
    .install-grid,
    .android-instructions,
    .footer-grid {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }

    .hero {
        padding: 32px 0 64px;
    }

    .hero-inner {
        justify-items: center;
        text-align: center;
    }

    .hero-buttons {
        gap: 12px;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        width: 100%;
        max-width: 360px;
        margin: 32px auto 0;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 360px;
        min-height: 56px;
        margin-inline: auto;
        font-size: 16px;
    }

    .hero h1 {
        font-size: clamp(38px, 7vw, 52px);
        line-height: 1.08;
        letter-spacing: -0.05em;
        max-width: 560px;
        margin-bottom: 20px;
        text-wrap: balance;
    }

    .hero p,
    .section-title p,
    .card p,
    .support-box p,
    .cta p,
    .install-text,
    .android-instruction p {
        font-size: clamp(18px, 4.8vw, 22px);
        line-height: 1.5;
    }

    .hero-visual {
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        overflow: visible;
    }

    .phone-wrap {
        width: min(78vw, 320px);
        padding: 12px;
        border-radius: 42px;
        transform: rotate(0);
        margin-inline: auto;
    }

    .mockup-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .mockup-badges .floating {
        position: static !important;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100%;
        min-width: 0;
        justify-content: center;
        padding: 10px 12px;
        border-radius: 16px;
        font-size: 13px;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    .mockup-badges .floating span:not(.mockup-badge-icon) {
        font-size: 13px;
    }

    .mockup-badges .mockup-badge-icon {
        width: 26px;
        height: 26px;
    }

    .mockup-badges .mockup-badge-icon svg {
        width: 14px;
        height: 14px;
    }

    .section {
        padding: 84px 0;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .benefits,
    .android-instructions,
    .install-grid,
    .footer-grid {
        justify-items: stretch;
    }

    .card,
    .android-instruction,
    .support-card,
    .install-card,
    .download-card,
    .benefit,
    .download-status-panel,
    .android-download-panel,
    .mockup-card,
    .support-box,
    .cta-box {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        min-height: 220px;
        padding: 32px 28px;
        border-radius: 32px;
    }

    .mockup-card {
        padding: 34px 24px;
        min-height: auto;
        border-radius: 34px;
    }

    .mini-phone {
        width: min(100%, 260px);
        height: auto;
        aspect-ratio: 1 / 2;
    }

    .download-card {
        min-height: 240px;
        gap: 18px;
        text-align: center;
        align-items: center;
    }

    .download-card > div {
        width: 100%;
    }

    #download .grid-2 {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    #download .download-card {
        width: 100%;
        max-width: 560px;
        min-height: 416px;
        padding: 32px 28px;
        margin-inline: auto;
    }

    #download .download-card > div {
        gap: 24px;
    }

    .download-card .btn,
    .download-main-btn .btn,
    .download-disabled-button,
    .support-actions .btn,
    #masters .btn {
        display: flex;
        width: 100%;
        max-width: 360px;
        min-height: 56px;
        margin-inline: auto;
        justify-content: center;
    }

    .support-box {
        padding: 40px 26px;
        border-radius: 36px;
    }

    .cta {
        padding: 84px 0;
    }

    .cta-box {
        padding: 40px 26px;
        border-radius: 36px;
    }

    .download-hero {
        padding: 24px 0 56px;
    }

    .download-main-btn,
    .support-actions,
    .platform-icons,
    .download-hero-icons {
        width: 100%;
        justify-content: center;
        margin-inline: auto;
    }

    .info-alert {
        align-items: flex-start;
        margin-bottom: 36px;
        padding: 20px;
        border-radius: 24px;
    }

    .download-title {
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.05;
        margin-bottom: 32px;
    }

    .install-title {
        font-size: clamp(30px, 8vw, 44px);
        line-height: 1.12;
        letter-spacing: -0.05em;
        margin-bottom: 30px;
    }

    .install-visual {
        min-height: 240px;
        padding: 28px;
    }

    .install-text {
        padding: 0;
        color: var(--muted);
    }

    .section-title {
        margin-bottom: 36px;
    }

    .section-title h2,
    .support-box h2,
    .cta h2 {
        font-size: clamp(30px, 8vw, 44px);
        line-height: 1.12;
        letter-spacing: -0.05em;
    }

    .card h3,
    .android-instruction h3 {
        font-size: clamp(28px, 7vw, 36px);
        line-height: 1.1;
        margin-bottom: 14px;
    }

    .feature-icon,
    .badge-icon {
        width: 68px;
        height: 68px;
        border-radius: 20px;
        margin-bottom: 28px;
    }

    .feature-icon svg,
    .badge-icon svg {
        width: 30px;
        height: 30px;
    }

    .benefit {
        padding: 24px 22px;
        border-radius: 28px;
        font-size: clamp(18px, 4.8vw, 22px);
        line-height: 1.45;
    }

    .check {
        width: 36px;
        height: 36px;
    }

    .support-actions .btn {
        max-width: 360px;
    }

    .support-card {
        display: grid;
        gap: 14px;
    }

    .chat-bubble,
    .chat-bubble.blue {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    .chat-bubble {
        font-size: 18px;
        line-height: 1.45;
    }

    .footer {
        padding: 52px 0 28px;
    }

    .footer h4 {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .footer a,
    .footer-copy,
    .footer-bottom {
        font-size: 16px;
        line-height: 1.6;
    }

    .footer-bottom {
        display: grid;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 72px;
    }

    .header-inner {
        height: var(--header-height);
        min-height: 0;
        padding: 0;
    }

    .header-menu {
        padding: 18px;
        border-radius: 24px;
    }

    .btn {
        min-height: 52px;
        padding: 0 18px;
        font-size: 15px;
    }

    .logo {
        gap: 10px;
        font-size: 19px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .hero {
        padding-top: 28px;
    }

    .eyebrow {
        padding: 10px 14px;
        margin-bottom: 18px;
    }

    .hero-buttons,
    .download-main-btn,
    .support-actions {
        width: 100%;
    }

    .hero-buttons .btn,
    .download-main-btn .btn,
    .download-disabled-button,
    .support-actions .btn,
    #masters .btn {
        width: 100%;
    }

    .phone-wrap {
        width: min(82vw, 320px);
        padding: 10px;
    }

    .phone-top h3 {
        font-size: 21px;
    }

    .search-pill {
        font-size: 12px;
    }

    .card,
    .android-instruction,
    .support-card,
    .mockup-card,
    .support-box,
    .cta-box,
    .install-card {
        padding: 30px 24px;
    }

    .benefit {
        padding: 20px;
    }

    .app-icon {
        width: 104px;
        height: 104px;
        border-radius: 28px;
    }

    #download .download-card {
        min-height: 440px;
        padding: 30px 24px;
    }

    #download .download-card > div {
        gap: 22px;
    }

    #download .download-card .app-icon {
        width: 96px;
        height: 96px;
    }

    .platform-icons,
    .download-hero-icons {
        gap: 14px;
    }

    .download-hero-icons {
        margin: 28px auto 42px;
    }

    .platform-icon,
    .download-hero-icon {
        width: 96px;
        height: 96px;
        border-radius: 24px;
    }

    .platform-icons {
        margin-bottom: 42px;
    }

    .platform-icon img,
    .download-hero-icon img,
    .download-hero-icon svg {
        width: 54px;
        height: 54px;
    }

    .platform-icon img,
    .download-hero-icon img {
        border-radius: 16px;
    }

    .download-app-mark {
        width: 52px;
        height: 52px;
    }

    .download-disabled-button {
        width: 100%;
        max-width: 320px;
    }

    .download-hero-android .download-main-btn {
        margin-top: 22px;
        margin-bottom: 44px;
    }

    .phone-frame {
        width: min(100%, 184px);
        height: 260px;
    }

    .dialog {
        font-size: 12px;
    }

    .step-number {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .android-instructions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    :root {
        --header-height: 70px;
    }

    .container,
    .section-inner,
    .hero-inner,
    .download-container,
    .support-container,
    .footer-inner {
        width: min(100% - 24px, 560px);
    }

    .logo {
        gap: 9px;
        font-size: 17px;
    }

    .logo-img {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .eyebrow {
        width: fit-content;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }

    .card,
    .android-instruction,
    .support-box,
    .cta-box,
    .support-card,
    .mockup-card,
    .install-card {
        padding: 28px 20px;
    }

    .platform-icon,
    .download-hero-icon {
        width: 88px;
        height: 88px;
        border-radius: 22px;
    }

    .platform-icon img,
    .download-hero-icon img,
    .download-hero-icon svg,
    .download-app-mark {
        width: 48px;
        height: 48px;
    }

    .platform-icon img,
    .download-hero-icon img {
        border-radius: 14px;
    }
}

@media (max-width: 1024px) {
    .grid-4,
    .grid-3,
    .install-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    #download .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #clients .grid-4,
    #salons .grid-4,
    #features .grid-3,
    #download .grid-2,
    .android-instructions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    #clients .card,
    #salons .card,
    #features .card,
    #download .download-card,
    .android-instruction {
        min-height: 0;
        padding: 24px 20px;
        border-radius: 28px;
    }

    #clients .card h3,
    #salons .card h3,
    #features .card h3,
    #download .download-card h3,
    .android-instruction h3 {
        font-size: 20px;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    #clients .card p,
    #salons .card p,
    #features .card p,
    #download .download-card p,
    .android-instruction p {
        font-size: 15px;
        line-height: 1.4;
    }

    #clients .feature-icon,
    #salons .feature-icon,
    #features .feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    #clients .feature-icon svg,
    #salons .feature-icon svg,
    #features .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .benefit {
        min-height: 126px;
        padding: 18px 16px;
        gap: 12px;
        border-radius: 24px;
        font-size: 16px;
        line-height: 1.25;
    }

    .check {
        width: 30px;
        height: 30px;
    }

    .check svg {
        width: 14px;
        height: 14px;
    }

    #download .download-card {
        gap: 20px;
    }

    #download .download-card > div {
        gap: 16px;
    }

    #download .download-card .app-icon {
        width: 88px;
        height: 88px;
        border-radius: 24px;
    }

    .android-instruction {
        min-height: 196px;
    }

    .install-step-top {
        margin-bottom: 14px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .step-icon {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .step-icon svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 64px 0;
    }

    .hero h1,
    .download-title {
        font-size: clamp(30px, 8vw, 38px);
        line-height: 1.12;
        letter-spacing: -0.04em;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        text-wrap: balance;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: none;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .section-title h2,
    .support-box h2,
    .cta h2 {
        font-size: clamp(28px, 7.2vw, 36px);
        line-height: 1.14;
        letter-spacing: -0.035em;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        text-wrap: balance;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: none;
    }

    .hero p,
    .section-title p,
    .support-box p,
    .cta p,
    .download-note,
    .download-status-panel .section-title p,
    .download-lead {
        font-size: 16px;
        line-height: 1.45;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .phone-wrap {
        width: min(82vw, 320px);
        padding: 10px;
    }

    .mockup-badges {
        width: 100%;
        max-width: 360px;
    }

    #clients .grid-4,
    #salons .grid-4,
    #features .grid-3,
    .benefits,
    .android-instructions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #download .grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #clients .card,
    #salons .card,
    #features .card,
    .android-instruction {
        padding: 18px 16px;
        border-radius: 22px;
    }

    #clients .card h3,
    #salons .card h3,
    #features .card h3,
    #download .download-card h3,
    .android-instruction h3 {
        font-size: 18px;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    #clients .card p,
    #salons .card p,
    #features .card p,
    #download .download-card p {
        font-size: 14px;
        line-height: 1.35;
    }

    .android-instruction p {
        font-size: 13px;
        line-height: 1.35;
    }

    #clients .feature-icon,
    #salons .feature-icon,
    #features .feature-icon,
    .step-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    #clients .feature-icon,
    #salons .feature-icon,
    #features .feature-icon {
        margin-bottom: 14px;
    }

    #clients .feature-icon svg,
    #salons .feature-icon svg,
    #features .feature-icon svg,
    .step-icon svg {
        width: 20px;
        height: 20px;
    }

    .benefit {
        min-height: 118px;
        padding: 18px 16px;
        border-radius: 22px;
        font-size: 15px;
        line-height: 1.2;
    }

    .check {
        width: 28px;
        height: 28px;
    }

    .check svg {
        width: 13px;
        height: 13px;
    }

    #download .download-card {
        min-height: 0;
        padding: 24px 20px;
        border-radius: 28px;
        gap: 16px;
    }

    #download .download-card > div {
        gap: 14px;
    }

    #download .download-card .app-icon {
        width: 84px;
        height: 84px;
        border-radius: 22px;
    }

    .android-instruction {
        min-height: 188px;
        padding: 16px;
    }

    .install-step-top {
        margin-bottom: 12px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .hero h1,
    .download-title {
        font-size: 28px;
        line-height: 1.12;
        max-width: 300px;
    }

    .section-title h2,
    .support-box h2,
    .cta h2 {
        font-size: 26px;
        line-height: 1.14;
        max-width: 320px;
    }

    .mockup-badges {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 320px;
    }

    #clients .grid-4,
    #salons .grid-4,
    #features .grid-3,
    .benefits,
    .android-instructions {
        grid-template-columns: 1fr;
    }

    .benefit,
    .android-instruction,
    #download .download-card {
        min-height: 0;
    }
}

/* FINAL SITE LOGO FIX */
.site-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: #111827 !important;
    position: relative !important;
    z-index: 50 !important;
    min-height: 44px !important;
    flex: 0 0 auto !important;
}

.site-logo-img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
    position: relative !important;
    z-index: 51 !important;
}

.site-logo-text {
    display: inline-block !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    color: #111827 !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap !important;
}

.footer-site-logo {
    margin-bottom: 16px !important;
}

.app-icon {
    object-fit: contain !important;
    object-position: center !important;
}

.download-hero-logo {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    border-radius: 16px !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    .download-hero-logo {
        width: 54px !important;
        height: 54px !important;
    }
}

.legal-page {
    background:
        linear-gradient(
            180deg,
            rgba(232, 240, 255, 0.92) 0,
            rgba(246, 248, 252, 0.98) 240px,
            #f6f8fc 100%
        );
    min-height: calc(100vh - var(--header-height));
    padding-bottom: 72px;
}

.legal-shell {
    width: min(100%, 920px);
    margin: 0 auto;
}

.legal-hero {
    padding: 56px 0 24px;
}

.legal-back-link {
    margin-bottom: 18px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 800;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(36, 89, 255, 0.08);
    color: #2459ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.legal-title {
    max-width: 720px;
    margin: 18px 0 0;
    color: #17284d;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.legal-lead {
    max-width: 700px;
    margin: 18px 0 0;
    color: #627594;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
}

.legal-section {
    padding: 0;
}

.legal-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(190, 208, 242, 0.92);
    box-shadow: 0 24px 64px rgba(15, 40, 90, 0.08);
}

.legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.legal-content {
    color: #405373;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}

.legal-content > p,
.legal-content > ul,
.legal-content > ol,
.legal-content > section > * {
    max-width: 74ch;
}

.legal-content a {
    color: #2459ff;
}

.legal-content section + section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(191, 210, 255, 0.55);
}

.legal-content h2 {
    margin: 0 0 14px;
    color: #17284d;
    font-size: 26px;
    line-height: 1.22;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.legal-content h3 {
    margin: 20px 0 10px;
    color: #203a67;
    font-size: 18px;
    line-height: 1.34;
    font-weight: 700;
}

.legal-content p,
.legal-content li {
    color: #405373;
    font-weight: 400;
}

.legal-content p {
    margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.legal-content li {
    margin-bottom: 9px;
}

.legal-content li::marker {
    color: #7b92c7;
}

.legal-pdf-frame {
    width: 100%;
    min-height: 72vh;
    border: 1px solid rgba(191, 210, 255, 0.9);
    border-radius: 24px;
    background: #f8fbff;
}

@media (max-width: 768px) {
    .legal-page {
        padding-bottom: 56px;
    }

    .legal-hero {
        padding: 34px 0 18px;
    }

    .legal-title {
        max-width: 100%;
        font-size: clamp(32px, 11vw, 46px);
    }

    .legal-lead {
        font-size: 16px;
    }

    .legal-card {
        padding: 24px;
        border-radius: 24px;
    }

    .legal-content {
        font-size: 15px;
    }

    .legal-content h2 {
        font-size: 22px;
    }

    .legal-actions {
        flex-direction: column;
    }

    .legal-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .legal-pdf-frame {
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    .site-logo-img {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
    }

    .site-logo-text {
        font-size: 17px !important;
    }

    .download-hero-logo {
        width: 54px !important;
        height: 54px !important;
    }
}

body.legal-body {
    background: #f6f8fc;
}

.legal-page {
    background: #f6f8fc;
    min-height: 100vh;
    padding: 36px 20px 80px;
}

.legal-page .legal-hero,
.legal-page .legal-section {
    max-width: 960px;
    margin: 0 auto;
}

.legal-page .legal-hero {
    padding: 36px 0 24px;
}

.legal-page .back-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff;
    color: #1f6feb;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 28px;
}

.legal-page .legal-eyebrow {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.legal-page h1 {
    max-width: 900px;
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.legal-page .legal-lead {
    max-width: 820px;
    margin: 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;
}

.legal-page .legal-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 44px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 30px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.1);
}

.legal-page .legal-content {
    max-width: 820px;
    margin: 0 auto;
    color: #1e293b;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
}

.legal-page .legal-content h2 {
    margin: 34px 0 14px;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.legal-page .legal-content p {
    margin: 0 0 16px;
    font-weight: 400;
}

.legal-page .legal-content ul,
.legal-page .legal-content ol {
    margin: 0 0 18px 22px;
    padding: 0;
}

.legal-page .legal-content li {
    margin: 8px 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 24px 16px 56px;
    }

    .legal-page .legal-card {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .legal-page h1 {
        font-size: 34px;
    }

    .legal-page .legal-lead {
        font-size: 16px;
    }
}

/* Master share fallback page */
.master-fallback-main {
  min-height: calc(100vh - 92px);
  padding: 110px 20px 90px;
  background:
    radial-gradient(circle at 20% 10%, rgba(31, 111, 235, 0.10), transparent 34%),
    linear-gradient(180deg, #f6f8fc 0%, #ffffff 100%);
}

.master-fallback-main > .container {
  max-width: 960px;
  margin: 0 auto;
}

.master-fallback-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.12);
}

.master-fallback-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1f6feb;
  font-size: 14px;
  font-weight: 800;
}

.master-fallback-title {
  max-width: 660px;
  margin: 0 0 20px;
  color: #0f172a;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.master-fallback-copy {
  max-width: 620px;
  margin: 0 0 24px;
  color: #475569;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
}

.master-fallback-status {
  margin: 28px 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
}

.master-fallback-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.master-fallback-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 56px;
}

.master-fallback-help {
  margin: 24px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

@media (max-width: 768px) {
  .master-fallback-main {
    padding: 70px 16px 60px;
  }

  .master-fallback-panel {
    padding: 34px 22px;
    border-radius: 26px;
  }

  .master-fallback-title {
    font-size: 38px;
  }

  .master-fallback-copy {
    font-size: 16px;
  }

  .master-fallback-actions {
    grid-template-columns: 1fr;
  }
}


/* Master share fallback page */
.master-fallback-main {
  min-height: calc(100vh - 92px);
  padding: 110px 20px 90px;
  background:
    radial-gradient(circle at 20% 10%, rgba(31, 111, 235, 0.10), transparent 34%),
    linear-gradient(180deg, #f6f8fc 0%, #ffffff 100%);
}

.master-fallback-main > .container {
  max-width: 960px;
  margin: 0 auto;
}

.master-fallback-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.12);
}

.master-fallback-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1f6feb;
  font-size: 14px;
  font-weight: 800;
}

.master-fallback-title {
  max-width: 660px;
  margin: 0 0 20px;
  color: #0f172a;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.master-fallback-copy {
  max-width: 620px;
  margin: 0 0 24px;
  color: #475569;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
}

.master-fallback-status {
  margin: 28px 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
}

.master-fallback-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.master-fallback-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 56px;
}

.master-fallback-help {
  margin: 24px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

@media (max-width: 768px) {
  .master-fallback-main {
    padding: 70px 16px 60px;
  }

  .master-fallback-panel {
    padding: 34px 22px;
    border-radius: 26px;
  }

  .master-fallback-title {
    font-size: 38px;
  }

  .master-fallback-copy {
    font-size: 16px;
  }

  .master-fallback-actions {
    grid-template-columns: 1fr;
  }
}

