:root {
    --bg: #07101b;
    --bg-soft: #0c1725;
    --panel: rgba(15, 28, 43, 0.88);
    --panel-solid: #101d2c;
    --panel-hover: #16283b;
    --text: #f4f7fa;
    --muted: #9aabba;
    --accent: #a9d300;
    --accent-strong: #c3ef16;
    --blue: #59aaf8;
    --border: rgba(255, 255, 255, 0.11);
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

button, input, select { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

.topbar,
.dashboard-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 0 5vw;
    background: rgba(5, 12, 21, 0.88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(169, 211, 0, 0.45);
    border-radius: 50%;
    color: var(--accent);
    font-size: 22px;
}

.brand strong,
.brand small {
    display: block;
    letter-spacing: 0.14em;
}

.brand strong { font-size: 14px; }

.brand small {
    margin-top: 3px;
    color: var(--accent);
    font-size: 10px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.nav a,
.nav-login {
    border: 0;
    background: none;
    color: #dfe7ee;
    text-decoration: none;
    cursor: pointer;
}

.nav-login,
.primary-button {
    border-radius: 8px;
    background: var(--accent);
    color: #07101b;
    font-weight: 800;
}

.nav-login { padding: 12px 18px; }

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 140px 5vw 70px;
    background:
        radial-gradient(circle at 76% 40%, rgba(76, 145, 211, 0.22), transparent 26%),
        radial-gradient(circle at 16% 72%, rgba(169, 211, 0, 0.12), transparent 27%),
        linear-gradient(110deg, #050b13 0%, #09131f 48%, #0b1725 100%);
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.hero-glow {
    position: absolute;
    right: -8vw;
    bottom: -25vh;
    width: 65vw;
    height: 65vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 112, 176, 0.35), transparent 64%);
    filter: blur(20px);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    align-items: center;
    gap: 7vw;
    max-width: 1500px;
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .26em;
}

.hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(48px, 6.2vw, 104px);
    line-height: .94;
    letter-spacing: -.045em;
}

.hero h1 span { color: var(--accent); }

.hero-lead {
    max-width: 690px;
    margin: 30px 0 0;
    color: #c1cbd4;
    font-size: clamp(17px, 1.3vw, 22px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
}

.primary-button:hover { background: var(--accent-strong); }

.secondary-button {
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 46px;
}

.trust-row span {
    min-width: 150px;
    padding: 15px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    color: var(--muted);
}

.trust-row strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text);
    font-size: 24px;
}

.portrait-card {
    align-self: end;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
    box-shadow: var(--shadow);
}

.portrait-placeholder {
    display: grid;
    min-height: 520px;
    place-content: center;
    padding: 30px;
    background:
        radial-gradient(circle at 50% 25%, rgba(100, 167, 225, .25), transparent 25%),
        linear-gradient(145deg, #101d2d, #060c14);
    color: #b4c1cc;
    text-align: center;
}

.portrait-placeholder span {
    font-weight: 800;
    letter-spacing: .12em;
}

.portrait-placeholder small {
    margin-top: 8px;
    color: var(--muted);
}

.portrait-caption {
    display: flex;
    flex-direction: column;
    padding: 20px 22px;
}

.portrait-caption span {
    margin-top: 4px;
    color: var(--muted);
}

.section {
    padding: 110px 5vw;
    background: #0a1420;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h2,
.about-section h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 64px);
    line-height: 1.05;
}

.section-heading > p:last-child {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    min-height: 310px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(169,211,0,.35);
}

.product-index {
    color: var(--accent);
    font-weight: 900;
}

.product-card h3 {
    margin: 25px 0 10px;
    font-size: 32px;
}

.product-card p,
.product-card li {
    color: var(--muted);
    line-height: 1.65;
}

.product-card ul {
    margin: 22px 0 0;
    padding-left: 20px;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    padding: 100px 8vw;
    background: linear-gradient(120deg, #0e1b29, #07101b);
}

.about-section > p {
    align-self: end;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.8;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 5vw;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}

/* Login modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
}

.modal.is-open {
    display: grid;
    place-items: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.76);
    backdrop-filter: blur(8px);
}

.login-panel {
    position: relative;
    z-index: 2;
    width: min(92vw, 460px);
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #101d2c;
    box-shadow: var(--shadow);
}

.login-panel h2 {
    margin: 0;
    font-size: 30px;
}

.login-note,
.security-note {
    color: var(--muted);
}

.login-panel label {
    display: block;
    margin: 26px 0 8px;
    color: #ced7df;
    font-size: 13px;
}

.login-panel input,
.dashboard-sidebar input,
.dashboard-sidebar select {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    background: #0b1622;
    color: var(--text);
}

.login-panel input:focus,
.dashboard-sidebar input:focus,
.dashboard-sidebar select:focus {
    border-color: rgba(169, 211, 0, .7);
    box-shadow: 0 0 0 3px rgba(169,211,0,.1);
}

.full-width {
    width: 100%;
    margin-top: 14px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 30px;
    cursor: pointer;
}

.login-error {
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 92, 92, .35);
    border-radius: 8px;
    background: rgba(255, 92, 92, .1);
    color: #ffb3b3;
}

/* Dashboard */
.dashboard-header {
    position: sticky;
    justify-content: space-between;
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 24px;
    color: var(--muted);
    font-size: 13px;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #61d66d;
    box-shadow: 0 0 12px rgba(97,214,109,.8);
}

.logout-button {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: rgba(255,255,255,.04);
    color: var(--text);
    cursor: pointer;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: calc(100vh - 76px);
}

.dashboard-sidebar {
    position: sticky;
    top: 76px;
    height: calc(100vh - 76px);
    padding: 26px 22px;
    border-right: 1px solid var(--border);
    background: #0b1622;
}

.sidebar-title {
    margin-bottom: 26px;
}

.sidebar-title span,
.sidebar-title strong {
    display: block;
}

.sidebar-title span {
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .2em;
}

.sidebar-title strong {
    margin-top: 7px;
    font-size: 22px;
}

.dashboard-sidebar label {
    display: block;
    margin: 16px 0 7px;
    color: var(--muted);
    font-size: 12px;
}

.sidebar-count {
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
}

.dashboard-main {
    min-width: 0;
    padding: 30px;
    background:
        radial-gradient(circle at 85% 5%, rgba(70,135,195,.12), transparent 23%),
        var(--bg);
}

.dashboard-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 24px;
}

.dashboard-intro h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
}

.dashboard-updated {
    text-align: right;
}

.dashboard-updated span,
.dashboard-updated strong {
    display: block;
}

.dashboard-updated span {
    color: var(--muted);
    font-size: 12px;
}

.dashboard-updated strong {
    margin-top: 3px;
    font-size: 27px;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 18px;
}

.map-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--panel-solid);
    transition: .2s ease;
}

.map-card:hover {
    transform: translateY(-3px);
    border-color: rgba(89,170,248,.45);
    box-shadow: 0 17px 45px rgba(0,0,0,.25);
}

.map-preview-button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #05090d;
    cursor: zoom-in;
}

.map-preview {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

.map-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 6px 9px;
    border-radius: 6px;
    background: rgba(4,10,16,.78);
    color: white;
    font-size: 11px;
    opacity: 0;
    transition: opacity .2s;
}

.map-preview-button:hover .map-zoom { opacity: 1; }

.map-info { padding: 15px 16px 17px; }

.map-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.map-tags span {
    padding: 4px 7px;
    border-radius: 5px;
    background: rgba(89,170,248,.1);
    color: #9fcbf4;
    font-size: 10px;
    font-weight: 700;
}

.map-info h2 {
    margin: 13px 0 8px;
    font-size: 16px;
    line-height: 1.35;
}

.map-meta {
    color: var(--muted);
    font-size: 12px;
}

.map-info a {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent);
    font-size: 13px;
    text-decoration: none;
}

.empty-state {
    padding: 40px;
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: var(--muted);
    text-align: center;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.95);
    backdrop-filter: blur(5px);
}

.lightbox.hidden { display: none; }

.lightbox-content {
    display: flex;
    width: min(94vw, 1700px);
    height: 94vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 74px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: calc(94vh - 90px);
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-title {
    margin-top: 10px;
    font-weight: 800;
    text-align: center;
}

.lightbox-counter {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.lightbox-close,
.lightbox-nav {
    position: fixed;
    z-index: 2002;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(17,29,43,.92);
    color: white;
    cursor: pointer;
}

.lightbox-close {
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 31px;
}

.lightbox-nav {
    top: 50%;
    width: 58px;
    height: 78px;
    transform: translateY(-50%);
    border-radius: 10px;
    font-size: 48px;
}

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

@media (max-width: 950px) {
    .nav a { display: none; }

    .hero-content,
    .product-grid,
    .about-section {
        grid-template-columns: 1fr;
    }

    .portrait-card { max-width: 560px; }

    .dashboard-shell { grid-template-columns: 1fr; }

    .dashboard-sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 650px) {
    .topbar,
    .dashboard-header {
        min-height: 68px;
        padding: 0 18px;
    }

    .brand strong { font-size: 12px; }
    .nav { gap: 10px; }
    .nav-login { padding: 10px 12px; }

    .hero { padding: 115px 20px 55px; }

    .hero h1 {
        font-size: clamp(42px, 15vw, 68px);
    }

    .portrait-placeholder { min-height: 380px; }

    .section,
    .about-section { padding: 75px 20px; }

    footer {
        flex-direction: column;
        padding: 25px 20px;
    }

    .dashboard-status { display: none; }

    .dashboard-main { padding: 20px 14px; }

    .dashboard-intro {
        align-items: start;
        flex-direction: column;
    }

    .dashboard-updated { text-align: left; }

    .map-grid { grid-template-columns: 1fr; }

    .lightbox-content { padding: 65px 46px 40px; }

    .lightbox-nav {
        width: 40px;
        height: 58px;
        font-size: 36px;
    }

    .lightbox-prev { left: 3px; }
    .lightbox-next { right: 3px; }
}


/* ===== V2 HERO USING USER COVER ===== */
.hero-photo {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(3, 8, 14, 0.98) 0%, rgba(3, 8, 14, 0.88) 34%, rgba(3, 8, 14, 0.38) 64%, rgba(3, 8, 14, 0.30) 100%),
        url("/static/images/hero-cover.png") center 18% / cover no-repeat;
}

.hero-photo::before {
    display: none;
}

.hero-dark {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,.08), transparent 50%, rgba(2,8,14,.9)),
        radial-gradient(circle at 72% 44%, transparent 0%, transparent 28%, rgba(2,8,14,.55) 72%);
}

.hero-content-v2 {
    grid-template-columns: minmax(0, 760px) 1fr;
    min-height: calc(100vh - 210px);
    align-items: center;
}

.hero-author {
    position: absolute;
    right: 5vw;
    bottom: 52px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 14px 18px;
    border-right: 3px solid var(--accent);
    background: rgba(2, 8, 14, .38);
    backdrop-filter: blur(8px);
}

.hero-author strong {
    font-size: 18px;
}

.hero-author span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 950px) {
    .hero-photo {
        background-position: 62% top;
    }

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

    .hero-author {
        position: static;
        align-items: flex-start;
        width: fit-content;
        margin-top: 32px;
        border-right: 0;
        border-left: 3px solid var(--accent);
    }
}

@media (max-width: 650px) {
    .hero-photo {
        background-position: 67% top;
    }

    .hero-photo::after {
        position: absolute;
        inset: 0;
        content: "";
        background: rgba(2, 8, 14, .28);
    }

    .hero-content-v2 {
        position: relative;
        z-index: 2;
    }
}

/* ===== Tvoj meteorológ – landing page final additions ===== */
.membership-benefits { padding-top: 88px; padding-bottom: 96px; }
.benefit-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:42px; }
.benefit-card { background:#fff; border:1px solid rgba(10,35,57,.12); border-radius:18px; padding:28px; box-shadow:0 16px 38px rgba(3,18,31,.07); }
.benefit-card h3 { margin:16px 0 10px; font-size:1.22rem; }
.benefit-card p { margin:0; color:#5d6f7d; line-height:1.65; }
.benefit-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:#eaff00; color:#0a1c2c; font-size:1.35rem; font-weight:900; }
.showcase-section,.library-section,.author-section { max-width:1440px; margin:0 auto; padding:96px 42px; display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.48fr); gap:56px; align-items:center; }
.showcase-section { background:#071827; color:#f5f9fc; max-width:none; padding-left:max(42px,calc((100vw - 1440px)/2 + 42px)); padding-right:max(42px,calc((100vw - 1440px)/2 + 42px)); }
.showcase-copy p:not(.eyebrow),.author-copy p,.library-copy p { line-height:1.75; }
.showcase-copy p:not(.eyebrow) { color:#bfd0dc; }
.showcase-copy h2,.library-copy h2,.author-copy h2 { font-size:clamp(2rem,4vw,3.6rem); margin:10px 0 22px; line-height:1.05; }
.browser-frame { overflow:hidden; border:1px solid rgba(255,255,255,.15); border-radius:18px; box-shadow:0 24px 60px rgba(0,0,0,.38); background:#06131f; }
.browser-bar { height:34px; display:flex; align-items:center; gap:7px; padding:0 13px; background:#0d2436; }
.browser-bar span { width:9px; height:9px; border-radius:50%; background:#7b8c98; }
.browser-frame img { display:block; width:100%; height:auto; }
.check-list { list-style:none; padding:0; margin:24px 0 30px; }
.check-list li { position:relative; padding:8px 0 8px 31px; line-height:1.45; }
.check-list li::before { content:'✓'; position:absolute; left:0; top:7px; color:#bfe600; font-weight:900; }
.dark-button { border-color:#536879; color:#fff; background:transparent; }
.library-section { grid-template-columns:minmax(260px,.68fr) minmax(0,1.2fr); }
.library-cover { max-width:480px; justify-self:center; }
.library-cover img { display:block; width:100%; border-radius:16px; box-shadow:0 26px 64px rgba(5,22,36,.24); }
.library-highlight { display:flex; flex-direction:column; gap:6px; margin:26px 0 6px; padding:18px 20px; border-left:4px solid #bfe600; background:#f3f7ef; border-radius:0 12px 12px 0; }
.author-section { background:#edf5f9; max-width:none; padding-left:max(42px,calc((100vw - 1440px)/2 + 42px)); padding-right:max(42px,calc((100vw - 1440px)/2 + 42px)); }
.author-role { font-size:1.08rem; font-weight:700; color:#294e67; }
.author-media img { display:block; width:100%; border-radius:18px; box-shadow:0 22px 58px rgba(5,22,36,.18); }
.pricing-section { padding:100px 24px; background:#061724; color:#f5f9fc; }
.centered-heading { text-align:center; margin-left:auto; margin-right:auto; }
.centered-heading p { max-width:760px; margin-left:auto; margin-right:auto; }
.pricing-card { position:relative; max-width:560px; margin:46px auto 0; padding:42px; border-radius:24px; background:#fff; color:#102535; box-shadow:0 28px 80px rgba(0,0,0,.34); }
.price-badge { position:absolute; right:24px; top:22px; padding:7px 10px; border-radius:999px; background:#eaff00; color:#102535; font-size:.72rem; font-weight:900; letter-spacing:.08em; }
.pricing-card h3 { font-size:2rem; margin:0; }
.pricing-subtitle { margin:5px 0 24px; color:#687d8c; }
.price-line { display:flex; align-items:baseline; gap:10px; margin-bottom:12px; }
.price-line strong { font-size:3.4rem; line-height:1; }
.price-line span { color:#687d8c; }
.intro-price { padding:13px 16px; border-radius:12px; background:#f1f6e7; }
.pricing-list { margin-bottom:28px; }
.price-button { text-align:center; text-decoration:none; display:block; }
.price-note { display:block; margin-top:16px; text-align:center; color:#687d8c; }
.faq-section { max-width:1000px; margin:0 auto; padding:100px 24px; }
.faq-list { margin-top:40px; border-top:1px solid #d8e1e7; }
.faq-list details { border-bottom:1px solid #d8e1e7; padding:0 4px; }
.faq-list summary { cursor:pointer; list-style:none; padding:22px 42px 22px 0; font-weight:800; position:relative; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:'+'; position:absolute; right:4px; font-size:1.6rem; top:15px; }
.faq-list details[open] summary::after { content:'−'; }
.faq-list details p { margin:0 0 22px; color:#5b6e7b; line-height:1.7; }
.site-footer { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:28px; padding:28px 42px; background:#04111b; color:#b9cad5; }
.site-footer > div:first-child { display:flex; flex-direction:column; }
.site-footer strong { color:#fff; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; align-items:center; }
.footer-links a,.footer-links button { color:#dce8ef; text-decoration:none; background:none; border:0; font:inherit; cursor:pointer; padding:0; }
.footer-links a:hover,.footer-links button:hover { color:#eaff00; }
@media (max-width:1000px) {
  .benefit-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .showcase-section,.library-section,.author-section { grid-template-columns:1fr; padding:72px 24px; }
  .showcase-media { order:2; }
  .library-cover { max-width:380px; }
  .site-footer { grid-template-columns:1fr; text-align:center; justify-items:center; }
}
@media (max-width:640px) {
  .benefit-grid { grid-template-columns:1fr; }
  .membership-benefits { padding-top:64px; padding-bottom:64px; }
  .pricing-card { padding:34px 22px; }
  .price-badge { position:static; display:inline-block; margin-bottom:18px; }
  .price-line strong { font-size:2.8rem; }
  .showcase-copy h2,.library-copy h2,.author-copy h2 { font-size:2.15rem; }
  .site-footer { padding:28px 20px; }
}


/* =========================================================
   OPRAVA KONTRASTU SVETLÝCH SEKCIÍ + NOVÝ PORTRÉT V HERO
   ========================================================= */

/* Hero – portrét autora namiesto obálky Všetko o búrkach */
.hero-photo {
    min-height: 100vh;
    background:
        linear-gradient(
            90deg,
            rgba(3, 8, 14, 0.98) 0%,
            rgba(3, 8, 14, 0.94) 31%,
            rgba(3, 8, 14, 0.72) 53%,
            rgba(3, 8, 14, 0.20) 78%,
            rgba(3, 8, 14, 0.16) 100%
        ),
        url("/static/images/portret.png")
        calc(100% - 7vw) bottom / auto 88% no-repeat,
        linear-gradient(110deg, #050b13 0%, #0a1725 58%, #102538 100%);
}

/* Jemnejší prekryv, aby portrét nebol príliš tmavý */
.hero-dark {
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05),
            transparent 55%,
            rgba(2, 8, 14, 0.82)
        );
}

/* Členské výhody – svetlé pozadie a tmavé texty */
.membership-benefits {
    background: #f3f7fa;
    color: #102535;
}

.membership-benefits .section-heading h2,
.membership-benefits .section-heading > p:last-child {
    color: #102535;
}

.membership-benefits .section-heading > p:last-child {
    color: #526b7c;
}

.benefit-card {
    color: #102535;
}

.benefit-card h3 {
    color: #102535;
}

.benefit-card p {
    color: #5d6f7d;
}

/* Meteorologická knižnica */
.library-section {
    background: #ffffff;
    color: #102535;
}

.library-copy h2,
.library-copy strong,
.library-highlight strong {
    color: #102535;
}

.library-copy p,
.library-copy li,
.library-highlight span {
    color: #526b7c;
}

/* Sekcia O autorovi */
.author-section {
    background: #edf5f9;
    color: #102535;
}

.author-copy h2 {
    color: #102535;
}

.author-copy p:not(.eyebrow),
.author-copy li {
    color: #526b7c;
}

.author-copy .author-role {
    color: #294e67;
}

/* FAQ */
.faq-section {
    margin-top: 70px;
    margin-bottom: 70px;
    border-radius: 22px;
    background: #ffffff;
    color: #102535;
    box-shadow: 0 20px 55px rgba(3, 18, 31, 0.12);
}

.faq-section .section-heading h2 {
    color: #102535;
}

.faq-section .section-heading > p:last-child {
    color: #526b7c;
}

.faq-list summary {
    color: #102535;
}

.faq-list details p {
    color: #5b6e7b;
}

/* Všetky zoznamy vo svetlých sekciách */
.library-section .check-list li,
.author-section .check-list li,
.pricing-card .check-list li {
    color: #304b5e;
}

/* Lepšia čitateľnosť tlačidla na svetlom pozadí */
.library-section .secondary-button,
.author-section .secondary-button {
    border-color: #526b7c;
    color: #102535;
    background: transparent;
}

/* Tablet */
@media (max-width: 950px) {
    .hero-photo {
        background:
            linear-gradient(
                90deg,
                rgba(3, 8, 14, 0.98) 0%,
                rgba(3, 8, 14, 0.90) 55%,
                rgba(3, 8, 14, 0.42) 100%
            ),
            url("/static/images/portret.png")
            right bottom / auto 72% no-repeat,
            linear-gradient(110deg, #050b13, #102538);
    }
}

/* Mobil – portrét zostane napravo, text bude dobre čitateľný */
@media (max-width: 650px) {
    .hero-photo {
        background:
            linear-gradient(
                90deg,
                rgba(3, 8, 14, 0.98) 0%,
                rgba(3, 8, 14, 0.93) 68%,
                rgba(3, 8, 14, 0.62) 100%
            ),
            url("/static/images/portret.png")
            115% bottom / auto 58% no-repeat,
            linear-gradient(110deg, #050b13, #102538);
    }

    .faq-section {
        margin: 40px 16px;
        border-radius: 16px;
    }
}
