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

html {
    scroll-behavior: auto;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #C5D5E4 0%, #E8EEF2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    background: #F5F3F0;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #2D3748;
}

nav {
    display: flex;
    gap: 45px;
}

.logo-image {
    width: 45px;
    height: 45px;
}

nav a {
    text-decoration: none;
    color: #2D3748;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover {
    color: #4A5568;
}

.download-btn {
    padding: 12px 28px;
    border: 2px solid #2D3748;
    border-radius: 30px;
    background: transparent;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2D3748;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(45, 55, 72, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-btn:hover::before {
    width: 300px;
    height: 300px;
}

.download-btn:hover {
    background: #2D3748;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 55, 72, 0.3);
}

.download-btn:active {
    transform: translateY(0);
}

main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    gap: 80px;
}

.content {
    flex: 1;
    max-width: 650px;
}

h1 {
    font-size: 88px;
    font-weight: 900;
    line-height: 1;
    color: #1A202C;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

h1 .italic {
    font-style: italic;
    font-weight: 900;
}

.info-box {
    background: linear-gradient(135deg, #E9D5FF 0%, #DDD6FE 100%);
    padding: 50px 45px;
    border-radius: 20px;
    position: relative;
}

.description {
    font-size: 18px;
    line-height: 1.7;
    color: #2D3748;
    margin-bottom: 35px;
}

.cta-button {
    padding: 16px 50px;
    background: #2D3748;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 50px;
}

.cta-button:hover {
    background: #1A202C;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.app-links {
    display: flex;
    align-items: center;
    gap: 30px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
}

.mobile-app-text {
    font-size: 15px;
    line-height: 1.5;
    color: #2D3748;
}

.store-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.store-buttons img {
    height: 50px;
    width: auto;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px;
}

.store-buttons img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.phone-mockup {
    flex-shrink: 0;
    position: relative;
}

.phone-frame {
    width: 340px;
    height: 730px;
    background: linear-gradient(145deg, #1e1e1e 0%, #2d2d2d 100%);
    border-radius: 52px;
    padding: 3px;
    box-shadow:
        0 0 0 2px #0a0a0a,
        0 0 0 4px #3a3a3a,
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Dynamic Island для iPhone 15 Pro */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 37px;
    background: #000000;
    border-radius: 20px;
    z-index: 20;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Экран */
.phone-frame::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: #000000;
    border-radius: 49px;
    z-index: 1;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 49px;
    position: relative;
    z-index: 10;
    display: block;
}

.background-decoration {
    position: fixed;
    bottom: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: rgba(221, 214, 254, 0.3);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    main {
        gap: 40px;
    }

    h1 {
        font-size: 72px;
    }

    .phone-frame {
        width: 300px;
        height: 640px;
    }

    .phone-frame::before {
        width: 112px;
        height: 33px;
        top: 11px;
    }
}

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

    main {
        gap: 30px;
        padding: 40px 0;
    }

    h1 {
        font-size: 64px;
        margin-bottom: 30px;
    }

    .info-box {
        padding: 40px 35px;
    }

    .cta-button {
        margin-bottom: 40px;
    }

    .phone-frame {
        width: 280px;
        height: 600px;
    }

    .phone-frame::before {
        width: 104px;
        height: 31px;
        top: 10px;
    }
}

@media (max-width: 900px) {
    main {
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
    }

    .content {
        max-width: 100%;
        order: 2;
    }

    .phone-mockup {
        order: 1;
        margin-bottom: 30px;
    }

    header {
        padding: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        flex: 1 1 100%;
        justify-content: center;
        margin-bottom: 16px;
    }

    nav {
        gap: 16px;
    }

    nav a {
        font-size: 14px;
    }

    .download-btn {
        margin-top: 12px;
    }

    h1 {
        font-size: 56px;
    }

    .app-links {
        justify-content: center;
        flex-direction: column;
        gap: 20px;
    }

    .phone-frame {
        width: 300px;
        height: 640px;
    }
}

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

    h1 {
        font-size: 48px;
    }

    .download-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .logo-text {
        font-size: 16px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 13px;
    }

    .info-box {
        padding: 35px 28px;
    }

    .description {
        font-size: 17px;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 14px 40px;
        margin-bottom: 35px;
    }

    .store-buttons img {
        height: 45px;
    }

    .phone-frame {
        width: 280px;
        height: 600px;
    }

    .phone-frame::before {
        width: 104px;
        height: 31px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 12px;
    }

    .download-btn {
        padding: 9px 18px;
        font-size: 12px;
    }

    h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .info-box {
        padding: 30px 24px;
    }

    .description {
        font-size: 16px;
        line-height: 1.6;
    }

    .cta-button {
        padding: 13px 35px;
        font-size: 15px;
    }

    .mobile-app-text {
        font-size: 14px;
    }

    .store-buttons img {
        height: 42px;
    }

    .phone-frame {
        width: 260px;
        height: 560px;
    }

    .phone-frame::before {
        width: 96px;
        height: 29px;
        top: 9px;
    }
}

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

    header {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .logo {
        flex: 1 1 100%;
        justify-content: center;
        margin-bottom: 12px;
    }

    .logo-image {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 15px;
    }

    nav {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 12px;
        white-space: nowrap;
    }

    .download-btn {
        padding: 8px 16px;
        font-size: 12px;
        flex: 1 1 100%;
        text-align: center;
        margin-top: 8px;
    }

    h1 {
        font-size: 36px;
    }

    .info-box {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .description {
        font-size: 15px;
    }

    .cta-button {
        padding: 12px 32px;
        font-size: 14px;
        margin-bottom: 30px;
    }

    .store-buttons {
        gap: 12px;
    }

    .store-buttons img {
        height: 38px;
    }

    .phone-frame {
        width: 240px;
        height: 517px;
    }

    .phone-frame::before {
        width: 88px;
        height: 27px;
        top: 8px;
        border-radius: 18px;
    }

    .background-decoration {
        width: 600px;
        height: 600px;
    }
}
