/* Newsletter landing page styles (lead magnet: "Z kamerą wśród LLMów") */

/* Hero - tightened for mail capture */
.nl-hero {
    min-height: auto;
    padding: 90px 0 60px;
    position: relative;
    overflow: hidden;
    background-color: var(--black, #0a0a0a);
    color: var(--white, #fff);
}
.nl-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}
.nl-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 14px;
}
.nl-h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 auto 12px;
    max-width: 900px;
}
.nl-h1 .accent {
    color: var(--primary-color);
}
.nl-tagline {
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 500;
    opacity: 0.9;
    margin: 0 auto 36px;
    max-width: 760px;
    line-height: 1.4;
}
.nl-tagline .accent {
    color: var(--primary-color);
    font-weight: 700;
}

/* Book cover (real image) */
.ebook-cover {
    display: block;
    width: 240px;
    max-width: 70vw;
    margin: 0 auto 30px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255, 193, 7, 0.25);
    transform: rotate(-3deg);
    transition: transform 0.4s ease;
    line-height: 0;
}
.ebook-cover:hover {
    transform: rotate(0deg) scale(1.03);
}
.ebook-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.nl-hero-intro {
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.88;
}
.nl-hero-intro strong {
    color: var(--primary-color);
}

.nl-cta-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.nl-cta-note {
    font-size: 14px;
    opacity: 0.75;
    margin: 0;
}

/* "Why this matters" timeline */
.why-matters {
    background: var(--white, #fff);
    color: var(--black, #0a0a0a);
    padding: 70px 0;
}
.why-matters h2 {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    margin: 0 auto 50px;
    max-width: 800px;
}
.why-matters-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
}
.why-matters-item {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 22px 24px;
    background: #fafafa;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
}
.why-matters-num {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-matters-text {
    font-size: 17px;
    line-height: 1.55;
}
.why-matters-text strong { color: #0a0a0a; }
.why-matters-text .hl {
    background: linear-gradient(180deg, transparent 60%, rgba(255, 193, 7,0.35) 60%);
    font-weight: 700;
}

/* "What you'll get" cards */
.what-you-get {
    padding: 70px 0;
    background: var(--black, #0a0a0a);
    color: var(--white, #fff);
}
.what-you-get h2 {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    margin: 0 auto 14px;
}
.what-you-get .lead {
    text-align: center;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 17px;
    line-height: 1.5;
}
.wyg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.wyg-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 28px 26px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.wyg-card:hover {
    border-color: rgba(255, 193, 7,0.5);
    transform: translateY(-3px);
}
.wyg-card .ico {
    font-weight: 800;
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.wyg-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
}
.wyg-card p { font-size: 15px; line-height: 1.6; opacity: 0.85; margin: 0 0 12px; }
.wyg-card ul { margin: 0; padding-left: 20px; }
.wyg-card li { font-size: 15px; line-height: 1.55; margin-bottom: 8px; opacity: 0.9; }

/* Mid CTA banner */
.mid-cta {
    text-align: center;
    padding: 50px 20px;
    background: var(--white, #fff);
}
.mid-cta p {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 22px;
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
    background: var(--black, #0a0a0a);
    color: var(--white, #fff);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin: 0 auto 18px;
    max-width: 800px;
}
.final-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.85;
    font-size: 17px;
    line-height: 1.6;
}
.final-cta .cta-button {
    margin-top: 30px;
}
.final-cta p.final-cta-note {
    margin: 32px auto 0;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.75;
}

/* Popup ebook cover */
.popup-ebook-cover {
    width: 120px;
    margin: 0 auto 18px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
    line-height: 0;
}
.popup-ebook-cover img {
    display: block;
    width: 100%;
    height: auto;
}

/* Popup subtitle (under H3) */
.new-popup-subtitle {
    text-align: center;
    opacity: 0.85;
    margin: -8px 0 18px;
    font-size: 14px;
}

/* Extra-large CTA button + mobile line-break helper (ported from EN) */
.button--xl {
    padding: 20px 50px;
    font-size: 1.2rem;
}
.mobile-br {
    display: none;
}

/* "Dla kogo" section */
.nl-who {
    padding: 70px 0;
    background: var(--white, #fff);
    color: var(--black, #0a0a0a);
}
.nl-who h2 {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    margin: 0 auto 40px;
}
.nl-who-list {
    max-width: 760px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 14px;
}
.nl-who-list li {
    position: relative;
    padding: 16px 20px 16px 52px;
    background: #fafafa;
    border-radius: 8px;
    font-size: 17px;
    line-height: 1.5;
}
.nl-who-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 16px;
    color: var(--primary-color, #ffc107);
    font-weight: 800;
}

/* TOPICS section ("Co poruszamy" - 12 tematów / 3 filary) */
.nl-topics {
    padding: 80px 0;
    background: var(--black, #0a0a0a);
    color: var(--white, #fff);
}
.nl-topics h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin: 0 auto 16px;
}
.topics-intro {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 60px;
    font-weight: 500;
}
.pillar-section {
    margin-bottom: 80px;
}
.pillar-section:last-child {
    margin-bottom: 40px;
}
.show-all-topics-container {
    text-align: center;
    margin: 40px 0 60px;
}
.show-all-topics-btn {
    font-size: 1.05rem;
    padding: 16px 40px;
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.4);
    color: var(--primary-color, #ffc107);
    transition: all 0.3s ease;
    cursor: pointer;
}
.show-all-topics-btn:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.6);
    transform: translateY(-2px);
}
.btn-text-hide { display: none; }
.collapsible-topics {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    opacity: 0;
}
.collapsible-topics.expanded {
    max-height: 10000px;
    opacity: 1;
}
.pillar-section-inner { margin-top: 80px; }
.pillar-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color, #ffc107);
    margin-bottom: 8px;
    text-align: center;
}
.pillar-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}
.topic-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    overflow: hidden;
}
.topic-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(255, 193, 7, 0.05);
}
.topic-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}
.badge-advanced {
    background: rgba(255, 107, 107, 0.2);
    color: #ff9999;
    border: 1px solid rgba(255, 107, 107, 0.3);
}
.badge-most-requested {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}
.badge-high-impact {
    background: rgba(64, 87, 244, 0.2);
    color: #7289ff;
    border: 1px solid rgba(64, 87, 244, 0.3);
}
.badge-foundational {
    background: rgba(0, 210, 255, 0.2);
    color: #5ddbff;
    border: 1px solid rgba(0, 210, 255, 0.3);
}
.topic-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color, #ffc107);
    opacity: 0.18;
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 1;
}
.nl-topics .topic-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}
.topic-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}
.topic-outcome {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    padding: 12px 15px;
    background: rgba(255, 193, 7, 0.05);
    border-left: 3px solid var(--primary-color, #ffc107);
    border-radius: 4px;
    margin: 0;
    position: relative;
    z-index: 2;
}
.topic-outcome strong {
    color: var(--primary-color, #ffc107);
    font-weight: 600;
}
.topics-cta-container {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.topics-cta-footer {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 15px;
}

/* DEMO lessons section (6-week teaser) */
.nl-demo {
    padding: 80px 0;
    background: var(--white, #fff);
    color: var(--black, #0a0a0a);
}
.nl-demo h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin: 0 auto 16px;
}
.nl-demo-lead {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.85;
}
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.demo-card {
    background: #fafafa;
    border: 1px solid #ececec;
    border-left: 4px solid var(--primary-color, #ffc107);
    border-radius: 10px;
    padding: 24px 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.demo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}
.demo-week {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color, #ffc107);
    margin-bottom: 10px;
}
.demo-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: #0a0a0a;
}
.nl-demo-cta {
    text-align: center;
    margin-top: 50px;
}

/* Tighter sections on mobile */
@media (max-width: 768px) {
    .nl-hero { padding: 60px 0 40px; }
    .why-matters, .what-you-get { padding: 50px 0; }
    .final-cta { padding: 60px 0; }
    .why-matters-item { flex-direction: row; padding: 18px 18px; gap: 14px; }
    .why-matters-num { flex-basis: 38px; height: 38px; font-size: 17px; }
    .ebook-cover { width: 200px; }
    .nl-who, .nl-topics, .nl-demo { padding: 50px 0; }
    .pillar-grid { grid-template-columns: 1fr; gap: 18px; }
    .pillar-section { margin-bottom: 50px; }
    .pillar-section-inner { margin-top: 50px; }
    .demo-grid { grid-template-columns: 1fr; gap: 14px; }
    .mobile-br { display: inline; }

    /* CTA buttons: wrap long labels instead of clipping (shared rule forces nowrap on mobile) */
    .cta-button { white-space: normal; max-width: 100%; }
    /* Top announcement bar stays a single line (text kept short) */
    .announcement-link { white-space: nowrap; }
}
