/* ============================================================
   CometaAffitti — Landing Page styles
   Palette: blu notte + verde accento + oro
   Stile allineato al pattern fratello CashPMI per coerenza
   visiva all'interno della famiglia di prodotti Cometa.
   ============================================================ */

:root {
    --lp-primary: #0a2d5c;
    --lp-primary-dark: #06204a;
    --lp-primary-light: #1a4788;
    --lp-accent: #4dabf7;
    --lp-accent-dark: #1d70b8;
    --lp-gold: #e8b84f;
    --lp-bg: #ffffff;
    --lp-bg-soft: #f5f7fb;
    --lp-bg-dark: #06204a;
    --lp-text: #1a2740;
    --lp-text-muted: #6b7a99;
    --lp-border: #dbe4f0;
    --lp-shadow-sm: 0 2px 8px rgba(10, 45, 92, 0.06);
    --lp-shadow-md: 0 8px 24px rgba(10, 45, 92, 0.10);
    --lp-shadow-lg: 0 20px 48px rgba(10, 45, 92, 0.18);
    --lp-radius: 14px;
    --lp-radius-sm: 8px;
    --lp-radius-lg: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.landing {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--lp-text);
    background: var(--lp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.landing h1, body.landing h2, body.landing h3, body.landing h4 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    color: var(--lp-primary);
    margin: 0 0 0.5em;
    letter-spacing: -0.02em;
}

body.landing h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
body.landing h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
body.landing h3 { font-size: 1.25rem; }

body.landing p { margin: 0 0 1em; color: var(--lp-text); }

body.landing a { color: var(--lp-accent-dark); text-decoration: none; transition: color .15s ease; }
body.landing a:hover { color: var(--lp-accent); }

/* ----- Layout ----- */
.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.lp-container-narrow { max-width: 800px; }

.lp-section { padding: 96px 0; }
@media (max-width: 768px) { .lp-section { padding: 64px 0; } }

.lp-section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.lp-section-lead { font-size: 1.1rem; color: var(--lp-text-muted); margin-top: 12px; }

.lp-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--lp-accent-dark);
    background: rgba(77, 171, 247, 0.14);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.lp-eyebrow-center { display: inline-block; }

.lp-accent { color: var(--lp-accent); }
.lp-accent-soft { color: var(--lp-accent-dark); font-weight: 700; }

/* "in arrivo" badge per modulo non ancora rilasciato */
.lp-soon {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-gold);
    background: rgba(232, 184, 79, 0.18);
    padding: 3px 9px;
    border-radius: 999px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ----- Buttons ----- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--lp-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .18s ease;
    text-decoration: none !important;
    white-space: nowrap;
}
.lp-btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.lp-btn-block { display: flex; width: 100%; }

.lp-btn-primary { background: var(--lp-accent); color: #fff; border-color: var(--lp-accent); }
.lp-btn-primary:hover { background: var(--lp-accent-dark); border-color: var(--lp-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--lp-shadow-md); }

.lp-btn-outline { background: transparent; color: var(--lp-primary); border-color: var(--lp-border); }
.lp-btn-outline:hover { border-color: var(--lp-primary); color: var(--lp-primary); background: var(--lp-bg-soft); }

.lp-btn-ghost { background: transparent; color: var(--lp-primary); }
.lp-btn-ghost:hover { background: var(--lp-bg-soft); color: var(--lp-primary); }

/* ============================================================
   NAV
   ============================================================ */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lp-nav.scrolled { border-bottom-color: var(--lp-border); box-shadow: var(--lp-shadow-sm); }

.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.lp-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    color: var(--lp-primary);
    font-weight: 700;
}
.lp-logo:hover { color: var(--lp-primary); }
.lp-logo-mark {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%);
    color: #fff;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.0rem;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 12px rgba(29, 112, 184, 0.35);
}
.lp-logo-text { letter-spacing: -0.02em; }
.lp-logo-text strong { color: var(--lp-accent-dark); font-weight: 800; }
.lp-logo-light { color: #fff; }
.lp-logo-light:hover { color: #fff; }
.lp-logo-light .lp-logo-text strong { color: var(--lp-accent); }

.lp-nav-links { display: flex; gap: 28px; align-items: center; }
.lp-nav-links a {
    color: var(--lp-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color .15s ease;
}
.lp-nav-links a:hover { color: var(--lp-accent-dark); }

.lp-nav-actions { display: flex; gap: 12px; align-items: center; }

.lp-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--lp-primary);
    cursor: pointer;
    padding: 4px 8px;
}

@media (max-width: 960px) {
    .lp-nav-links { display: none; }
    .lp-nav-actions .lp-btn-ghost { display: none; }
}
@media (max-width: 640px) {
    .lp-nav-toggle { display: block; }
    .lp-nav-actions { display: none; }
    .lp-nav.open .lp-nav-links {
        display: flex; flex-direction: column; gap: 16px;
        position: absolute; top: 72px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--lp-border);
        padding: 20px 24px;
    }
    .lp-nav.open .lp-nav-actions { display: flex; flex-direction: column; gap: 12px; padding: 0 24px 20px; }
}

/* ============================================================
   HERO
   ============================================================ */
.lp-hero {
    position: relative;
    padding: 96px 0 64px;
    overflow: hidden;
}
.lp-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(77, 171, 247, 0.14), transparent 55%),
        radial-gradient(ellipse at 85% 10%, rgba(232, 184, 79, 0.10), transparent 50%),
        linear-gradient(180deg, #fafbfe 0%, #ffffff 100%);
    z-index: -1;
}
.lp-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 56px;
}
@media (max-width: 960px) {
    .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .lp-hero { padding: 56px 0 48px; }
}

.lp-hero-copy h1 { margin-bottom: 20px; }
.lp-hero-copy .lp-lead { font-size: 1.15rem; color: var(--lp-text-muted); max-width: 560px; margin-bottom: 32px; }

.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.lp-hero-bullets {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 20px;
    font-size: 0.92rem;
    color: var(--lp-text-muted);
}
.lp-hero-bullets li { display: inline-flex; align-items: center; gap: 6px; }
.lp-hero-bullets i { color: var(--lp-accent); }

/* Screenshot mockup */
.lp-screenshot-placeholder {
    background: linear-gradient(135deg, #f5f7fb 0%, #e3e9f3 100%);
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: var(--lp-shadow-lg);
    border: 1px solid var(--lp-border);
}
.lp-screenshot-hero {
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform .4s ease;
}
.lp-screenshot-hero:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }

.lp-screenshot-chrome {
    display: flex; gap: 6px;
    padding: 10px 14px;
    background: #e3e9f3;
    border-bottom: 1px solid var(--lp-border);
}
.lp-screenshot-chrome span {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #b9c3d6;
}
.lp-screenshot-chrome span:nth-child(1) { background: #ff5f57; }
.lp-screenshot-chrome span:nth-child(2) { background: #ffbd2e; }
.lp-screenshot-chrome span:nth-child(3) { background: #28c940; }

.lp-screenshot-body {
    position: relative;
    min-height: 380px;
    display: flex;
    background: #fff;
}
.lp-screenshot-body img { width: 100%; height: auto; display: block; }
.lp-screenshot-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 380px;
    color: var(--lp-text-muted);
    background: linear-gradient(135deg, #f5f7fb 0%, #fafbfe 100%);
    gap: 12px;
    text-align: center;
}
.lp-screenshot-fallback i { font-size: 3rem; color: #b9c3d6; }
.lp-screenshot-fallback small { opacity: 0.7; }

/* ============================================================
   TRUST
   ============================================================ */
.lp-trust {
    padding: 32px 0;
    background: var(--lp-bg-soft);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}
.lp-trust-title {
    text-align: center;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-text-muted);
    margin: 0 0 16px;
}
.lp-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 40px;
    font-size: 0.9rem;
    color: var(--lp-primary);
    font-weight: 500;
}
.lp-trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.lp-trust-row i { color: var(--lp-accent); font-size: 1.1rem; }

/* ============================================================
   PROBLEM
   ============================================================ */
.lp-problem { background: #fff; }
.lp-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 860px) { .lp-problem-grid { grid-template-columns: 1fr; } }

.lp-problem-card {
    padding: 36px 28px;
    background: var(--lp-bg-soft);
    border-radius: var(--lp-radius);
    border: 1px solid var(--lp-border);
    transition: transform .2s ease, box-shadow .2s ease;
}
.lp-problem-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-md); }
.lp-problem-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(232, 184, 79, 0.15);
    color: var(--lp-gold);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.lp-problem-card h3 { color: var(--lp-primary); margin-bottom: 10px; }
.lp-problem-card p { color: var(--lp-text-muted); margin: 0; }

/* ============================================================
   FEATURES
   ============================================================ */
.lp-features { background: var(--lp-bg-soft); }
.lp-compliance { background: #fff; }

.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 960px) { .lp-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .lp-features-grid { grid-template-columns: 1fr; } }

.lp-feature {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--lp-radius);
    border: 1px solid var(--lp-border);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lp-compliance .lp-feature { background: var(--lp-bg-soft); }
.lp-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-md);
    border-color: transparent;
}
.lp-feature-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #fff;
}
.lp-feature-icon[data-color="blue"]  { background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-light) 100%); }
.lp-feature-icon[data-color="green"] { background: linear-gradient(135deg, var(--lp-accent-dark) 0%, var(--lp-accent) 100%); }
.lp-feature-icon[data-color="gold"]  { background: linear-gradient(135deg, #d9a437 0%, var(--lp-gold) 100%); }

.lp-feature h3 { margin-bottom: 8px; }
.lp-feature p { color: var(--lp-text-muted); margin: 0; font-size: 0.96rem; }

/* ============================================================
   SHOWCASE
   ============================================================ */
.lp-showcase-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 80px;
}
.lp-showcase-row:last-child { margin-bottom: 0; }
.lp-showcase-reverse .lp-showcase-copy { order: 2; }
.lp-showcase-reverse .lp-showcase-visual { order: 1; }
@media (max-width: 860px) {
    .lp-showcase-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
    .lp-showcase-reverse .lp-showcase-copy { order: 0; }
    .lp-showcase-reverse .lp-showcase-visual { order: 0; }
}

.lp-step-number {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--lp-accent);
    opacity: 0.55;
    line-height: 1;
    margin-bottom: 12px;
}
.lp-showcase-copy h3 { font-size: 1.7rem; margin-bottom: 14px; }
.lp-showcase-copy p { color: var(--lp-text-muted); font-size: 1.05rem; margin-bottom: 18px; }

.lp-check-list { list-style: none; padding: 0; margin: 0; }
.lp-check-list li {
    display: flex; align-items: start; gap: 10px;
    padding: 6px 0;
    color: var(--lp-text);
}
.lp-check-list i { color: var(--lp-accent); font-weight: 700; margin-top: 3px; }

/* ============================================================
   TARGET
   ============================================================ */
.lp-target { background: var(--lp-bg-soft); }
.lp-target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1100px) { .lp-target-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .lp-target-grid { grid-template-columns: 1fr; } }

.lp-target-card {
    background: #fff;
    padding: 40px 28px;
    border-radius: var(--lp-radius);
    text-align: center;
    border: 1px solid var(--lp-border);
    transition: transform .2s ease, box-shadow .2s ease;
}
.lp-target-card:hover { transform: translateY(-6px); box-shadow: var(--lp-shadow-md); }
.lp-target-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(10, 45, 92, 0.2);
}
.lp-target-card h3 { margin-bottom: 10px; }
.lp-target-card p { color: var(--lp-text-muted); margin: 0; }

/* ============================================================
   BENEFITS
   ============================================================ */
.lp-benefits {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff;
    padding: 72px 0;
}
.lp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
@media (max-width: 860px) { .lp-benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lp-benefits-grid { grid-template-columns: 1fr; } }

.lp-benefit-number {
    font-family: 'Manrope', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--lp-gold);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.lp-benefit p { color: rgba(255, 255, 255, 0.82); margin: 0; font-size: 0.98rem; }

/* ============================================================
   PRICING
   ============================================================ */
.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
@media (max-width: 960px) { .lp-pricing-grid { grid-template-columns: 1fr; } }

.lp-price-card {
    background: #fff;
    padding: 36px 30px;
    border-radius: var(--lp-radius);
    border: 1px solid var(--lp-border);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}
.lp-price-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-md); }

.lp-price-featured {
    border-color: var(--lp-accent);
    border-width: 2px;
    box-shadow: var(--lp-shadow-md);
    transform: scale(1.02);
}
.lp-price-featured:hover { transform: scale(1.02) translateY(-4px); }

.lp-price-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--lp-accent);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 999px;
}

.lp-price-head h3 { color: var(--lp-primary); margin-bottom: 6px; }
.lp-price-desc { color: var(--lp-text-muted); font-size: 0.92rem; margin: 0; }

.lp-price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 12px 0;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}
.lp-price-currency { font-size: 1.3rem; color: var(--lp-text-muted); }
.lp-price-value { font-family: 'Manrope', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--lp-primary); }
.lp-price-period { font-size: 0.95rem; color: var(--lp-text-muted); margin-left: 4px; }

.lp-price-features { list-style: none; padding: 0; margin: 0; flex: 1; }
.lp-price-features li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0;
    color: var(--lp-text);
    font-size: 0.95rem;
}
.lp-price-features i { color: var(--lp-accent); }

.lp-pricing-note {
    text-align: center;
    color: var(--lp-text-muted);
    font-size: 0.9rem;
    margin-top: 32px;
}
.lp-pricing-note i { color: var(--lp-accent-dark); margin-right: 4px; }

/* ============================================================
   FAQ
   ============================================================ */
.lp-faq { background: var(--lp-bg-soft); }
.lp-faq-list { display: flex; flex-direction: column; gap: 14px; }

.lp-faq-item {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-faq-item:hover { border-color: #c9d5e8; }
.lp-faq-item[open] {
    border-color: var(--lp-accent);
    box-shadow: var(--lp-shadow-sm);
}

.lp-faq-item summary {
    padding: 18px 22px;
    font-weight: 600;
    cursor: pointer;
    color: var(--lp-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
    content: '\F282'; /* bi-chevron-down */
    font-family: 'bootstrap-icons';
    font-weight: normal;
    color: var(--lp-accent-dark);
    transition: transform .2s ease;
    font-size: 1.1rem;
}
.lp-faq-item[open] summary::after { transform: rotate(180deg); }

.lp-faq-answer { padding: 0 22px 20px; color: var(--lp-text-muted); }
.lp-faq-answer p { margin: 0; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.lp-contact { background: #fff; }

.lp-form {
    background: var(--lp-bg-soft);
    padding: 40px;
    border-radius: var(--lp-radius-lg);
    border: 1px solid var(--lp-border);
}
@media (max-width: 640px) { .lp-form { padding: 28px 22px; } }

.lp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.lp-form-field-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .lp-form-grid { grid-template-columns: 1fr; } }

.lp-form-field { display: flex; flex-direction: column; gap: 6px; }
.lp-form-field label { font-weight: 600; font-size: 0.92rem; color: var(--lp-primary); }

.lp-form-field input[type="text"],
.lp-form-field input[type="email"],
.lp-form-field input[type="tel"],
.lp-form-field textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 12px 14px;
    border: 1.5px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    background: #fff;
    color: var(--lp-text);
    transition: border-color .15s ease, box-shadow .15s ease;
    resize: vertical;
}
.lp-form-field input:focus,
.lp-form-field textarea:focus {
    outline: none;
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.22);
}
.lp-form-field textarea { min-height: 120px; }

.lp-form-error {
    color: #d64545;
    font-size: 0.85rem;
    margin-top: 2px;
}

.lp-form-check { margin-top: 4px; }
.lp-checkbox {
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--lp-text-muted);
    cursor: pointer;
    user-select: none;
}
.lp-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--lp-accent);
    cursor: pointer;
}
.lp-checkbox a { color: var(--lp-accent-dark); text-decoration: underline; }

.lp-form-hint {
    font-size: 0.85rem;
    color: var(--lp-text-muted);
    margin: 14px 0 0;
    text-align: center;
}

/* Alerts */
.lp-alert {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--lp-radius-sm);
    margin-bottom: 24px;
    align-items: start;
}
.lp-alert i { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.lp-alert strong { display: block; margin-bottom: 2px; }
.lp-alert div { line-height: 1.5; }

/* Alert success: tono verde mantenuto solo qui come convention semantica
   ("ok / inviato"); il resto della landing è in palette blu/azzurra. */
.lp-alert-success { background: rgba(0, 179, 134, 0.10); color: #00634c; border: 1px solid rgba(0, 179, 134, 0.25); }
.lp-alert-success i { color: #009971; }

.lp-alert-error { background: rgba(214, 69, 69, 0.08); color: #a52929; border: 1px solid rgba(214, 69, 69, 0.25); }
.lp-alert-error i { color: #d64545; }

/* ============================================================
   FOOTER
   ============================================================ */
.lp-footer {
    background: var(--lp-bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 0;
}
.lp-footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 56px;
    padding-bottom: 48px;
}
@media (max-width: 760px) {
    .lp-footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

.lp-footer-brand p { margin: 16px 0 0; color: rgba(255, 255, 255, 0.65); max-width: 320px; }

.lp-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 540px) { .lp-footer-links { grid-template-columns: 1fr 1fr; } }

.lp-footer-links h4 {
    color: #fff;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 14px;
    font-weight: 700;
}
.lp-footer-links a {
    display: block;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color .15s ease;
}
.lp-footer-links a:hover { color: var(--lp-accent); }

.lp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}
.lp-footer-bottom .lp-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   ANIMATIONS (fade-in on scroll)
   ============================================================ */
.lp-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}
.lp-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-fade-in { opacity: 1; transform: none; transition: none; }
    .lp-screenshot-hero { transform: none !important; }
}
