@font-face {
    font-family: 'Urbanist';
    src: url('fonts/urbanist.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Urbanist';
    src: url('fonts/Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Tila';
    src: url('fonts/tila.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: #000;
    overflow-x: hidden;
}

/* Плавная прокрутка для якорей с учетом фиксированного хэдера */
section[id] {
    scroll-margin-top: 100px;
}

/* Прозрачный хэдер */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 20px 60px;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.brand-name {
    font-family: 'Tila', 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #00a0f0;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.nav-item:hover {
    opacity: 0.7;
}

/* Основная секция */
.main-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 0 0 40px 60px;
    background: #fff;
}

.content-wrapper {
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(380px, 1.1fr) minmax(320px, 0.9fr);
    gap: 60px;
    align-items: flex-start;
    width: 100%;
}

/* Левая колонка */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-hero-image {
    display: none;
}

.main-title {
    margin-top: 100px;
    font-size: 86px;
    font-weight: bold;
    line-height: 1.05;
    color: #000;
    letter-spacing: 0px;
}

.main-title span {
    display: block;
}

.subtitle,
.apps-subtitle,
.app-description {
    font-size: 22px;
    color: #9a9a9a;
    line-height: 1.3;
    letter-spacing: 2px;
    max-width: 760px;
}

.subtitle {
    width: 100%;
    margin: 0;
}

.apps-subtitle {
    margin: 0 auto 60px;
}

.app-description {
    margin: 0 auto 40px;
}

.main-section .subtitle {
    max-width: 520px;
}

.cta-button,
.contact-button,
.banner-button,
.app-button {
    background: #00a0f0;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 60px;
    padding: 0 40px;
    white-space: nowrap;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    box-sizing: border-box;
}

.cta-button {
    margin-top: 16px;
}

.cta-button:hover,
.contact-button:hover,
.banner-button:hover,
.app-button:hover {
    transform: translateY(-2px);
    background: #0088d1;
}

.cta-button:active,
.contact-button:active,
.banner-button:active,
.app-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cta-button,
    .contact-button,
    .banner-button,
    .app-button {
        height: 44px !important;
        padding: 0 24px !important;
        font-size: 16px !important;
        max-width: 200px !important;
    }
}

/* Правая колонка с изображением */
.right-column {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
    margin-top: 0;
    margin-right: 0;
    margin-left: -360px;
}

.image-container {
    width: 1100px;
    height: 800px;
    position: relative;
    overflow: hidden;
    /* Привязка к правому верхнему углу */
    margin-top: 0;
    margin-right: 0;
    /* Clip-path для создания эллиптической формы слева, правая часть остается видимой */
    /* Эллипс: радиус по горизонтали 300px, по вертикали 500px - скругление ближе к левому краю */
    clip-path: path('M 300 0 L 1100 0 L 1100 800 L 300 800 A 300 500 0 0 1 300 0 Z');
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-mobile {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

/* Адаптивность */
@media (max-width: 1600px) {
    .right-column {
        margin-left: -300px;
    }
}

@media (max-width: 1366px) {
    .right-column {
        margin-left: -240px;
    }
}

@media (max-width: 1200px) {
    .right-column {
        margin-left: -160px;
    }
}

@media (max-width: 1440px) {
    .header-content {
        max-width: 1200px;
    }
    
    .content-wrapper {
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 18px 40px;
    }
    
    .content-wrapper {
        grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
        gap: 50px;
    }

    .right-column {
        justify-content: flex-end;
        margin-left: -60px;
    }

    .main-title {
        font-size: 56px;
    }
    
    .subtitle {
        font-size: 22px;
        letter-spacing: 2px;
        max-width: 760px;
        margin: 0;
    }
    
    .image-container {
        transform: scale(0.8);
        transform-origin: top right;
    }

    .phone-image-container {
        gap: 20px;
        padding: 30px 0;
    }
    
    .phone-icon {
        width: 100px;
    }
    
    .phone-image {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .logo {
        width: 32px;
        height: 32px;
    }

    .main-section {
        padding: 90px 20px 40px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        justify-items: center;
        text-align: center;
    }

    .left-column {
        align-items: center;
    }

    .main-title {
        font-size: 30px;
        margin-top: 24px;
        width: 100%;
    }
    
    .main-title span {
        display: inline;
    }
    
    .subtitle {
        font-size: 18px;
        letter-spacing: 1px;
        width: 100%;
        max-width: 760px;
        margin: 0;
    }

    .right-column {
        display: none;
    }

    .image-container {
        width: 100%;
        max-width: 520px;
        height: auto;
        margin: 0 auto;
        transform: none;
        clip-path: none;
    }

    .hero-image {
        width: 100%;
        height: auto;
    }

    .mobile-hero-image {
        display: block;
        width: 100%;
        max-width: 520px;
        margin: 10px auto 0;
    }

    .hero-image-mobile {
        width: 100%;
        height: auto;
        border-radius: 24px;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        margin: 10px auto 0;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-item {
        font-size: 14px;
    }
    
    .phone-image-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .phone-icons-left,
    .phone-icons-right {
        display: none;
    }
    
    .phone-icon {
        width: 80px;
    }
    
    .phone-image {
        width: 80%;
        order: 0;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 15px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .logo {
        width: 28px;
        height: 28px;
    }
    
    .nav-menu {
        gap: 12px;
    }
    
    .nav-item {
        font-size: 12px;
    }

    .main-section {
        padding: 70px 15px 30px;
    }

    .main-title {
        font-size: 28px;
        margin-top: 24px;
    }
    
    .main-title span {
        display: inline;
    }
    
    .subtitle {
        font-size: 16px;
        letter-spacing: 0.5px;
        max-width: 760px;
        margin: 0;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }

    .right-column {
        display: none;
    }

    .image-container {
        max-width: 320px;
    }
 
    .mobile-hero-image {
        max-width: 320px;
    }
    
    .phone-image-container {
        padding: 15px;
        align-items: center;
    }
    
    .phone-icons-left,
    .phone-icons-right {
        display: none;
    }
    
    .phone-icon {
        width: 60px;
    }
    
    .phone-image {
        width: 90%;
    }
}

/* Раздел Our Community */
.community-section {
    padding: 120px 60px;
    background: #fff;
    max-width: 1600px;
    
    
}

.community-title {
    text-align: center;
    font-size: 62px;
    font-weight: bold;
    color: #000;
    margin-bottom: 60px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.card {
    background: #f4f4f7;
    border-radius: 30px;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    aspect-ratio: 1.1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: -30px;
}

.card-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(1352%) hue-rotate(170deg) brightness(101%) contrast(101%);
}

.card-number {
    font-size: 46px;
    color: #000;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

.card-label {
    font-size: 14px;
    color: #838383;
    font-weight: 400;
    text-transform: lowercase;
    margin: 0;
}

.card-text {
    font-size: 22px;
    color: #9a9a9a;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    max-width: 300px;
}

/* Адаптивность для карточек */
@media (max-width: 1024px) {
    .community-section {
        padding: 80px 40px;
    }
    
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 25px;
    }
    
    .community-title {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .community-section {
        padding: 60px 20px;
    }

    .community-title {
        font-size: 28px;
        line-height: 1.1;
        font-weight: 700;
        text-align: center;
        margin-bottom: 28px;
    }

    .cards-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 18px !important;
        justify-items: center !important;
    }

    .card {
        padding: 16px !important;
        border-radius: 22px !important;
        max-width: 300px !important;
        width: 100% !important;
        aspect-ratio: auto !important;
        min-height: 140px !important;
    }
    
    .card-icon {
        width: 52px;
        height: 52px;
    }
    
    .card-number {
        font-size: 28px;
    }
    
    .card-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .community-section {
        padding: 40px 15px;
    }
    
    .community-title {
        font-size: 28px;
        line-height: 1.05;
        font-weight: 700;
        margin-bottom: 30px;
    }
    
    .cards-container {
        gap: 12px;
        justify-items: center;
    }
    
    .card {
        padding: 16px;
        border-radius: 20px;
        max-width: 220px;
        width: 100%;
    }
    
    .card-top {
        gap: 8px;
        margin-left: -20px;
    }
    
    .card-icon {
        width: 44px;
        height: 44px;
    }
    
    .card-number {
        font-size: 24px;
    }
    
    .card-text {
        font-size: 13px;
        max-width: 100%;
    }
}

/* Раздел Discover Our Beloved Health & Fitness Apps */
.apps-section {
    padding: 120px 60px;
    padding-bottom: 0;
    background: #fff;
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.apps-title,
.app-title {
    font-size: 62px;
    font-weight: bold;
    color: #000;
    line-height: 1.1;
    margin-bottom: 30px;
    text-align: center;
}

.phone-image-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
    position: relative;
}

.phone-icons-left,
.phone-icons-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.phone-icon {
    width: 120px;
    height: auto;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.phone-icon:hover {
    opacity: 1;
    transform: scale(1.05);
}

.phone-image {
    width: 50%;
    height: auto;
    display: block;
    flex-shrink: 0;
    z-index: 1;
}

.app-detail {
    padding: 260px 60px 0;
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.app-detail:last-child {
    padding-bottom: 120px;
}

@media (max-width: 1024px) {
    .app-detail {
        padding: 180px 40px 0;
    }
}

@media (max-width: 768px) {
    .app-detail {
        padding: 120px 20px 0;
    }
    
    .app-detail:last-child {
        padding-bottom: 80px;
    }
    .app-description {
        font-size: 18px;
        letter-spacing: 1px;
        margin: 0 auto 40px;
    }

}

@media (max-width: 480px) {
    .app-detail {
        padding: 80px 15px 0;
    }
    
    .app-detail:last-child {
        padding-bottom: 60px;
    }
    .app-description {
        font-size: 18px;
        letter-spacing: 1px;
        margin: 0 auto 40px;
    }
    
    .app-button {
        width: 100%;
        max-width: 280px;
    }
}

/* Галерея Wellmy */
.wellmy-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 80px;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 0 20px;
}

.wellmy-side {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.wellmy-left {
    align-items: center;
}

.wellmy-right {
    align-items: center;
}

.wellmy-main {
    flex-shrink: 0;
    z-index: 2;
}

.wellmy-main-image {
    width: 350px;
    height: auto;
    display: block;
}

.wellmy-card {
    width: 200px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 15px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.wellmy-left .wellmy-card:nth-child(1) {
    margin-top: -40px;
}

.wellmy-left .wellmy-card:nth-child(2) {
    margin-top: 40px;
}

.wellmy-left .wellmy-card:nth-child(3) {
    margin-top: -40px;
}

.wellmy-right .wellmy-card:nth-child(1) {
    margin-top: 40px;
}

.wellmy-right .wellmy-card:nth-child(2) {
    margin-top: -40px;
}

.wellmy-right .wellmy-card:nth-child(3) {
    margin-top: 40px;
}

.wellmy-card:hover {
    opacity: 0.8;
}

.wellmy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wellmy-fade-left {
    position: relative;
    mask-image: linear-gradient(to left, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 0%, transparent 100%);
}

.wellmy-fade-right {
    position: relative;
    mask-image: linear-gradient(to right, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
}

/* Адаптивность для галереи Wellmy */
@media (max-width: 1024px) {
    .wellmy-gallery {
        gap: 10px;
        padding: 0 15px;
    }
    
    .wellmy-main-image {
        width: 280px;
    }
    
    .wellmy-card {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .wellmy-gallery {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 40px;
        justify-content: center;
    }
    
    .wellmy-side {
        display: none;
    }
    
    .wellmy-main-image {
        width: 100%;
        max-width: 320px;
    }
    
    .wellmy-card {
        display: none;
    }
    
    .wellmy-left .wellmy-card,
    .wellmy-right .wellmy-card {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .wellmy-gallery {
        margin-top: 30px;
        justify-content: center;
    }
    
    .wellmy-main-image {
        max-width: 250px;
    }
    
    .wellmy-card {
        display: none;
    }
}

/* Раздел Sleep Tracker */
.sleep-images {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.sleep-image {
    width: 350px;
    height: auto;
    display: block;
}

.sleep-image:nth-child(2) {
    margin-top: 100px;
}

/* Адаптивность для Sleep Tracker */
@media (max-width: 1024px) {
    .sleep-images {
        gap: 20px;
    }
    
    .sleep-image {
        width: 280px;
    }
    
    .sleep-image:nth-child(2) {
        margin-top: 80px;
    }
}

@media (max-width: 768px) {
    .sleep-images {
        gap: 15px;
        margin-top: 40px;
    }
    
    .sleep-image {
        width: 220px;
    }
    
    .sleep-image:nth-child(2) {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .sleep-images {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .sleep-image {
        width: 100%;
        max-width: 280px;
    }
    
    .sleep-image:nth-child(2) {
        margin-top: 0;
    }
}

/* Конфетти для раздела Sleep */
.sleep-section {
    position: relative;
    overflow: visible;
}

.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: visible;
}

.confetti {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    pointer-events: none;
}

.confetti-1 {
    background: #ff6b6b;
    top: 10%;
    left: 15%;
    width: 25px;
    height: 25px;
    transform: rotate(45deg);
}

.confetti-2 {
    background: #4ecdc4;
    top: 20%;
    left: 80%;
    width: 18px;
    height: 18px;
    transform: rotate(135deg);
}

.confetti-3 {
    background: #ffe66d;
    top: 50%;
    left: 10%;
    width: 22px;
    height: 22px;
    transform: rotate(90deg);
}

.confetti-4 {
    background: #ff6b9d;
    top: 60%;
    left: 85%;
    width: 20px;
    height: 20px;
    transform: rotate(30deg);
}

.confetti-5 {
    background: #95e1d3;
    top: 30%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: rotate(60deg);
}

.confetti-6 {
    background: #f38181;
    top: 70%;
    left: 25%;
    width: 19px;
    height: 19px;
    transform: rotate(120deg);
}

.confetti-7 {
    background: #a8e6cf;
    top: 15%;
    left: 60%;
    width: 21px;
    height: 21px;
    transform: rotate(45deg);
}

.confetti-8 {
    background: #ffd93d;
    top: 80%;
    left: 70%;
    width: 23px;
    height: 23px;
    transform: rotate(150deg);
}

.confetti-9 {
    background: #ff8a80;
    top: 40%;
    left: 5%;
    width: 17px;
    height: 17px;
    transform: rotate(75deg);
}

.confetti-10 {
    background: #6c5ce7;
    top: 55%;
    left: 90%;
    width: 26px;
    height: 26px;
    transform: rotate(180deg);
}

.confetti-11 {
    background: #fd79a8;
    top: 25%;
    left: 35%;
    width: 20px;
    height: 20px;
    transform: rotate(105deg);
}

.confetti-12 {
    background: #00b894;
    top: 75%;
    left: 55%;
    width: 22px;
    height: 22px;
    transform: rotate(210deg);
}

/* Галерея Cleaner */
.cleaner-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 80px;
    position: relative;
    width: 100%;
}

.cleaner-side {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.cleaner-main {
    flex-shrink: 0;
    z-index: 2;
}

.cleaner-main-image {
    width: 350px;
    height: auto;
    display: block;
}

.cleaner-side-image {
    width: 200px;
    height: auto;
    display: block;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.cleaner-side-image:hover {
    opacity: 0.8;
}

/* Адаптивность для галереи Cleaner */
@media (max-width: 1024px) {
    .cleaner-gallery {
        gap: 20px;
    }
    
    .cleaner-main-image {
        width: 280px;
    }
    
    .cleaner-side-image {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .cleaner-gallery {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 40px;
        justify-content: center;
    }
 
    .cleaner-side {
        display: none;
    }
 
    .cleaner-main-image {
        width: 100%;
        max-width: 320px;
    }
 
    .cleaner-side-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .cleaner-gallery {
        margin-top: 30px;
        justify-content: center;
    }
    
    .cleaner-main-image {
        max-width: 250px;
    }
    
    .cleaner-side-image {
        display: none;
    }
}

/* Форма Contact Us */
.contact-section {
    padding: 120px 60px;
    background: #fff;
    max-width: 1600px;
    margin: 0 auto;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 62px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 22px;
    color: #9a9a9a;
    text-align: center;
    margin: 0 auto 60px;
    line-height: 1.3;
    letter-spacing: 2px;
    max-width: 760px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: #000;
    background: rgba(0, 160, 240, 0.02);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9a9a9a;
    opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00a0f0;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-button {
    margin: 0 auto;
}

.contact-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    text-align: center;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 16px;
    margin-top: 20px;
    display: none;
}

.form-message-success {
    display: block;
    background: rgba(0, 160, 240, 0.1);
    color: #00a0f0;
    border: 1px solid #00a0f0;
}

.form-message-error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    color: #d32f2f;
    border: 1px solid #d32f2f;
}

@media (max-width: 1024px) {
    .contact-section {
        padding: 100px 40px;
    }
    
    .contact-title {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 40px;
    }

    .contact-title {
        font-size: 28px;
        line-height: 1.1;
        font-weight: 700;
        text-align: center;
    }

    .contact-subtitle {
        font-size: 18px;
        letter-spacing: 1px;
        margin: 0 auto 40px;
    }

    .contact-button {
        width: 100%;
        max-width: 220px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 25px;
    }
    
    .contact-title {
        font-size: 28px;
        line-height: 1.05;
        font-weight: 700;
    }
    
    .contact-subtitle {
        font-size: 16px;
        letter-spacing: 0.5px;
        margin: 0 auto 30px;
    }

    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .contact-button {
        width: 100%;
        max-width: 280px;
    }
}

/* Баннер */
.banner-section {
    padding: 120px 60px;
    background: #fff;
    max-width: 1600px;
    margin: 0 auto;
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 30px;
}

.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 60px;
    z-index: 2;
    max-width: 600px;
}

.banner-title {
    font-size: 58px;
    font-weight: bold;
    color: #000;
    line-height: 1.1;
    margin: 0;
}

.banner-button {
    margin-top: 10px;
}

/* Адаптивность для баннера */
@media (max-width: 1024px) {
    .banner-section {
        display: none;
    }
    
    .banner-image-wrapper {
        height: 400px;
    }
    
    .banner-text {
        padding: 40px;
        max-width: 500px;
    }
    
    .banner-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .banner-section {
        padding: 60px 20px;
    }
    
    .banner-image-wrapper {
        height: 350px;
    }
    
    .banner-text {
        padding: 30px;
        max-width: 100%;
    }
    
    .banner-title {
        font-size: 30px;
    }
    
}

@media (max-width: 480px) {
    .banner-section {
        padding: 40px 15px;
    }
    
    .banner-image-wrapper {
        height: 300px;
        border-radius: 20px;
    }
    
    .banner-text {
        padding: 20px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-button {
        width: 100%;
        max-width: 280px;
    }
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Адаптивность для баннера */
@media (max-width: 1024px) {
    .banner-title {
        font-size: 56px;
    }

    .banner-text {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .banner-section {
        padding: 60px 20px;
    }

    .banner-title {
        font-size: 42px;
    }

    .banner-text {
        padding: 30px;
    }

    .banner-image-wrapper {
        height: 300px;
    }
}

.app-button {
    margin-bottom: 60px;
}

.app-image-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    margin-top: -60px;
    margin-bottom: 0;
}

.app-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Адаптивность для раздела apps */
@media (max-width: 1024px) {
    .apps-section {
        padding: 80px 40px 0;
    }
    
    .apps-title,
    .app-title {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .apps-section {
        padding: 60px 20px 0;
    }

    .apps-title,
    .app-title {
        font-size: 28px;
        line-height: 1.1;
        font-weight: 700;
        text-align: center;
        margin-bottom: 16px;
    }

    .apps-subtitle {
        font-size: 18px !important;
        letter-spacing: 1px !important;
        margin: 0 auto 40px !important;
        max-width: 520px !important;
        text-align: center !important;
    }

    .apps-subtitle,
    .app-description {
        font-size: 18px;
        letter-spacing: 1px;
        margin: 0 auto 40px;
    }

    .phone-icons-left,
    .phone-icons-right {
        display: none !important;
    }

    .app-image-container {
        overflow: visible;
    }

    .app-image {
        width: 100%;
        transform: none;
        transform-origin: center;
    }

    .apps-section > .app-detail:nth-of-type(2) .app-image-container {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        margin-bottom: 24px;
        overflow: hidden;
        border-radius: 28px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 400px;
    }

    .apps-section > .app-detail:nth-of-type(2) .app-image {
        width: auto;
        max-width: none;
        transform: scale(0.3);
        transform-origin: center;
        margin: 0;
    }

    .phone-image-container {
        padding: 40px 0;
    }
    
    .phone-image {
        width: 50%;
        max-width: none;
        transform: scale(1.3);
        transform-origin: center;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .apps-section {
        padding: 40px 15px 0;
    }
    
    .phone-icons-left,
    .phone-icons-right {
        display: none !important;
    }

    .apps-section > .app-detail:nth-of-type(2) .app-image-container {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        margin-bottom: 20px;
        overflow: hidden;
        border-radius: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 400px;
    }

    .apps-section > .app-detail:nth-of-type(2) .app-image {
        width: auto;
        max-width: none;
        transform: scale(0.3);
        transform-origin: center;
        margin: 0;
    }

    .apps-subtitle {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    .phone-image {
        max-width: none;
        transform: scale(1.3);
        transform-origin: center;
        margin: 0 auto;
    }
}

/* Футер */
.footer {
    background: transparent;
    padding: 0 60px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-line {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: 1px;
    background: #e8e8e8;
    margin-bottom: 40px;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    color: #00a0f0;
}

.footer-company {
    font-size: 16px;
    color: #000;
    font-weight: 400;
}

.footer-address {
    font-size: 16px;
    color: #9a9a9a;
    line-height: 1.5;
}

.footer-email {
    font-size: 16px;
    color: #9a9a9a;
}

.footer-right {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
    justify-content: flex-end;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 16px 0;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-list li {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: flex-end;
}

.footer-link {
    font-size: 16px;
    color: #9a9a9a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #000;
}

/* Адаптивность для футера */
@media (max-width: 1024px) {
    .footer {
        padding: 0 40px 40px;
    }
    
    .footer-right {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 0 20px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-right {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 40px;
    }

    .footer-column {
        align-items: flex-start;
    }

    .footer-list {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 0 15px 30px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo {
        font-size: 20px;
    }
    
    .footer-company,
    .footer-address,
    .footer-email {
        font-size: 14px;
    }
    
    .footer-heading {
        font-size: 16px;
    }
    
    .footer-link {
        font-size: 14px;
    }
}

