: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;
    }
}


/* JanekNetwork homepage section */
.jn-section {
    margin-top: 24px;
    border-radius: 30px;
    overflow: hidden;
    scroll-margin-top: 112px;
}

.jn-banner {
    background: #074b27;
    line-height: 0;
}

.jn-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.jn-body {
    padding: 38px 42px 42px;
    background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(235,249,240,.86));
}

.jn-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 26px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.jn-intro p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.jn-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .95fr);
    align-items: start;
    gap: 38px;
}

.jn-join h2 {
    color: #103b24;
    font-size: clamp(48px, 6.5vw, 82px);
    font-weight: 900;
    line-height: .92;
    letter-spacing: -4px;
}

.jn-join h2 span {
    color: var(--green);
}

.jn-lead {
    margin-top: 18px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.jn-address {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(23,138,74,.25);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(22,77,48,.05);
}

.jn-address-label {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.jn-address-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.jn-address code {
    flex: 1 1 230px;
    min-width: 0;
    color: #123e27;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 850;
    letter-spacing: -.7px;
    overflow-wrap: anywhere;
    user-select: all;
}

.jn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid rgba(23,138,74,.18);
    border-radius: 10px;
    color: var(--green-dark);
    background: var(--green-soft);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
}

.jn-copy:hover {
    background: #d7efdf;
}

.jn-copy:focus-visible,
.jn-download:focus-visible {
    outline: 3px solid #79cc9a;
    outline-offset: 4px;
}

.jn-copy-status {
    margin-top: 10px;
    min-height: 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.jn-steps {
    list-style: none;
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.jn-steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.jn-step-number {
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    height: 38px;
    border: 1px solid rgba(23,138,74,.2);
    border-radius: 12px;
    background: rgba(255,255,255,.7);
    color: var(--green);
    font-size: 13px;
    font-weight: 850;
}

.jn-steps h3 {
    color: #173b27;
    font-size: 16px;
    line-height: 1.4;
}

.jn-steps p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.jn-steps strong {
    font-weight: 700;
}

.jn-compatibility {
    margin-top: 24px;
    padding-left: 14px;
    border-left: 3px solid #91c9a6;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.jn-host {
    padding: 30px;
    border-radius: 24px;
    color: #f3fff7;
    background: linear-gradient(145deg, #126b38, #06391f);
    box-shadow: 0 16px 36px rgba(10,68,34,.17);
}

.jn-host-kicker {
    color: #b2e7c3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.jn-host h3 {
    margin-top: 14px;
    color: white;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -1.3px;
}

.jn-host-description {
    margin-top: 17px;
    color: #d5eddf;
    font-size: 14px;
    line-height: 1.7;
}

.jn-benefits {
    display: grid;
    gap: 11px;
    list-style: none;
    margin-top: 23px;
    font-size: 13px;
}

.jn-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jn-benefits li::before {
    content: "\2713";
    color: #a7efbd;
    font-weight: 900;
}

.jn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    margin-top: 28px;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 13px;
    background: white;
    color: #0c6032;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.jn-download:hover {
    background: #e7f8ed;
    transform: translateY(-2px);
}

.jn-download-meta {
    margin-top: 10px;
    color: #b6d7c3;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
}

.jn-host-guide {
    margin-top: 27px;
    padding-top: 23px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.jn-host-guide h4 {
    color: #b2e7c3;
    font-size: 10px;
    letter-spacing: 1.1px;
}

.jn-host-guide ol {
    margin-top: 14px;
    padding-left: 17px;
    color: #e5f4eb;
    font-size: 12px;
    line-height: 1.75;
}

.jn-host-guide li + li {
    margin-top: 7px;
}

.jn-host-note {
    margin-top: 20px;
    color: #b6d7c3;
    font-size: 11px;
    line-height: 1.65;
}

@media (max-width: 980px) {
    .jn-body { padding: 30px; }
    .jn-columns { gap: 25px; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr); }
    .jn-intro { align-items: flex-start; flex-direction: column; gap: 9px; }
    .jn-join h2 { font-size: 64px; }
    .jn-host { padding: 25px; }
}

@media (max-width: 760px) {
    .jn-section { border-radius: 24px; scroll-margin-top: 20px; }
    .jn-body { padding: 26px 22px; }
    .jn-columns { grid-template-columns: 1fr; gap: 30px; }
    .jn-intro { margin-bottom: 27px; padding-bottom: 22px; }
    .jn-join h2 { font-size: clamp(52px, 14vw, 72px); letter-spacing: -2.5px; }
    .jn-address { padding: 17px; }
    .jn-address code { font-size: 20px; }
    .jn-host { padding: 27px 23px; }
    .jn-host h3 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .jn-download { transition: none; }
    .jn-download:hover { transform: none; }
}

.jn-host-links { margin-top: 10px; text-align: center; color: #b6d7c3; font-size: 11px; }
.jn-host-links a { color: #e6fff0; text-underline-offset: 3px; }
.jn-host-links a:hover { color: #fff; }
