/* NARCyz Alert — landing-style pages (alerty, misja, funkcjonalnosci, tworcy, baza-wiedzy, kontakt, regulamin, polityka-prywatnosci) */

:root {
    --primary: #C7A14A;
    --primary-hover: #d4b05e;
    --primary-glow: rgba(199, 161, 74, 0.15);
    --bg: #0F172A;
    --bg-elevated: #131c2e;
    --panel-bg: #111827;
    --card-bg: #1E293B;
    --glass-border: rgba(255, 255, 255, 0.08);
    --text: #E5E7EB;
    --text-dim: #9CA3AF;
    --text-muted: #6B7280;
    --red: #DC2626;
    --green: #10B981;
    --radius: 16px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.55;
}

a { color: inherit; }

/* ── Navigation ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
    max-width: 1180px; margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 36px; height: 36px; border-radius: 50%; }
.nav-logo-text { font-size: 18px; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.nav-logo-text span { color: var(--text-dim); font-weight: 300; font-size: 13px; margin-left: 4px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
    padding: 8px 14px; border-radius: var(--radius-sm); text-decoration: none;
    font-size: 14px; font-weight: 500; color: var(--text-dim); transition: all 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); }
.nav-link.cta { background: var(--primary); color: #000; font-weight: 600; padding: 9px 18px; }
.nav-link.cta:hover { background: var(--primary-hover); }

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.85; }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── Page hero (simple, single-column for sub-pages) ── */
.page-hero {
    position: relative;
    padding: 140px 24px 60px;
    max-width: 1180px; margin: 0 auto;
    text-align: center;
    overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute;
    top: 60px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px; max-width: 90%;
    background: radial-gradient(circle, var(--primary-glow), transparent 60%);
    filter: blur(50px); pointer-events: none; z-index: 0;
    animation: glowPulse 6s ease-in-out infinite;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero-eyebrow {
    display: inline-block;
    font-size: 12.5px; font-weight: 700; color: var(--primary);
    text-transform: uppercase; letter-spacing: 2.5px;
    margin-bottom: 18px;
    animation: fadeUp 0.6s ease;
}
.page-hero h1 {
    font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; line-height: 1.08;
    letter-spacing: -0.02em; margin-bottom: 22px; max-width: 920px;
    margin-left: auto; margin-right: auto;
    animation: fadeUp 0.7s ease;
}
.page-hero h1 .gold { color: var(--primary); }
.page-hero h1.hero-stack { line-height: 1.04; }
.page-hero h1.hero-stack .gold { display: block; margin-top: 6px; font-size: 0.85em; }
.hero-question { display: inline-block; margin-top: 10px; font-size: 1.35em; font-weight: 700; color: var(--primary); font-style: normal !important; line-height: 1.35; }
.page-hero-sub {
    font-size: clamp(16px, 2vw, 19px); color: var(--text-dim); line-height: 1.7;
    max-width: 780px; margin: 0 auto 32px;
    animation: fadeUp 0.7s ease 0.1s both;
}
.page-hero-actions {
    display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
    animation: fadeUp 0.7s ease 0.2s both;
}

/* ── Buttons ── */
.btn {
    padding: 14px 26px; border-radius: var(--radius-sm); border: none;
    font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all 0.2s;
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    line-height: 1.1;
}
.btn-primary { background: var(--primary); color: #000; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(199,161,74,0.32); }
.btn-outline { background: rgba(255,255,255,0.03); color: var(--text); border: 1px solid var(--glass-border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ── Sections ── */
.section { max-width: 1180px; margin: 0 auto; padding: 56px 24px; position: relative; }
.section-narrow { max-width: 880px; }
.section-eyebrow {
    font-size: 12.5px; font-weight: 700; color: var(--primary); text-transform: uppercase;
    letter-spacing: 2.5px; margin-bottom: 12px;
}
.section-heading {
    font-size: clamp(24px, 3.6vw, 36px); font-weight: 800; letter-spacing: -0.01em;
    margin-bottom: 18px; line-height: 1.18;
}
.section-desc { font-size: 16.5px; color: var(--text-dim); line-height: 1.75; max-width: 760px; margin-bottom: 36px; }
.section-desc + .section-desc { margin-top: -20px; }
.section h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.01em; margin: 36px 0 14px; }
.section h3 { font-size: 19px; font-weight: 700; margin: 24px 0 10px; color: var(--text); }
.section h4 { font-size: 16px; font-weight: 700; margin: 18px 0 8px; color: var(--text); }
.section p { font-size: 15.5px; color: var(--text-dim); line-height: 1.78; margin-bottom: 20px; text-align: justify; hyphens: auto; }
.section p.section-desc, .section p.center, .section > p[style*="text-align:center"] { text-align: center; }
.section p strong { color: var(--text); font-weight: 600; }
.section ul, .section ol { margin: 0 0 14px 22px; }
.section li { font-size: 15px; color: var(--text-dim); line-height: 1.7; margin-bottom: 6px; }

/* ── Insight strip ── */
.insight {
    max-width: 1180px; margin: 0 auto; padding: 28px 24px;
}
.insight-inner {
    background: linear-gradient(135deg, rgba(199,161,74,0.10), rgba(16,185,129,0.04));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px 32px;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center;
}
.insight-eyebrow {
    font-size: 11px; font-weight: 700; color: var(--primary);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
}
.insight-text {
    font-size: 17px; line-height: 1.55; color: var(--text);
    font-weight: 600;
}
.insight-text span { color: var(--text-dim); font-weight: 400; }
.insight-icon { font-size: 32px; opacity: 0.85; }

/* ── Card grids ── */
.card-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.card-grid.col-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.card-grid.col-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.feature-card {
    background: var(--card-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 26px;
    transition: all 0.25s; position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,0.35); }
.feature-card:hover::before { opacity: 1; }
.feature-card .num {
    font-size: 12px; font-weight: 700; color: var(--primary);
    letter-spacing: 2px; margin-bottom: 10px;
}
.feature-card .icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--primary-glow); display: flex; align-items: center; justify-content: center;
    font-size: 30px; margin-bottom: 16px;
    border: 1px solid rgba(245,196,86,0.18);
    box-shadow: 0 4px 18px rgba(245,196,86,0.10);
}
.feature-card.big-icon .icon {
    width: 72px; height: 72px; border-radius: 18px;
    font-size: 38px; margin-bottom: 18px;
}

/* ── Social media grid ── */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 18px 0 24px;
}
.social-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--card-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 16px 18px;
    color: var(--text); text-decoration: none;
    transition: all 0.2s;
}
.social-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.social-card .social-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    color: var(--primary);
}
.social-card .social-meta {
    display: flex; flex-direction: column; gap: 2px;
    min-width: 0;
}
.social-card .social-meta strong {
    font-size: 14.5px; font-weight: 700; color: var(--text);
}
.social-card .social-meta span {
    font-size: 12.5px; color: var(--text-dim);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); margin-top: 0; }
/* Wąskie karty + justowanie = dziury w tekście (uwaga Eweliny, baza wiedzy 2026-07-17) */
.feature-card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.65; margin-bottom: 0; text-align: left; hyphens: manual; }

/* ── Pictogram strip / grid (Gen-Z bullets) ── */
.pictogram-strip {
    display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
    margin: 20px 0 28px;
}
.pictogram-strip-hero { margin: 8px 0 28px; }
.pictogram {
    display: inline-flex; flex-direction: column; align-items: center;
    gap: 6px; padding: 8px 14px;
    min-width: 88px;
}
.pictogram .pg-icon { font-size: 28px; line-height: 1; }
.pictogram .pg-label {
    font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
    color: var(--primary); text-transform: uppercase;
}
.pictogram-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px; margin: 20px 0;
}
.pictogram-card {
    background: var(--card-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 22px 14px;
    transition: all 0.2s;
}
.pictogram-card:hover {
    border-color: var(--primary); transform: translateY(-2px);
}
.pictogram-card .pg-icon { font-size: 36px; margin-bottom: 4px; }
.pictogram-card .pg-label { font-size: 13px; color: var(--text); }

/* ── Quote / pull block ── */
.quote-block {
    background: linear-gradient(135deg, rgba(199,161,74,0.10), rgba(16,185,129,0.04));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 36px 32px;
    margin: 32px 0;
    text-align: center;
}
.quote-block .quote-eyebrow {
    font-size: 11px; font-weight: 700; color: var(--primary);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.quote-block .quote-title {
    font-size: clamp(20px, 3vw, 26px); font-weight: 700; color: var(--text);
    margin-bottom: 14px; letter-spacing: -0.01em; line-height: 1.3;
}
.quote-block .quote-body { font-size: 15.5px; color: var(--text-dim); line-height: 1.7; max-width: 720px; margin: 0 auto; }
.quote-block .quote-body + .quote-body { margin-top: 14px; }

/* ── Person card (for tworcy) ── */
.person-card .person-portrait { margin: 0 auto 26px; }
.person-card {
    background: linear-gradient(135deg, var(--card-bg), var(--panel-bg));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 36px 32px;
    margin: 24px 0;
}
.person-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.person-avatar {
    width: 112px; height: 112px; border-radius: 50%;
    background: var(--primary-glow); border: 2px solid var(--primary);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    font-size: 48px;
    overflow: hidden;
}
.person-avatar-img { padding: 0; background: var(--bg-elevated); }
.person-avatar-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-name { font-size: 22px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.person-title { font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(16,185,129,0.12); color: var(--green);
    padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600;
}
.badge.gold { background: var(--primary-glow); color: var(--primary); }

/* ── Feature figure (large portrait photo) ── */
.section-figure-block { text-align: center; }
.section-figure { margin: 4px auto 0; max-width: 380px; }
.section-figure picture { display: block; }
.section-figure img {
    display: block; width: 100%; height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.section-figure figcaption {
    margin-top: 14px; font-size: 13px; color: var(--text-dim); line-height: 1.6;
}
@media (max-width: 560px) {
    .section-figure { max-width: 280px; }
}

/* ── List with primary checks ── */
.check-list { list-style: none; margin-left: 0 !important; }
.check-list li {
    padding-left: 24px; position: relative; list-style: none;
}
.check-list li::before {
    content: '✓'; color: var(--primary); position: absolute;
    left: 0; top: 0; font-weight: 700;
}

/* ── Bullet list inside page-hero ── */
.page-hero-list {
    list-style: disc; margin: 8px 0 0 24px; padding: 0;
    color: var(--text-dim); font-size: 1rem; line-height: 1.7;
}

/* ── List with arrows ── */
.arrow-list { list-style: none; margin-left: 0 !important; }
.arrow-list li {
    padding-left: 24px; position: relative; list-style: none;
}
.arrow-list li::before {
    content: '→'; color: var(--primary); position: absolute;
    left: 0; top: 0; font-weight: 700;
}

/* ── CTA section ── */
.cta-section {
    text-align: center; padding: 72px 24px;
    background: linear-gradient(135deg, rgba(199,161,74,0.08), transparent 60%);
    border-top: 1px solid var(--glass-border);
}
.cta-section h2 { font-size: clamp(26px, 4.5vw, 40px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.01em; }
.cta-section p { font-size: 17px; color: var(--text-dim); margin-bottom: 32px; max-width: 680px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-section .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ── Crisis line ── */
.crisis { max-width: 880px; margin: 0 auto; padding: 0 24px 32px; }
.crisis-inner {
    background: rgba(220,38,38,0.06); border: 1px solid rgba(220,38,38,0.18);
    border-radius: var(--radius); padding: 18px 22px;
    display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
    font-size: 13px; color: var(--text-dim); line-height: 1.6;
}
.crisis-inner strong { color: #FCA5A5; font-weight: 700; }

/* ── Disclaimer + Footer ── */
.disclaimer {
    max-width: 880px; margin: 0 auto; padding: 16px 24px 28px;
    font-size: 12.5px; color: var(--text-muted); text-align: center; line-height: 1.7;
}
.footer {
    border-top: 1px solid var(--glass-border); padding: 36px 24px;
    text-align: center; color: var(--text-muted); font-size: 13px;
}
.footer a { color: var(--primary); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-brand { margin-bottom: 12px; }
.footer-links { margin-bottom: 12px; line-height: 2; }
.footer-links a { margin: 0 8px; }
.footer-credit { opacity: 0.7; font-size: 12px; margin-top: 8px; }

/* ── Long-form legal pages (regulamin / polityka) ── */
.legal-body {
    max-width: 880px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
.legal-body h2 {
    font-size: 22px; font-weight: 800; margin: 36px 0 12px;
    color: var(--text); letter-spacing: -0.01em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: var(--primary); }
.legal-body h4 { font-size: 15px; font-weight: 600; margin: 18px 0 6px; color: var(--text); }
.legal-body p { font-size: 15px; color: var(--text-dim); line-height: 1.8; margin-bottom: 12px; }
.legal-body ul, .legal-body ol { margin: 8px 0 16px 24px; }
.legal-body li { font-size: 15px; color: var(--text-dim); line-height: 1.75; margin-bottom: 6px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body .legal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.legal-body a { color: var(--primary); text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 980px) {
    .insight-inner { grid-template-columns: 1fr; gap: 12px; }
    .insight-icon { display: none; }
}
@media (max-width: 720px) {
    .nav-links .nav-link:not(.cta) { display: none; }
    .page-hero { padding: 110px 16px 40px; }
    .section { padding: 44px 16px; }
    .section p { text-align: left; hyphens: none; }
    .insight { padding: 16px; }
    .insight-inner { padding: 22px 20px; }
    .quote-block { padding: 24px 20px; }
    .person-card { padding: 24px 20px; }
    .legal-body { padding: 24px 16px 48px; }
}
