/* Landing page: fuori dal contenitore .wrap dell'app (che ha max-width:1000px
   pensato per il pannello admin) — questa pagina occupa tutto lo schermo. */
.land {
    --land-bg: #0b0e14;
    --land-surface: #12161f;
    --land-surface-2: #171c27;
    --land-text: #e9edf3;
    --land-muted: #8993a6;
    --land-accent: #6ea8fe;
    --land-warm: #ffb454;
    --land-border: #232a38;
    background: var(--land-bg);
    color: var(--land-text);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}
.land h1, .land h2, .land h3, .land-logo, .land-cta-main, .land-cta-nav,
.land-price-tier, .land-price-amount, .land-step-num {
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
}

/* --- Nav --- */
.land-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 5vw; max-width: 1280px; margin: 0 auto;
}
.land-logo { font-size: 20px; font-weight: 700; letter-spacing: -.5px; }
.land-dot { color: var(--land-warm); }
.land-nav-links { display: flex; gap: 28px; }
.land-nav-links a { color: var(--land-muted); text-decoration: none; font-size: 14px; transition: color .15s; }
.land-nav-links a:hover { color: var(--land-text); }
.land-cta-nav {
    background: var(--land-accent); color: #0b0e14; text-decoration: none;
    padding: 9px 18px; border-radius: 8px; font-weight: 600; font-size: 14px;
    transition: transform .15s, box-shadow .15s;
}
.land-cta-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(110,168,254,.35); }

/* --- Hero --- */
.land-hero {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
    max-width: 1280px; margin: 0 auto; padding: 60px 5vw 100px;
}
.land-eyebrow {
    color: var(--land-warm); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
    font-weight: 600; margin-bottom: 18px;
}
.land-hero h1 {
    font-size: clamp(34px, 4.2vw, 54px); line-height: 1.12; font-weight: 700;
    letter-spacing: -1px; margin: 0 0 22px;
}
.land-sub { color: var(--land-muted); font-size: 17px; line-height: 1.65; max-width: 480px; margin-bottom: 30px; }
.land-cta-main {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--land-accent); color: #0b0e14; text-decoration: none;
    padding: 15px 26px; border-radius: 10px; font-weight: 700; font-size: 15px;
    transition: transform .15s, box-shadow .15s;
}
.land-cta-main span { transition: transform .15s; }
.land-cta-main:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(110,168,254,.4); }
.land-cta-main:hover span { transform: translateX(4px); }
.land-cta-note { color: var(--land-muted); font-size: 13px; margin-top: 14px; }

/* --- Signature: la conversazione animata --- */
.land-chat {
    background: var(--land-surface); border: 1px solid var(--land-border); border-radius: 18px;
    padding: 20px; max-width: 380px; margin-left: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.land-chat-header {
    display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--land-muted);
    padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--land-border);
}
.land-chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 8px #3ecf8e; }
.land-chat-body { min-height: 260px; }
.land-bubble {
    max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45;
    margin-bottom: 10px; opacity: 0; transform: translateY(8px);
    transition: opacity .5s ease-out, transform .5s ease-out;
}
.land-bubble-visible { opacity: 1; transform: translateY(0); }
.land-bubble-in { background: var(--land-surface-2); border-bottom-left-radius: 4px; }
.land-bubble-out {
    background: linear-gradient(135deg, var(--land-accent), #4f7dd6); color: #0b0e14; font-weight: 500;
    margin-left: auto; border-bottom-right-radius: 4px;
}
.land-bubble-check { background: linear-gradient(135deg, var(--land-warm), #e08f2a); }
@media (prefers-reduced-motion: reduce) {
    .land-bubble { transition: none; }
}

/* --- Sezioni generiche --- */
.land-section { max-width: 1280px; margin: 0 auto; padding: 70px 5vw; }
.land-h2 { font-size: 28px; font-weight: 700; letter-spacing: -.5px; margin: 0 0 40px; text-align: center; }

/* --- Come funziona (sequenza reale: numerazione giustificata) --- */
.land-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.land-step { padding: 26px; }
.land-step-num { color: var(--land-warm); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.land-step h3 { font-size: 18px; margin: 0 0 8px; font-weight: 600; font-family: 'IBM Plex Sans', sans-serif; }
.land-step p { color: var(--land-muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* --- Funzioni (griglia, NON una sequenza: nessuna numerazione) --- */
.land-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.land-feature {
    background: var(--land-surface); border: 1px solid var(--land-border); border-radius: 14px;
    padding: 26px; transition: transform .15s, border-color .15s;
}
.land-feature:hover { transform: translateY(-3px); border-color: var(--land-accent); }
.land-feature-icon { font-size: 26px; margin-bottom: 14px; }
.land-feature h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.land-feature p { color: var(--land-muted); font-size: 13.5px; line-height: 1.6; margin: 0; }

/* --- Prezzi --- */
.land-pricing-sub { text-align: center; color: var(--land-muted); font-size: 14px; margin: -24px 0 36px; }
.land-pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.land-price-card {
    background: var(--land-surface); border: 1px solid var(--land-border); border-radius: 14px;
    padding: 24px; text-align: center; position: relative;
}
.land-price-featured { border-color: var(--land-warm); background: var(--land-surface-2); }
.land-price-badge {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: var(--land-warm); color: #201200; font-size: 11px; font-weight: 700;
    padding: 3px 12px; border-radius: 999px;
}
.land-price-tier { font-size: 13px; color: var(--land-muted); letter-spacing: 1px; margin-bottom: 10px; }
.land-price-amount { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.land-price-amount span { font-size: 13px; color: var(--land-muted); font-weight: 400; font-family: 'IBM Plex Sans', sans-serif; }
.land-price-card p { color: var(--land-muted); font-size: 13px; margin: 0; }
.land-pricing-note { text-align: center; color: var(--land-muted); font-size: 12.5px; margin-top: 20px; }

/* --- Confronto progressivo tra livelli --- */
.land-tier-compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--land-border); border-radius: 14px; overflow: hidden; }
.land-tier-col { padding: 22px 18px; border-left: 1px solid var(--land-border); }
.land-tier-col:first-child { border-left: none; }
.land-tier-col-top { background: var(--land-surface); }
.land-tier-col-name { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--land-warm); letter-spacing: 1px; margin-bottom: 14px; font-weight: 600; }
.land-tier-list { list-style: none; margin: 0; padding: 0; }
.land-tier-list li { font-size: 13.5px; color: var(--land-muted); line-height: 1.5; margin-bottom: 10px; padding-left: 16px; position: relative; }
.land-tier-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--land-accent); }

/* --- CTA finale + footer --- */
.land-final-cta { text-align: center; padding: 90px 5vw; }
.land-final-cta h2 { font-size: 30px; font-weight: 700; margin: 0 0 30px; letter-spacing: -.5px; }
.land-footer {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1280px; margin: 0 auto; padding: 30px 5vw 50px; border-top: 1px solid var(--land-border);
    font-size: 13px;
}
.land-muted { color: var(--land-muted); }

/* --- Responsive --- */
@media (max-width: 860px) {
    .land-hero { grid-template-columns: 1fr; padding-top: 30px; }
    .land-chat { margin: 0; max-width: 100%; }
    .land-nav-links { display: none; }
    .land-steps, .land-features { grid-template-columns: 1fr; }
    .land-pricing { grid-template-columns: 1fr 1fr; }
    .land-tier-compare { grid-template-columns: 1fr; }
    .land-tier-col { border-left: none; border-top: 1px solid var(--land-border); }
    .land-tier-col:first-child { border-top: none; }
    .land-hero h1 { font-size: 30px; }
}
