/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #08080D;
    color: #EAEAEA;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
:root {
    --accent: #00D4AA;
    --accent-glow: rgba(0, 212, 170, 0.25);
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-card: rgba(255, 255, 255, 0.06);
    --text-muted: #8A8A9A;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.gradient-text {
    background: linear-gradient(135deg, #00D4AA 0%, #00B4D8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

/* --- HEADER --- */
header {
    background: rgba(8, 8, 13, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-card);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
    gap: 12px;
}
.logo {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    flex-shrink: 0;
}
.logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
}
.nav-links {
    display: flex;
    gap: 28px;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.25s;
}
.nav-links a:hover {
    color: #fff;
}
.btn-web {
    background: linear-gradient(135deg, #00D4AA, #00B4D8);
    padding: 8px 20px;
    border-radius: 40px;
    color: #08080D !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-web:hover {
    transform: scale(1.04);
    box-shadow: 0 0 24px var(--accent-glow);
}

/* --- HERO --- */
.hero {
    position: relative;
    padding: 60px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero-glow {
    top: -120px;
    left: -200px;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-text h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 480px;
}
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.app-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #EAEAEA;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.25s ease;
}
.app-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}
.app-btn:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 170, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* --- PHONE --- */
.phone-wrapper {
    display: flex;
    justify-content: center;
}
.phone {
    width: 280px;
    height: 580px;
    background: #0A0A0F;
    border-radius: 36px;
    border: 6px solid #1A1A20;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 60px var(--accent-glow);
}
.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 24px;
    background: #0A0A0F;
    border-radius: 30px;
    z-index: 10;
    border: 1px solid #1A1A20;
}
.phone-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- COMMUNICATION --- */
.communication {
    padding: 60px 0 80px;
    position: relative;
    background: linear-gradient(180deg, #08080D 0%, #0E0E16 100%);
}
.comm-glow {
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
}
.comm-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.comm-text h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}
.comm-text p {
    font-size: 17px;
    color: var(--text-muted);
}

/* --- FOOTER --- */
footer {
    padding: 30px 0;
    border-top: 1px solid var(--border-card);
    text-align: center;
}
footer a {
    color: var(--accent);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ============================================ */
@media (max-width: 900px) {
    .hero-content,
    .comm-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 38px;
    }
    .comm-text h2 {
        font-size: 32px;
    }
    .hero-text p,
    .comm-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .download-buttons {
        justify-content: center;
    }
    .phone {
        width: 240px;
        height: 500px;
    }
    .nav-links {
        display: none;
    }
    .btn-web {
        font-size: 13px;
        padding: 6px 16px;
    }
    .phone-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 30px;
    }
    .comm-text h2 {
        font-size: 26px;
    }
    .phone {
        width: 200px;
        height: 420px;
        border-width: 4px;
        border-radius: 28px;
    }
    .phone-notch {
        width: 80px;
        height: 18px;
        top: 6px;
    }
    .app-btn {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 20px;
    }
    .app-btn img {
        width: 18px;
        height: 18px;
    }
    .container {
        padding: 0 14px;
    }
    .hero {
        padding: 40px 0 60px;
        min-height: auto;
    }
    .communication {
        padding: 40px 0 60px;
    }
    footer .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}