@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.var.woff2') format('woff2-variations');
    font-display: swap;
    font-weight: 100 900;
    font-style: normal;
}

:root {
    --primary-color: #2D4BFF;
    --primary-dark: #1A3AEE;
    --secondary-color: #A6D8FF;
    --accent-color: #8CFFB0;
    --text-dark: #0F172A;
    --text-light: #475569;
    --white: #FFFFFF;
    --gray-light: #F1F5F9;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    font-weight: 400;
    font-size: 16px;
    text-rendering: optimizeSpeed;
    overflow-wrap: break-word;
    font-variant-numeric: lining-nums;
    font-feature-settings: 'cv11' 1, 'ss01' 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lang-switcher {
    position: fixed;
    top: 25px;
    right: 30px;
    gap: 10px;
    z-index: 1001;
}

.lang-btn {
    background: #ffffff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.header {
    background: var(--white);
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.header-content {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav{margin: 0 auto;}

.logo-icon {
    display: contents;
    font-size: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
}

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

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover:after {
    width: 100%;
}

.btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(45, 75, 255, 0.4);
    display: inline-flex;
    align-items: center;
    text-align: center;
    gap: 12px;
    font-size: 16px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 75, 255, 0.6);
}

.btn-outline {
    background: transparent;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero {
    background: linear-gradient(135deg, rgb(166 216 255) 0%, rgb(140 255 176 / 90%) 100%), url(../img/gory-kazah2.avif) center bottom / cover no-repeat;
    padding: 120px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--text-dark);
    line-height: 1.1;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 45px;
    line-height: 1.7;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 700;
}

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

.hero-image {
    position: relative;
    text-align: right;
    align-self: flex-end;
    margin-bottom: -80px;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-image img {
    width: 500px;
    height: auto;
    object-fit: contain;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: opacity 0.3s ease;
}

.hero-image img[loading="lazy"] {
    opacity: 0;
}

.hero-image img[loading="lazy"].loaded {
    opacity: 1;
}

.features,
.how-to,
.offers,
.benefits,
.faq {
    padding: 80px 0;
}

.features,
.offers,
.faq {
    background: var(--gray-light);
}

.how-to,
.benefits {
    background: var(--white);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 70px;
}

.step {
    text-align: center;
    position: relative;
    padding: 40px 30px;
    background: var(--gray-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.step:hover {
    background: var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(45, 75, 255, 0.3);
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 16%;
    left: 67%;
    right: -40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    z-index: 1;
    transform: translateY(-50%);
}

.step h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
    padding: 25px;
    background: var(--gray-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.benefit-text h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-text p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.benefits-image img {
    max-width: 100%;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.faq-grid {
    max-width: 900px;
    margin: 70px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.faq-question {
    padding: 30px 35px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    background: var(--white);
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-answer {
    padding: 0 35px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.faq-item.active .faq-answer {
    padding: 0 35px 30px;
    max-height: 500px;
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    display: block;
}

.footer-text {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid #334155;
    color: #94a3b8;
    font-size: 1rem;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(45, 75, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 75, 255, 0.6);
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
}

.hero-calculator {
    margin: 40px 0 50px;
    max-width: 600px;
}

.calculator-header {
    align-items: center;
    text-align: right;
    margin-bottom: 10px;
}

.calculator-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calculator-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calculator-slider-simple {
    position: relative;
    height: 30px;
    margin-bottom: 15px;
}

.simple-slider {
    position: absolute;
    width: 100%;
    height: 30px;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.slider-track-simple {
    position: absolute;
    width: 100%;
    height: 10px;
    background: rgba(45, 75, 255, 0.1);
    border-radius: 5px;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
}

.slider-progress-simple {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 5px;
    transition: width 0.3s ease;
}

.calculator-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 25px;
}

.calculator-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.calculator-btn-primary,
.calculator-btn-secondary {
    flex: 1;
    justify-content: center;
    padding: 18px 30px;
}

.calculator-slider-simple {
    position: relative;
    height: 30px;
    margin-bottom: 15px;
    user-select: none;
    -webkit-user-select: none;
}

.simple-slider {
    position: absolute;
    width: 100%;
    height: 30px;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
    margin: 0;
    padding: 0;
    /* Убираем стандартные стили браузера */
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
}

/* Для WebKit браузеров (Chrome, Safari, Edge) */
.simple-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Для Firefox */
.simple-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container { padding: 0 30px; }
    .hero { margin-top: 0; padding: 80px 0; min-height: auto; align-items: center; }
    .hero-image { margin-bottom: -79px; }
    .lang-switcher { padding: 10px; }
    .header { position: relative; display: flex; flex-direction: column; padding-top: 0; }
    .header-content { flex-direction: column; align-items: center; padding: 15px 0; }
    .nav-menu { gap: 25px; margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    .nav-menu a { font-size: 14px; white-space: nowrap; }
    .hero-content { gap: 40px; align-items: center; }
    .hero-text h1 { font-size: 2.8rem; }
    .hero-text p { font-size: 1.1rem; }
    .hero-image img { width: 350px; }
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1.1rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .feature-card { padding: 30px 20px; }
    .steps { grid-template-columns: repeat(3, 1fr); gap: 25px; }
    .step:not(:last-child):after { left: 75%; right: -25px; }
    .benefits-content { gap: 50px; }
    .footer-content { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
}

@media (min-width: 769px) and (max-width: 900px) {
    .nav-menu { gap: 20px; }
    .nav-menu a { font-size: 13px; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-image img { width: 300px; }
}

@media (max-width: 768px) {
    .logo {padding: 10px 0;font-size: 20px;}
    .lang-switcher { position: static; justify-content: center; border-radius: 40px; }
    .header { position: relative; }
    .header-content {padding: 10px 0; }
    .nav-menu { display: none; }
    .hero { background: linear-gradient(135deg, rgb(166 216 255 / 90%) 30%, rgb(140 255 176 / 95%) 80%), url(../img/bg-hero.jpg) center bottom / cover no-repeat; padding: 40px 0 30px; margin-top: 0; min-height: auto; align-items: center; display: flex; }
    .hero-content { grid-template-columns: 1fr; gap: 5px; text-align: center; align-items: center; }
    .hero-text h1 { font-size: 26px; margin-bottom: 20px; line-height: 1.2; }
    .hero-text p { font-size: 1.1rem; margin-bottom: 0px; line-height: 1.6; }
    .calculator-slider-simple {
        height: 44px;
        margin-bottom: 20px;
        position: relative;
        padding: 0 5px; 
    }
    
    .simple-slider {
        position: absolute;
        width: calc(100% - 10px);
        height: 44px;
        left: 5px;
        top: 0;
        opacity: 0;
        cursor: pointer;
        z-index: 3;
        -webkit-tap-highlight-color: transparent;
        touch-action: pan-y;
    }
    
    .slider-track-simple {
        height: 12px;
        background: rgba(45, 75, 255, 0.15);
        border-radius: 6px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .slider-progress-simple {
        height: 12px;
        border-radius: 6px;
    }
    .calculator-slider-simple::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 44px;
        top: 0;
        left: 0;
        z-index: 2;
        pointer-events: none;
    }
    .hero-buttons { flex-direction: column; align-items: center; gap: 15px; margin-bottom: 30px; }
    .btn { width: 100%; max-width: 300px; justify-content: center; padding: 16px 25px; font-size: 15px; }
    .hero-stats {justify-content: center;gap: 30px;margin-top: 0;flex-wrap: wrap;}
    .stat-item { min-width: 80px; }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.9rem; }
    .hero-image { order: -1; margin-bottom: 0; text-align: center; align-self: center; margin-top: 20px; min-height: 100px; display: flex; align-items: center; justify-content: center; width: 100%; }
    .hero-image img { width: 130px; height: auto; margin: 0 auto; display: block; max-width: 100%; object-fit: contain; transform: translateZ(0); /*background: #2d4bff4d;*/ border-radius: 33px;}
    .section-title { font-size: 2rem; margin-bottom: 20px; line-height: 1.3; }
    .section-subtitle { font-size: 1.1rem; margin-bottom: 50px; line-height: 1.6; }
    .features,
    .how-to,
    .offers,
    .benefits,
    .faq { padding: 60px 0; }
    .features-grid,
    .steps { grid-template-columns: 1fr; gap: 25px; margin-top: 40px; }
    .feature-card,
    .step { padding: 30px 20px; margin: 0 10px; }
    .feature-icon { width: 70px; height: 70px; font-size: 30px; margin-bottom: 20px; }
    .feature-card h3 { font-size: 1.3rem; }
    .step:not(:last-child):after { display: none; }
    .step h3 { font-size: 1.2rem; }
    .benefits-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .benefit-item { flex-direction: column; text-align: center; gap: 15px; margin-bottom: 25px; padding: 20px; margin: 0 10px 25px; }
    .benefit-icon { margin: 0 auto; }
    .benefit-text h4 { font-size: 1.2rem; }
    .benefits-image img { max-width: 90%; margin: 0 auto; }
    .faq-grid { margin-top: 40px; }
    .faq-item { margin: 0 10px 20px; }
    .faq-question { padding: 20px 25px; font-size: 1.1rem; }
    .faq-answer { padding: 0 25px; }
    .faq-item.active .faq-answer { padding: 0 25px 20px; }
    .footer { padding: 50px 0 25px; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-bottom { padding-top: 30px; }
    .container { padding: 0 15px; }
    .scroll-top-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .hero-calculator { display: inline-block; margin: 20px 0; width: 100%; }
    .calculator-simple {padding: 0 20px;margin: 0 auto;}
    .calculator-header { flex-direction: column; gap: 10px; text-align: center; }
    .calculator-buttons { flex-direction: column; gap: 15px; }
    .calculator-btn-primary,
    .calculator-btn-secondary { min-width: 100%; width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .hero { padding: 20px 0; }
    .hero-text h1 {font-size: 24px;}
    .hero-text p { font-size: 1rem; }
    .hero-stats { flex-direction: row; justify-content: space-around; gap: 12px; }
    .stat-item { margin-bottom: 0; min-width: 70px; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }
    .section-title { font-size: 22px; }
    .section-subtitle { font-size: 1rem; }
    .features,
    .how-to,
    .offers,
    .benefits,
    .faq { padding: 50px 0; }
    .btn { font-size: 14px; padding: 14px 20px; }
    .feature-card { padding: 25px 15px; }
    .step { padding: 25px 15px; }
    .benefit-item { padding: 15px; }
    .faq-question { padding: 18px 20px; font-size: 1rem; }
    .faq-item.active .faq-answer { padding: 0 20px 18px; }
    .calculator-slider-simple {
        height: 34px;
    }
    
    .simple-slider {
        height: 48px;
    }
    
    .slider-track-simple {
        height: 14px;
    }
    
    .slider-progress-simple {
        height: 14px;
    }
    .calculator-value { font-size: 1.5rem; }
    .calculator-label { font-size: 1rem; }
}

.hero-image { will-change: transform; }

/* Стили для визуального thumb и улучшенного слайдера */
.calculator-slider-simple {
    position: relative;
    height: 30px;
    margin-bottom: 15px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.simple-slider {
    position: absolute;
    width: 100%;
    height: 30px;
    opacity: 0.001; /* Минимальная прозрачность для доступа */
    cursor: pointer;
    z-index: 10;
    margin: 0;
    padding: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
}

/* Стили для активного состояния слайдера */
.calculator-slider-simple.slider-active .slider-track-simple {
    background: rgba(45, 75, 255, 0.2);
}

.calculator-slider-simple.slider-active .slider-progress-simple {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .calculator-slider-simple {
        height: 44px;
        margin-bottom: 0;
        padding: 0 5px;
    }
    
    .simple-slider {
        height: 44px;
        left: 5px;
        width: calc(100% - 10px);
    }
    
    .slider-track-simple {
        height: 12px;
        background: rgba(45, 75, 255, 0.15);
        border-radius: 6px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .slider-progress-simple {
        height: 12px;
        border-radius: 6px;
    }
    
    /* Видимый thumb для мобильных */
    .visual-thumb {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .calculator-slider-simple {
        height: 48px;
    }
    
    .simple-slider {
        height: 48px;
    }
    
    .slider-track-simple {
        height: 14px;
    }
    
    .slider-progress-simple {
        height: 14px;
    }
}

/* Для десктопов скрываем visual-thumb по умолчанию */
.visual-thumb {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .visual-thumb {
        display: block;
    }
}

/* Предотвращение выделения текста при перетаскивании */
.calculator-slider-simple * {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}