/* ===== GLOBAL ===== */

body {
    margin: 0;
    font-family: "Inter", sans-serif;

    background: linear-gradient(180deg, #f3f7ff 0%, #e2edff 50%, #cddffe 100%);
    background-attachment: fixed;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Decorative waves */
body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    filter: blur(55px);
}

body::before {
    width: 700px;
    height: 700px;
    top: -180px;
    right: -180px;
    background: rgba(0,130,255,0.28);
}

body::after {
    width: 620px;
    height: 620px;
    bottom: -160px;
    left: -160px;
    background: rgba(0,200,255,0.22);
}

/* ===== BRAND ===== */

.top-brand {
    text-align: center;
    font-size: 54px;
    font-weight: 800;
    margin-top: 55px;
    margin-bottom: 22px;

    background: linear-gradient(90deg, #2b72ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 16px rgba(0,130,255,0.25);
    letter-spacing: 3px;
}

/* ===== NAVBAR ===== */

.nav-bar {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 20px 0;

    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e6eefa;
}

.nav-bar a,
.nav-bar .soon {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1c;
    text-decoration: none;
    position: relative;
    padding: 6px 10px;
    transition: 0.25s;
}

.nav-bar a:hover {
    color: #007bff;
    transform: translateY(-2px);
}

.nav-bar a:hover::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #007bff;
    border-radius: 2px;
}

.soon {
    opacity: 0.45;
}

.divider {
    opacity: .5;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== HERO ===== */

.hero {
    text-align: center;
    max-width: 900px;
    margin: 90px auto 60px auto;
    animation: fadein 0.7s ease-in-out;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    color: #0d1a33;
    letter-spacing: 1px;
}

.hero p {
    margin-top: 10px;
    margin-bottom: 35px;
    font-size: 22px;
    color: #3a4555;
    line-height: 1.6;
}

/* ===== LOGO ===== */

.surf-logo {
    width: 135px;
    margin: 0 auto 35px auto;
    filter: drop-shadow(0 4px 12px rgba(43,114,255,0.35));
    animation: fadein 1.2s;
}

/* ===== BUTTONS ===== */

.btn-main {
    background: linear-gradient(90deg, #2b72ff, #00a4ff);
    color: white;
    padding: 14px 38px;
    border-radius: 12px;

    font-size: 18px;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 4px 12px rgba(0,132,255,0.3);
    transition: 0.3s;
}

.btn-main:hover {
    box-shadow: 0 6px 18px rgba(0,132,255,0.45);
    transform: translateY(-2px);
}

.btn-outline {
    padding: 14px 38px;
    border-radius: 12px;
    border: 2px solid #2b72ff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: #2b72ff;
    transition: 0.3s;
}

.btn-outline:hover {
    background: rgba(43,114,255,0.08);
    transform: translateY(-2px);
}

/* ===== DOWNLOAD ===== */

.download {
    text-align: center;
    max-width: 1100px;
    margin: 80px auto;
}

.download h2 {
    font-size: 34px;
    margin-bottom: 10px;
    color: #0d1a33;
}

.download p {
    font-size: 20px;
    color: #3a4555;
    margin-bottom: 40px;
}

.download-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-card {
    width: 340px;
    padding: 32px 28px;

    background: rgba(255,255,255,0.85);
    border-radius: 16px;
    border: 1px solid rgba(43,114,255,0.18);
    box-shadow: 0 4px 14px rgba(43,114,255,0.08);
    backdrop-filter: blur(6px);

    text-align: left;

    /* 🔑 ключевое */
    display: flex;
    flex-direction: column;
}

.download-card.alt {
    border: 1px solid rgba(43,114,255,0.35);
}

.download-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #0d1a33;
}

.download-card p {
    font-size: 17px;
    margin-bottom: 18px;
    color: #3a4555;
}

.download-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.download-card li {
    font-size: 16px;
    margin-bottom: 8px;
}

.download-card a {
    margin-top: auto;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}


.download .note {
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #667085;
    opacity: 0.9;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}


/* ===== FEATURES + PERFORMANCE ===== */

.features ul,
.performance ul {
    list-style: none;
    padding: 0;
}

.features li,
.performance li {
    font-size: 20px;
    margin: 14px auto;
    padding: 14px 16px;
    max-width: 600px;
    text-align: left;

    background: rgba(255,255,255,0.8);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0,50,120,0.08);
    color: #333;

    transition: 0.25s;
}

.features li:hover,
.performance li:hover {
    background: rgba(240,248,255,0.92);
    box-shadow: 0 4px 12px rgba(0,50,120,0.12);
}

/* ===== SECTION TITLES ===== */

.features h2,
.performance h2 {
    font-size: 34px;
    margin-bottom: 22px;
    color: #0d1a33;
    text-align: center;
    letter-spacing: .5px;
}

/* ===== PERFORMANCE ===== */

.performance p {
    text-align: center;
}

.perf-quote {
    margin-top: 26px;
    font-size: 20px;
    color: #2a3a55;
    font-style: italic;
    text-align: center;
}

/* ===== FOOTER ===== */

.footer {
    margin-top: auto;
    text-align: center;
    padding: 28px;

    background: rgba(255,255,255,0.9);
    border-top: 1px solid #d4def3;

    font-size: 16px;
    font-weight: 600;
    color: #445065;

}
.footer-mail {
    color: #2b72ff;
    text-decoration: none;
    font-weight: 600;
}

.footer-mail:hover {
    text-decoration: underline;
}

/* ===== ANIMATION ===== */

@keyframes fadein {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
