@font-face {
    font-family: 'Base Neue';
    src: url('Druk Wide-Medium-App.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Druk Wide Cy App';
    src: url('Druk Wide-Medium-App.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

:root {
    --Text-primary: black;
    --Text-white: white;
    --Text-secondary: #7E7E7E;
    --background-dark: #F4F5F0;
    --background-white: white;
    --background-white-60: rgba(255, 255, 255, 0.60);
    --background-stroke: rgba(204, 204, 202, 0.30);
    --Button-primary: #FFF066;
    --Button-secondary: black;
    --Icons-black: black;
    --Icons-white: white;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-dark);
}

.header {
    width: 100%;
    align-self: stretch;
    padding: 0;
}

.header-container {
    width: 100%;
    height: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    width: 234px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-shrink: 1;
    min-width: 0;
}

.logo {
    color: var(--Text-primary);
    font-size: 26px;
    font-family: 'Base Neue', sans-serif;
    font-weight: 700;
    word-wrap: break-word;
}

.icons-section {
    width: 121px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.icons-wrapper {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.icon-button {
    padding: 0;
    background: transparent;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s;
    position: relative;
}

.icon-button:hover {
    opacity: 0.8;
}

.icon-image {
    width: 48px;
    height: 48px;
    display: block;
}

.android-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--background-white-60);
    backdrop-filter: blur(30px);
    color: var(--Text-primary);
    padding: 8px 16px;
    border-radius: 12px;
    font-family: 'Druk Wide Cy App', 'Base Neue', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.icon-button:hover .android-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.android-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--background-white-60);
}

.actions-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
}

.btn {
    padding: 12px 24px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.8;
}

.btn-text {
    background: transparent;
    color: var(--Text-primary);
}

.btn-fill {
    background: var(--Button-secondary);
    color: var(--Text-white);
}

.hero-section {
    width: 100%;
    min-height: 100vh;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 72px;
    padding: 10px 10px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 100%;
    padding-top: 32px;
    padding-bottom: 104px;
    padding-left: 110px;
    padding-right: 110px;
    position: relative;
    background: var(--background-white);
    border-radius: 32px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 72px;
    overflow: visible;
}

.hero-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-decor {
    position: absolute;
    pointer-events: none;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    opacity: 1;
    will-change: transform;
}

/* Классы для скрытия элементов при скролле */
.hero-decor.hide-behind-phone {
    z-index: 0;
}

/* Все элементы двигаются к ОДНОЙ точке - центру телефона */
/* Используем CSS переменные для точного позиционирования, вычисляемые через JavaScript */
.hero-decor-1.hide-behind-phone {
    transform: translateX(var(--target-x, 578.5px)) translateY(var(--target-y, 515.5px)) rotate(-14deg);
    transform-origin: center center;
}

.hero-decor-3.hide-behind-phone {
    transform: translateX(var(--target-x, -400.5px)) translateY(var(--target-y, 515.5px)) rotate(7deg);
    transform-origin: center center;
}

.hero-decor-2.hide-behind-phone {
    transform: translateX(var(--target-x, 478.5px)) translateY(var(--target-y, 315.5px));
    transform-origin: center center;
}

.hero-decor-4.hide-behind-phone {
    transform: translateX(var(--target-x, -300.5px)) translateY(var(--target-y, 315.5px)) rotate(8deg);
    transform-origin: center center;
}

.hero-decor-5.hide-behind-phone {
    transform: translateX(var(--target-x, 358.5px)) translateY(var(--target-y, 132.5px));
    transform-origin: center center;
}

.hero-decor-6.hide-behind-phone {
    transform: translateX(var(--target-x, -175.5px)) translateY(var(--target-y, 151.5px));
    transform-origin: center center;
}
  

/* Top-left: Garlic - верхний левый угол, выше текста, повернут против часовой стрелки */
.hero-decor-1 {
    width: 157px;
    height: 157px;
    left: 80px;
    top: 360px;
    transform: rotate(-14deg);
    transform-origin: center center;
}

/* Mid-left: Olive Oil - средняя левая часть, ниже чеснока, слева от телефона */
.hero-decor-2 {
    width: 157px;
    height: 157px;
    left: 180px;
    top: 560px;
}

/* Bottom-left: Pasta - нижняя левая часть, ниже оливкового масла */
.hero-decor-5 {
    width: 140px;
    height: 143px;
    left: 300px;
    top: 700px;
    bottom: auto;
}

/* Top-right: Pepper - верхний правый угол, выше текста, повернут по часовой стрелке */
.hero-decor-3 {
    width: 157px;
    height: 146.66px;
    right: 70px;
    top: 310px;
    transform: rotate(7deg);
    transform-origin: center center;
}

/* Mid-right: Cheese - средняя правая часть, ниже перца, справа от телефона, повернут по часовой стрелке */
.hero-decor-4 {
    width: 157px;
    height: 157px;
    right: 180px;
    top: 560px;
    transform: rotate(8deg);
    transform-origin: center center;
}

/* Bottom-right: Zucchini - нижняя правая часть, ниже сыра, справа от телефона */
.hero-decor-6 {
    width: 162px;
    height: 162px;
    right: 300px;
    top: 700px;
    bottom: auto;
}

/* Desktop only: Hide bottom image layer (zucchini and pasta) when viewport < 1304px */
@media (min-width: 769px) and (max-width: 1303px) {
    .hero-decor-5,
    .hero-decor-6 {
        display: none;
    }
}

/* Ограничение позиций декоративных элементов, чтобы они не поднимались выше текста */
@media (max-width: 1400px) {
    .hero-decor-1 {
        top: 400px;
    }
    
    .hero-decor-3 {
        top: 450px;
    }
    
    .hero-decor-2,
    .hero-decor-4 {
        top: 560px;
    }
}

@media (max-width: 1200px) {
    .hero-decor-1 {
        top: 400px;
    }
    
    .hero-decor-3 {
        top: 450px;
    }
    
    .hero-decor-2,
    .hero-decor-4 {
        top: 560px;
    }
}

.hero-text {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
}

.hero-title {
    width: 1038px;
    max-width: 100%;
    text-align: center;
    color: var(--Text-primary);
    font-size: 72px;
    font-family: 'Druk Wide Cy App', 'Base Neue', sans-serif;
    font-weight: 500;
    line-height: 86px;
    word-wrap: break-word;
}

.hero-description {
    width: 550px;
    max-width: 100%;
    text-align: center;
    color: var(--Text-primary);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 26px;
    word-wrap: break-word;
}

.btn-primary {
    width: 180px;
    height: 60px;
    padding: 16px 24px;
    background: var(--Button-primary);
    border-radius: 16px;
    color: var(--Text-primary);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-tabs {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
}

.hero-tab {
    width: 116px;
    height: 36px;
    padding: 11px 10px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.hero-tab:not(:last-child) {
    margin-right: 1px;
}

.hero-tab.active {
    background: #ECECE5;
}

.hero-tab:hover:not(.active) {
    background: rgba(236, 236, 229, 0.5);
}

.hero-tab-text {
    color: var(--Text-primary);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
}

.phone-mockup {
    width: 393px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phones-container {
    width: 393px;
    height: 852px;
    position: relative;
    overflow: hidden;
    background: var(--background-white);
    border-radius: 40px;
}

.phones-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-white);
    border-radius: 40px;
    z-index: 0;
    pointer-events: none;
}

.phone-frame {
    width: 393px;
    height: 852px;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--background-dark);
    overflow: hidden;
    border-radius: 40px;
    border: 6px solid black;
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.phone-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-white);
    border-radius: 40px;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.phone-frame.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.hero-frame-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video Preloader Styles */
.video-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.video-preloader.active {
    opacity: 1;
    visibility: visible;
}

.video-preloader-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.video-preloader-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    animation: preloaderDotPulse 1.4s ease-in-out infinite;
}

.video-preloader-dot:nth-child(1) {
    animation-delay: 0s;
}

.video-preloader-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.video-preloader-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.video-preloader-dot:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes preloaderDotPulse {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

.phone-frame.active::after {
    opacity: 0;
}

.phone-frame.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 1;
}

.phone-frame.slide-out-left::after {
    opacity: 1;
}

.phone-frame.slide-in-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
}

.phone-frame.slide-in-right::after {
    opacity: 1;
}

.phone-frame.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
}

.phone-frame.slide-out-right::after {
    opacity: 1;
}

.phone-frame.slide-in-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 1;
}

.phone-frame.slide-in-left::after {
    opacity: 1;
}

.phone-status-bar {
    width: 390px;
    height: 54px;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.status-time {
    width: 35.45px;
    height: 21.79px;
    text-align: center;
    color: var(--Text-primary);
    font-size: 17px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 22px;
}

.status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.status-icon {
    width: 17px;
    height: 12px;
    background: var(--Text-primary);
    border-radius: 2px;
}

.status-icon:first-child {
    width: 20.84px;
    height: 8.92px;
    border-radius: 2.50px;
}

.status-icon:nth-child(2) {
    width: 24.81px;
    height: 12.88px;
    border-radius: 4.30px;
    border: 1px var(--Text-primary) solid;
    opacity: 0.35;
    background: transparent;
}

.status-icon:nth-child(3) {
    width: 1.32px;
    height: 4.04px;
    opacity: 0.40;
}

.phone-content {
    width: 393px;
    padding: 85px 22px 0;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phone-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.phone-greeting {
    align-self: stretch;
    text-align: center;
    color: var(--Text-primary);
    font-size: 30px;
    font-family: 'Base Neue', sans-serif;
    font-weight: 700;
    line-height: 30px;
    word-wrap: break-word;
}

.phone-user-info {
    position: absolute;
    left: 130px;
    top: 156px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 9999px;
    object-fit: cover;
}

.user-name {
    color: var(--Text-primary);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 19.20px;
    word-wrap: break-word;
    margin-top: 8px;
}

.phone-card {
    width: 353px;
    min-height: 360px;
    padding: 32px;
    background: white;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
}

.card-title {
    width: 320.61px;
    text-align: center;
    color: var(--Text-primary);
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

.card-image-container {
    align-self: stretch;
    height: 203px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image {
    width: 264px;
    height: 238.10px;
    object-fit: cover;
    border-radius: 12px;
}

.hero-phone-video {
    width: 264px;
    height: 238.10px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    border: 6px black solid;
    box-sizing: border-box;
}

.card-info {
    color: var(--Text-secondary);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 22px;
    word-wrap: break-word;
}

.phone-button {
    width: 100%;
    height: 60px;
    padding: 0 32px;
    background: var(--Button-secondary);
    border-radius: 20px;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.phone-button:hover {
    opacity: 0.8;
}

.phone-button div {
    text-align: center;
    color: var(--Text-white);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 19.20px;
    word-wrap: break-word;
}

.phone-bottom-nav {
    width: 392px;
    position: absolute;
    left: 1px;
    bottom: 0;
    background: var(--background-dark);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.phone-bottom-nav > div:first-child {
    align-self: stretch;
    padding: 0 20px;
    background: var(--background-dark);
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.nav-item {
    flex: 1 1 0;
    height: 60px;
    padding: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.nav-item.active .nav-icon::after {
    content: '';
    width: 22px;
    height: 22px;
    left: 1px;
    top: 1px;
    position: absolute;
    border-radius: 1px;
    outline: 2px var(--Text-primary) solid;
    outline-offset: -1px;
}

.nav-item:not(.active) .nav-icon::after {
    content: '';
    width: 22px;
    height: 22px;
    left: 1px;
    top: 1px;
    position: absolute;
    border-radius: 1px;
    outline: 2px #A1A09F solid;
    outline-offset: -1px;
}

.nav-indicator {
    align-self: stretch;
    height: 32px;
    position: relative;
}

.nav-indicator::after {
    content: '';
    width: 134px;
    height: 5px;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    position: absolute;
    background: var(--Text-primary);
    border-radius: 10px;
}

.reasons-section {
    width: 100%;
    padding: 104px 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 72px;
}

.reasons-title {
    align-self: stretch;
    text-align: center;
    color: var(--Text-primary);
    font-size: 56px;
    font-family: 'Druk Wide Cy App', 'Base Neue', sans-serif;
    font-weight: 500;
    line-height: 64px;
    word-wrap: break-word;
}

.reasons-content {
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 56px;
    max-width: 100%;
}

.reasons-cards {
    flex: 1;
    max-width: 660px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.reason-card {
    align-self: stretch;
    padding: 48px;
    background: var(--background-white-60);
    border-radius: 24px;
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.reason-header {
    align-self: stretch;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}

.reason-percent {
    color: var(--Text-primary);
    font-size: 22px;
    font-family: 'Druk Wide Cy App', 'Base Neue', sans-serif;
    font-weight: 500;
    line-height: 26px;
    word-wrap: break-word;
    flex-shrink: 0;
}

.reason-title-text {
    flex: 1;
    min-width: 0;
    color: var(--Text-primary);
    font-size: 22px;
    font-family: 'Druk Wide Cy App', 'Base Neue', sans-serif;
    font-weight: 500;
    line-height: 26px;
    word-wrap: break-word;
}

.reason-description {
    align-self: stretch;
    color: var(--Text-primary);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.reasons-image {
    flex: 1;
    max-width: 564px;
    min-width: 0;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    align-self: stretch;
    object-position: center;
}

.features-section {
    width: 100%;
    padding: 104px 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 72px;
}

.features-title {
    width: 100%;
    text-align: center;
    color: var(--Text-primary);
    font-size: 56px;
    font-family: 'Druk Wide Cy App', 'Base Neue', sans-serif;
    font-weight: 500;
    line-height: 64px;
    word-wrap: break-word;
}

.features-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 32px;
    max-width: 1400px;
    align-items: stretch;
    justify-items: stretch;
    margin: 0 auto;
}

.features-carousel-wrapper {
    width: 100%;
}

.features-dots {
    display: none;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

.feature-card {
    width: 100%;
    height: 100%;
    min-width: 300px;
    padding-top: 48px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    background: white;
    overflow: visible;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    position: relative;
}

.feature-phone-mockup {
    width: 312px;
    height: 650px;
    position: relative;
    background: black;
    overflow: hidden;
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
    border-left: 6px black solid;
    border-top: 6px black solid;
    border-right: 6px black solid;
    border-bottom: 6px black solid;
}

.phone-screen {
    width: 300px;
    height: 660px;
    position: relative;
    background: var(--background-dark);
    border-top-left-radius: 14.25px;
    border-top-right-radius: 14.25px;
    border-bottom-right-radius: 14.25px;
    border-bottom-left-radius: 0;
    overflow: hidden;
}

.phone-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-video-slot {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.phone-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
}

.phone-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14.25px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4.27px;
}

.ingredient-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4.27px;
}

.ingredient-tag {
    height: 25.65px;
    padding: 7.84px 7.12px;
    background: var(--background-dark);
    border-radius: 7.12px;
    text-align: right;
    color: var(--Text-primary);
    font-size: 11.40px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 15.67px;
    word-wrap: break-word;
}

.ingredient-tag.analyzing {
    background: var(--Button-primary);
}

.feature-description {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    margin-top: -176px;
    margin-left: -40px;
    margin-right: -40px;
    position: relative;
    z-index: 10;
    background: white;
    padding-top: 26px;
    padding-bottom: 26px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
    width: calc(100% + 80px);
}

.feature-icon {
    width: 36px;
    height: 36px;
    padding: 4px;
    background: var(--Button-primary);
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    top: var(--feature-icon-offset, 20px);
}

.feature-icon-img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.feature-text {
    width: 300px;
    text-align: center;
    color: var(--Text-primary);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 26px;
    word-wrap: break-word;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: relative;
    top: var(--feature-text-offset, 20px);
}

@media (max-width: 768px) {
    .hero-container {
        width: 100%;
        max-width: 100%;
        padding-top: 32px;
        padding-bottom: 60px;
        padding-left: 20px;
        padding-right: 20px;
        gap: 40px;
    }
    
    .header {
        padding: 20px 20px 0;
    }
    
    .header-container {
        flex-wrap: nowrap;
        gap: 8px;
        min-width: 0;
    }
    
    .logo-section {
        flex-shrink: 1;
        min-width: 0;
        width: auto;
    }
    
    .logo {
        font-size: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .icons-section {
        flex-shrink: 0;
        width: auto;
        min-width: 0;
    }
    
    .icon-image {
        width: 40px;
        height: 40px;
    }
    
    .actions-section {
        flex-shrink: 1;
        min-width: 0;
        gap: 4px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .btn-text {
        padding: 10px 12px;
        display: none;
    }
    
    .btn-primary {
        width: 100%;
        max-width: 472px;
        padding: 16px 24px;
        font-size: 18px;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        line-height: 24px;
        word-wrap: break-word;
        white-space: normal;
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: 42px;
        font-family: 'Base Neue', sans-serif;
        font-weight: 600;
        line-height: 46.20px;
        word-wrap: break-word;
        color: black;
    }
    
    .hero-description {
        width: 100%;
        padding: 0 20px;
        margin-top: 10px;
    }
    
    .hero-tabs {
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .hero-tab {
        width: auto;
        min-width: 100px;
        padding: 11px 16px;
    }
    
    .hero-tab:not(:last-child) {
        margin-right: 0;
    }
    
    .phone-mockup {
        width: 100%;
        max-width: 472px;
    }
    
    .phones-container {
        width: 100%;
        height: auto;
        aspect-ratio: 393 / 852;
        max-width: 472px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        display: flex;
        flex-direction: row;
        position: relative;
    }
    
    .phones-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .phone-frame {
        width: 100%;
        height: 100%;
        min-width: 100%;
        flex: 0 0 100%;
        position: relative;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        outline: 4px var(--Text-primary) solid !important;
        opacity: 1;
        transform: translateX(0) !important;
        pointer-events: auto;
        z-index: 1;
        transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .phone-frame::after {
        display: none;
    }
    
    .phone-frame.active {
        z-index: 2;
    }
    
    .phone-frame:not(:first-child) {
        margin-left: 0;
    }
    
    .phone-status-bar {
        width: calc(100% - 6px);
        max-width: 468px;
    }
    
    .phone-content {
        width: 100%;
        max-width: 472px;
    }
    
    .hero-decor-1 {
        width: 80px;
        height: 82px;
        left: calc(20px + var(--decor-inset-1, 0px));
        right: auto;
        top: var(--decor-row1-top, 180px);
    }

    .hero-decor-2 {
        width: 80px;
        height: 82px;
        left: calc(20px + var(--decor-inset-2, 0px));
        right: auto;
        top: var(--decor-row2-top, 280px);
    }

    .hero-decor-3 {
        width: 80px;
        height: 75px;
        right: calc(20px + var(--decor-inset-1, 0px));
        left: auto;
        top: var(--decor-row1-top, 180px);
    }

    .hero-decor-4 {
        width: 80px;
        height: 82px;
        right: calc(15px + var(--decor-inset-2, 0px));
        left: auto;
        top: var(--decor-row2-top, 280px);
    }

    .hero-decor-5 {
        width: 70px;
        height: 72px;
        left: calc(15px + var(--decor-inset-3, 0px));
        right: auto;
        top: var(--decor-row3-top, 460px);
        bottom: auto;
        display: none;
    }

    .hero-decor-6 {
        width: 82px;
        height: 82px;
        right: calc(20px + var(--decor-inset-3, 0px));
        left: auto;
        top: var(--decor-row3-top, 460px);
        bottom: auto;
        display: none;
    }
    
    .reasons-section {
        padding: 60px 20px;
        gap: 40px;
    }
    
    .reasons-title {
        font-size: 32px;
        line-height: 40px;
    }
    
    .reasons-content {
        flex-direction: column;
        gap: 32px;
        align-items: stretch;
    }
    
    .reasons-cards {
        width: 100%;
        max-width: 100%;
    }
    
    .reason-title-text {
        width: auto;
        flex: 1;
    }
    
    .reasons-image {
        width: 100%;
        height: auto;
        max-width: 564px;
        align-self: center;
    }
    
    .reason-card {
        padding: 32px 24px;
    }
    
    .features-section {
        padding: 60px 20px;
        gap: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .features-title {
        font-size: 32px;
        line-height: 40px;
    }
    
    .features-carousel-wrapper {
        width: 100%;
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding: 0;
        box-sizing: border-box;
    }
    
    .features-carousel-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .features-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        touch-action: pan-x pan-y pinch-zoom;
    }
    
    .feature-card {
        flex: 0 0 100%;
        min-width: 0;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border-radius: 32px;
        background: white;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        align-self: stretch;
        width: 100%;
        overflow: hidden;
    }
    
    /* Возвращаем рамку телефона на мобильных, увеличиваем размер */
    .feature-card .feature-phone-mockup {
        width: calc(100% - 40px);
        max-width: 528px;
        min-width: 0;
        height: auto;
        aspect-ratio: 312 / 650;
        position: relative;
        background: black;
        overflow: hidden;
        border-top-left-radius: 36px;
        border-top-right-radius: 36px;
        border-bottom-left-radius: 36px;
        border-bottom-right-radius: 36px;
        border-left: 3px black solid !important;
        border-top: 3px black solid !important;
        border-right: 3px black solid !important;
        border-bottom: 3px black solid !important;
        margin: 0 auto;
        flex-shrink: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Экран телефона внутри рамки */
    .feature-card .phone-screen {
        position: absolute;
        top: 3px;
        left: 3px;
        right: 3px;
        bottom: 3px;
        width: auto;
        height: auto;
        background: var(--background-dark);
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        overflow: hidden;
        display: block;
        margin: 0;
    }
    
    .feature-card .phone-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        margin: 0 auto;
    }
    
    .feature-card .phone-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        margin: 0 auto;
    }
    
    /* Скрываем описание на мобильных */
    .feature-card .feature-description {
        display: none;
    }

    .features-section .features-dots {
        display: inline-flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
        width: 100%;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .features-section .feature-dot {
        width: 6px;
        height: 6px;
        border-radius: 9999px;
        background: white;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background 0.3s ease, width 0.3s ease, height 0.3s ease;
        flex-shrink: 0;
    }

    .features-section .feature-dot.active {
        width: 8px;
        height: 8px;
        background: black;
    }
}

/* Для очень маленьких экранов (меньше 427px) */
@media (max-width: 427px) {
    .feature-card .feature-phone-mockup {
        width: calc(100% - 20px);
        min-width: 0;
        max-width: 100%;
    }
    
    .features-carousel-wrapper {
        padding: 0 10px;
    }
}

/* Extra-small phones: hide only the header "Blog" button, keep Get the app + icons + logo */
@media (max-width: 470px) {
    .header .actions-section .btn-text {
        display: none;
    }

    .header .actions-section .btn-fill {
        display: flex;
    }
}

/* Ultra-small phones: keep only logo + "Get the app" in header (hide iOS/Android icons) */
@media (max-width: 400px) {
    .header .icons-section {
        display: none;
    }
}

/* Для экранов меньше 350px: табы перестраиваются в несколько строк */
@media (max-width: 350px) {
    .hero-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 1400px) {
    .reasons-section {
        padding: 80px 60px;
    }
    
    .reasons-content {
        gap: 40px;
    }
    
    .reasons-cards {
        max-width: 550px;
    }
    
    .reasons-image {
        max-width: 480px;
    }
    
    .reason-card {
        padding: 32px;
    }
    
    .reason-percent,
    .reason-title-text {
        font-size: 20px;
        line-height: 24px;
    }
    
    .reason-description {
        font-size: 15px;
        line-height: 22px;
    }
}

@media (max-width: 1200px) {
    .reasons-section {
        padding: 80px 40px;
    }
    
    .reasons-content {
        gap: 32px;
    }
    
    .reasons-cards {
        max-width: 480px;
    }
    
    .reasons-image {
        max-width: 400px;
    }
    
    .reason-card {
        padding: 28px;
        gap: 10px;
    }
    
    .reason-percent,
    .reason-title-text {
        font-size: 18px;
        line-height: 22px;
    }
    
    .reason-description {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 1024px) {
    .reasons-content {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    
    .reasons-cards {
        width: 100%;
        max-width: 100%;
    }
    
    .reasons-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        align-self: center;
    }
    
    .reason-card {
        padding: 36px;
    }
    
    .reason-percent,
    .reason-title-text {
        font-size: 22px;
        line-height: 26px;
    }
    
    .reason-description {
        font-size: 16px;
        line-height: 24px;
    }
}

.cta-section {
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-container {
    width: calc(100% - 160px);
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: 80px;
    margin-right: 80px;
    object-fit: contain;
    border-radius: 32px;
}

.cta-logo {
    position: absolute;
    left: 50%;
    top: 97.22px;
    transform: translateX(-50%);
    width: 113.55px;
    height: 113px;
    z-index: 5;
    display: block;
    object-fit: contain;
}

.cta-images {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.cta-image {
    position: absolute;
    object-fit: contain;
}

/* Top-left: Garlic */
.cta-image-1 {
    width: 261.33px;
    height: 261.33px;
    left: 113.37px;
    top: 113.01px;
    transform: rotate(-14deg);
    transform-origin: top left;
}

/* Bottom-left: Pasta (rotated) */
.cta-image-2 {
    width: 581.14px;
    height: 581.14px;
    left: -88.24px;
    top: 469.34px;
    transform: rotate(8deg);
    transform-origin: top left;
}

/* Bottom-right: Zucchini */
.cta-image-3 {
    width: 613.14px;
    height: 572.78px;
    left: 903.52px;
    top: 625.78px;
    transform: rotate(7deg);
    transform-origin: top left;
}

/* Top-right: Pepper */
.cta-image-4 {
    width: 600.44px;
    height: 600.44px;
    left: 1507.08px;
    top: 169.89px;
    transform: rotate(8deg);
    transform-origin: top left;
}

/* Bottom-left: Cheese */
.cta-image-5 {
    width: 306.52px;
    height: 306.52px;
    left: 1173.32px;
    top: 36.16px;
}

.cta-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 958.22px;
    max-width: 100%;
}

.cta-subtitle {
    color: var(--Text-primary);
    font-size: 31.78px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 44.49px;
    word-wrap: break-word;
    margin-bottom: 0;
}

.cta-title {
    width: 100%;
    text-align: center;
    color: var(--Text-primary);
    font-size: 85.56px;
    font-family: 'Druk Wide Cy App', 'Base Neue', sans-serif;
    font-weight: 500;
    line-height: 94.11px;
    word-wrap: break-word;
    margin-top: 0;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-section {
        padding: 36px 0;
    }
    
    .cta-container {
        width: calc(100% - 40px);
        max-width: 100%;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .cta-title {
        font-size: 48px;
        line-height: 56px;
    }
    
    .cta-subtitle {
        font-size: 24px;
        line-height: 32px;
    }
    
    .cta-logo {
        top: 40px;
        width: 80px;
        height: 80px;
    }
    
    .cta-content {
        width: 100%;
        padding: 0 20px;
    }
    
    .cta-subtitle {
        font-size: 24px;
        line-height: 32px;
    }
    
    .cta-title {
        font-size: 48px;
        line-height: 56px;
    }
    
    .cta-image-1,
    .cta-image-2,
    .cta-image-3,
    .cta-image-4,
    .cta-image-5 {
        width: 150px;
        height: 150px;
        opacity: 0.5;
    }
}

.try-section {
    width: 100%;
    padding: 104px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.try-container {
    width: 100%;
    height: 100%;
    padding: 104px 110px;
    background: var(--background-white);
    border-radius: 32px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 72px;
}

.try-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 72px;
}

.try-title {
    align-self: stretch;
    text-align: center;
    color: var(--Text-primary);
    font-size: 56px;
    font-family: 'Druk Wide Cy App', 'Base Neue', sans-serif;
    font-weight: 500;
    line-height: 64px;
    word-wrap: break-word;
}

.pricing-table {
    align-self: stretch;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
}

.pricing-features {
    width: 500px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.pricing-features-list {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
}

.pricing-feature-header {
    align-self: stretch;
    height: 209px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 0;
    padding-bottom: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 12px;
    box-sizing: border-box;
}

.pricing-feature-item {
    align-self: stretch;
    height: 64px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px var(--background-stroke) solid;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}

.pricing-feature-text {
    flex: 1 1 0;
    color: var(--Text-primary);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 26px;
    word-wrap: break-word;
}

/* Hide duplicated feature text inside plan rows on desktop */
.pricing-feature-check .pricing-feature-text {
    display: none;
}

.pricing-feature-header .pricing-feature-text {
    font-weight: 600;
    line-height: 24px;
}

.pricing-plan {
    flex: 1 1 0;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 32px;
    border-style: none;
    border-width: 0px;
    border-color: rgba(0, 0, 0, 0);
    border-image: none;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.free-plan {
    background: var(--background-white);
}

.subscription-plan {
    background: #F4F5F0;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.pricing-plan-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
}

.pricing-plan-header {
    align-self: stretch;
    height: 209px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 17px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    box-sizing: border-box;
}

.pricing-plan-title {
    color: var(--Text-primary, black);
    font-size: 28px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    line-height: 32px;
    word-wrap: break-word;
    transform: translateY(12px);
}

.pricing-plan-price {
    display: inline-flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 3px;
}

.price-amount {
    color: var(--Text-primary);
    font-size: 56px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 64px;
    word-wrap: break-word;
}

.price-period {
    color: var(--Text-secondary);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 26px;
    word-wrap: break-word;
}

.pricing-button {
    align-self: stretch;
    height: 60px;
    padding: 16px 24px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
    transition: opacity 0.2s;
}

.pricing-button:hover {
    opacity: 0.8;
}

.pricing-button-free {
    background: #F4F5F0;
    color: var(--Text-primary);
}

.pricing-button-subscription {
    background: var(--Button-secondary);
    color: var(--Text-white);
}

.pricing-feature-check {
    align-self: stretch;
    height: 64px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px var(--background-stroke) solid;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}

.check-icon {
    width: 24px;
    height: 24px;
    position: relative;
    overflow: hidden;
}

.check-yes {
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-yes svg {
    width: 16px;
    height: 16px;
}

.check-icon-img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.check-no {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-no svg {
    width: 24px;
    height: 24px;
}

.check-icon-img-close {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.newsletter-section {
    width: 100%;
    padding: 5px 10px 104px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.newsletter-container {
    flex: 1 1 0;
    height: 630px;
    padding: 152px 70px 104px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 104px;
}

.newsletter-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.newsletter-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 56px;
    position: relative;
    z-index: 1;
}

.newsletter-title {
    align-self: stretch;
    text-align: center;
    color: var(--Text-primary);
    font-size: 56px;
    font-family: 'Druk Wide Cy App', 'Base Neue', sans-serif;
    font-weight: 500;
    line-height: 64px;
    word-wrap: break-word;
}

.newsletter-form {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.newsletter-input-wrapper {
    width: 550px;
    height: 60px;
    padding: 10px 24px;
    background: var(--background-white);
    border-radius: 16px;
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.newsletter-input {
    align-self: stretch;
    border: none;
    outline: none;
    background: transparent;
    color: var(--Text-primary);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 28px;
    width: 100%;
}

.newsletter-input::placeholder {
    color: var(--Text-secondary);
}

.newsletter-button {
    width: 300px;
    height: 60px;
    padding: 16px 24px;
    background: var(--Button-primary);
    border-radius: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: var(--Text-primary);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
    transition: opacity 0.2s;
}

.newsletter-button:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .try-section {
        padding: 60px 10px;
    }
    
    .try-container {
        width: 100%;
        padding: 60px 20px;
        gap: 40px;
    }
    
    .try-content {
        gap: 40px;
    }
    
    .try-title {
        font-size: 32px;
        line-height: 40px;
    }
    
    .pricing-table {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
    .pricing-features {
        display: none;
    }
    
    .pricing-plan {
        width: 100%;
        flex: none;
        align-self: stretch;
    }
    
    .pricing-plan {
        border-radius: 32px;
        overflow: hidden;
    }

    .pricing-plan-content {
        width: 100%;
    }

    .free-plan,
    .subscription-plan {
        border-radius: 32px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .pricing-plan-header {
        height: auto;
        padding: 24px 24px 20px;
        gap: 16px;
        align-items: flex-start;
    }

    .pricing-plan-title {
        transform: none;
        font-size: 20px;
        line-height: 26px;
    }

    .price-amount {
        font-size: 40px;
        line-height: 46px;
    }

    .price-period {
        font-size: 14px;
        line-height: 20px;
    }

    .pricing-button {
        width: 100%;
        height: 48px;
        border-radius: 16px;
    }

    .pricing-feature-check {
        height: auto;
        min-height: 56px;
        padding: 12px 24px;
        align-items: center;
        gap: 16px;
    }

    .pricing-feature-check .pricing-feature-text {
        display: block;
        font-size: 16px;
        line-height: 22px;
    }

    .pricing-feature-check .check-icon {
        width: 32px;
        height: 32px;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .pricing-feature-check .check-yes {
        background: var(--Button-primary);
    }

    .pricing-feature-check .check-icon-img,
    .pricing-feature-check .check-icon-img-close {
        width: 18px;
        height: 18px;
    }
    
    /* Убираем последнюю разделительную линию у "Saving ingredients to the shopping list" */
    .pricing-plan .pricing-feature-check:last-child {
        border-bottom: none;
    }
    
    .newsletter-section {
        padding: 5px 10px 60px;
    }
    
    .newsletter-container {
        height: auto;
        min-height: 500px;
        padding: 80px 20px 60px;
        gap: 40px;
    }
    
    .newsletter-title {
        font-size: 32px;
        line-height: 40px;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .newsletter-input-wrapper {
        width: 100%;
    }
    
    .newsletter-button {
        width: 100%;
    }
}

.footer {
    width: 100%;
    padding-bottom: 80px;
    padding-left: 80px;
    padding-right: 80px;
    display: inline-flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-container {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    width: 100px;
    height: 120px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo-text {
    align-self: stretch;
    color: var(--Text-primary);
    font-size: 26px;
    font-family: 'Base Neue', sans-serif;
    font-weight: 700;
    word-wrap: break-word;
}

.footer-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s;
    text-decoration: none;
}

.footer-icon:hover {
    opacity: 0.8;
}

.footer-icon-img {
    width: 36px;
    height: 36px;
    display: block;
}

.footer-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
}

.footer-column {
    width: 230px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
}

.footer-column:nth-child(2) {
    width: 200px;
}

.footer-column:nth-child(3) {
    width: 200px;
}

.footer-column-title {
    align-self: stretch;
    color: var(--Text-primary);
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 28px;
    word-wrap: break-word;
}

.footer-column-links {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}

.footer-link {
    color: var(--Text-primary);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 26px;
    word-wrap: break-word;
    text-decoration: none;
    transition: opacity 0.2s;
}

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

/* Footer: on medium widths keep columns closer to each other, but not flush to Mild/insta */
@media (max-width: 1100px) {
    .footer {
        padding-left: 40px;
        padding-right: 40px;
    }

    .footer-container {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 32px 48px; /* row-gap / column-gap: keeps space from logo block */
    }

    .footer-links {
        flex: 1 1 520px;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px; /* columns closer to each other */
    }

    .footer-column,
    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        width: auto;
        flex: 1 1 180px;
        min-width: 160px;
        align-items: flex-start;
    }
}

/* Mobile (as on the screenshot) */
@media (max-width: 768px) {
    .footer {
      padding: 56px 24px 32px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 56px; /* space between links block and logo row */
    }
  
    .footer-container {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
    }
  
    /* LINKS (3 centered columns stacked) */
    .footer-links {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 56px;
      order: 1;
    }
  
    .footer-column {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 18px;
      text-align: center;
    }
  
    .footer-column-title {
      font-size: 25px;
      line-height: 30px;
      margin: 0 0 8px;
      text-align: center;
    }
  
    .footer-column-links {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 18px;
    }
  
    .footer-link {
      font-size: 22px;
      line-height: 27px;
      text-align: center;
    }
  
    /* LOGO ROW (Mild left, Insta right) */
    .footer-logo {
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center; /* horizontal alignment */
      justify-content: space-between;
      gap: 16px;
  
      margin-top: 80px; /* moved 40px lower */
      padding-top: 0;
      border-top: none;
      order: 2;
    }
  
    .footer-logo-text {
      font-size: 32px;
      line-height: 1;
      display: flex;
      align-items: center;
    }
  
    .footer-icon {
      width: 56px;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 18px;
      overflow: hidden;
    }
  
    .footer-icon-img {
      width: 56px;
      height: 56px;
      display: block;
    }
  
    /* keep other blocks intact on mobile */
    .feature-card {
      padding: 32px 24px;
    }
  }
  
