:root {
    --green: #178a4a;
    --green-dark: #0d6735;
    --green-bright: #25b867;
    --green-soft: #e8f6ee;
    --purple: #5d2a92;
    --text: #17211c;
    --muted: #637068;
    --line: rgba(22, 89, 54, 0.14);
    --glass: rgba(255, 255, 255, 0.78);
    --shadow: 0 20px 55px rgba(22, 77, 48, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    background: #f7faf8;
    overflow-x: hidden;
}

.background-layer {
    position: fixed;
    inset: -40px;
    z-index: -3;
    background: url("images/background.png") center top / cover no-repeat;
    filter: blur(22px) saturate(.78);
    transform: scale(1.08);
    opacity: .37;
}

.background-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(255,255,255,.75), rgba(247,250,248,.97)),
        radial-gradient(circle at 10% 12%, rgba(35,184,103,.16), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(93,42,146,.10), transparent 27%);
}

a {
    color: inherit;
}

.glass-card {
    background: var(--glass);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(19px);
    -webkit-backdrop-filter: blur(19px);
}

.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 1000;
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 18px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.94);
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(35,78,55,.12);
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--green-dark);
    font-size: 22px;
    font-weight: 850;
    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--green), var(--green-bright));
    box-shadow: 0 8px 20px rgba(23,138,74,.23);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 10px 14px;
    border-radius: 12px;
    color: #34453b;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green-dark);
    background: var(--green-soft);
    transform: translateY(-1px);
}

.nav-links .nav-login {
    color: white;
    background: linear-gradient(135deg, var(--green), var(--green-bright));
    box-shadow: 0 8px 18px rgba(23,138,74,.22);
}

.nav-links .nav-login:hover {
    color: white;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.mobile-menu-button {
    display: none;
    border: 0;
    background: var(--green-soft);
    color: var(--green-dark);
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 20px;
    cursor: pointer;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 122px 0 54px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 6px 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--green);
}

.app-hero {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 250px;
    gap: 34px;
    align-items: center;
    padding: 34px;
    border-radius: 32px;
}

.app-logo-panel {
    width: 100%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255,255,255,.76);
    border: 1px solid var(--line);
}

.app-logo-panel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 20px rgba(24,98,54,.14));
}

.eyebrow {
    color: var(--green);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1.8px;
}

.app-heading h1 {
    margin-top: 8px;
    color: #10251a;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1;
    letter-spacing: -2.8px;
}

.app-summary {
    max-width: 650px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.app-tags span {
    padding: 7px 10px;
    border-radius: 10px;
    color: var(--green-dark);
    background: var(--green-soft);
    font-size: 12px;
    font-weight: 750;
}

.app-tags .status-tag {
    color: #5d2a92;
    background: #f0e8fb;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.primary-button,
.secondary-button {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s;
}

.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--green), var(--green-bright));
    box-shadow: 0 10px 22px rgba(23,138,74,.22);
}

.secondary-button {
    color: var(--green-dark);
    background: rgba(255,255,255,.72);
    border: 1px solid var(--line);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.quick-info {
    display: grid;
    gap: 2px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(23,138,74,.09);
    border: 1px solid var(--line);
}

.quick-info div {
    padding: 16px;
    background: rgba(255,255,255,.70);
}

.quick-info span,
.quick-info strong {
    display: block;
}

.quick-info span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.quick-info strong {
    margin-top: 5px;
    color: #193b28;
    font-size: 14px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    margin-top: 22px;
    align-items: start;
}

.main-column,
.side-column {
    min-width: 0;
    display: grid;
    gap: 22px;
}

.section-card,
.side-card,
.download-card {
    min-width: 0;
    border-radius: 28px;
    padding: 30px;
}

.section-card {
    overflow: hidden;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.section-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    color: var(--green-dark);
    background: var(--green-soft);
    font-size: 13px;
    font-weight: 850;
}

.section-heading h2,
.side-card h2,
.download-card h2,
.more-apps h2 {
    margin-top: 4px;
    color: #153322;
    font-size: 27px;
}

.section-card > p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
    margin-top: 25px;
}

.feature {
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.63);
    border: 1px solid var(--line);
}

.feature-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--green), var(--green-bright));
    font-size: 20px;
}

.feature h3 {
    margin-top: 14px;
    color: #193b28;
}

.feature p {
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.55;
}

.screenshot-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.screenshot-item {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #294b37;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(23, 138, 74, 0.16);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(20, 80, 45, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.screenshot-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(20, 80, 45, 0.14);
}

.screenshot-item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center;
    background: #edf2ef;
}

.screenshot-item span {
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 700;
}

.screenshot-wide {
    grid-column: 1 / -1;
}

.screenshot-wide img {
    height: 390px;
}

.timeline {
    display: grid;
    gap: 22px;
}

.timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 14px;
}

.timeline article:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 18px;
    bottom: -25px;
    width: 2px;
    background: rgba(23,138,74,.18);
}

.timeline-dot {
    width: 14px;
    height: 14px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px var(--green-soft);
}

.timeline-title {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.timeline-title h3 {
    color: #1d3d2b;
}

.timeline-title time {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.timeline ul {
    margin: 10px 0 0 19px;
    color: var(--muted);
    line-height: 1.7;
}

.download-card {
    position: sticky;
    top: 108px;
}

.download-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 17px;
    color: white;
    background: linear-gradient(135deg, var(--green), var(--green-bright));
    box-shadow: 0 10px 24px rgba(23,138,74,.24);
    font-size: 28px;
    font-weight: 900;
}

.download-card > p:not(.eyebrow):not(.download-note) {
    margin-top: 10px;
    color: var(--muted);
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding: 15px 16px;
    border-radius: 17px;
    color: white;
    background: linear-gradient(135deg, var(--green-dark), var(--green-bright));
    box-shadow: 0 12px 28px rgba(23,138,74,.23);
    text-decoration: none;
    transition: .2s;
}

.download-button:hover {
    transform: translateY(-3px);
}

.download-button small,
.download-button strong {
    display: block;
}

.download-button small {
    opacity: .78;
    font-size: 11px;
    text-transform: uppercase;
}

.download-button strong {
    margin-top: 2px;
}

.download-button b {
    font-size: 24px;
}

.download-details {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.download-details div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.download-details span {
    color: var(--muted);
}

.download-details strong {
    text-align: right;
    color: #294a37;
}

.download-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.download-note code {
    color: var(--green-dark);
    background: var(--green-soft);
    padding: 2px 5px;
    border-radius: 5px;
}

.side-card h2 {
    margin-top: 0;
    font-size: 22px;
}

.requirements {
    display: grid;
    gap: 0;
    margin-top: 16px;
    list-style: none;
}

.requirements li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.requirements li:last-child {
    border-bottom: 0;
}

.requirements span {
    color: var(--muted);
}

.requirements strong {
    text-align: right;
    color: #294b37;
}

.useful-links {
    display: grid;
    margin-top: 14px;
}

.useful-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: #294b37;
    font-weight: 700;
    text-decoration: none;
}

.useful-links a:hover {
    color: var(--green);
}

.notice-card {
    padding: 25px;
    border: 1px solid #edd48a;
    border-radius: 24px;
    color: #4e3a05;
    background: linear-gradient(145deg, rgba(255,249,221,.95), rgba(255,241,181,.88));
    box-shadow: 0 18px 45px rgba(128,98,18,.11);
}

.notice-card p {
    margin-top: 8px;
    line-height: 1.55;
}

.notice-card a {
    display: inline-block;
    margin-top: 12px;
    color: #725100;
    font-weight: 800;
}

.more-apps {
    margin-top: 22px;
    padding: 28px 30px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 30px;
    display: flex;
    justify-content: space-between;
    color: #617066;
    font-size: 14px;
}

@media (max-width: 1050px) {
    .app-hero {
        grid-template-columns: 190px minmax(0,1fr);
    }

    .quick-info {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
    }

    .content-layout {
        grid-template-columns: minmax(0,1fr) 290px;
    }
}

@media (max-width: 820px) {
    .navbar {
        align-items: center;
    }

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

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        padding: 14px;
        border-radius: 18px;
        background: rgba(255,255,255,.96);
        box-shadow: var(--shadow);
    }

    .nav-links.show {
        display: flex;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .download-card {
        position: static;
    }

    .side-column {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .download-card,
    .notice-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .page-shell {
        padding-top: 110px;
    }

    .breadcrumbs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .app-hero {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .app-logo-panel {
        width: min(220px, 100%);
        margin: 0 auto;
    }

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

    .app-tags,
    .hero-actions {
        justify-content: center;
    }

    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid,
    .screenshot-grid,
    .side-column {
        grid-template-columns: 1fr;
    }

    .screenshot-wide,
    .download-card,
    .notice-card {
        grid-column: auto;
    }


    .screenshot-item img,
    .screenshot-wide img {
        height: auto;
        max-height: 360px;
    }

    .section-card,
    .side-card,
    .download-card {
        padding: 23px;
    }

    .timeline-title {
        flex-direction: column;
        gap: 4px;
    }

    .more-apps {
        align-items: flex-start;
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}