/* ─────────── RESET / BASE ─────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:          #ffffff;
    --bg-soft:     #f7f6f2;
    --bg-alt:      #faf9f5;
    --ink:         #111317;
    --ink-soft:    #2a2d33;
    --muted:       #5c6069;
    --muted-2:     #8a8e97;
    --line:        #e8e5dc;
    --line-soft:   #f0ede4;
    --accent:      #ff6b2c;
    --accent-dark: #e85a1e;
    --accent-soft: #fff1e8;
    --ff:          'Inter', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    --radius:      6px;
    --ease:        cubic-bezier(0.2, 0.7, 0.2, 1);
    --container:   1120px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--ff);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ─────────── TYPOGRAPHY ─────────── */
h1, h2, h3, h4 { font-family: var(--ff); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--ink-soft); }

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.lead { font-size: 1.1rem; color: var(--muted); }

.accent { color: var(--accent); }

/* ─────────── LAYOUT ─────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 0; position: relative; }
section + section { border-top: 1px solid var(--line-soft); }

/* ─────────── NAV ─────────── */
nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(1.2) blur(10px);
    -webkit-backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.brand-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--accent); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ff);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.7rem 1.3rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -10px rgba(255,107,44,0.6);
}
.btn-primary .arrow { transition: transform 0.2s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink);
    margin: 4px 0;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* ─────────── HERO ─────────── */
#hero {
    padding: 5rem 0 5.5rem;
    background:
        radial-gradient(ellipse 60% 50% at 85% 30%, rgba(255,107,44,0.06) 0%, transparent 65%),
        linear-gradient(to bottom, var(--bg-alt), var(--bg));
    border-top: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 1.2rem; }
.hero-title { margin-bottom: 1.4rem; }
.hero-title .u {
    color: var(--accent);
}
.hero-desc {
    font-size: 1.08rem;
    color: var(--muted);
    margin-bottom: 0.9rem;
}
.hero-desc strong { color: var(--ink); font-weight: 600; }

.hero-meta {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--muted);
}
.hero-meta-item { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-meta-item svg { flex: 0 0 auto; }

.hero-actions {
    margin-top: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

/* — DNA motif — */
.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1.1;
    max-width: 440px;
    margin-left: auto;
}
.hero-visual svg { width: 100%; height: 100%; }
.dna-ring {
    position: absolute;
    inset: 8% 8%;
    border: 1px solid var(--line);
    border-radius: 50%;
    pointer-events: none;
}
.dna-ring::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px dashed rgba(255,107,44,0.25);
    animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────── SECTION HEADER / FOOTER ─────────── */
.section-head {
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
}
.section-footer {
    max-width: 720px;
    margin: 3.5rem auto 0;
    text-align: center;
}
.section-head h2,
.section-footer h2 {
    margin-bottom: 0.8rem;
}
.section-head p,
.section-footer p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* ─────────── CO OTRZYMASZ ─────────── */
.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.benefit {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.benefit:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.benefit-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--muted-2);
    margin-bottom: 1.1rem;
}
.benefit h3 { margin-bottom: 0.55rem; font-size: 1.05rem; }
.benefit p { font-size: 0.93rem; color: var(--muted); line-height: 1.55; }

/* ─────────── RAPORT I ANALIZA ─────────── */
#report {
    background: var(--bg-soft);
}
.flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    margin-bottom: 4rem;
}
.flow::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--line);
}
.flow-step {
    text-align: center;
    padding: 0 1rem;
    position: relative;
}
.flow-badge {
    width: 44px; height: 44px;
    margin: 0 auto 1.2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
}
.flow-step h4 { font-size: 0.98rem; margin-bottom: 0.4rem; }
.flow-step p { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }

.report-list-900 {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.report-list {
    list-style: none;
}
.report-list li {
    display: flex;
    gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.98rem;
}
.report-list li:last-child { border-bottom: none; }
.report-list .arrow-mark {
    color: var(--accent);
    font-weight: 700;
    flex: 0 0 auto;
}
.report-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 14px -6px rgba(20, 20, 40, 0.08);
}
.report-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 1.25rem;
}
.report-card-head span:first-child { font-weight: 600; font-size: 0.95rem; }
.report-card-head span:last-child {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--muted-2);
    text-transform: uppercase;
}
.report-score {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.7rem;
}
.report-score .num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
}
.report-score .max { font-size: 1rem; color: var(--muted-2); font-weight: 500; }
.report-bar {
    height: 6px;
    background: var(--line-soft);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.report-bar span {
    display: block;
    height: 100%;
    width: 78%;
    background: linear-gradient(to right, #f59a42, var(--accent));
    border-radius: 999px;
}
.report-rows { display: grid; gap: 0.6rem; }
.report-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
}
.report-row span:first-child { color: var(--muted); }
.report-row span:last-child { color: var(--ink); font-weight: 500; }
.pill {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--accent-soft);
    color: var(--accent-dark);
}
.pill-gray {
    background: var(--line-soft);
    color: var(--ink-soft);
}

/* ─────────── DLA KOGO ─────────── */
#audience { background: var(--bg-soft); }
.audience {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.audience-item {
    display: flex;
    gap: 0.9rem;
    padding: 1.15rem 0;
    align-items: flex-start;
}
.audience-item .check {
    flex: 0 0 auto;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.audience-item p { font-size: 1rem; color: var(--ink-soft); }

/* ─────────── TWÓRCA KONCEPCJI ─────────── */
.creator-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: center;
}
.creator-photo {
    aspect-ratio: 1;
    background: var(--bg-soft) top/cover no-repeat;
    background-image: url('/long_life/img/prof-marek-postula.jpg');
    border-radius: 8px;
    border: 1px solid var(--line);
}
.creator-copy h2 { margin-bottom: 0.3rem; }
.creator-role {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
    font-weight: 500;
}
.creator-copy p {
    color: var(--ink-soft);
    margin-bottom: 0.9rem;
}
.creator-facts {
    list-style: none;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    /*display: grid;*/
    /*gap: 0.55rem;*/
}
.creator-facts li {
    font-size: 17px;
    color: var(--ink-soft);
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    margin: 0.5rem 0;
}
.creator-facts li::before {
    content: '';
    flex: 0 0 auto;
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateY(-2px);
}
.creator-facts li strong{
    display: contents;
}

/* ─────────── CTA ─────────── */
#cta {
    background: var(--ink);
    color: #fff;
    text-align: center;
    padding: 5.5rem 0;
}
#cta h2 { color: #fff; margin-bottom: 1rem; }
#cta p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 1rem auto 2rem; font-size: 1.05rem; }
#cta .btn-primary { padding: 1.05rem 2rem; font-size: 1rem; }
.cta-note {
    margin-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
}

/* ─────────── FOOTER ─────────── */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    background: var(--bg);
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
}
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--accent); }

/* ─────────── REVEAL ON SCROLL ─────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 980px) {
    section { padding: 4.5rem 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { max-width: 360px; margin: 0 auto; }
    .benefits { grid-template-columns: repeat(2, 1fr); }
    .flow { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
    .flow::before { display: none; }
    .report-grid { grid-template-columns: 1fr; }
    .creator-grid { grid-template-columns: 1fr; gap: 2rem; }
    .creator-photo { max-width: 320px; }
    .audience { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    nav.open .nav-links {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: #fff;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--line);
    }
    .benefits { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
    section { padding: 4rem 0; }
}
