/* ================================================================
   Linux Lab — Landing Page Styles
   Page ID: 597 (Vol. 1) | Templates: hub, vol2 | Roberto Fine
   ================================================================ */

/* ——— Custom Properties ——— */
.page-id-597,
.page-template-page-linux-lab-hub,
.page-template-page-linux-lab-vol2,
.page-template-page-linux-playground {
    --ll-green:      #4af626;
    --ll-green-dim:  rgba(74, 246, 38, 0.12);
    --ll-gold:       #d9cb5a;
    --ll-gold-2:     #c4944b;
    --ll-dark:       #0d1117;
    --ll-dark-2:     #131419;
    --ll-dark-3:     #1a1f2e;
    --ll-border:     rgba(217, 203, 90, 0.2);
    --ll-text:       rgba(255, 255, 255, 0.75);
    --ll-radius:     14px;
}

/* ——— Global reset for this page ——— */
.page-id-597 main,
.page-template-page-linux-lab-hub main,
.page-template-page-linux-lab-vol2 main,
.page-template-page-linux-playground main {
    overflow-x: hidden;
    background: var(--ll-dark);
}

/* Override custom.css article width rules on these pages */
.page-id-597 article,
.page-template-page-linux-lab-hub article,
.page-template-page-linux-lab-vol2 article,
.page-template-page-linux-playground article {
    width: 100% !important;
    margin: 0 !important;
}

/* ================================================================
   HUB PAGE — Hero & Section
   ================================================================ */
.ll-hub-hero {
    min-height: 65vh;
    background: var(--ll-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 6% 6rem;
    position: relative;
    overflow: hidden;
}

.ll-hub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 40% 50%, rgba(74, 246, 38, 0.04) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 30%, rgba(217, 203, 90, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.ll-hub-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.ll-hub-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    background: linear-gradient(145deg, #ffffff 35%, var(--ll-gold) 80%, var(--ll-gold-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.ll-hub-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin-bottom: 2rem;
    font-style: italic;
}

.ll-hub-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.ll-hub-section {
    padding: 8rem 6%;
    background: var(--ll-dark-2);
}

.ll-hub-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ——— Hub Volume Cards ——— */
.ll-hub-volumes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ll-hub-vol {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.ll-hub-vol:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.ll-hub-vol-available {
    border-color: rgba(217, 203, 90, 0.3);
    background: rgba(217, 203, 90, 0.02);
}

.ll-hub-vol-available:hover { border-color: rgba(217, 203, 90, 0.55); }

.ll-hub-vol-pending {
    border-color: rgba(74, 246, 38, 0.2);
    background: rgba(74, 246, 38, 0.015);
}

.ll-hub-vol-pending:hover { border-color: rgba(74, 246, 38, 0.4); }

.ll-hub-vol-header { display: flex; flex-direction: column; }

.ll-hub-vol .ll-book-cover-wrap {
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
}
.ll-hub-vol .ll-book-cover {
    width: 120px;
}

.ll-hub-vol-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ll-hub-vol-price .ll-price-value {
    display: inline;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ll-gold);
    font-family: var(--secondary-font, 'Manrope'), sans-serif;
    margin-right: 0.5rem;
}

.ll-hub-vol-price .ll-price-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ——— Vol. 2 hero: two-column (no book cover) ——— */
.ll-hero-v2 {
    grid-template-columns: 1fr 1fr;
}

/* ——— "In pubblicazione" notice ——— */
.ll-notice {
    background: rgba(74, 246, 38, 0.05);
    border: 1px solid rgba(74, 246, 38, 0.18);
    border-radius: 10px;
    padding: 0.875rem 6%;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.ll-notice-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--ll-green);
    margin-top: 0.35rem;
    animation: ll-pulse 2s ease-in-out infinite;
}

@keyframes ll-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 246, 38, 0.4); }
    50%       { opacity: 0.8; box-shadow: 0 0 0 6px rgba(74, 246, 38, 0); }
}

/* ——— Vol. 2 chapter cards: green accent ——— */
.ll-chapters-vol2 .ll-ch-num {
    color: var(--ll-green);
    background: rgba(74, 246, 38, 0.06);
    border-color: rgba(74, 246, 38, 0.18);
}

/* ——— Vol. 2 "sei qui" current volume marker ——— */
.ll-vol-current {
    border-color: rgba(74, 246, 38, 0.3) !important;
    background: rgba(74, 246, 38, 0.025) !important;
}

/* ——— Responsive additions ——— */
@media screen and (max-width: 1100px) {
    .ll-hub-volumes { grid-template-columns: 1fr 1fr; max-width: 760px; }
}

@media screen and (max-width: 900px) {
    .ll-hub-volumes { grid-template-columns: 1fr; max-width: 560px; }
    .ll-hero-v2 { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
    .ll-hub-hero { padding: 5.5rem 5% 4rem; min-height: 50vh; }
    .ll-hub-section { padding: 5rem 5%; }
    .ll-hub-vol { padding: 1.75rem; }
}

/* ================================================================
   Vol. 3 — Analizza, Smonta, Difendi con Kali Linux
   ================================================================ */

/* ——— Custom properties & resets ——— */
.page-template-page-linux-lab-vol3 {
    --ll-green:      #4af626;
    --ll-green-dim:  rgba(74, 246, 38, 0.12);
    --ll-gold:       #d9cb5a;
    --ll-gold-2:     #c4944b;
    --ll-dark:       #0d1117;
    --ll-dark-2:     #131419;
    --ll-dark-3:     #1a1f2e;
    --ll-border:     rgba(217, 203, 90, 0.2);
    --ll-text:       rgba(255, 255, 255, 0.75);
    --ll-radius:     14px;
}

.page-template-page-linux-lab-vol3 main {
    overflow-x: hidden;
    background: var(--ll-dark);
}

.page-template-page-linux-lab-vol3 article {
    width: 100% !important;
    margin: 0 !important;
}

/* ——— Hero: tre colonne (copertina + terminale + testo) ——— */
.ll-hero-v3 {
    grid-template-columns: 1fr 1fr;
}

@media screen and (min-width: 901px) {
    .ll-hero-v3 { grid-template-columns: auto 1fr 1fr; }
}

/* ——— Capitoli Vol. 3: accento rosso (tema sicurezza offensiva) ——— */
.ll-chapters-vol3 .ll-ch-num {
    color: #e63946;
    background: rgba(230, 57, 70, 0.06);
    border-color: rgba(230, 57, 70, 0.2);
}

/* ——— Sezione "Fa per te?" ——— */
.ll-audience {
    padding: 7rem 6%;
    background: var(--ll-dark-2);
}

.ll-audience .ll-manifesto-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* ——— Responsive Vol. 3 ——— */
@media screen and (max-width: 900px) {
    .ll-hero-v3 { grid-template-columns: minmax(0, 1fr); }
    .ll-hero-v3 .ll-hero-left,
    .ll-hero-v3 .ll-hero-right,
    .ll-hero-v3 .ll-book-cover-wrap { min-width: 0; max-width: 100%; }
    .ll-terminal { max-width: 100%; overflow-x: hidden; }
    .ll-terminal-body { font-size: 0.78rem; padding: 1rem 1rem 1.5rem; overflow-x: hidden; }
    .ll-terminal-line { flex-wrap: nowrap; min-width: 0; }
    .ll-cmd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
    .ll-hero-sub br { display: none; }
}

@media screen and (max-width: 768px) {
    .ll-audience { padding: 5rem 5%; }
}

/* ================================================================
   BREADCRUMB
   ================================================================ */
.ll-breadcrumb {
    padding: 0.875rem 6%;
    background: var(--ll-dark-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ll-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    max-width: 1200px;
}

.ll-breadcrumb li + li::before {
    content: '/';
    margin-right: 0.4rem;
    color: rgba(255, 255, 255, 0.15);
}

.ll-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s;
}

.ll-breadcrumb a:hover { color: var(--ll-gold); }
.ll-breadcrumb li:last-child { color: var(--ll-gold); }

/* ================================================================
   HERO SECTION
   ================================================================ */
.ll-hero {
    min-height: 100vh;
    background: var(--ll-dark);
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: 8rem 6% 6rem;
    position: relative;
    overflow: hidden;
}

.ll-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 60%, rgba(74, 246, 38, 0.035) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 20%, rgba(217, 203, 90, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Scanlines overlay */
.ll-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 0;
}

.ll-hero-left,
.ll-hero-right {
    position: relative;
    z-index: 1;
}

/* ——— Terminal Window ——— */
.ll-terminal {
    background: #0d1117;
    border: 1px solid rgba(74, 246, 38, 0.25);
    border-radius: var(--ll-radius);
    overflow: hidden;
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
    box-shadow:
        0 0 0 1px rgba(74, 246, 38, 0.08),
        0 0 40px rgba(74, 246, 38, 0.08),
        0 24px 64px rgba(0, 0, 0, 0.6);
}

.ll-terminal-bar {
    background: #161b22;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    user-select: none;
}

.ll-terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ll-terminal-dot.r { background: #ff5f56; }
.ll-terminal-dot.y { background: #ffbd2e; }
.ll-terminal-dot.g { background: #27c93f; }

.ll-terminal-title {
    margin-left: auto;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--primary-font, 'Inter'), sans-serif;
    letter-spacing: 0.05em;
}

.ll-terminal-body {
    padding: 1.5rem 1.5rem 2rem;
    min-height: 300px;
    font-size: 0.85rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.65);
}

.ll-terminal-line {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(4px);
    animation: ll-fadein 0.25s ease forwards;
}

.ll-terminal-line.d1  { animation-delay: 0.4s; }
.ll-terminal-line.d2  { animation-delay: 1.1s; }
.ll-terminal-line.d3  { animation-delay: 1.8s; }
.ll-terminal-line.d4  { animation-delay: 2.5s; }
.ll-terminal-line.d5  { animation-delay: 3.1s; }
.ll-terminal-line.d6  { animation-delay: 3.7s; }
.ll-terminal-line.d7  { animation-delay: 4.3s; }

@keyframes ll-fadein {
    to { opacity: 1; transform: translateY(0); }
}

.ll-prompt    { color: var(--ll-green); flex-shrink: 0; }
.ll-cmd       { color: #fff; }
.ll-out       { color: rgba(255, 255, 255, 0.45); margin-left: 1.25rem; font-style: italic; }
.ll-out.gold  { color: var(--ll-gold); font-style: normal; font-weight: 600; }
.ll-out.green { color: var(--ll-green); font-style: normal; }

.ll-cursor {
    display: inline-block;
    width: 7px;
    height: 1em;
    background: var(--ll-green);
    animation: ll-blink 1s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes ll-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ——— Book cover ——— */
.ll-book-cover-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 1rem;
}

.ll-book-cover {
    display: block;
    width: 200px;
    max-width: 100%;
    border-radius: 6px;
    box-shadow:
        -8px 8px 0 rgba(0,0,0,0.5),
        0 24px 60px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.06);
    transform: perspective(800px) rotateY(6deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    image-rendering: -webkit-optimize-contrast;
}

.ll-book-cover:hover {
    transform: perspective(800px) rotateY(0deg);
    box-shadow:
        0 0 0 rgba(0,0,0,0),
        0 32px 80px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.08);
}

.ll-book-cover-wrap .ll-book-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(217,203,90,0.35) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(8px);
}

/* ——— Hero text content ——— */
.ll-hero-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ll-pretitle {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ll-green);
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ll-pretitle::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--ll-green);
    flex-shrink: 0;
}

.ll-hero-title {
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 0.6rem;
    background: linear-gradient(145deg, #ffffff 35%, var(--ll-gold) 80%, var(--ll-gold-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.ll-hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    line-height: 1.55;
    margin-bottom: 2rem;
}

.ll-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-bottom: 2.5rem;
}

.ll-hero-meta span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ll-hero-meta strong { color: var(--ll-gold); }

.ll-hero-btns {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}

/* ——— Buttons ——— */
.ll-btn-primary {
    background: linear-gradient(135deg, var(--ll-gold) 0%, var(--ll-gold-2) 100%);
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.ll-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(217, 203, 90, 0.35);
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

.ll-btn-secondary {
    border: 1px solid rgba(217, 203, 90, 0.35);
    color: var(--ll-gold) !important;
    -webkit-text-fill-color: var(--ll-gold) !important;
    font-weight: 600;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.ll-btn-secondary:hover {
    background: rgba(217, 203, 90, 0.08);
    border-color: var(--ll-gold);
}

/* ================================================================
   STATS BAR
   ================================================================ */
.ll-stats {
    background: var(--ll-dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 2rem 6%;
    position: relative;
    z-index: 2;
}

.ll-stats-inner {
    display: flex;
    justify-content: center;
    gap: 0 4rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.ll-stat {
    text-align: center;
    padding: 0.5rem 0;
}

.ll-stat-num {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    font-family: var(--secondary-font, 'Manrope'), sans-serif;
    background: linear-gradient(135deg, var(--ll-gold), var(--ll-gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ll-stat-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.35rem;
}

/* ================================================================
   SECTION SHARED
   ================================================================ */
.ll-section-label {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ll-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.ll-section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--ll-green);
    flex-shrink: 0;
}

.ll-section-h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.ll-section-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 600px;
}

/* ================================================================
   ABOUT / MANIFESTO
   ================================================================ */
.ll-manifesto {
    padding: 8rem 6%;
    background: var(--ll-dark);
    position: relative;
}

.ll-manifesto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 85% 40%, rgba(217, 203, 90, 0.04) 0%, transparent 55%);
    pointer-events: none;
}

.ll-manifesto-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.ll-manifesto-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.65);
}

.ll-manifesto-text p { margin: 0 0 1.5rem; }
.ll-manifesto-text p:last-child { margin-bottom: 0; }

.ll-quote {
    border-left: 3px solid var(--ll-gold);
    padding: 0.25rem 0 0.25rem 1.5rem;
    font-style: italic;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 2rem 0;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

.ll-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ll-features li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid rgba(217, 203, 90, 0.25);
    border-radius: 0 var(--ll-radius) var(--ll-radius) 0;
    transition: border-color 0.2s, background 0.2s;
}

.ll-features li:hover {
    border-left-color: var(--ll-gold);
    background: rgba(217, 203, 90, 0.04);
}

.ll-feat-icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--ll-gold);
    opacity: 0.85;
}

.ll-feat-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.ll-feat-title {
    font-weight: 700;
    color: var(--ll-gold);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.ll-feat-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    line-height: 1.55;
}

/* ================================================================
   CHAPTERS GRID
   ================================================================ */
.ll-chapters {
    padding: 8rem 6%;
    background: var(--ll-dark-2);
    position: relative;
}

.ll-chapters-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.ll-chapters-header .ll-section-label {
    justify-content: center;
}

.ll-chapters-header .ll-section-label::before { display: none; }

.ll-chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 0.875rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ll-ch-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
    opacity: 0;
    transform: translateY(16px);
    cursor: default;
}

.ll-ch-card.ll-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.ll-ch-card:hover {
    border-color: rgba(217, 203, 90, 0.35);
    background: rgba(217, 203, 90, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ll-ch-num {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--ll-green);
    background: rgba(74, 246, 38, 0.07);
    border: 1px solid rgba(74, 246, 38, 0.18);
    border-radius: 6px;
    padding: 0.2rem 0.45rem;
    flex-shrink: 0;
    font-weight: 700;
    letter-spacing: 0.05em;
    min-width: 2.8rem;
    text-align: center;
    margin-top: 0.1rem;
    line-height: 1.4;
}

.ll-ch-body { flex: 1; min-width: 0; }

.ll-ch-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.35;
    display: block;
    margin-bottom: 0.2rem;
}

.ll-ch-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.45;
    display: block;
}

/* ================================================================
   PARALLAX CTA STRIPE
   ================================================================ */
.ll-parallax-stripe {
    padding: 6rem 6%;
    background-attachment: fixed;
    background-color: var(--ll-dark);
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(74, 246, 38, 0.025) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(74, 246, 38, 0.025) 50px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.ll-parallax-stripe::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 17, 23, 0.88);
}

.ll-stripe-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.ll-stripe-quote {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, #fff 40%, var(--ll-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.ll-stripe-attr {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ================================================================
   SERIES ROADMAP
   ================================================================ */
.ll-series {
    padding: 8rem 6%;
    background: var(--ll-dark);
    position: relative;
}

.ll-series::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(74, 246, 38, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.ll-series-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 5rem;
}

.ll-series-header .ll-section-label {
    justify-content: center;
}

.ll-series-header .ll-section-label::before { display: none; }

.ll-volumes {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}

.ll-volumes::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: calc(16.66% + 0.75rem);
    right: calc(16.66% + 0.75rem);
    height: 2px;
    background: linear-gradient(to right, var(--ll-gold), rgba(217, 203, 90, 0.15));
    z-index: 0;
}

.ll-vol {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem 1.75rem 1.75rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.ll-vol:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.ll-vol-1 {
    border-color: rgba(217, 203, 90, 0.35);
    background: rgba(217, 203, 90, 0.03);
}

.ll-vol-1:hover { border-color: rgba(217, 203, 90, 0.55); }

.ll-vol-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1.5rem;
}

.ll-vol-1 .ll-vol-badge {
    color: var(--ll-gold);
    background: rgba(217, 203, 90, 0.1);
    border: 1px solid rgba(217, 203, 90, 0.3);
}

.ll-vol-2 .ll-vol-badge {
    color: var(--ll-green);
    background: rgba(74, 246, 38, 0.07);
    border: 1px solid rgba(74, 246, 38, 0.2);
}

.ll-vol-3 .ll-vol-badge {
    color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ll-vol-number {
    font-size: 0.68rem;
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}

.ll-vol-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    display: block;
}

.ll-vol-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: block;
}

.ll-vol-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ll-vol-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Courier New', monospace;
}

.ll-vol-1 .ll-vol-tag {
    border-color: rgba(217, 203, 90, 0.22);
    color: rgba(217, 203, 90, 0.65);
}

/* ================================================================
   REVIEWS
   ================================================================ */
.ll-reviews {
    padding: 8rem 6%;
    background: var(--ll-dark-2);
}

.ll-reviews-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.ll-reviews-header .ll-section-label {
    justify-content: center;
}

.ll-reviews-header .ll-section-label::before { display: none; }

.ll-reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto 3rem;
}

.ll-review-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.ll-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(217, 203, 90, 0.25);
}

.ll-review-card::before {
    content: '"';
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: rgba(217, 203, 90, 0.12);
    font-family: Georgia, serif;
    pointer-events: none;
}

.ll-stars {
    color: var(--ll-gold);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.875rem;
    display: block;
}

.ll-review-title {
    font-weight: 700;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    display: block;
}

.ll-review-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    font-style: italic;
}

.ll-review-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ll-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ll-gold), var(--ll-gold-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #000;
    flex-shrink: 0;
}

.ll-review-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.ll-review-meta {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    display: block;
}

.ll-reviews-amazon-link {
    text-align: center;
}

.ll-reviews-amazon-link a {
    font-size: 0.85rem;
    color: var(--ll-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.ll-reviews-amazon-link a:hover { color: #fff; }

/* ================================================================
   AUTHOR
   ================================================================ */
.ll-author {
    padding: 8rem 6%;
    background-attachment: fixed;
    background-color: var(--ll-dark);
    background-image:
        radial-gradient(ellipse at 60% 40%, rgba(217, 203, 90, 0.06) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255, 255, 255, 0.012) 80px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255, 255, 255, 0.012) 80px);
    position: relative;
    overflow: hidden;
}

.ll-author::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 17, 23, 0.85);
}

.ll-author-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ll-author-photo-wrap {
    position: relative;
    flex-shrink: 0;
}

.ll-author-photo-wrap::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: conic-gradient(var(--ll-gold), var(--ll-gold-2), var(--ll-gold));
    border-radius: 50%;
    z-index: -1;
    animation: ll-spin 8s linear infinite;
}

@keyframes ll-spin {
    to { transform: rotate(360deg); }
}

.ll-author-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border: 4px solid var(--ll-dark);
    position: relative;
    z-index: 1;
}

.ll-author-content .ll-section-label { margin-bottom: 0.5rem; }

.ll-author-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 0.3rem;
    line-height: 1.1;
}

.ll-author-role {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    display: block;
}

.ll-author-bio {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.6);
}

.ll-author-bio p { margin: 0 0 1rem; }
.ll-author-bio p:last-child { margin-bottom: 0; }

/* ================================================================
   FAQ
   ================================================================ */
.ll-faq {
    padding: 8rem 6%;
    background: var(--ll-dark-2);
}

.ll-faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.ll-faq-header .ll-section-label {
    justify-content: center;
}

.ll-faq-header .ll-section-label::before { display: none; }

.ll-faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ll-faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s;
}

.ll-faq-item.ll-open { border-color: rgba(217, 203, 90, 0.28); }

.ll-faq-q {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--primary-font, 'Inter'), sans-serif;
    font-size: 0.975rem;
    font-weight: 600;
    text-align: left;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s;
    line-height: 1.4;
}

.ll-faq-q:hover,
.ll-faq-item.ll-open .ll-faq-q { color: var(--ll-gold); }

.ll-faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.25s;
    color: rgba(255, 255, 255, 0.4);
}

.ll-faq-item.ll-open .ll-faq-q .ll-faq-icon { transform: rotate(45deg); }

.ll-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
}

.ll-faq-item.ll-open .ll-faq-a {
    max-height: 400px;
    padding: 0 1.5rem 1.5rem;
}

.ll-faq-a p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.ll-cta {
    padding: 10rem 6%;
    background-attachment: fixed;
    background-color: var(--ll-dark);
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(217, 203, 90, 0.03) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(217, 203, 90, 0.03) 50px);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.ll-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center 60%, rgba(217, 203, 90, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.ll-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.ll-cta-label {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ll-green);
    font-weight: 600;
    display: block;
    margin-bottom: 1.5rem;
}

.ll-cta-title {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    background: linear-gradient(145deg, #ffffff 35%, var(--ll-gold) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.ll-cta-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

.ll-cta-pricing {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(217, 203, 90, 0.2);
    border-radius: 14px;
    padding: 1.1rem 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.ll-price-item {
    text-align: center;
}

.ll-price-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--secondary-font, 'Manrope'), sans-serif;
}

.ll-price-item:first-child .ll-price-value { color: var(--ll-gold); }
.ll-price-item:last-child .ll-price-value  { color: #fff; }

.ll-price-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.2rem;
}

.ll-price-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.5rem;
    align-self: center;
}

.ll-cta-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media screen and (max-width: 1100px) {
    .ll-hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-top: 6rem; }
    .ll-hero-right { order: -1; }
    .ll-book-cover-wrap { order: -2; }
    .ll-book-cover { width: 160px; }
    .ll-manifesto-inner { grid-template-columns: 1fr; gap: 3.5rem; }
    .ll-volumes { grid-template-columns: 1fr; max-width: 560px; }
    .ll-volumes::before { display: none; }
    .ll-author-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .ll-author-photo-wrap { margin: 0 auto; }
    .ll-author-content .ll-section-label { justify-content: center; }
    .ll-author-content .ll-section-label::before { display: none; }
}

@media screen and (max-width: 768px) {
    .ll-hero { padding: 5.5rem 5% 4rem; gap: 2.5rem; }
    .ll-hero-title { font-size: 2.4rem; }
    .ll-stats-inner { gap: 0 2rem; }
    .ll-stat-num { font-size: 2rem; }
    .ll-manifesto,
    .ll-chapters,
    .ll-series,
    .ll-reviews,
    .ll-author,
    .ll-faq,
    .ll-cta { padding: 5rem 5%; }
    .ll-chapters-grid { grid-template-columns: 1fr; }
    .ll-reviews-grid { grid-template-columns: 1fr; }
    .ll-parallax-stripe,
    .ll-cta,
    .ll-author { background-attachment: scroll !important; }
}

@media screen and (max-width: 480px) {
    .ll-hero { padding: 5rem 4% 3rem; }
    .ll-hero-title { font-size: 2rem; }
    .ll-hero-btns { flex-direction: column; }
    .ll-btn-primary, .ll-btn-secondary { justify-content: center; width: 100%; box-sizing: border-box; }
    .ll-stats-inner { gap: 0 1.5rem; }
    .ll-stat-num { font-size: 1.7rem; }
    .ll-cta-title { font-size: 2rem; }
}

/* ——— Copertina più grande nell'hero (il libro è il prodotto) ——— */
.ll-hero .ll-book-cover { width: clamp(220px, 22vw, 320px); }
@media screen and (max-width: 1100px) { .ll-hero .ll-book-cover { width: 240px; } }
@media screen and (max-width: 600px)  { .ll-hero .ll-book-cover { width: 210px; } }

/* ——— Barra di acquisto fissa su mobile ——— */
.ll-buybar, .ll-buybar-spacer { display: none; }
@media screen and (max-width: 768px) {
    .ll-buybar-spacer { display: block; height: 4.5rem; }
    .ll-buybar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        padding: 0.7rem 4.6rem calc(0.7rem + env(safe-area-inset-bottom)) 1rem; background: rgba(10, 12, 16, 0.96); border-top: 1px solid rgba(229, 194, 74, 0.28);
        transform: translateY(110%); transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .ll-buybar.is-visible { transform: none; }
    .ll-buybar__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
    .ll-buybar__info strong { font-size: 0.9rem; color: #fff; white-space: nowrap; }
    .ll-buybar__info span { font-size: 0.74rem; color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
    .ll-buybar .ll-btn-primary { flex: 0 0 auto; width: auto; min-width: 0; padding: 0.7rem 0.95rem; font-size: 0.72rem; letter-spacing: 0.04em; white-space: nowrap; }
}

/* ——— Nota sull'anteprima gratuita (hero dei volumi) ——— */
.ll-sample-note { margin: 1rem 0 0; font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }
.ll-sample-note a { color: var(--ll-gold); text-decoration: underline; text-underline-offset: 3px; }


/* ——— Banner Linux Playground (pagina Vol. 1) ——— */
.ll-pg-banner { padding: 0 1.5rem; margin: 2.5rem 0; }
.ll-pg-banner-inner {
    max-width: 1100px; margin: 0 auto; padding: 1.5rem 1.75rem;
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(74, 246, 38, 0.07), rgba(217, 203, 90, 0.08));
    border: 1px solid var(--ll-border); border-left: 3px solid var(--ll-green);
    border-radius: var(--ll-radius);
}
.ll-pg-banner-term {
    font-family: 'Courier New', monospace; font-size: 0.85rem; color: #fff;
    background: #05070b; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 0.7rem 1rem;
}
.ll-pg-banner-term b { color: var(--ll-green); font-weight: 400; }
.ll-pg-banner-text { flex: 1 1 280px; display: flex; flex-direction: column; gap: 0.3rem; }
.ll-pg-banner-text strong { color: #fff; font-size: 1.1rem; }
.ll-pg-banner-text span { color: var(--ll-text); font-size: 0.92rem; line-height: 1.5; }
.ll-btn-play { border-color: var(--ll-green); color: var(--ll-green); }
