/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #63A2F2;
    --color-primary-50: rgba(99, 162, 242, 0.5);
    --color-primary-70: rgba(99, 162, 242, 0.7);
    --color-primary-80: rgba(99, 162, 242, 0.8);

    --color-black: #121212;
    --color-black-80: #414141;
    --color-black-60: #676767;
    --color-black-40: #999999;
    --color-black-20: #CCCCCC;

    --color-white: #FFFFFF;
    --color-white-20: rgba(255, 255, 255, 0.2);

    --color-accent: #63A2F2;
    --color-text: #2E2E2E;
    --color-text-light: #1C1C1C;

    --color-background: rgba(251, 247, 250, 0.36);
    --color-background-light: rgba(254, 254, 254, 0.36);
    --color-background-card: rgba(253, 252, 253, 0.8);

    --color-border: rgba(99, 162, 242, 0.3);
    --color-border-dark: rgba(129, 129, 129, 0.3);

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lato', sans-serif;
    --font-tertiary: 'Poppins', sans-serif;
    --font-quaternary: 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 10px;
    --text-sm: 12px;
    --text-base: 14px;
    --text-lg: 16px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 28px;
    --text-4xl: 32px;
    --text-5xl: 40px;
    --text-6xl: 48px;
    --text-7xl: 52px;
    --text-8xl: 60px;
    --text-9xl: 80px;

    /* Font Weights */
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0px 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0px 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0px 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0px 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0px 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0px 15px 45px rgba(99, 162, 242, 0.16);

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 var(--space-20);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--weight-bold);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-9xl);
    font-weight: var(--weight-semibold);
}

h2 {
    font-size: var(--text-8xl);
    font-weight: var(--weight-bold);
}

h3 {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
}

p {
    margin-bottom: var(--space-4);
    line-height: 1.5;
}

/* Header Styles */
.header {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #F0F6FE;
    z-index: 1000;
    min-height: 900px;
    position: relative;
}

.header-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.header-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    flex: 1;
    width: 100%;
    padding: 0 0 0 var(--space-20);
    position: relative;
    overflow: visible;
    background: linear-gradient(to right, #F0F6FF, #EAF3FE);
}

.left-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 58%;
    z-index: 10;
    padding-right: var(--space-10);
    padding-top: 40px;
}

.menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: var(--space-8);
    z-index: 10;
    flex-shrink: 0;
    gap: 21%;
}

.right-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 41%;
    background-image: url('./images/banner_bg.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    min-height: 900px;
    height: 100%;
    position: relative;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.menu-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .menu-list {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .menu-list {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }
}

.desc-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    margin: auto 0;
}

.title-desc {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.subtitle {
    font-family: Montserrat;
    font-weight: 400;
    font-style: Regular;
    font-size: 28px;
    line-height: 150%;
    vertical-align: middle;
    color: #414141;
    text-align: left;
    letter-spacing: -0.0089;
    width: 80%;
}

.title-desc h1 {
    font-size: clamp(28px, 3vw + 1rem, 72px);
    font-weight: var(--weight-semibold);
    line-height: 1.2;
    color: var(--color-black);
    margin: 0;
}

.title-desc h2 {
    font-size: clamp(28px, 3vw + 1rem, 72px);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    color: var(--color-black);
    margin: 0;
}

.accent {
    color: var(--color-primary);
}

.phone-block {
    position: absolute;
    left: 58%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    width: auto;
    max-width: 400px;
}

.phone-block img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    filter: drop-shadow(0px 15px 45px rgba(99, 162, 242, 0.16));
}

.menu-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item>a {
    display: flex;
    align-items: center;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    white-space: nowrap;
}

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

.menu-item .phone-icon {
    margin-left: 16px;
    vertical-align: middle;
}

/* Mobile Header Bar */
.mobile-header-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-header-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-black);
    position: relative;
    transition: var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-black);
    transition: var(--transition-normal);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-logo img {
    height: 30px;
    width: auto;
}

.mobile-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-normal);
}

.mobile-phone-icon img {
    width: 40px;
    height: 40px;
}

.mobile-phone-icon:hover {
    opacity: 0.7;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    padding: 2rem;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.is-active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.mobile-menu-logo {
    height: 30px;
    width: auto;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--color-black);
    padding: 0;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.mobile-menu-close:hover {
    color: var(--color-primary);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-link {
    font-family: var(--font-primary);
    font-weight: var(--weight-medium);
    font-size: 18px;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition-normal);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-link:hover {
    color: var(--color-primary);
}

.mobile-nav-link-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-phone-icon {
    width: 32px;
    height: 32px;
    margin-left: 8px;
}

body.menu-open {
    overflow: hidden;
}

/* Header Responsive Styles */
/* Очень большие экраны (2200px+) */
@media (min-width: 2201px) {
    .phone-block img {
        max-height: 700px;
    }

    .title-desc h1,
    .title-desc h2 {
        font-size: clamp(60px, 3vw + 1rem, 80px);
    }
}

/* Большие экраны (1920px+) */
@media (min-width: 1921px) {

    .title-desc h1,
    .title-desc h2 {
        font-size: clamp(60px, 3vw + 1rem, 80px);
    }
}

/* MacBook Pro 16 и большие ноутбуки (1600px - 1920px) */
@media (max-width: 1920px) and (min-width: 1601px) {

    .title-desc h1,
    .title-desc h2 {
        font-size: clamp(48px, 2.8vw + 1rem, 72px);
    }
}

/* MacBook 13 и стандартные ноутбуки (1440px - 1600px) */
@media (max-width: 1600px) and (min-width: 1441px) {

    .title-desc h1,
    .title-desc h2 {
        font-size: clamp(40px, 2.5vw + 1rem, 60px);
    }
}

/* MacBook Air и маленькие ноутбуки (1280px - 1440px) */
@media (max-width: 1440px) and (min-width: 1281px) {

    .title-desc h1,
    .title-desc h2 {
        font-size: clamp(36px, 2.5vw + 1rem, 56px);
    }
}

@media (max-width: 1440px) {
    .header {
        min-height: clamp(700px, 90vh, 900px);
    }

    .header-content {
        padding: 0 0 0 var(--space-16);
    }

    .left-block {
        padding-top: 40px;
        padding-right: var(--space-8);
    }

    .right-block {
        min-height: clamp(700px, 90vh, 900px);
    }

    .title-desc h1,
    .title-desc h2 {
        font-size: clamp(36px, 2.5vw + 1rem, 56px);
    }

    .phone-block {
        max-width: 350px;
        top: 59%;
    }

    .phone-block img {
        max-height: 550px;
    }
}

@media (max-width: 1200px) and (min-width: 1025px) {

    .title-desc h1,
    .title-desc h2 {
        font-size: clamp(30px, 2vw + 1rem, 48px);
    }

    .phone-block {
        max-width: 300px;
    }

    .phone-block img {
        max-height: 500px;
    }
}

@media (max-width: 1024px) {

    /* Show mobile header */
    .mobile-header-bar {
        display: flex;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    /* Hide desktop menu */
    .menu {
        display: none;
    }

    .header {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: var(--space-10);
        position: relative;
        z-index: 1;
    }

    .header-container {
        position: relative;
        z-index: 1;
    }

    .header-content {
        flex-direction: column;
        gap: var(--space-8);
        position: relative;
        z-index: 1;
        width: 100%;
        padding: 0;
    }

    .left-block {
        width: 100%;
        padding-right: 0;
        padding-top: 24px;
        text-align: left;
        align-items: flex-start;
    }

    .right-block {
        width: 100%;
        min-height: 400px;
        order: -1;
    }

    /* Скрываем телефон на мобильных устройствах */
    .phone-block {
        display: none;
    }

    .desc-block {
        align-items: flex-start;
        padding: 0 25px;
    }

    .title-desc {
        align-items: flex-start;
        text-align: left;
    }

    .title-desc h1,
    .title-desc h2 {
        text-align: left;
        font-size: clamp(28px, 3.5vw + 0.5rem, 44px);
    }

    .subtitle {
        text-align: left;
    }

    .hero-cta-buttons {
        align-self: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .button-svg {
        width: 100%;
        max-width: 280px;
    }

    .logo-img {
        height: 32px;
    }

    .menu-list {
        gap: 1rem;
    }

    .menu-item>a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: var(--space-4);
    }

    .left-block {
        padding-top: 20px;
    }

    .logo-img {
        height: 28px;
    }

    .menu-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.75rem;
        width: 100%;
    }

    .menu-item>a {
        font-size: 14px;
    }

    .right-block {
        min-height: 150px;
    }

    .title-desc {
        align-items: flex-start;
        text-align: left;
        padding: 0 10px;
    }

    .title-desc h1,
    .title-desc h2 {
        text-align: left;
        font-size: clamp(20px, 6vw + 0.5rem, 32px);
    }

    .subtitle {
        text-align: left;
        font-size: 24PX;
    }

    .hero-cta-buttons {
        align-self: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 24px;
    }

    .button-svg {
        width: 100%;
        max-width: 250px;
    }

    /* Скрываем телефон на мобильных */
    .phone-block {
        display: none;
    }

    .mobile-logo img {
        height: 26px;
    }
}

/* CTA Buttons */
.hero-cta-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(16px, 3vw, 24px);
    width: auto;
    height: auto;
    margin-top: 40px;
}

.app-store-button,
.google-play-button {
    display: block;
    height: auto;
    background: #63A2F2;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.app-store-button:hover,
.google-play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 24px rgba(99, 162, 242, 0.3);
}

.button-svg {
    width: clamp(160px, 24vw, 220px);
    height: auto;
    display: block;
}

/* About Section */
.about {
    background: var(--color-background);
    padding: clamp(60px, 8vw, 112px) 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 60px);
}

.about-text {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
}

.about-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: var(--weight-bold);
    color: var(--color-black);
    flex: 1;
    min-width: 300px;
    line-height: 1.1;
}

.about-description {
    font-family: var(--font-secondary);
    font-size: clamp(16px, 2vw, 24px);
    font-weight: var(--weight-medium);
    line-height: 1.4;
    color: var(--color-black);
    flex: 1;
    min-width: 300px;
    max-width: 603px;
}

.about-visual {
    position: relative;
    display: flex;
    flex-direction: column;
}

.about-video {
    width: 100%;
    height: clamp(400px, 60vw, 990px);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 88, 217, 0.2) 100%);
    border-radius: clamp(30px, 6vw, 90px);
    overflow: hidden;
    position: relative;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(12px, 2vw, 18px);
    padding: 0 clamp(16px, 3vw, 24px);
    margin-top: clamp(-60px, -8vw, -112px);
    position: relative;
    z-index: 0;
}

.card {
    padding: clamp(20px, 4vw, 36px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-primary);
    backdrop-filter: blur(50px);
    transition: transform var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
}

.card-light {
    background: var(--color-background-card);
}

.card-accent {
    background: var(--color-primary-70);
}

.card-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    margin-bottom: clamp(20px, 4vw, 60px);
}

.card-light .card-title {
    color: var(--color-accent);
}

.card-accent .card-title {
    color: var(--color-white);
}

.card-description {
    font-size: clamp(14px, 2vw, 20px);
    font-weight: var(--weight-normal);
    line-height: 1.4;
}

.card-light .card-description {
    color: var(--color-accent);
}

.card-accent .card-description {
    color: var(--color-white);
}

/* Easy Booking Section */
.easy-booking {
    background: var(--color-background);
}

.booking-content {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 60px);
    overflow: visible;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: clamp(30px, 6vw, 60px);
    flex-wrap: wrap;
}

.booking-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: var(--weight-bold);
    color: var(--color-black);
    flex: 1;
    min-width: 300px;
    line-height: 1.1;
}

.step-indicator {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: var(--weight-extrabold);
    line-height: 1.2;
    color: var(--color-primary-50);
    text-align: right;
    flex-shrink: 0;
}

.booking-card {
    background: var(--color-primary-80);
    border-radius: var(--radius-xl);
    padding: clamp(30px, 5vw, 60px);
    min-height: clamp(300px, 40vw, 500px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(30px, 5vw, 60px);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: visible;
}

.booking-card-content {
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 5vw, 60px);
    flex: 1;
    z-index: 2;
}

.booking-icon {
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    background: var(--color-white-20);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-icon img {
    width: clamp(30px, 4vw, 40px);
    height: clamp(30px, 4vw, 40px);
}

.booking-text {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vw, 32px);
}

.booking-card-title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    color: var(--color-white);
}

.booking-card-description {
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: var(--weight-normal);
    line-height: 1.4;
    color: var(--color-white);
}

.booking-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: clamp(600px, 80vw, 1348px);
    height: auto;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
}

.booking-image img {
    width: 60%;
    height: auto;
    object-fit: contain;
}

/* App Section */
.app-section {
    width: 100%;
    min-height: clamp(600px, 80vh, 800px);
    background: linear-gradient(to bottom, rgba(254, 254, 254, 0.36), #FFFFFF);
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 8vw, 112px) 0;
}

.app-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.app-ellipse {
    position: absolute;
    border-radius: 50%;
    filter: blur(500px);
    opacity: 0.5;
}

.app-ellipse-1 {
    width: clamp(300px, 40vw, 525px);
    height: clamp(300px, 40vw, 525px);
    background: #41C0F6;
    top: 0;
    right: -50%;
}

.app-ellipse-2 {
    width: clamp(300px, 40vw, 525px);
    height: clamp(300px, 40vw, 525px);
    background: #8EBDF8;
    top: 50%;
    left: -25%;
}

.app-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 60px);
    min-height: auto;
    width: 100%;
}

.app-content-bottom {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: clamp(40px, 6vw, 80px);
    width: 100%;
}

.app-features {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(8px, 1.5vw, 13.91px);
    flex-wrap: wrap;
    width: 100%;
    z-index: 2;
}

.app-text-block {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 60px);
    flex: 1;
    max-width: clamp(400px, 50vw, 744px);
    z-index: 2;
}

.app-text {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vw, 24px);
    text-align: left;
}

.app-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    color: #1C1C1C;
    margin: 0;
}

.app-description {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 3vw, 32px);
    font-weight: 500;
    line-height: 1.4;
    color: #1C1C1C;
    margin: 0;
}


.app-feature {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800;
    line-height: 1.2;
    color: rgba(99, 162, 242, 0.5);
}

.app-feature:nth-child(2) {
    font-size: clamp(39px, 7.8vw, 78.9px);
}

.app-devices {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: clamp(500px, 50vw, 1020px);
    max-width: 100%;
    flex: 1;
    z-index: 2;
}

.app-devices-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* FAQ Section */
.faq-section {
    background: var(--color-background);
    padding: clamp(60px, 8vw, 112px) 0;
}

.faq-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: var(--weight-bold);
    color: var(--color-black);
    margin-bottom: clamp(30px, 5vw, 40px);
    text-align: center;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 16px);
    
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 39px);
    background: var(--color-background);
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.faq-item-active {
    background: var(--color-accent);
    border-color: var(--color-border-dark);
    border-bottom-width: 2px;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 20px;
}

.question-text {
    font-size: clamp(18px, 3vw, 32px);
    font-weight: var(--weight-semibold);
    line-height: 1.4;
    color: var(--color-text);
    flex: 1;
}

.faq-item-active .question-text {
    color: var(--color-white);
}

.faq-arrow {
    width: clamp(20px, 3vw, 24px);
    height: clamp(20px, 3vw, 24px);
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.faq-answer {
    margin-top: clamp(16px, 3vw, 24px);
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.faq-item-active .faq-answer {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    font-family: var(--font-tertiary);
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: var(--weight-normal);
    line-height: 1.5;
    color: var(--color-white);
    margin: 0;
}

.faq-answer li {
    font-family: var(--font-tertiary);
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: var(--weight-normal);
    line-height: 1.5;
    color: var(--color-white);
    margin: 0;
}


/* CTA Section */
.cta-section {
    background: var(--color-background);
    padding: clamp(60px, 8vw, 112px) 0;
    overflow: visible;
    position: relative;
}

.cta-content {
    display: flex;
    flex-direction: row-reverse;
    background: linear-gradient(135deg, #F0F6FE 0%, #FFFFFF 100%);
    width: 100%;
    height: auto;
    object-fit: contain;
    bottom: -6px;
    position: relative;
   max-height: 460px;
   overflow: visible;
   padding: 48px 0 0 48px;
   border-radius: 32px;
}

.cta-image {
    width: clamp(400px, 50vw, 699px);
    height: auto;
    z-index: 1;
    align-self: flex-end;
}

.cta-main-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    bottom: -6px;
    position: relative;
}

.cta-text {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 40px);
    z-index: 10;
    position: relative;
    flex: 1;
    min-width: 300px;
    padding-bottom: clamp(24px, 4vw, 40px);
}

.cta-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    color: var(--color-black);
}

.cta-description {
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: var(--weight-medium);
    line-height: 1.4;
    color: var(--color-black);
    max-width: 499px;
}

.cta-buttons {
    display: flex;
    gap: clamp(16px, 3vw, 24px);
    flex-wrap: wrap;
}

.app-button {
    display: inline-flex;
    padding: 0;
    background: none;
    border-radius: 0;
    text-decoration: none;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cta-section .container {
        padding: 0;
    }

    .cta-content {
        flex-direction: column-reverse;
        align-items: center;
        padding: clamp(24px, 6vw, 32px);
        max-height: none;
        width: 100%;
        border-radius: 0;
    }

    .cta-image {
        width: 100%;
        max-width: 360px;
        margin-top: clamp(20px, 5vw, 32px);
        align-self: center;
    }

    .cta-text {
        width: 100%;
    }

    .cta-main-image {
        bottom: 0;
    }
}

.app-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.app-button-image {
    display: block;
    width: clamp(160px, 24vw, 220px);
    height: auto;
}

/* Footer */
.footer {
    background: var(--color-black-80);
    padding: clamp(40px, 6vw, 60px) 0 clamp(20px, 3vw, 30px);
    min-height: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 30px);
}

.footer-main {
    border-bottom: 1px solid var(--color-black-60);
    padding-bottom: clamp(20px, 4vw, 32px);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 37px);
    max-width: 100%;
    align-items: flex-start;
}

.footer-logo-img {
    width: clamp(100px, 15vw, 132.53px);
    height: auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.5vw, 12px);
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 8px);
}

.contact-icon {
    width: clamp(16px, 2.5vw, 20px);
    height: clamp(16px, 2.5vw, 20px);
    flex-shrink: 0;
}

.contact-text {
    font-family: var(--font-quaternary);
    font-size: clamp(12px, 2vw, 14px);
    font-weight: var(--weight-medium);
    line-height: 1.3;
    color: var(--color-black-20);
}

.contact-phone,
.contact-email {
    font-family: var(--font-quaternary);
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: var(--weight-bold);
    line-height: 1.3;
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    padding: clamp(16px, 3vw, 24px) 0 0;
    flex-wrap: wrap;
}

.footer-copyright {
    font-family: var(--font-quaternary);
    font-size: clamp(10px, 1.5vw, 12px);
    font-weight: var(--weight-medium);
    line-height: 1.3;
    color: var(--color-black-40);
    flex: 1;
    min-width: 120px;
}

.footer-apps {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(12px, 3vw, 24px);
    flex-wrap: wrap;
}

.footer-app-button {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 8px);
    padding: clamp(6px, 1vw, 8px);
    width: clamp(110px, 18vw, 128px);
    height: clamp(35px, 5vw, 40px);
    text-decoration: none;
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.footer-app-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.footer-app-icon {
    width: clamp(18px, 3vw, 21px);
    height: clamp(20px, 3.5vw, 24px);
    flex-shrink: 0;
}

.footer-app-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.footer-app-available {
    font-family: var(--font-quaternary);
    font-size: clamp(7px, 1vw, 8px);
    font-weight: var(--weight-medium);
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--color-black-20);
}

.footer-app-name {
    font-family: var(--font-quaternary);
    font-size: clamp(11px, 1.8vw, 14px);
    font-weight: var(--weight-semibold);
    line-height: 1.2;
    color: var(--color-black-20);
}

.manage-cookies-button {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
    font-family: var(--font-primary);
}

.manage-cookies-button:hover {
    opacity: 0.85;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .container {
        padding: 0 var(--space-16);
    }

    .booking-card {
        min-height: clamp(280px, 38vw, 390px);
    }

    .booking-image {
        width: clamp(550px, 75vw, 1200px);
    }

    .app-section {
        min-height: 700px;
        z-index: 0;
    }

    .footer {
        padding: var(--space-8) 0;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-12);
    }

    .about-text {
        flex-direction: column;
        text-align: left;
    }

    .about-title {
        font-size: var(--text-6xl);
    }

    .about-description {
        font-size: var(--text-lg);
    }



    .booking-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .booking-title {
        font-size: var(--text-6xl);
    }

    .step-indicator {
        font-size: var(--text-6xl);
    }

    .booking-card {
        min-height: auto;
        flex-direction: column;
        padding: 20px 20px 0 20px;
        
    }

    .booking-card-content {
        order: 1;
        z-index: 10;
        width: 100%;
    }

    .booking-image {
        width: 100%;
        max-width: 600px;
        margin: clamp(20px, 4vw, 30px) auto 0;
        align-self: center;
        justify-content: center;
        right: -100px;
    }

    .app-content {
        gap: 40px;
    }

    .app-content-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .app-features {
        justify-content: center;
    }

    .app-text-block {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .app-text {
        text-align: center;
    }

    .app-title {
        font-size: 46px;
    }

    .app-description {
        font-size: 28px;
    }

    .app-feature {
        font-size: 70px;
    }

    .app-feature:nth-child(2) {
        font-size: 69px;
    }

    .app-devices {
        max-width: 800px;
        width: 100%;
        justify-content: center;
    }

    .faq-title {
        font-size: var(--text-6xl);
    }

    .cta-title {
        font-size: var(--text-5xl);
    }

    .cta-description {
        font-size: var(--text-lg);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-8);
    }

    .about-description {
        font-size: 20px;
    }

    .about-visual {
        margin-left: calc(-1 * var(--space-8));
        margin-right: calc(-1 * var(--space-8));
        width: calc(100% + 2 * var(--space-8));
    }

    .about-video {
        border-radius: 0;
    }

    .booking-card {
        min-height: auto;
        flex-direction: column;
        padding: clamp(20px, 4vw, 30px);
        gap:0;
    }

    .booking-card-content {
        order: 1;
        z-index: 10;
    }

    .booking-image {
        position: relative;
        order: 2;
        right: auto;
        bottom: -30px;
        width: 100%;
        max-width: 660px;
        margin: clamp(16px, 3vw, 24px) auto 0;
        align-self: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .easy-booking,
    .app-section,
    .faq-section,
    .cta-section {
        padding: 40px 0;
    }

    .about-title,
    .booking-title,
    .faq-title,
    .cta-title {
        font-size: var(--text-4xl);
    }

    .about-description {
        font-size: 20px;
    }

    .about-visual {
        margin-left: calc(-1 * var(--space-4));
        margin-right: calc(-1 * var(--space-4));
        width: calc(100% + 2 * var(--space-4));
    }

    .about-video {
        border-radius: 0;
    }

    .booking-card {
        min-height: auto;
        flex-direction: column;
        padding: 20px 20px 0 20px;
    }

    .booking-image {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 400px;
        margin: clamp(12px, 2vw, 16px) auto 0;
        align-self: center;
    }

    .app-title {
        font-size: 32px;
    }

    .app-description {
        font-size: 20px;
    }

    .app-feature {
        font-size: 48px;
    }

    .app-feature:nth-child(2) {
        font-size: 47px;
    }

    .app-content {
        gap: 30px;
        padding: 40px 0;
    }

    .app-content-bottom {
        flex-direction: column;
        gap: 30px;
    }

    .app-features {
        justify-content: center;
    }

    .app-text-block {
        align-items: center;
        text-align: center;
    }

    .app-text {
        text-align: center;
    }

    .app-devices {
        width: 100%;
        justify-content: center;
        max-width: 100%;
    }

    .app-section {
        padding: 60px 0;
        min-height: auto;
    }

    .card {
        padding: var(--space-6);
    }

    .card-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-6);
    }

    .card-description {
        font-size: var(--text-lg);
    }

    .question-text {
        font-size: var(--text-2xl);
    }

    .faq-answer p {
        font-size: var(--text-lg);
    }
}

@media (max-width: 375px) {
    .hero-cta-buttons {
        gap: 10px;
        margin-top: 20px;
    }

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

    .booking-card {
        min-height: auto;
        flex-direction: column;
        padding: clamp(12px, 2vw, 16px);
    }

    .booking-image {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 350px;
        margin: clamp(12px, 2vw, 16px) auto 0;
        align-self: center;
    }
}

/* Cookie Consent */
.cookie-consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1400;
}

.cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    max-width: 640px;
    margin: 0 auto;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 20px;
    z-index: 1500;
}

.cookie-consent h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-family: var(--font-primary);
    color: var(--color-black);
}

.cookie-consent p {
    margin: 0;
    color: var(--color-black-80);
    font-size: 15px;
}

.cookie-consent p a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-consent-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 14px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.cookie-btn-primary:hover {
    opacity: 0.92;
}

.cookie-btn-secondary {
    background: var(--color-white);
    border-color: var(--color-black-20);
    color: var(--color-black-80);
}

.cookie-btn-secondary:hover {
    background: #f6f8fc;
}

@media (max-width: 768px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
    }

    .cookie-consent h3 {
        font-size: 18px;
    }

    .cookie-consent p {
        font-size: 14px;
    }

    .cookie-consent-actions {
        justify-content: stretch;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 1000;
}

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

.back-to-top:hover {
    background: var(--color-primary-70);
    transform: translateY(-5px);
    box-shadow: 0px 20px 35px rgba(99, 162, 242, 0.3);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}
