* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #efefef;
    color: #5b5f64;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
}

.container {
    width: min(1100px, calc(100% - 30px));
    margin: 0 auto;
}

.site-header {
    background: #f3f5f7;
    border-bottom: 1px solid #dfe4ea;
    min-height: 62px;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
}

.brand img {
    height: 30px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 28px;
    font-size: 15px;
    color: #2d7fc8;
    font-weight: 400;
}

.main-nav a {
    display: inline-flex;
    gap: 6px;
    color: #2d7fc8;
    white-space: nowrap;
    transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #165a96;
}

.nav-item-main {
    align-items: center;
    flex-direction: column;
    gap: 1px !important;
}

.nav-title {
    font-size: 14px;
    font-weight: 400;
    color: #2d7fc8;
}

.nav-sub {
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: #9aaac0;
    text-transform: uppercase;
}

.donate-box {
    display: flex;
    align-items: center;
    gap: 9px;
}

.currency {
    color: #5b6772;
    font-size: 14px;
    font-weight: 400;
}

.donate-btn {
    border: 1px solid #2b75bc;
    background: #2b75bc;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    text-transform: lowercase;
    cursor: pointer;
    box-shadow: inset 0 -2px rgba(0,0,0,0.08);
}

.donate-btn:focus-visible,
.arrow:focus-visible,
.thumb:focus-visible {
    outline: 2px solid #ff8800;
    outline-offset: 2px;
}

.donate-btn.secondary {
    background: rgba(43,117,188,0.1);
    color: #2b75bc;
}

.page-shell {
    background: #f3f3f3;
    padding-top: 12px;
    padding-bottom: 40px;
}

.subhead-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 10px;
}

.subhead-wrap p {
    margin: 0;
    color: #2d6ca7;
    text-align: center;
    font-size: 19px;
    font-weight: 400;
}

.subhead-wrap strong {
    font-weight: 400;
}

.partners-tag {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5d6772;
    font-size: 12px;
    text-transform: lowercase;
}

.partner-badge {
    display: inline-block;
    border: 1px solid #ff9c2f;
    background: rgba(255,156,47,0.08);
    color: #e88a1c;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 3px;
}

.hero {
    padding: 22px 0 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 95px;
    margin: 0 auto;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.slider-shell {
    position: relative;
    width: 100%;
    max-width: 540px;
    padding: 12px 18px 6px;
    border: 1px solid #dfe5ec;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
}

.slider-arrows {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1px solid #c9d8e7;
    color: #2d7fc8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    pointer-events: auto;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(31, 62, 93, 0.18);
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.arrow:hover {
    background: #2d7fc8;
    color: #fff;
}

.arrow.left { left: -14px; }
.arrow.right { right: -14px; }

.slider-panel {
    background: linear-gradient(180deg, #1d2130 0%, #0f1b2d 100%);
    border: 1px solid #d7dfe8;
    border-radius: 6px;
    overflow: hidden;
    height: 290px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.slider-screen {
    width: 100%;
    height: 100%;
    position: relative;
    background:
        linear-gradient(135deg, rgba(54,80,166,0.18), rgba(134,79,219,0.12)),
        linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.04));
}

.slider-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.screen-topbar {
    height: 24px;
    background: rgba(255,255,255,0.08);
    padding: 7px 10px 0;
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.dot.red { background: #d95d5d; }
.dot.yellow { background: #d9b75d; }
.dot.green { background: #65b46f; }

.slider-thumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
}

.thumb {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(42,63,102,0.8), rgba(18,26,40,0.95));
    border: 1px solid rgba(130,146,170,0.75);
    display: block;
    padding: 0;
    cursor: pointer;
}

.thumb.active {
    background: linear-gradient(180deg, rgba(72,100,168,0.9), rgba(22,32,56,0.9));
    border-color: rgba(64,110,198,0.8);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
}

.hero-copy {
    padding-left: 8px;
}

.hero-copy h1 {
    margin: 0;
    font-size: 52px;
    color: #2d7ac7;
    line-height: 1.1;
    letter-spacing: -0.05em;
    font-weight: 400;
}

.ultra-label {
    display: inline-block;
    margin-left: -8px;
    color: #f28a24;
    font-size: 0.42em;
    line-height: 1;
    letter-spacing: 0;
    vertical-align: bottom;
}

.hero-copy p {
    margin: 18px 0 0;
    color: #5d6772;
    font-size: 17px;
    line-height: 1.5;
}

.download-group {
    margin-top: 24px;
    display: inline-flex;
    height: 53px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 44, 87, 0.2);
}

.download-btn,
.download-caret {
    border: 1px solid #0567b5;
    background: linear-gradient(#087dcc, #056cb8);
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    transition: background 160ms ease;
}

.download-btn {
    min-width: 222px;
    padding: 0 18px;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    text-align: left;
    white-space: nowrap;
}

.download-btn strong {
    font-weight: 400;
}

.ultra-button-label {
    font-weight: 700;
    display: inline-block;
    margin-left: 0px;
    color: #ffb45c;
    font-size: 0.48em;
    line-height: 1;
    vertical-align: bottom;
}

.download-caret {
    width: 36px;
    padding: 0;
    border-radius: 0 4px 4px 0;
    border-left: 1px solid rgba(0, 48, 95, 0.3);
    display: grid;
    place-items: center;
}

.download-caret span {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
}

.download-btn:hover,
.download-caret:hover,
.download-btn:focus-visible,
.download-caret:focus-visible {
    background: linear-gradient(#168bd8, #0877c5);
}

.version-block {
    margin-top: 18px;
    color: #5f6773;
    font-size: 14px;
    line-height: 1.5;
}

.version-block p {
    margin: 0;
    font-size: 14px;
    color: #5f6773;
}

.platforms {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.platform {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: opacity 160ms ease, transform 160ms ease;
}

.platform img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.platform:hover,
.platform:focus-visible {
    opacity: 0.75;
    transform: translateY(-2px);
}

.projects {
    padding-top: 44px;
}

.intro-title {
    margin-bottom: 18px;
}

.intro-title h2 {
    margin: 0;
    font-size: 35px;
    color: #2a78be;
    font-weight: 400;
    text-align: left;
    letter-spacing: -0.04em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
}

.project-col h3 {
    margin: 0 0 22px;
    font-size: 15px;
    font-weight: 400;
    color: #72829a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.icon {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.icon.orange { background: rgba(255,140,36,0.15); }
.icon.red { background: rgba(255,86,42,0.14); }
.icon.green { background: rgba(54,164,77,0.12); }
.icon.blue { background: rgba(58,98,226,0.12); }

.project-item h4 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #2d7ac7;
    font-weight: 400;
}

.project-item p {
    margin: 0;
    color: #5f6772;
    font-size: 14px;
    line-height: 1.5;
}

.developer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    font-size: 16px;
    color: #2d7ac7;
    line-height: 1.3;
}

@media (max-width: 920px) {
    .nav-wrap {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 0;
        height: auto;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .subhead-wrap {
        display: block;
        text-align: center;
    }

    .partners-tag {
        position: static;
        justify-content: center;
        margin-top: 10px;
    }

    .hero-layout,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .intro-title h2 {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .main-nav {
        font-size: 12px;
    }

    .hero-copy h1 {
        font-size: 42px;
        font-weight: 200;
    }

    .download-group {
        width: 100%;
    }

    .download-btn {
        flex: 1;
        min-width: 0;
    }

    .platforms {
        justify-content: center;
    }
}

