/* Gilroy Font Import */
@font-face {
    font-family: 'Gilroy';
    src: url('tipography/Gilroy-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('tipography/Gilroy-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('tipography/Gilroy-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('tipography/Gilroy-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('tipography/Gilroy-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('tipography/Gilroy-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}


/* CSS Variables - Colors from Figma */
:root {
    --color-white: #FFFFFF;
    --color-dark: #121118;
    --color-gray-light: #EFF0F1;
    --color-gray-text: #78777E;
    --color-gray-dark: #656C73;
    --color-purple: #8C71F6;
    --color-black: #000000;
    --color-gray-medium: #ACB2B8;

    --font-family: 'Gilroy', sans-serif;
}

:root.dark {
    --color-white: #08090B; /* Основной фон */
    --color-dark: #FFFFFF;  /* Белый текст */
    --color-gray-light: #16171A; /* Фон карточек и элементов */
    --color-gray-text: #B0B0B0;
    --color-gray-dark: #16171B;
    --color-purple: #8C71F6;
    --color-black: #FFFFFF; /* Белый для кнопок и активных элементов */
    --color-gray-medium: #1E1F23;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--color-white);
    color: var(--color-dark);
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 3.2vw, 40px);
    padding-right: clamp(20px, 3.2vw, 40px);
    min-width: 0;
}

/* Header */
.header {
    position: relative;
    z-index: 1000;
    background: var(--color-white);
    border-bottom: 2px solid var(--color-gray-light);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 40px;
}

.logo img {
    width: 280px;
    height: auto;
    transition: max-width 0.3s ease;
}

.nav-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-gray-light);
    padding: 6px;
    border-radius: 51px;
}

.pill {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.225em;
    padding: 10px 18px;
    border-radius: 34px;
    border: none;
    background: transparent;
    color: var(--color-gray-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pill-active {
    background: var(--color-white);
    color: var(--color-dark);
}

.pill:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px; /* Increased gap for larger icons */
}

.language-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-toggle {
    height: 38px;
    padding: 0 16px;
    background: var(--color-white);
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    color: var(--color-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 6px;
    display: none;
    flex-direction: column;
    min-width: 140px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.language-switch.is-open .language-menu {
    display: flex;
}

.language-option {
    border: none;
    background: transparent;
    padding: 10px 12px;
    border-radius: 10px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: var(--color-dark);
    cursor: pointer;
    text-align: left;
}

.language-option.is-active {
    background: rgba(0, 0, 0, 0.06);
}



.search-icon {
    width: 48px; /* Increased size */
    height: 48px; /* Increased size */
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon img {
    width: 36px; /* Increased size */
    height: 36px; /* Increased size */
}

.theme-toggle {
    width: 48px; /* Increased size */
    height: 48px; /* Increased size */
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle img {
    width: 36px; /* Increased size */
    height: 36px; /* Increased size */
}

.btn {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.225em;
    padding: 10px 18px;
    border-radius: 31px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
}

body.index-page .nav-pills .pill,
body.index-page .nav-actions .btn,
body.index-page .btn-cta,
body.index-page .btn-secondary-dark,
body.index-page .btn-cta-dark {
    font-size: 14px;
}

body.index-page .performance-section .btn-secondary-dark {
    gap: 0;
}

body.index-page .performance-section .btn-secondary-dark img {
    margin-left: 10px;
}
.btn:focus,
.btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.btn-primary {
    background: var(--color-dark);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #2a2934;
}

.btn-secondary {
    background: var(--color-gray-light);
    color: var(--color-dark);
}

.btn-secondary:hover {
    background: #dfe1e3;
}

/* Hero Section */
.icon {
    position: absolute;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon1 {
    width: 13%;
    left: 10.5%;
    top: 14%;
}
.icon2 {
    width: 14.6%;
    left: 20.5%;
    top: 50%;
}
.icon3 {
    width: 16.5%;
    left: 73%;
    top: 7.5%;
}
.icon4 {
    width: 17.6%;
    left: 61.5%;
    top: 46%;
}

@media (max-width: 1200px) {
    .hero {
        padding-bottom: 160px;
    }
}

.hero {
    position: relative;
    padding: 80px 0 200px;
    overflow: hidden;
    transition: padding 0.3s ease;
}

.hero-bg {
    position: absolute;
    width: 1479px;
    max-width: 1479px;
    min-width: 1479px; /* Keep hero background at fixed design width */
    height: auto;
    aspect-ratio: 1479 / 461;
    left: 50%;
    transform: translateX(-50%);
    top: -2px;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-bg-image[hidden] {
    display: none !important;
}

[data-theme-asset][hidden] {
    display: none !important;
}

.hero-bg-image-dark {
    display: none;
}

:root.dark .hero-bg-image-light {
    display: none;
}

:root.dark .hero-bg-image-dark {
    display: block;
}


.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: min(100%, clamp(320px, 43vw, 619px));
    margin: 0 auto;
}

@media (max-width: 950px) and (min-width: 770px) {
    .hero-content {
        max-width: 520px;
        padding-inline: clamp(24px, 6vw, 80px);
    }
}

.hero-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: clamp(50px, 5.7vw, 82px);
    line-height: 1.225em;
    text-align: center;
    color: var(--color-dark);
}

.hero-subtitle {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.7em;
    text-align: center;
    color: var(--color-gray-text);
}


.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: -6px;
    padding: 18px 20px 18px 16px;
    height: 48px;
    background: var(--color-black);
    color: #ffffff;
    border: none;
    border-radius: 40px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.889em;
    right: 10px;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background: #7b5fe0;
    color: #ffffff;
    transform: translateY(-2px);
    animation: none;
}
.btn-cta:hover span {
    color: #ffffff !important;
}
.btn-cta:hover img {
    filter: brightness(0) invert(1);
}
.btn-cta:hover * {
    color: #ffffff !important;
}

.containerbtn{
    padding-top: 42px;
    transition: padding-top 0.3s ease;
}

.btn-cta span {
    width: 132px;
    text-align: center;
    color: inherit !important;
}

.btn-cta img {
    width: 24px;
    height: 24px;
}

/* Features Section */
.features {
    padding: 56px 0 0;
}

.feature-cards {
    display: flex;
    gap: 21px;
    margin-bottom: 90px;
}

.feature-card {
    flex: 1;
    background: var(--color-gray-light);
    border-radius: 20px;
    padding: 20px;
    min-height: 367px;
    display: flex;
    flex-direction: column;
}

.feature-img {
    width: 100%;
    height: 222px;
    border-radius: 18px;
    background: var(--color-white);
    margin-bottom: 20px;
    object-fit: cover;
}

.feature-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.225em;
    color: var(--color-dark);
    margin-bottom: 24px;
    text-align: left;
}

.feature-desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.556em;
    color: var(--color-gray-text);
    text-align: left;
}

/* Execution Section */
.execution-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-bottom: 90px;
}

.execution-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.section-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 40px;
    line-height: 0.75em;
    color: var(--color-dark);
    text-align: center;
}

.section-desc {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.667em;
    color: var(--color-gray-text);
}

.execution-features {
    display: flex;
    align-items: center;
    gap: 21px;
    flex-wrap: wrap;
    justify-content: center;
}

.execution-pill {
    display: flex;
    align-items: center;
    width: 426px;
    max-width: 426px;
    min-width: 0;
    flex: 1 1 clamp(260px, 28vw, 426px);
    height: 88px;
    background: var(--color-gray-light);
    border-radius: 61px;
    padding: 14px;
}

.pill-icon {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pill-icon img {
    width: 32px;
    height: 32px;
}

.pill-content {
    padding-left: 14px;
    display: flex;
    flex-direction: column;
}

.pill-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.667em;
    color: var(--color-dark);
    text-align: left;
}

.pill-subtitle {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.667em;
    color: var(--color-gray-text);
    text-align: left;
}

/* Performance Section */
.performance-section {
    display: flex;
    align-items: center;
    gap: 144px;
    margin-bottom: 90px;
}

.performance-left {
    width: 588px;
}

.performance-header {
    display: flex;
    flex-direction: column;
    gap: 42px;
    margin-bottom: 200px;
}

.section-title-alt {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 40px;
    line-height: 1em;
    color: var(--color-dark);
    text-align: left;
}

.btn-secondary-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 18px 18px 22px;
    height: 48px;
    background: var(--color-gray-light);
    color: var(--color-dark);
    border: none;
    border-radius: 40px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.889em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    text-decoration: none;
}

.btn-secondary-dark:hover {
    background: #dfe1e3;
}

.performance-right {
    flex: 1;
}

.stats-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background: var(--color-gray-light);
    border-radius: 20px;
    padding: 24px;
}

.stat-card-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-card-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.stat-card-medium {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
    color: var(--color-gray-text);
    margin-bottom: 61px;
    text-align: left;
}

.stat-value {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 60px;
    line-height: 0.5em;
    color: var(--color-dark);
    margin-bottom: 50px;
    text-align: left;
    padding-top: 10px;
}

.stat-tags {
    display: flex;
    gap: 20px;
    align-items: center;
}


.stat-tag {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.667em;
    color: var(--color-dark);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-desc-gray {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: var(--color-gray-text);
    text-align: left;
}

.stat-card-medium .stat-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.stat-card-icon {
    width: 190px;
    height: 190px;
    flex-shrink: 0;
    margin-top: -5px;
}

.stat-card-icon img,
.stat-card-icon-stock-line img,
.stat-card-icon-pie-chart img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat-card-icon-stock-line,
.stat-card-icon-pie-chart {
    width: 113px;
    height: 113px;
    flex-shrink: 0;
    margin-top: -5px;
}

.bullet {
    width: 6px;
    height: 6px;
    background-color: var(--color-dark);
    border-radius: 50%;
}

/* Performance Chart */
.performance-chart {
    position: relative;
    height: 334px;
    margin-top: 90px;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 1440px) {
    .performance-chart {
        height: auto;
        margin-top: 50px;
        left: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .chart-spider-lines,
    .chart-graphic {
        display: none;
    }

    .chart-card,
    .chart-card-main,
    .chart-card-1,
    .chart-card-2,
    .chart-card-3,
    .chart-card-win {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
    }
}

@media (max-width: 720px) {
    .performance-chart {
        grid-template-columns: 1fr;
        grid-template-areas:
            "spider"
            "left-1"
            "right-1"
            "left-2"
            "right-2"
            "right-3";
    }
    .chart-graphic {
        width: 96px;
        height: 96px;
        margin: 0 auto 4px;
    }
}

.chart-spider-lines {
    position: absolute;
    top: 50%;
    left: 48.5%;
    transform: translate(-50%, -50%);
    width: 633px;
    height: 242px;
    z-index: 0;
}

.chart-spider-lines img {
    width: 100%;
    height: 100%;
}

.chart-graphic {
    position: absolute;
    left: 48.5%;
    top: 48%;
    transform: translate(-50%, -50%);
    width: 163px;
    height: 163px;
    z-index: 1;
}

.chart-graphic img {
    width: 100%;
    height: 100%;
}

.chart-card {
    position: absolute;
    background: var(--color-gray-light);
    border-radius: 20px;
    padding: 15px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-card-main {
    left: 0;
    top: 0;
    width: 336px;
    height: 152px;
}

.chart-card-1 {
    left: 983px;
    top: 0;
    width: 336px;
    height: 95px;
}

.chart-card-2 {
    left: 983px;
    top: 119px;
    width: 336px;
    height: 96px;
}

.chart-card-3 {
    left: 983px;
    top: 239px;
    width: 336px;
    height: 95px;
}

.chart-card-win {
    left: 0;
    top: 182px;
    width: 336px;
    height: 152px;
}

.chart-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5em;
    color: var(--color-dark);
    margin: 0;
    text-align: left;
}

.chart-value {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.154em;
    color: var(--color-dark);
    margin: 0;
    text-align: left;
}

.chart-subtitle {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.765em;
    color: var(--color-gray-text);
    margin: 0;
    text-align: left;
}

.chart-label {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.65em;
    color: var(--color-gray-text);
    margin: 0;
    text-align: left;
}

.chart-value-small {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.65em;
    color: var(--color-dark);
    margin: 0;
    text-align: left;
}

/* Partner Section */
.partner-section {
    padding: 90px 0;
}

.partner-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    text-align: center;
}

.partner-cards {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 60px minmax(260px, 1fr) 60px minmax(260px, 1fr);
    gap: 20px;
    align-items: stretch;
    justify-items: stretch;
}

.partner-card {
    width: 100%;
    min-height: 180px;
    background: var(--color-gray-light);
    border-radius: 20px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.partner-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.25em;
    color: var(--color-dark);
    margin-bottom: 17px;
    text-align: left;
}

.partner-desc {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.667em;
    color: var(--color-gray-text);
    text-align: left;
}

.partner-graphic {
    width: 53px;
    height: 53px;
    flex-shrink: 0;
    align-self: center;
    justify-self: center;
}

.partner-graphic.rotated {
    display: none;
}

@media (max-width: 1200px) {
    .partner-cards {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }
    .partner-card:last-of-type {
        grid-column: 1 / -1;
    }
    .partner-graphic {
        display: none;
    }
}

@media (max-width: 800px) {
    .partner-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .partner-graphic {
        display: none;
    }
    .partner-graphic.rotated {
        display: block;
        transform: rotate(90deg);
        margin: -6px 0;
        z-index: 10;
    }
}

/* CTA Section */
.cta-section {
    padding: 199px 0 90px;
}

.cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    max-width: 482px;
}

.phone-mockup {
    position: relative;
    width: 100%; /* Make it responsive */
    max-width: 351px; /* Original max width */
    height: auto; /* Maintain aspect ratio */
    aspect-ratio: 351 / 345; /* Explicit aspect ratio based on original dimensions */
}

.phone-mockup img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Make sure the image doesn't block interactions with content below */
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.cta-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 40px;
    line-height: 1.25em;
    color: var(--color-black);
    text-align: center;
}

.btn-cta-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 4px;
    width: 183px;
    height: 48px;
    background: var(--color-dark);
    color: var(--color-white);
    border: none;
    border-radius: 40px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.889em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-dark:hover {
    background: #2a2934;
    transform: translateY(-2px);
}

.btn-cta-dark img {
    width: 24px;
    height: 24px;
}

/* Footer Info */
.footer-info {
    padding: 34px 0;
    border-top: 2px solid var(--color-gray-light);
    background: var(--color-white);
}

.footer-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 42px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.footer-logo img {
    width: 260px;
    height: auto;
}

.footer-tagline {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.625em;
    color: var(--color-gray-text);
    text-align: left;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


.social-icon img {
    width: 24px;
    height: 24px;
}

/* Footer Divider Line */
.footer-divider-line {
    height: 2px;
    background: var(--color-gray-light);
}

/* Footer */
.footer {
    padding: 24px 0;
}

.footer-columns {
    display: flex;
    justify-content: flex-start;
}

.footer-links-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.footer-heading {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.444em;
    color: var(--color-dark);
    text-align: left;
}

.footer-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.625em;
    color: var(--color-gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: left;
}

.footer-link:hover {
    color: var(--color-dark);
}

.footer-col-divider {
    width: 2px;
    height: 68px;
    background: var(--color-gray-light);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 1100px) {
    .hamburger-menu span {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        position: relative;
        transform-origin: center;
    }
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    z-index: 9;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-nav a {
    font-size: 24px;
    color: var(--color-dark);
    text-decoration: none;
    margin: 15px 0;
}

.mobile-nav a.active {
    background: var(--color-gray-light);
    border: 2px dashed var(--color-black);
    border-radius: 10px;
    padding: 10px;
    color: var(--color-dark);
    font-weight: 600;
}

.mobile-nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 10px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.04);
}

.mobile-nav-controls .language-switch {
    margin: 0;
}

.mobile-nav-controls .search-icon {
    width: 42px;
    height: 42px;
}

.mobile-nav-controls .search-icon img {
    width: 28px;
    height: 28px;
}

body.mobile-nav-open .mobile-nav {
    display: flex;
}

body.mobile-nav-open {
    overflow: hidden;
    height: 100vh;
}

body.mobile-nav-open .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

body.mobile-nav-open .hamburger-menu span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.mobile-nav-open .hamburger-menu span:nth-child(2) {
    opacity: 0;
}

body.mobile-nav-open .hamburger-menu span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1100px) {
    body.mobile-nav-open .hamburger-menu {
        background: url('images/krestik_white.svg') center/20px 20px no-repeat;
    }
    :root.dark body.mobile-nav-open .hamburger-menu {
        background: url('images_dashboard/krest.svg') center/20px 20px no-repeat;
    }
    body.mobile-nav-open .hamburger-menu span {
        opacity: 0;
    }
}

/* Dark Theme Fixes */
:root.dark body {
    background: var(--color-white);
}

:root.dark .header {
    background: var(--color-white);
    border-bottom: 2px solid var(--color-gray-dark);
}

:root.dark .nav-pills {
    background: var(--color-gray-light);
}

:root.dark .pill {
    color: var(--color-gray-text);
}

:root.dark .pill-active,
:root.dark .pill:hover {
    background: var(--color-black) !important;
    color: var(--color-white) !important;
}

:root.dark .mobile-nav-controls {
    background: rgba(255, 255, 255, 0.08);
}

:root.dark .language-toggle {
    background: #16171A;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

:root.dark .language-menu {
    background: #1e1f23;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

:root.dark .language-option {
    color: #ffffff;
}

:root.dark .language-option.is-active {
    background: rgba(255, 255, 255, 0.08);
}

:root.dark .btn-primary {
    background: #E6E6E6 !important;
    color: #121118 !important;
}

:root.dark .btn-primary:hover {
    background: #E0E0E0 !important;
}

:root.dark .btn-secondary {
    background: var(--color-gray-light);
    color: var(--color-dark);
}

:root.dark .btn-secondary:hover {
    background: var(--color-gray-medium);
}

/* Hero Section */
:root.dark .hero-title {
    color: var(--color-dark) !important;
}

:root.dark .hero-subtitle {
    color: var(--color-gray-text);
}

:root.dark .btn-cta {
    background: var(--color-black) !important;
    color: #121118 !important;
}
:root.dark .btn-cta:visited {
    color: #121118 !important;
}

:root.dark .btn-cta:hover {
    background: #7b5fe0 !important;
    color: #ffffff !important;
}
:root.dark .btn-cta:hover span {
    color: #ffffff !important;
}
:root.dark .btn-cta:hover img {
    filter: brightness(0) invert(1);
}
:root.dark .btn-cta:hover * {
    color: #ffffff !important;
}

/* Features Section */
:root.dark .feature-card {
    background: var(--color-gray-light);
}

:root.dark .feature-img {
    background: var(--color-gray-medium);
}

:root.dark .feature-title {
    color: var(--color-dark);
}

:root.dark .feature-desc {
    color: var(--color-gray-text);
}

/* Execution Section */
:root.dark .execution-pill {
    background: var(--color-gray-light);
}

:root.dark .pill-icon {
    background: var(--color-gray-medium);
}

:root.dark .pill-title {
    color: var(--color-dark);
}

:root.dark .pill-subtitle {
    color: var(--color-gray-text);
}

/* Performance Section */
:root.dark .section-title,
:root.dark .section-title-alt {
    color: var(--color-dark);
}

:root.dark .section-desc {
    color: var(--color-gray-text);
}

:root.dark .btn-secondary-dark {
    background: var(--color-black) !important; /* Белая кнопка */
    color: var(--color-white) !important; /* Черный текст */
}

:root.dark .btn-secondary-dark:hover {
    background: #E0E0E0 !important;
}

:root.dark .stat-card {
    background: var(--color-gray-light);
}

:root.dark .stat-value {
    color: var(--color-dark);
}

:root.dark .stat-desc,
:root.dark .stat-desc-gray {
    color: var(--color-gray-text);
}

:root.dark .stat-tag {
    color: var(--color-dark);
}

:root.dark .bullet {
    background-color: var(--color-dark);
}

/* Performance Chart */
:root.dark .chart-card {
    background: var(--color-gray-light);
}

:root.dark .chart-title,
:root.dark .chart-value,
:root.dark .chart-value-small {
    color: var(--color-dark);
}

:root.dark .chart-subtitle,
:root.dark .chart-label {
    color: var(--color-gray-text);
}

/* Partner Section */
:root.dark .partner-card {
    background: var(--color-gray-light);
}

:root.dark .partner-title {
    color: var(--color-dark);
}

:root.dark .partner-desc {
    color: var(--color-gray-text);
}

/* CTA Section */
:root.dark .cta-title {
    color: var(--color-dark);
}

:root.dark .btn-cta-dark {
    background: var(--color-black);
    color: var(--color-white);
}

:root.dark .btn-cta-dark:hover {
    background: #E0E0E0;
}

/* Footer Info */
:root.dark .footer-info {
    background: var(--color-white);
    border-top: 2px solid var(--color-gray-light);
}

:root.dark .footer-tagline {
    color: var(--color-gray-text);
}

:root.dark .footer-divider-line {
    background: var(--color-gray-light);
}

/* Footer */
:root.dark .footer {
    background: var(--color-white);
}

:root.dark .footer-heading {
    color: var(--color-dark);
}

:root.dark .footer-link {
    color: var(--color-gray-text);
}

:root.dark .footer-link:hover {
    color: var(--color-dark);
}

/* Modal */
:root.dark .modal-content {
    background: var(--color-gray-light);
}

:root.dark .close {
    color: var(--color-dark);
}

:root.dark .tab-btn {
    background: var(--color-gray-medium);
    color: var(--color-dark);
}

:root.dark .tab-btn.active {
    background: var(--color-black);
    color: var(--color-white);
}

:root.dark .phone-screen {
    background-color: #000000;
}

:root.dark .trading-item{
    color: #ffffff;
}

:root.dark input {
    background: var(--color-gray-medium);
    color: var(--color-dark);
    border-color: var(--color-gray-dark);
}

:root.dark .google-btn {
    background: var(--color-gray-medium);
    color: var(--color-dark);
    border-color: var(--color-gray-dark);
}

:root.dark .google-btn:hover {
    background: var(--color-gray-light);
}

:lang(ru) .section-desc {
    font-size: 18px;
}

:lang(ru) .partner-desc {
    font-size: 16px;
}

:lang(ru) .cta-title {
    font-size: 36px;
}

:lang(ru) .btn-cta span {
    width: 160px;
}

:lang(ru) .stat-tag {
    white-space: nowrap;
    font-size: 16px;
}

:lang(ru) .stat-desc-gray {
    font-size: 14px;
}

:lang(ru) .stat-card-large {
    padding: 20px;
}

:lang(ru) .stat-desc {
    font-size: 18px;
}

:lang(ru) .chart-card-2 {
    height: 130px;
}

:lang(ru) .chart-card-3 {
    top: 275px;
}

:lang(ru) .btn-cta-dark {
    width: 280px;
}

:lang(ru) .footer-links a {
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: var(--color-white);
    margin: 10% auto;
    padding: 40px 20px 20px;
    border-radius: 20px;
    width: 450px;
    max-width: 90%;
    position: relative;
}

@media (max-width: 480px) {
    .modal-content {
        margin: 5% auto;
    }
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-dark);
}

.modal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    background: var(--color-gray-light);
    color: var(--color-gray-dark);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 10px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--color-dark);
    color: var(--color-white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 24px;
    color: var(--color-dark);
    margin-bottom: 20px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    padding: 12px;
    border: 1px solid var(--color-gray-light);
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 16px;
}

.google-btn {
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-dark);
    transition: all 0.3s ease;
}

.google-btn:hover {
    background: var(--color-gray-light);
}

.google-icon {
    width: 20px;
    height: 20px;
    color: #4285f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}



@media (max-width: 1100px) {
    .nav {
        flex-wrap: nowrap;
        gap: 20px;
    }
    .logo img {
        max-width: 200px;
    }
    .nav-pills,
    .nav-actions .btn {
        display: none;
    }
    .hamburger-menu {
        display: flex;
        width: 26px;
        height: 26px;
        z-index: 1201;
    }
    .nav-actions {
        gap: 12px;
        justify-content: flex-end;
    }

    .hero-subtitle br {
        display: none;
    }

    .feature-cards, .execution-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .feature-card, .execution-pill {
        width: 100%;
        max-width: 480px;
    }
    .execution-pill {
        flex: 0 0 auto;
        height: 88px;
        max-width: 520px;
    }

    .execution-content .section-desc br {
        display: none;
    }

    .performance-section {
        display: grid;
        grid-template-areas:
            "header"
            "cards"
            "cta";
        gap: 30px;
    }
    .performance-left {
        display: contents;
        width: 100%;
    }
    .performance-header {
        grid-area: header;
        margin-bottom: 0;
        gap: 20px;
        text-align: center;
    }
    .performance-header .section-title-alt {
        font-size: 28px;
    }
    .performance-header .section-desc {
        font-size: 16px;
    }
    .performance-right {
        grid-area: cards;
        width: 100%;
    }
    .performance-left .btn {
        grid-area: cta;
        justify-self: center;
    }
    .performance-chart {
        display: flex;
        flex-direction: column;
        gap: 16px;
        height: auto;
        margin-top: 50px;
        padding-top: 200px;
    }
    .section-title-alt {
        text-align: center;
    }
    
    .partner-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .partner-card {
        max-width: none;
    }
    .partner-graphic {
        display: none;
    }
    .partner-graphic.rotated {
        display: block;
        transform: rotate(90deg);
        margin: -6px 0;
        z-index: 10;
    }
    .partner-section .section-desc br {
        display: none;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    .cta-title br {
        display: none;
    }

    .footer-info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        text-align: left;
    }
    .footer-tagline {
        padding: 0;
    }
    .footer-columns {
        width: 100%;
        justify-content: flex-start; 
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        text-align: left;
    }
    .footer-links-container {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .footer-links-vertical {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .footer-col-divider {
        display: none;
    }
    .footer-logo {
        align-items: flex-start;
    }
    .footer-divider-line {
        margin-left: 0;
        margin-right: 0;
    }
    .footer-social {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: clamp(28px, 7vw, 32px);
        line-height: 1.2;
    }
    .section-desc {
        font-size: clamp(16px, 4vw, 18px);
        line-height: 1.5;
    }

    .stat-card-row {
        flex-direction: column;
        width: 100%;
        gap: 24px;
    }
    .stat-card-medium {
        height: auto;
        padding: 20px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 20px;
    }
     .stat-desc, .stat-value, .stat-desc-gray, .stat-tag {
        text-align: center;
    }
    :lang(ru) .stat-desc, :lang(ru) .stat-value, :lang(ru) .stat-desc-gray, :lang(ru) .stat-tag,
    :lang(en) .stat-desc, :lang(en) .stat-value, :lang(en) .stat-desc-gray, :lang(en) .stat-tag {
        text-align: left !important;
    }
    .stat-tag {
        font-size: 14px;
    }
     .stat-tags {
        flex-direction: row;
        gap: 10px;
    }
    .stat-card-icon, .stat-card-icon-stock-line, .stat-card-icon-pie-chart {
        width: 80px;
        height: 80px;
        margin-top: -15px;
    }
    .stat-card-icon-stock-line, .stat-card-icon-pie-chart {
        margin-top: 3px;
    }
    .stat-value {
        font-size: 48px;
        margin-bottom: 20px;
    }
    .stat-desc {
        margin-bottom: 30px;
    }

    .pill-title {
        font-size: 16px;
    }
    .pill-subtitle {
        font-size: 14px;
    }

    .icon1, .icon3 {
        display: none;
    }
    .icon2 {
        top: -11% !important;
        left: 30% !important;
        width: 16% !important;
    }
    .icon4{
        left: 53% !important;
        top: 45% !important;
        width: 18% !important;
    }
}


@media (max-width: 772px) {
    body {
        padding-left: 0;
        padding-right: 0;
    }
    .hero-content {
        margin-top: 20px;
    }

    .phone-mockup {
        max-width: 100%;
        height: auto;
    }
    .cta-title {
        font-size: 28px;
    }
    .partner-card {
        padding: 20px;
    }
    .section-title {
        font-size: 28px;
    }
    .section-desc {
        font-size: 16px;
    }
    .nav {
        height: 60px;
    }
    .logo img {
        max-width: 170px;
    }
    .phone-screen {
        top: 15%;    /* Adjusted top offset for mobile */
        left: 8%;   /* Adjusted left offset for mobile */
        right: 8%;  /* Adjusted right offset for mobile */
        bottom: 15%; /* Adjusted bottom offset for mobile */
        border-radius: 5%; /* Adjusted border-radius for mobile */
        padding: 1vw 0.5vw; /* Reduced padding for mobile */
    }
    .phone-screen .trading-item {
        font-size: 7px; /* Increased font size for visibility */
        padding: 0.6em 0;
    }
    .phone-screen .trading-change {
        font-size: 6px; /* Increased font size for visibility */
        padding: 1px 3px;
    }

    .stat-card-icon, .stat-card-icon-stock-line, .stat-card-icon-pie-chart {
        width: 60px;
        height: 60px;
        margin-top: -5px;
    }
    .stat-card-medium {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
}

/* Phone Mockup Animation */
.phone-mockup {
    position: relative;
}

.phone-screen {
    position: absolute;
    top: 6.8%; /* (22.6px / 345px) * 100 */
    left: 10%; /* (30px / 351px) * 100 */
    right: 8.55%; /* (30px / 351px) * 100 */
    bottom: 4.35%; /* (15px / 345px) * 100 */
    background-color: #ffffff;
    border-radius: 7.12%; /* (25px / 351px) * 100 */
    overflow: hidden;
    padding: 5.8vw 2.8vw; /* Converted to vw for responsiveness */
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.trading-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    animation: scroll-list 30s linear infinite;
}

.trading-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8em 0; /* Use em for font-relative padding */
    color: #000000;
    font-size: 14px;
}

.trading-pair {
    font-weight: 600;
}

.trading-price {
    font-weight: 500;
}

.trading-change {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
}

.trading-change.positive {
    color: #15C27C;
    background-color: rgba(21, 194, 124, 0.1);
}

.trading-change.negative {
    color: #FF5A5A;
    background-color: rgba(255, 90, 90, 0.1);
}

@keyframes scroll-list {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

:root.dark .phone-screen {
    background-color: #16171A;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(140, 113, 246, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 20px rgba(140, 113, 246, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(140, 113, 246, 0);
    }
}

@keyframes crypto-bounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(15px); }
    100% { transform: translateY(0); }
}

.icon img {
    animation: crypto-bounce 6s infinite ease-in-out;
}



@media (max-width: 640px) {
    :lang(ru) .stat-desc{
        font-size: 14px !important;
        margin-right: 65px !important;
    }
    :lang(ru) .stat-tag {
        font-size: 12px !important;
    }
    :lang(ru) .stat-card-icon,
    :lang(ru) .stat-card-icon-stock-line,
    :lang(ru) .stat-card-icon-pie-chart {
        width: 50px !important;
        height: 50px !important;
        margin-top: -5px !important;
    }
    :lang(ru) .stat-card-large {
        gap: 15px !important;
    }
    :lang(ru) .stat-tags {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: flex-start !important;
    }
    :lang(ru) .stat-card-medium .stat-value {
        font-size: 50px !important;
    }
}

@media (max-width: 399px) {
    .nav {
        gap: 8px;
    }

    .nav-actions {
        margin-left: auto;
        gap: 8px;
        min-width: 0;
    }

    .nav-actions > .language-switch,
    .nav-actions > .search-icon {
        display: none;
    }

    .hamburger-menu {
        display: flex;
        flex-shrink: 0;
    }

    .mobile-nav {
        justify-content: flex-start;
        padding-top: 104px;
        padding-bottom: 24px;
        overflow-y: auto;
    }

    .mobile-nav-controls {
        width: min(100%, 320px);
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 22px;
        padding: 10px 12px;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .mobile-nav-controls .language-switch {
        flex: 1;
        justify-content: center;
    }

    .mobile-nav-controls .language-toggle {
        width: 100%;
        max-width: 190px;
        height: 40px;
    }

    .mobile-nav-controls .search-icon {
        flex: 0 0 42px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.06);
    }

    .mobile-nav a {
        margin: 10px 0;
        font-size: 22px;
    }
}

@media (max-width: 399px) {
    :root.dark .mobile-nav-controls .search-icon {
        background: rgba(255, 255, 255, 0.1);
    }
}

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

    .nav {
        gap: 8px;
    }

    .nav-actions {
        gap: 8px;
    }

    .logo img {
        max-width: 132px;
    }

    .language-toggle {
        height: 32px;
        padding: 0 10px;
        font-size: 13px;
        line-height: 16px;
    }

    .search-icon {
        width: 36px;
        height: 36px;
    }

    .search-icon img {
        width: 22px;
        height: 22px;
    }

    .hamburger-menu {
        width: 22px;
        height: 22px;
    }

    .hero-content {
        max-width: 100%;
        padding-inline: 2px;
    }

    .hero-title {
        font-size: clamp(36px, 12vw, 48px);
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.45;
    }

    .btn-cta {
        width: 100%;
        max-width: 220px;
        font-size: 16px;
        padding: 12px 16px;
    }

    .btn-cta span {
        width: auto;
    }
}

@media (max-width: 240px) {
    .nav-actions > .language-switch,
    .nav-actions > .search-icon {
        display: none;
    }

    .logo img {
        max-width: 110px;
    }

    .mobile-nav-controls {
        width: min(100%, 220px);
        padding: 8px;
        gap: 8px;
    }

    .mobile-nav-controls .language-toggle {
        height: 34px;
        font-size: 12px;
        padding: 0 8px;
    }

    .mobile-nav-controls .search-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .mobile-nav-controls .search-icon img {
        width: 20px;
        height: 20px;
    }
}

/* Phone screen v2 */
.phone-screen {
    top: 7%;
    left: 9.5%;
    right: 8.1%;
    bottom: 5.7%;
    border-radius: 24px;
    padding: 10px;
    display: block;
    overflow: hidden;
    background:
        radial-gradient(130% 80% at 50% -10%, rgba(70, 123, 255, 0.22), rgba(70, 123, 255, 0) 54%),
        linear-gradient(180deg, #121622 0%, #0d111b 56%, #0a0d15 100%);
}

.phone-ui {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-ui-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 6px;
    align-items: center;
}

.phone-ui-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ed693;
    box-shadow: 0 0 0 5px rgba(46, 214, 147, 0.15);
}

.phone-ui-live-text {
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(234, 242, 255, 0.86);
}

.phone-ui-latency {
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
    color: #71d6ff;
    background: rgba(113, 214, 255, 0.16);
}

.phone-ui-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.phone-ui-metric-card {
    border-radius: 10px;
    padding: 7px;
    border: 1px solid rgba(146, 171, 233, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.phone-ui-metric-label {
    display: block;
    font-size: 8px;
    line-height: 1;
    color: rgba(202, 216, 255, 0.76);
    margin-bottom: 3px;
}

.phone-ui-metric-value {
    font-size: 12px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
}

.phone-ui-chart {
    height: 5px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(149, 170, 229, 0.24);
}

.phone-ui-chart-fill {
    display: block;
    height: 100%;
    width: 72%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2be39f, #32d5ff);
}

.phone-ui-list-title {
    margin-top: 2px;
    font-size: 8px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(207, 220, 255, 0.68);
}

.phone-market-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-market-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 9px;
    border: 1px solid rgba(146, 171, 233, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01));
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.phone-market-item.is-ticking {
    transform: translateY(-1px);
    border-color: rgba(84, 198, 255, 0.48);
}

.phone-market-symbol {
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    color: #f5f8ff;
    white-space: nowrap;
}

.phone-market-price {
    font-size: 9px;
    line-height: 1;
    color: #c0d1ff;
    font-weight: 600;
    white-space: nowrap;
}

.phone-market-change {
    min-width: 44px;
    text-align: center;
    padding: 2px 5px;
    border-radius: 999px;
    font-size: 8px;
    line-height: 1;
    font-weight: 700;
    color: #2cd894;
    background: rgba(44, 216, 148, 0.12);
    white-space: nowrap;
}

.phone-market-change.negative {
    color: #ff6e6e;
    background: rgba(255, 110, 110, 0.13);
}

:root.dark .phone-screen {
    background:
        radial-gradient(130% 80% at 50% -10%, rgba(95, 136, 255, 0.24), rgba(95, 136, 255, 0) 54%),
        linear-gradient(180deg, #101420 0%, #0b1019 56%, #080c14 100%);
}

@media (max-width: 772px) {
    .phone-screen {
        padding: 9px;
        border-radius: 20px;
    }

    .phone-ui {
        gap: 6px;
    }

    .phone-ui-metric-value {
        font-size: 11px;
    }

    .phone-market-symbol,
    .phone-market-price {
        font-size: 8px;
    }

    .phone-market-change {
        min-width: 40px;
        font-size: 7px;
        padding: 2px 4px;
    }
}
