:root {
    --green: #178a4a;
    --green-dark: #0d6735;
    --green-soft: #e8f6ee;
    --purple: #5d2a92;
    --text: #17211c;
    --muted: #637068;
    --line: rgba(22, 89, 54, 0.14);
    --glass: rgba(255, 255, 255, 0.76);
    --glass-strong: rgba(255, 255, 255, 0.9);
    --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: -35px;
    z-index: -3;
    background: url("images/background.png") center top / cover no-repeat;
    filter: blur(16px) saturate(0.9);
    transform: scale(1.06);
    opacity: 0.48;
}

.background-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.78), rgba(247,250,248,0.94)),
        radial-gradient(circle at 18% 20%, rgba(38, 180, 94, 0.15), transparent 35%),
        radial-gradient(circle at 82% 24%, rgba(108, 49, 168, 0.12), transparent 32%);
}

a {
    color: inherit;
}

.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, 0.78);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(35, 78, 55, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    color: var(--green-dark);
    white-space: nowrap;
}

.brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.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;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-links a:hover {
    color: var(--green-dark);
    background: var(--green-soft);
    transform: translateY(-1px);
}

.nav-links .nav-login {
    color: white;
    background: linear-gradient(135deg, var(--green), #24ad65);
    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));
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 122px 0 48px;
}

.glass-card {
    background: var(--glass);
    border: 1px solid rgba(255,255,255,.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero {
    min-height: 430px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 38px;
    padding: 58px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -110px;
    top: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36, 173, 101, .18), transparent 70%);
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--green);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 12px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -3px;
    color: #10251a;
}

.hero p {
    max-width: 650px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-btn {
    color: white;
    background: linear-gradient(135deg, var(--green), #29b968);
    box-shadow: 0 10px 22px rgba(23, 138, 74, .24);
}

.secondary-btn {
    color: var(--green-dark);
    background: rgba(255,255,255,.74);
    border: 1px solid var(--line);
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
}

.hero-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: min(100%, 390px);
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 20px 28px rgba(20, 91, 49, .16));
}

.content-grid {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.news-panel,
.main-content {
    border-radius: 28px;
    padding: 30px;
}

.section-heading h2 {
    margin-top: 7px;
    color: #153322;
    font-size: 28px;
    line-height: 1.2;
}

.section-heading p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.6;
}

.center-heading {
    text-align: center;
}

.news-item {
    margin-top: 19px;
    padding: 18px;
    background: rgba(255,255,255,.68);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.news-label {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.news-item h3 {
    margin-top: 7px;
    font-size: 17px;
}

.news-item p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.text-link,
.feature-card a,
.warning-card a {
    display: inline-block;
    margin-top: 11px;
    color: var(--green-dark);
    font-weight: 750;
    text-decoration: none;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.feature-card {
    padding: 23px;
    background: rgba(255,255,255,.7);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: transform .22s ease, box-shadow .22s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 28px rgba(25, 98, 57, .1);
}

.feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--green), #31c472);
    font-size: 17px;
    font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--purple), #8d4ac7);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--purple), #8d4ac7);
}

.feature-card h3 {
    margin-top: 16px;
    font-size: 18px;
}

.feature-card p {
    margin-top: 9px;
    min-height: 68px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.warning-card {
    display: flex;
    gap: 17px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 22px;
    border-radius: 20px;
    color: #503a00;
    background: linear-gradient(135deg, rgba(255,247,205,.94), rgba(255,236,150,.88));
    border: 1px solid rgba(192, 143, 0, .25);
}

.warning-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: white;
    background: #d99c00;
    font-size: 25px;
    font-weight: 900;
}

.warning-card h3 {
    font-size: 19px;
}

.warning-card p {
    margin-top: 6px;
    line-height: 1.55;
    font-size: 14px;
}

.status-row {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
}

.status-row > div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22b864;
    box-shadow: 0 0 0 5px rgba(34,184,100,.13);
}

footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 28px;
    display: flex;
    justify-content: space-between;
    color: #65736a;
    font-size: 13px;
}

@media (max-width: 980px) {
    .navbar {
        align-items: flex-start;
    }

    .nav-links {
        gap: 2px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 44px 30px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-logo {
        max-width: 300px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .feature-card p {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .navbar {
        position: relative;
        top: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .brand {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
    }

    .page-shell {
        padding-top: 34px;
    }

    .hero {
        min-height: auto;
        padding: 38px 22px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 46px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 16px;
    }

    .news-panel,
    .main-content {
        padding: 22px;
        border-radius: 24px;
    }

    .status-row,
    footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
