.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}

.repricer {
    padding: 50px 0 220px;
    margin-top: 10px;
    background-color: #f7f7fc;
    position: relative;
    overflow: hidden;
}

.repricer-container {
    display: flex;
    align-items: center;
    position: relative;
}

.repricer-left {
    flex: 0 0 480px;
    padding: 0 40px 0 0;
}

.logo-wrapper {
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}

.logo-oval {
    stroke: #00f5cc;
    stroke-width: 2.5;
    fill: none;
}

.logo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 900;
    color: #0a0033;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

.repricer h2 {
    font-size: 52px;
    font-weight: 300;
    line-height: 1.08;
    color: #000;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.repricer-description {
    font-size: 19px;
    line-height: 1.45;
    color: #4a5568;
    margin-bottom: 52px;
    font-weight: 400;
    letter-spacing: -0.2px;
}

.repricer-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.repricer-cta:hover {
    background: #1a1a1a;
    transform: translateX(2px);
}

.repricer-cta svg {
    width: 20px;
    height: 20px;
}

.repricer-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: end;
    position: relative;
}

.visualization-wrapper {
    position: relative;
    width: 100%;
}

.image-area {
    width: 100%;
    padding-right: 15px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.repricer-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-70%);
    width: 280px;
    z-index: 10;
}

.repricer-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.repricer-feature-card {
    background: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.repricer-feature-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.repricer-feature-card:nth-child(1) { opacity: 0.45; }
.repricer-feature-card:nth-child(2) { opacity: 0.9; }
.repricer-feature-card:nth-child(3) { opacity: 0.7; }
.repricer-feature-card:nth-child(4) { opacity: 1; }

.feature-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.feature-name {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    line-height: 1.2;
}

.feature-status {
    color: #00c896;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.checkmark {
    width: 26px;
    height: 26px;
    background: #00e5b9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    font-weight: bold;
    flex-shrink: 0;
}

/* ===== CHECK CALCULATIONS SECTION ===== */
.check-calculations {
    background-color: #f7f7fc;
    position: relative;
	padding-bottom: 90px;
}

.check-calculations-container {
    margin: 0 auto;
    margin-left: 4rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-radius: 24px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.check-calculations-container::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 50%;
    translate: -6rem -56%;
    width: 60%;
    aspect-ratio: 987 / 1101;
    background: url("../assets/img/check-calculations.png") no-repeat 0 0 / contain;
}

.check-calculations__list {
    grid-column: 2 / 3;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.325rem;
    margin-bottom: 2rem;
}

.check-calculations__item {
    display: flex;
    gap: 1rem;
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.check-calculations__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.2);
}

.check-calculations__item svg {
    flex: 0 0 auto;
    color: var(--primary);
}

.check-calculations__item svg path {
    fill: var(--primary);
    stroke: var(--primary);
}

.check-calculations__text {
    grid-column: 2 / 3;
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.6;
    font-weight: 500;
}

.check-calculations__button {
    position: absolute;
    bottom: 0;
    translate: 0 50%;
    grid-column: 2 / 3;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.check-calculations__button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-hover);
}

.check-calculations__button::after {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='25' viewBox='0 0 24 25' fill='none'%3E%3Cpath d='M5 12.4854H19' stroke='white' stroke-width='2'/%3E%3Cpath d='M12 5.48535L19 12.4854L12 19.4854' stroke='white' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ===== MORE FEATURES ===== */
.more-features {
    padding-top: 5px;
    padding-bottom: 95px;
    background-color: #f7f7fc;
}

.more-features__container {
    position: relative;
    height: 166px;
    color: #FFFFFF;
    border-radius: 0.5rem;
    padding: 1.75rem;
    background: #242254 url("../assets/img/des.png") no-repeat right -2px center / contain;
    overflow: hidden;
}

.more-features__heading {
    margin: 0 0 0.75rem;
    font-size: 1.375rem;
    line-height: 1.5rem;
    font-weight: 400;
}

.more-features__heading strong {
    color: #00f6ca;
}

.more-features__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1rem;
    line-height: 1.25rem;
    display: grid;
    gap: 0.5rem;
}

.more-features__item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.25rem;
}

.more-features__item::before {
    content: "";
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    background-image: url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2766_1564)'%3e%3crect%20width='20'%20height='20'%20rx='10'%20fill='%2300F6CA'/%3e%3cpath%20d='M7.49999%2013.475L4.60833%2010.5833C4.28333%2010.2583%203.75833%2010.2583%203.43333%2010.5833C3.10833%2010.9083%203.10833%2011.4333%203.43333%2011.7583L6.91666%2015.2417C7.24166%2015.5667%207.76666%2015.5667%208.09166%2015.2417L16.9083%206.42501C17.2333%206.10001%2017.2333%205.57501%2016.9083%205.25001C16.5833%204.92501%2016.0583%204.92501%2015.7333%205.25001L7.49999%2013.475Z'%20fill='%23323232'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2766_1564'%3e%3crect%20width='20'%20height='20'%20rx='10'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
    vertical-align: middle;
}

.more-features__item strong {
    color: #fb8e5a;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    vertical-align: middle;
}

/* ===== CASES SECTION ===== */
.cases {
    background-color: #f3fefc;
    padding-top: 4rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.cases__header {
    margin: 0 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cases__heading {
    font-size: 2.25rem;
    line-height: 2.75rem;
    font-weight: 400;
    color: #170237;
}

.cases__buttons-control {
    display: flex;
    gap: .5rem;
}

.cases__button-control {
    width: 3rem;
    height: 3rem;
    border-radius: 10rem;
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns= 'http://www.w3.org/2000/svg' width= '24' height= '24' fill= 'none' viewBox= '0 0 24 24' %3E%3Cpath stroke= '%23170237' stroke-linecap= 'round' stroke-linejoin= 'round' stroke-width= '1.5' d= 'M19 12H5M12 5l-7 7 7 7' /%3E%3C/svg%3E");
    cursor: pointer;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 1px solid #170237;
}

.cases__button-control--next {
    rotate: 180deg;
}

.cases-slider {
    width: 100%;
}

.cases-slider__wrapper {
    display: flex;
    align-items: stretch;
    padding: 0 .75rem 1.75rem;
    position: relative;
}

.cases-slider__slide {
    height: unset;
    width: 26%;
}

.cases-slider__slide--active {
    box-shadow: 0 12px 24px #2041951a;
}

.case-card {
    display: flex;
    flex-direction: column;
    color: #170237;
    background: #FFFFFF;
    border-radius: .375rem;
    border: 1px solid #1702371a;
    overflow: hidden;
    transition: box-shadow 0.5s ease;
}

.case-card img {
    max-width: 100%;
}

.case-card__title {
    font-size: 1rem;
    line-height: 1.125rem;
    font-weight: 600;
    padding-top: 1rem;
    padding-bottom: .75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.case-card__description {
    font-size: .75rem;
    line-height: 1rem;
    padding-bottom: .625rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.case-card__link {
    color: #5b40ff;
    padding-top: .625rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin-top: auto;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.case-card__link::after {
    content: "";
    width: .75rem;
    height: .75rem;
    background-image: url("data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%2010L8%206L4%202'%20stroke='%235B40FF'%20stroke-width='1.5'/%3e%3c/svg%3e");
    transition-property: translate;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    margin-left: .125rem;
}

.case-card__link:hover::after {
    translate: 0.25rem 0;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: 70px 0;
    background: var(--white);
}

.pricing-header {
    text-align: center;
    margin-bottom: 10px;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.pricing-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.pricing-description {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PERIOD SELECTORS ===== */
.period-selector {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    padding: 4px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.period-btn {
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.period-btn:hover {
    color: var(--gray-900);
}

.period-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.period-selector-mobile {
    display: none;
    gap: 4px;
    margin-bottom: 18px;
    padding: 4px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    width: 100%;
}

.period-btn-mobile {
    flex: 1;
    padding: 10px 8px;
    border: none;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.period-btn-mobile:hover {
    color: var(--gray-900);
}

.period-btn-mobile.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.period-btn-mobile .main-text {
    font-size: 13px;
    font-weight: 600;
}

.period-btn-mobile .discount-text {
    font-size: 10px;
    opacity: 0.8;
    margin-top: 1px;
}

/* ===== PRICING CARDS ===== */
.pricing-classic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card-classic {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 32px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card-classic:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.pricing-card-classic.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-primary);
}

.pricing-card-classic.popular::before {
    content: 'Популярный';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-name-classic {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.plan-description-classic {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.price-classic {
    margin-bottom: 24px;
}

.price-amount-classic {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-unit-classic {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 500;
}

.features-classic {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.feature-classic {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.feature-classic .icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.feature-classic.included .icon {
    background: var(--success);
    color: var(--white);
}

.feature-classic.excluded .icon {
    background: var(--gray-200);
    color: var(--gray-500);
}

.feature-classic.excluded {
    color: var(--gray-400);
}

.cta-classic {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-classic:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-hover);
}

.info-note {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-600);
}

/* ===== PARTNER SECTION ===== */
.partner-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.partner-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.partner-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.partner-content {
    padding-right: 40px;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--gray-600);
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
    font-weight: 500;
}

.partner-content h2 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.earning-showcase {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin: 32px 0;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.earning-showcase:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.earning-showcase .amount {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.earning-showcase .description {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 4px;
    font-weight: 500;
}

.partner-description {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.6;
}

.partner-image-container {
    position: relative;
}

.partner-image {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(3deg);
    transition: transform 0.3s ease;
    position: relative;
}

.partner-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.partner-image:hover img {
    transform: scale(1.05);
}

.floating-stats {
    position: absolute;
    bottom: 20px;
    left: -40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.floating-stats:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 1);
}

.floating-stats .stat {
    text-align: center;
}

.floating-stats .stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.floating-stats .stat-text {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 2px;
    font-weight: 500;
}

.mobile-image-section {
    display: none;
}

.desktop-image-section {
    display: block;
}

/* ===== CONTACT SECTION ===== */
.contact-section-2 {
    overflow: hidden;
    background: white;
}

.contact-container-2 {
    max-width: 800px;
    margin: 0 auto;
    padding: 0px 50px;
    padding-bottom: 70px;
    text-align: center;
}

.question-badge-2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-header-2 h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.contact-header-2 p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
    padding-top: 40px;
}

.consultation-item-2 {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.consultation-icon-2 {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 24px;
}

.consultation-title-2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.consultation-desc-2 {
    font-size: 14px;
    color: var(--gray-600);
}

.contact-form-2 {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: end;
}

.form-input-2 {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--gray-900);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input-2:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.submit-btn-2 {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
    grid-column: span 2;
}

.submit-btn-2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.privacy-text-2 {
    font-size: 12px;
    color: var(--gray-600);
    text-align: center;
    margin-top: 16px;
    grid-column: span 2;
}

.privacy-link-2 {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link-2:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding-bottom: 60px;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    color: #7C3AED;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 14px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.section-description {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--gray-900);
}

.author-info p {
    font-size: 14px;
    color: var(--gray-500);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7C3AED;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 2px 0;
}

.wb-link:hover {
    color: #6D28D9;
    transform: translateX(2px);
}

.wb-link svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.wb-link:hover svg {
    transform: scale(1.1);
}

.wb-link-alt {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #7C3AED;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.wb-link-alt:hover {
    background: rgba(124, 58, 237, 0.15);
    transform: translateY(-1px);
}

.wb-logo {
    width: 16px;
    height: 16px;
    background: #7C3AED;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    color: var(--gray-200);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 40px 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: var(--white);
    color: var(--primary);
}

.cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-500);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== UTILITY CLASSES ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.mobile-break {
    display: none;
}

/* ===== SCROLLBAR STYLES ===== */
html {
    scrollbar-width: thin;
    scrollbar-color: #BDC1C6 #F8F9FA;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #F8F9FA;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #BDC1C6;
    border-radius: 10px;
    border: 2px solid #F8F9FA;
    transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #9AA0A6;
}

::-webkit-scrollbar-thumb:active {
    background: #80868B;
}

::-webkit-scrollbar-corner {
    background: #F8F9FA;
}

.dash-header::-webkit-scrollbar-track {
    background: #374151;
    border: 2px solid #374151;
}

.dash-header::-webkit-scrollbar-thumb {
    background: #6B7280;
    border: 2px solid #374151;
}

.dash-header::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

.dash-header::-webkit-scrollbar-thumb:active {
    background: #D1D5DB;
}

::-webkit-scrollbar-thumb {
    opacity: 0.7;
    transition: opacity 0.3s ease, background-color 0.2s ease;
}

*:hover::-webkit-scrollbar-thumb {
    opacity: 1;
}

@supports not selector(::-webkit-scrollbar) {
    html {
        scrollbar-width: thin;
        scrollbar-color: #BDC1C6 #F8F9FA;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1920px) {
    .repricer-right {
        right: 0;
        width: 300px;
    }
}

@media (max-width: 1600px) {
    .repricer-right {
        right: -0;
    }
}

@media (max-width: 1440px) {
    .repricer-right {
        width: 260px;
    }
}

@media (max-width: 1280px) {
    .repricer {
        padding-bottom: 100px;
    }

    .check-calculations-container::after {
        width: 58%;
        top: -5rem;
        translate: -6rem 0;
    }

    .check-calculations__button {
        position: static;
        translate: 0;
        margin: 0.75rem 0 0;
    }

    .dashboard-header {
        justify-content: center;
    }

    .dashboard-logo {
        display: none;
    }

    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .repricer-left {
        flex: 0 0 420px;
    }

    .repricer h2 {
        font-size: 44px;
    }

    .repricer-right {
        width: 240px;
        transform: translateY(-80%);
    }

    .repricer-feature-card {
        padding: 16px 20px;
    }
}

@media (max-width: 1024px) {
    .check-calculations-container {
        margin: 0 0 0 4rem;
        padding: 3rem;
    }

    .check-calculations__list {
        margin-bottom: 1.25rem;
        gap: .375rem;
    }

    .check-calculations__item {
        padding: 1rem;
    }

    .check-calculations__text {
        font-size: .875rem;
        line-height: 18px;
    }

    .check-calculations-container::after {
        width: 65%;
        translate: -5rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        width: 70%;
        height: 510px;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .dashboard-nav {
        display: flex;
        gap: 18px;
    }

    .lost-funds-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lost-funds-stats {
        width: 100%;
        justify-content: center;
    }

    .repricer-container {
        flex-direction: column;
        text-align: center;
    }

    .repricer-left {
        flex: none;
        max-width: 600px;
        padding: 0;
    }

    .repricer-center {
        width: 100%;
        max-width: 900px;
        padding-right: 0;
        display: flex;
        justify-content: center;
    }

    .visualization-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .image-area {
        position: relative;
        overflow: hidden;
        flex: 1;
        height: 450px;
        max-width: 500px;
    }

    .image-area img {
        position: absolute;
        left: 0;
        width: auto;
        height: 92%;
        object-fit: cover;
    }

    .repricer-right {
        position: static;
        transform: none;
        width: 260px;
        flex-shrink: 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-container {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }

    .partner-content {
        padding-right: 0;
    }

    .partner-content h2 {
        font-size: 44px;
        margin-bottom: 32px;
    }

    .mobile-image-section {
        display: block;
        margin: 24px 0 32px 0;
    }

    .desktop-image-section {
        display: none;
    }

    .mobile-image-section .partner-image {
        height: 350px;
        transform: rotate(3deg);
        margin: 0 auto;
        max-width: 400px;
    }

    .mobile-image-section .floating-stats {
        position: absolute;
        bottom: 20px;
        left: 20px;
        margin-top: 0;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .cases-slider {
        width: 100vw;
        margin-left: -1rem;
    }

    .cases__header {
        margin: 0 0 1.75rem;
    }

    .cases__heading {
        font-weight: 700;
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .cases__buttons-control {
        display: none;
    }

    .case-card__title {
        font-size: .875rem;
        line-height: 1.25rem;
    }

    .period-selector {
        display: none;
    }

    .period-selector-mobile {
        display: flex;
    }

    .pricing-classic {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card-classic.popular {
        transform: none;
    }

    .pricing-card-classic {
        padding: 24px;
    }

    .price-amount-classic {
        font-size: 40px;
    }

    .contact-container-2 {
        padding: 10px 24px;
        padding-bottom: 40px;
    }

    .contact-header-2 h3 {
        font-size: 24px;
    }

    .consultation-grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 30px;
    }

    .contact-form-2 {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .submit-btn-2 {
        grid-column: span 1;
    }

    .privacy-text-2 {
        grid-column: span 1;
    }

    .more-features__heading {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 38px;
    }

	.hero-description {
		font-size: 18px;
	}

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
    }

    .dashboard-logo,
    .overview-title h3,
    .overview-title p,
    .date-selector {
        display: none !important;
    }

    .dashboard-header {
        justify-content: center;
        padding: 12px 16px;
    }

    .dashboard-body {
        padding: 16px;
    }

    .overview-header {
        margin-bottom: 16px;
        min-height: 0;
    }

    .overview-stats {
        gap: 12px;
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        padding: 16px;
        min-height: 85px;
    }

    .stat-header {
        height: 18px;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-value {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 8px;
    }

    .lost-funds {
        padding: 16px;
    }

    .lost-funds-header h4 {
        font-size: 14px;
    }

    .lost-funds-badge {
        display: none;
    }

    .lost-funds-main {
        padding: 16px;
    }

    .lost-funds-label {
        font-size: 12px;
    }

    .lost-funds-amount {
        font-size: 24px;
    }

    .lost-funds-icon {
        width: 40px;
        height: 40px;
    }

    .float-card {
        font-size: 14px;
        padding: 12px 14px;
    }

    .float-card-price {
        bottom: 50px;
        right: -25px;
        transform: scale(0.8);
        animation:
            fadeInFloatMobile 0.8s ease-out 0.6s forwards,
            floatComplexMobile 20s ease-in-out 1.4s infinite;
    }

    @keyframes fadeInFloatMobile {
        from {
            opacity: 0;
            transform: translateY(20px) scale(0.7);
        }
        to {
            opacity: 0.9;
            transform: translateY(0) scale(0.8);
        }
    }

    @keyframes floatComplexMobile {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg) scale(0.8);
        }
        25% {
            transform: translate(-10px, 8px) rotate(-2deg) scale(0.82);
        }
        50% {
            transform: translate(-5px, -5px) rotate(1deg) scale(0.78);
        }
        75% {
            transform: translate(-12px, 3px) rotate(-1deg) scale(0.8);
        }
    }

    .float-card-image {
        width: 32px;
        height: 32px;
    }

    .float-card-title {
        font-size: 14px;
    }

    .float-card-subtitle {
        font-size: 11px;
    }

    .repricer {
        padding: 20px 0px 0px 0px;
    }

    .repricer-container {
        text-align: left;
    }

    .repricer-left {
        text-align: left;
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .logo-wrapper {
        margin-bottom: 30px;
    }

    .logo-text {
        font-size: 24px;
    }

    .repricer h2 {
        font-size: 32px;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .repricer-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .repricer-cta {
        justify-content: center;
        padding: 16px;
        font-size: 13px;
        background: #000;
        color: #fff;
    }

    .repricer-cta svg {
        width: 18px;
        height: 18px;
    }

    .repricer-center {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 0;
        max-width: none;
    }

    .visualization-wrapper {
        padding-top: 70px;
        flex-direction: column;
        gap: 0;
        position: relative;
    }

    .image-area {
        width: 100%;
        transform: translateX(-5%);
        height: 70vh;
        min-height: 350px;
        max-height: 600px;
        margin-bottom: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .repricer-right {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-70%);
        width: 160px;
        z-index: 10;
    }

    .repricer-features {
        gap: 10px;
    }

    .repricer-feature-card {
        background: #ffffff;
        padding: 12px 14px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-width: unset;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .feature-left {
        flex: 1;
        gap: 1px;
    }

    .feature-name {
        font-size: 15px;
        font-weight: 600;
    }

    .feature-status {
        font-size: 11px;
        color: #00c896;
    }

    .checkmark {
        width: 18px;
        height: 18px;
        font-size: 11px;
        flex-shrink: 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
		margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .check-calculations-container {
        margin: 0;
        grid-template-columns: 1fr;
        padding: 16px 16px;
        padding-bottom: 0;
    }

    .check-calculations-container::after {
        background-size: 107% auto;
        background-position: left -5vw center;
        margin: 0rem -2.5rem 0rem;
        position: static;
        translate: 0;
        width: calc(100% + 5rem);
    }
	
	.check-calculations {
		padding-bottom: 10px;
	}

	.cases {
		padding-top: 34px;
		padding-bottom: 24px;
	}

    .check-calculations__list {
        grid-column: 1;
    }

    .check-calculations__text {
        grid-column: 1;
        font-size: 16px;
    }

    .check-calculations__button {
        grid-column: 1;
        position: static;
        margin-top: 19px;
        transform: none;
    }

    .check-calculations__item {
        gap: 12px;
        padding: 14px;
    }

    .check-calculations__item svg {
        width: 24px;
        height: 24px;
    }

    .more-features {
        padding-top: 15px !important;
        padding-bottom: 25px !important;
    }

    .more-features__container {
        height: auto;
        background-image: none;
    }

    .more-features__container::after {
        content: "";
        display: block;
        translate: 0 2px;
        margin: 0.75rem -1.75rem -1.7rem -1.7rem;
        width: calc(100% + 1.75rem + 1.75rem);
        aspect-ratio: 727 / 430;
        background: #242254 url("../assets/img/mob.png") no-repeat right -2px center / contain;
    }

    .partner-section {
        padding: 60px 0;
    }

    .partner-content h2 {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .partner-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .earning-showcase {
        margin: 24px 0;
        padding: 20px;
    }

    .earning-showcase .amount {
        font-size: 28px;
    }

    .mobile-image-section .partner-image {
        height: 280px;
    }

    .mobile-image-section .floating-stats {
        position: absolute;
        bottom: 15px; 
        left: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .pricing-section {
        padding: 60px 0;
        padding-bottom: 30px;
    }

    .pricing-title {
        font-size: 24px;
    }

    .pricing-description {
        font-size: 13px;
    }

    .author-details {
        gap: 6px;
    }
    
    .wb-link {
        font-size: 12px;
        gap: 4px;
    }
    
    .wb-link svg {
        width: 12px;
        height: 12px;
    }

    .mobile-break {
        display: block;
    }

    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
    
    ::-webkit-scrollbar-track {
        background: transparent;
    }
    
    ::-webkit-scrollbar-thumb {
        background: rgba(189, 193, 198, 0.6);
        border-radius: 2px;
        border: none;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(154, 160, 166, 0.8);
    }

    html {
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }
}

@media (max-width: 480px) {
    .repricer h2 {
        font-size: 26px;
    }

    .repricer-description {
        font-size: 15px;
    }

    .logo-text {
        font-size: 22px;
    }

    .hero-visual {
        min-height: 320px;
        perspective: 800px;
    }

    .repricer-right {
        right: 8px;
        width: 180px;
        top: 48%;
    }

    .image-area img { 
        height: auto;
        width: 100%;
        margin-right: 20px;
        left: 0;
    }

    .repricer-feature-card {
        padding: 10px 12px;
    }

    .feature-name {
        font-size: 15px;
    }

    .feature-status {
        font-size: 10px;
    }

    .checkmark {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .testimonial-card {
        padding: 0px 24px 24px 24px;
    }

    .section-title {
        font-size: 30px;
    }

    .check-calculations__text {
        font-size: 15px;
    }

    .check-calculations__button {
        padding: 14px 24px;
        font-size: 15px;
    }

    .partner-content h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .partner-description {
        font-size: 15px;
    }

    .earning-showcase .amount {
        font-size: 24px;
    }

    .mobile-image-section .partner-image {
        height: 240px;
        border-radius: 16px;
    }

    .mobile-image-section .floating-stats {
        padding: 16px;
        bottom: 10px; 
        left: 10px;
    }

    .mobile-image-section .floating-stats .stat-number {
        font-size: 20px;
    }
}

.btn_earn {
    display: inline-flex
;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 768px) {
    .btn_earn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

.btn_earn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn_earn:hover svg {
    transform: translateX(4px);
}

/* ===== COMPACT CONSENT SLIDER ===== */
.consent-wrapper {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.consent-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--gray-300);
    border-radius: 12px;
    padding: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.consent-slider:hover {
    background: var(--gray-400);
}

.consent-slider.active {
    background: var(--primary);
}

.consent-slider.active:hover {
    background: var(--primary-dark);
}

.consent-slider-handle {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.consent-slider.active .consent-slider-handle {
    left: 22px;
}

.consent-text {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.4;
}

.consent-text a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.consent-text a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.consent-error {
    grid-column: span 2;
    font-size: 11px;
    color: var(--error);
    margin-top: -6px;
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    display: none;
}

.consent-error.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .consent-wrapper {
        grid-column: span 1;
        gap: 10px;
    }
    
    .consent-text {
        font-size: 11px;
        text-align: left;
    }
    
    .consent-slider {
        width: 40px;
        height: 22px;
    }
    
    .consent-slider-handle {
        width: 18px;
        height: 18px;
    }
    
    .consent-slider.active .consent-slider-handle {
        left: 20px;
    }
    
    .consent-error {
        grid-column: span 1;
    }
}

/* ===== CASE PANEL (БОКОВАЯ ПАНЕЛЬ ДЛЯ КЕЙСОВ) ===== */
.case-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.case-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.case-panel {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2001;
    overflow-y: auto;
    overflow-x: hidden;
}

.case-panel.active {
    right: 0;
}

/* Кастомный скроллбар для панели */
.case-panel::-webkit-scrollbar {
    width: 6px;
}

.case-panel::-webkit-scrollbar-track {
    background: var(--gray-50);
}

.case-panel::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.case-panel::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

.case-panel-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.case-panel-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
    line-height: 1.3;
}

.case-panel-category {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124, 58, 237, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 8px;
}

.case-panel-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--gray-600);
    flex-shrink: 0;
}

.case-panel-close:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
    color: var(--gray-900);
}

.case-panel-hero {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.case-panel-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-panel-body {
    padding: 32px;
}

.case-detail-section {
    margin-bottom: 32px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.case-detail-section:nth-child(1) { animation-delay: 0.1s; }
.case-detail-section:nth-child(2) { animation-delay: 0.2s; }
.case-detail-section:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-detail-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-detail-section .section-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.case-detail-section p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
}

.case-results {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: -8px;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.5;
}

.result-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.stat-box {
    text-align: center;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.stat-box-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-box-label {
    font-size: 13px;
    color: var(--gray-600);
}

/* Адаптивность */
@media (max-width: 768px) {
    .case-panel {
        width: 100%;
        right: -100%;
    }
    
    .case-panel-header {
        padding: 20px 24px;
    }
    
    .case-panel-body {
        padding: 24px;
    }
    
    .case-panel-hero {
        height: 200px;
    }
    
    .case-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .case-panel-title h3 {
        font-size: 18px;
    }
    
    .case-detail-section h4 {
        font-size: 15px;
    }
    
    .case-detail-section p,
    .result-item {
        font-size: 14px;
    }
}