﻿:root {
    --red: #f53333;
    --green: #007A55;
    --green-dark: #005C3F;
    --green-light: #E8F5F0;
    --green-mid: rgba(0,122,85,0.1);
    --blue: #1A3A6B;
    --gold: #E8920A;
    --gold-light: #FEF4E4;
    --text: #1C1C2E;
    --text-mid: #4A5568;
    --text-dim: #8592A3;
    --bg: #FFFFFF;
    --bg-alt: #F6F8FA;
    --bg-alt2: #EEF2F7;
    --border: #DDE3EC;
    --border-light: #EEF1F6;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.07), 0 2px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --radius: 14px;
    --radius-sm: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

section {
    padding: 3rem 7rem !important;
}

/* ─── TOPBAR ─── */
.topbar {
    background: var(--blue);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
}

    .topbar a {
        color: rgba(255,255,255,0.75);
        text-decoration: none;
    }

        .topbar a:hover {
            color: #fff;
        }

.topbar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.topbar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ─── HEADER ─── */
header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-ag {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--blue);
    letter-spacing: -0.01em;
}

.logo-sep {
    color: var(--border);
    font-size: 1.2rem;
}

.logo-product {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--green);
}

header nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

    header nav a {
        color: var(--text-mid);
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 500;
        transition: color 0.2s;
    }

        header nav a:hover {
            color: var(--text);
        }

.btn-nav {
    background: var(--green);
    color: var(--white) !important;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,122,85,0.25);
}

    .btn-nav:hover {
        background: var(--green-dark);
        transform: translateY(-1px);
    }

/* ─── HERO ─── */
.hero {
    background: linear-gradient(135deg, var(--blue) 0%, #0d2650 100%);
    padding: 80px 48px 90px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 100%;
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(0,122,85,0.15) 0%, transparent 60%), radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,122,85,0.2);
    border: 1px solid rgba(0,122,85,0.4);
    color: #5DDDB5;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 100px;
    margin-bottom: 20px;
}

    .hero-eyebrow::before {
        content: '';
        width: 5px;
        height: 5px;
        background: #5DDDB5;
        border-radius: 50%;
    }

.hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 8px;
}

    .hero h1 em {
        font-style: normal;
        color: #5DDDB5;
    }

    .hero h1 .sub {
        display: block;
        font-size: 0.68em;
        font-weight: 500;
        color: rgba(255,255,255,0.6);
        margin-top: 6px;
    }

.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    max-width: 520px;
    margin: 20px 0 32px;
    line-height: 1.75;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-hero {
    background: var(--green);
    color: #ffffff;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(0,122,85,0.4);
}

    .btn-hero:hover {
        background: var(--green-dark);
        transform: translateY(-2px);
        color: #ffffff;
    }

.btn-hero-ghost {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 2px;
    transition: all 0.2s;
}

    .btn-hero-ghost:hover {
        color: #fff;
        border-color: rgba(255,255,255,0.6);
    }

/* Hero mockup */
.hero-visual {
    position: relative;
    z-index: 1;
}

.dashboard-mockup {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.mock-bar {
    height: 34px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 6px;
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mock-title {
    margin-left: 8px;
    font-size: 0.67rem;
    color: rgba(255,255,255,0.45);
    font-family: 'Sora', sans-serif;
    font-weight: 600;
}

.mock-body {
    display: flex;
    height: 260px;
}

.mock-sidebar {
    width: 40px;
    background: rgba(0,0,0,0.15);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

.mock-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: rgba(255,255,255,0.07);
}

    .mock-icon.active {
        background: rgba(0,122,85,0.4);
        border: 1px solid rgba(0,122,85,0.5);
    }

.mock-main {
    flex: 1;
    padding: 13px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.mock-row {
    display: flex;
    gap: 7px;
}

.mock-stat {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 7px;
    padding: 9px;
}

.mock-stat-label {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.45);
    font-family: 'Sora', sans-serif;
}

.mock-stat-val {
    font-size: 1rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
}

    .mock-stat-val.g {
        color: #5DDDB5;
    }

.mock-table {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 7px;
    overflow: hidden;
}

.mock-tr {
    display: flex;
    align-items: center;
    padding: 5px 9px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 8px;
}

    .mock-tr:last-child {
        border-bottom: none;
    }

.mock-td {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.45);
    font-family: 'Sora', sans-serif;
    flex: 1;
}

.mock-badge {
    font-size: 0.52rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    white-space: nowrap;
}

    .mock-badge.ok {
        background: rgba(0,122,85,0.3);
        color: #5DDDB5;
    }

    .mock-badge.warn {
        background: rgba(232,146,10,0.25);
        color: #F5C060;
    }

/* ─── SECTION COMMONS ─── */
.section-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-desc {
    color: var(--text-mid);
    max-width: 560px;
    font-size: 0.97rem;
    line-height: 1.75;
}

.text-center {
    text-align: center;
}

    .text-center .section-desc {
        margin: 0 auto;
    }

/* ─── PROBLEMA ─── */
.problema {
    padding: 72px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
}

.problema-inner {
    max-width: 900px;
    margin: 0 auto;
    /*padding: 0 48px;*/
}

.problema-questions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
}

.problema-q {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
}

    .problema-q::before {
        content: '?';
        flex-shrink: 0;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--green-light);
        border: 1px solid rgba(0,122,85,0.2);
        color: var(--green);
        font-size: 0.7rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 1px;
    }

.problema-risposta {
    padding: 22px 26px;
    background: var(--green-light);
    border-left: 3px solid var(--green);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

    .problema-risposta p {
        font-family: 'Sora', sans-serif;
        font-size: 1rem;
        font-weight: 600;
        color: var(--green-dark);
        line-height: 1.65;
    }

        .problema-risposta p em {
            color: var(--green);
            font-style: normal;
        }

/* ─── COME FUNZIONA ─── */
.come-funziona {
    padding: 80px 0;
    background: var(--bg);
}

.steps {
    max-width: 820px;
    margin: 48px auto 0;
    padding: 0 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 24px;
    padding-bottom: 36px;
}

    .step:last-child {
        padding-bottom: 0;
    }

.step-num-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,122,85,0.3);
}

.step-line {
    width: 2px;
    flex: 1;
    background: var(--border-light);
    margin-top: 6px;
    min-height: 24px;
}

.step:last-child .step-line {
    display: none;
}

.step-content h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    margin-top: 10px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.doc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.doc-pill {
    background: var(--green-light);
    border: 1px solid rgba(0,122,85,0.18);
    border-radius: 6px;
    padding: 4px 11px;
    font-size: 0.76rem;
    color: var(--green-dark);
    font-weight: 600;
}

/* ─── FORMAZIONE ─── */
.formazione {
    padding: 80px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
}

.formazione-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.formazione-lead {
    font-size: 0.97rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}

    .formazione-lead strong {
        color: var(--text);
        font-weight: 600;
    }

.formazione-payoff {
    margin-top: 24px;
    padding: 15px 18px;
    background: var(--green-light);
    border-left: 3px solid var(--green);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--green-dark);
}

.formazione-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
}

.form-card-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.formazione-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.formazione-card p {
    font-size: 0.86rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 16px;
}

.ordini-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.ordine-pill {
    background: var(--gold-light);
    border: 1px solid rgba(232,146,10,0.25);
    color: #9A5A00;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}

.cfp-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green-light);
    border: 1px solid rgba(0,122,85,0.18);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    margin-bottom: 10px;
}

    .cfp-badge:last-child {
        margin-bottom: 0;
    }

    .cfp-badge .icon {
        font-size: 1.2rem;
    }

    .cfp-badge .text strong {
        display: block;
        font-size: 0.84rem;
        color: var(--text);
        font-weight: 600;
    }

    .cfp-badge .text span {
        font-size: 0.75rem;
        color: var(--text-mid);
    }

/* ─── PRICING ─── */
.pricing {
    padding: 80px 0;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 1260px;
    margin: 48px auto 0;
    padding: 0 48px;
}

@media (max-width: 860px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Loss aversion callout */
.loss-callout {
    max-width: 860px;
    margin: 0 auto 36px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFF4F4;
    border: 1.5px solid #F5C6C6;
    border-left: 4px solid #C0392B;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

    .loss-callout .icon {
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .loss-callout p {
        font-size: 0.9rem;
        color: #7B1C1C;
        line-height: 1.6;
    }

    .loss-callout strong {
        font-weight: 700;
    }

/* Anchor value bar */
.anchor-bar {
    background: var(--green-light);
    border: 1px solid rgba(0,122,85,0.2);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    font-size: 0.78rem;
    color: var(--green-dark);
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

    .anchor-bar s {
        color: var(--text-dim);
        font-weight: 400;
        margin-right: 4px;
    }

/* Trust badges (Halo Effect) */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    animation: fadeUp 0.6s 0.4s ease both;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

    .trust-badge .tick {
        color: #5DDDB5;
        font-weight: 800;
    }

.price-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

    .price-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .price-card.featured {
        border-color: var(--green);
        box-shadow: 0 0 0 1px var(--green), 0 8px 32px rgba(0,122,85,0.12);
    }

.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--white);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.price-plan {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.price-tagline {
    font-size: 0.82rem;
    color: var(--text-mid);
    margin-bottom: 20px;
}

.price-amount {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    margin-bottom: 1px;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-mid);
    margin-bottom: 5px;
}

.price-num {
    font-family: 'Sora', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.price-iva {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 4px;
    margin-left: 4px;
}

.price-period {
    font-size: 0.8rem;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.rate-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-light);
    border: 1px solid rgba(232,146,10,0.22);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    margin-bottom: 20px;
}

    .rate-box span {
        font-size: 0.79rem;
        color: #9A5A00;
        font-weight: 600;
    }

    .rate-box small {
        font-size: 0.71rem;
        color: var(--text-dim);
    }

.price-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 0 0 18px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 26px;
}

    .feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.88rem;
        color: var(--text-mid);
    }

.check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.62rem;
    margin-top: 1px;
}

.label {
    color: var(--text);
    font-weight: 500;
}

.label-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 1px;
    font-weight: 400;
}

.btn-price {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--green);
    color: var(--white);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 3px 12px rgba(0,122,85,0.25);
    cursor: pointer;
}

    .btn-price:hover {
        background: var(--green-dark);
        transform: translateY(-1px);
        color: var(--white);
    }

    .btn-price.ghost {
        background: transparent;
        color: var(--green);
        border: 1.5px solid var(--green);
        box-shadow: none;
    }

        .btn-price.ghost:hover {
            background: var(--green-light);
        }

/* ─── EXISTING CLIENTS ─── */
.existing-clients {
    padding: 0 0 80px;
    background: var(--bg);
}

.existing-box {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 48px;
}

.existing-inner {
    background: linear-gradient(135deg, #0d2650 0%, #1A3A6B 100%);
    border-radius: var(--radius);
    padding: 44px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 680px) {
    .existing-inner {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}

.existing-inner::after {
    content: '↗';
    position: absolute;
    right: 24px;
    top: -10px;
    font-size: 150px;
    color: rgba(255,255,255,0.04);
    pointer-events: none;
    line-height: 1;
    font-family: 'Sora', sans-serif;
}

.existing-eyebrow {
    color: #F5C060;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.existing-inner h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.35;
}

    .existing-inner h2 em {
        color: #F5C060;
        font-style: normal;
    }

.existing-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.existing-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 13px 15px;
}

.option-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

    .option-icon.green {
        background: rgba(93,221,181,0.15);
    }

    .option-icon.gold {
        background: rgba(245,192,96,0.15);
    }

.existing-option strong {
    display: block;
    color: #fff;
    font-size: 0.87rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.existing-option span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}

.existing-cta-box {
    flex-shrink: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-existing {
    display: inline-block;
    background: #F5C060;
    color: #1a0e00;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(245,192,96,0.35);
}

    .btn-existing:hover {
        opacity: 0.9;
        transform: translateY(-2px);
    }

/* ─── MAIN LAYOUT ─── */
.login-wrap {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 80px);
}

@media (max-width: 860px) {
    .login-wrap {
        grid-template-columns: 1fr;
    }

    .login-side {
        display: none;
    }
}

/* ─── LEFT PANEL (form) ─── */
.login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 48px;
    background: var(--white);
}

.login-box {
    width: 100%;
    max-width: 420px;
}

.login-logo-mobile {
    display: none;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--blue);
    margin-bottom: 28px;
}

    .login-logo-mobile span {
        color: var(--green);
    }

.login-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.25;
}

.login-subtitle {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-bottom: 36px;
    line-height: 1.6;
}

/* ─── FORM ─── */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

    .form-input::placeholder {
        color: var(--text-dim);
    }

    .form-input:focus {
        border-color: var(--green);
        box-shadow: 0 0 0 3px rgba(0,122,85,0.12);
    }

.form-input-wrap {
    position: relative;
}

    .form-input-wrap .form-input {
        padding-right: 44px;
    }

.eye-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dim);
    font-size: 1rem;
    padding: 0;
    line-height: 1;
}

    .eye-toggle:hover {
        color: var(--text-mid);
    }

.form-row-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .checkbox-wrap input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: var(--green);
        cursor: pointer;
    }

.checkbox-label {
    font-size: 0.85rem;
    color: var(--text-mid);
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--green);
    text-decoration: none;
    font-weight: 500;
}

    .forgot-link:hover {
        color: var(--green-dark);
        text-decoration: underline;
    }

.btn-login {
    display: block;
    width: 100%;
    background: var(--green);
    color: var(--white);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 3px 12px rgba(0,122,85,0.25);
    text-align: center;
    margin-bottom: 20px;
}

    .btn-login:hover:not(.loading) {
        background: var(--green-dark);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0,122,85,0.3);
    }

    .btn-login:disabled {
        opacity: 0.5;
    }

    .btn-login.loading {
        pointer-events: none;
    }

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

    .login-divider::before,
    .login-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border-light);
    }

    .login-divider span {
        font-size: 0.78rem;
        color: var(--text-dim);
        white-space: nowrap;
    }

.btn-mypage {
    display: block;
    width: 100%;
    background: transparent;
    color: var(--blue);
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
}

    .btn-mypage:hover {
        border-color: var(--blue);
        background: var(--bg-alt);
    }

.login-footer-note {
    margin-top: 32px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
}

    .login-footer-note a {
        color: var(--green);
        text-decoration: none;
        font-weight: 500;
    }

        .login-footer-note a:hover {
            text-decoration: underline;
        }

/* ─── RIGHT PANEL (branding) ─── */
.login-side {
    background: linear-gradient(135deg, var(--blue) 0%, #0d2650 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 56px;
    position: relative;
    overflow: hidden;
}

    .login-side::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 70% 60% at 80% 40%, rgba(0,122,85,0.15) 0%, transparent 60%), radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
        pointer-events: none;
    }

.error {
    font-size: 0.85rem;
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

.d-none {
    display: none !important;
}

.side-content {
    position: relative;
    z-index: 1;
}

.side-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,122,85,0.2);
    border: 1px solid rgba(0,122,85,0.4);
    color: #5DDDB5;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 100px;
    margin-bottom: 24px;
}

    .side-eyebrow::before {
        content: '';
        width: 5px;
        height: 5px;
        background: #5DDDB5;
        border-radius: 50%;
    }

.side-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

    .side-title em {
        font-style: normal;
        color: #5DDDB5;
    }

.side-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin-bottom: 36px;
}

/* Feature list */
.side-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.side-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.side-feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(0,122,85,0.25);
    border: 1px solid rgba(93,221,181,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.side-feature-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.side-feature-text span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

/* Trust badges */
.side-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

    .trust-item::before {
        content: '✓';
        color: #5DDDB5;
        font-weight: 800;
        font-size: 0.75rem;
    }

/* ─── FOOTER ─── */
.footer-strip {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 20px 48px;
    text-align: center;
    font-size: 16px;
    color: var(--text-dim);
}

    .footer-strip a {
        color: var(--text-dim);
        text-decoration: none;
    }

        .footer-strip a:hover {
            color: var(--text-mid);
        }



/* === POPUP RICHIESTA INFORMAZIONI === */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 60, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

    .popup-overlay.active {
        display: flex;
    }

.popup-box {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 2rem 1.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    max-height: 90vh;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 33px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

    .popup-close:hover {
        color: #333;
    }

.popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
}

.popup-accent {
    width: 4px;
    height: 36px;
    background: #E8781E;
    border-radius: 2px;
    flex-shrink: 0;
}

.popup-brand {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #E8781E;
    font-family: 'Sora', sans-serif;
}

.popup-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1A2878;
    font-family: 'Sora', sans-serif;
}

.popup-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.popup-field {
    margin-bottom: 10px;
}

    .popup-field label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: #555;
        margin-bottom: 4px;
        font-family: 'DM Sans', sans-serif;
    }

    .popup-field input,
    .popup-field select,
    .popup-field textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 9px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        font-family: 'DM Sans', sans-serif;
        color: #222;
        background: #fff;
        outline: none;
        transition: border-color .2s;
    }

        .popup-field input:focus,
        .popup-field select:focus,
        .popup-field textarea:focus {
            border-color: #1A2878;
        }

    .popup-field textarea {
        resize: vertical;
    }

.popup-privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
}

    .popup-privacy input[type="checkbox"] {
        margin-top: 3px;
        accent-color: #1A2878;
        flex-shrink: 0;
    }

    .popup-privacy label {
        font-size: 12px;
        color: #666;
        font-family: 'DM Sans', sans-serif;
        line-height: 1.5;
    }

    .popup-privacy a {
        color: #1A2878;
    }

.popup-submit {
    width: 100%;
    padding: 11px;
    background: #E8781E;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
    letter-spacing: .02em;
    transition: background .2s;
}

    .popup-submit:hover {
        background: #cf6c18;
    }

.popup-note {
    margin: 10px 0 0;
    font-size: 11px;
    color: #aaa;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
}

.btn-richiesta-info{
    cursor: pointer;
}

@media (max-width: 480px) {
    .popup-row-2 {
        grid-template-columns: 1fr;
    }

    .popup-box {
        padding: 1.5rem 1.25rem;
    }
}


@media screen and (max-width: 767px) {
    .d-mobile-none {
        display: none;
    }

    section {
        padding: 3rem 2rem !important;
    }

    .pricing-grid, .formazione-inner, .section-wrap, .steps, .existing-box {
        padding: 0;
    }

    .formazione-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}



/*STRIPE CART*/
.shopping-cart-menu-voice {
    position: relative;
    color: #000000;
    padding: 0.2rem 1.5rem;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

    .shopping-cart-menu-voice span {
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate(-38%, 20%);
        font-size: 14px;
        background-color: #e94167;
        color: #ffffff;
        border: 2px solid #ffffff;
        --cart-num-size: 24px;
        width: var(--cart-num-size);
        height: var(--cart-num-size);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .shopping-cart-menu-voice i {
        font-size: 34px;
    }

.shopping-cart-sidebar-container {
    background-color: #0000005c;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 99999;
}

.shopping-cart-sidebar {
    box-shadow: 0 0 12px #0000003b;
    background-color: #f5f8fa;
    color: #000000;
    flex: 0 0 auto;
    --width: 400px;
    width: var(--width);
    max-width: 100%;
    height: 100%;
    order: 1;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: start;
    animation: shoppingCartIn 1 0.3s;
    --header-height: calc(45px + 1rem);
    --body-height: 35px;
    --footer-height: calc(250px + 1.5rem);
    --highlight-color: #ee335b;
}

@keyframes shoppingCartIn {
    0% {
        position: relative;
        left: var(--width);
    }

    100% {
        position: relative;
        left: 0;
    }
}

.shopping-cart-sidebar .cart-header {
    font-size: 28px;
    font-weight: 700;
    height: var(--header-height);
    padding: 0.5rem 0.7rem 0.5rem 1.5rem;
}

    .shopping-cart-sidebar .cart-header i {
        cursor: pointer;
        color: #adadadf0;
        font-size: 30px;
        padding: 0.3rem;
    }

        .shopping-cart-sidebar .cart-header i:hover {
            color: var(--highlight-color);
        }

.shopping-cart-sidebar .cart-footer {
    height: var(--footer-height);
    padding: 0.5rem 1.5rem;
}

    .shopping-cart-sidebar .cart-footer #stripeCartCheckoutBtn, .shopping-cart-sidebar .cart-footer .cart-btn-2 {
        height: fit-content;
        padding: 1rem 1.5rem;
        font-weight: 500;
        transition: 0.4s;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        text-decoration: none !important;
        cursor: pointer !important;
        background-color: #ee335b !important;
        color: #ffffff !important;
        border-radius: 6px;
        font-size: 22px;
        user-select: none;
        border: 2px solid transparent;
    }

    .shopping-cart-sidebar .cart-footer .cart-btn-2 {
        background-color: transparent !important;
        color: #ee335b !important;
        border: 2px solid #ee335b;
    }

        .shopping-cart-sidebar .cart-footer #stripeCartCheckoutBtn:hover:enabled, .shopping-cart-sidebar .cart-footer .cart-btn-2:hover:enabled {
            background-color: #33A1FD !important;
            color: #ffffff !important;
            border-color: transparent !important;
        }

    .shopping-cart-sidebar .cart-footer .cart-btn:disabled {
        opacity: 0.3;
    }

.shopping-cart-sidebar .cart-body {
    overflow-y: auto;
    height: calc(100% - var(--header-height) - var(--footer-height));
}

    .shopping-cart-sidebar .cart-body .cart-product {
        height: fit-content;
        padding: 0.8rem 1rem;
        width: 100%;
        border-top: 1px solid #adadadf0;
    }

        .shopping-cart-sidebar .cart-body .cart-product:hover {
            background-color: #edf2f5;
        }

    .shopping-cart-sidebar .cart-body .empty-cart {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: #414040;
        pointer-events: none;
    }

    .shopping-cart-sidebar .cart-body .cart-product .product-name {
        font-size: 18px;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: start;
        color: #46485d;
        font-weight: 500;
        line-height: 1.2;
    }

    .shopping-cart-sidebar .cart-body .cart-product .product-image {
        padding: 0;
        margin: 0 0.8rem 0 0;
        border-radius: 8px;
        --img-size: 50px;
        width: var(--img-size);
        height: var(--img-size);
        object-fit: cover;
    }

    .shopping-cart-sidebar .cart-body .cart-product .product-price {
        margin: 0.2rem 0 0;
        font-weight: 600;
        color: #000000;
        font-size: 17px;
    }

    .shopping-cart-sidebar .cart-body .cart-product .product-actions {
        margin: 0;
        color: #686b8c;
        font-weight: 600;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

        .shopping-cart-sidebar .cart-body .cart-product .product-actions i {
            cursor: pointer;
            transition: 0.3s;
            margin: auto 0.5rem;
            font-size: 18px;
        }

            .shopping-cart-sidebar .cart-body .cart-product .product-actions i.remove:hover {
                color: var(--highlight-color);
            }

.shopping-cart-sidebar .cart-footer .cart-subtotal {
    line-height: 1.15;
    font-size: 16px;
    color: #46485d;
    font-weight: 500;
    height: fit-content;
}

.shopping-cart-sidebar .cart-footer .cart-total {
    line-height: 1.15;
    color: #000000;
    font-weight: 600;
    font-size: 23px;
    border-top: 1px solid #adadadf0;
    padding-top: .5rem;
    height: fit-content;
}

.cart-success {
    font-size: 22px;
    color: #069506 !important;
    font-weight: 600;
    background-color: #e8fff1 !important;
}

    .cart-success > .container {
        color: inherit !important;
        font-size: inherit !important;
    }

    .cart-success i {
        color: #069506;
        font-size: 50px;
        margin-right: 1rem;
        animation: cartSuccessIcon 1 1.5s;
    }

@keyframes cartSuccessIcon {
    0%,20% {
        transform: rotate(0deg) scale(0);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

#dj-megamenu129offcanvas ul .shopping-cart-menu-voice {
    padding: 0.2rem 1rem;
}

    #dj-megamenu129offcanvas ul .shopping-cart-menu-voice > div:first-child {
        color: #444444;
        font-size: 19px;
        font-weight: 500;
        margin: 0;
    }

    #dj-megamenu129offcanvas ul .shopping-cart-menu-voice i {
        font-size: 26px;
    }

    #dj-megamenu129offcanvas ul .shopping-cart-menu-voice span {
        transform: translate(-38%, -20%);
        font-size: 12px;
        --cart-num-size: 18px;
    }

@media screen and (max-width: 767px) {
    .shopping-cart-sidebar {
        --width: 100%;
    }
}

#shoppingCartChooseCheckout {
    background-color: #000000c9;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 99999999;
}

    #shoppingCartChooseCheckout .choose-checkout {
        background-color: #ffffff;
        padding-top: 0;
        border-radius: 7px;
        font-size: 23px;
        overflow: hidden;
        box-shadow: 0 0 5px #0000000f;
    }

        #shoppingCartChooseCheckout .choose-checkout button {
            width: auto;
            min-width: 100px;
            border: 0;
            padding: 0.6rem 1rem;
            border-radius: 7px;
            margin: 0.5rem 0;
            background-color: var(--bs-fuchsia);
            color: #ffffff;
            font-weight: 600;
            transition: 0.3s;
        }

            #shoppingCartChooseCheckout .choose-checkout button:hover, #shoppingCartChooseCheckout .choose-checkout button:focus-within {
                box-shadow: inset 0 0 80px #0000003d;
            }

        #shoppingCartChooseCheckout .choose-checkout .choose-checkout-title {
            font-size: 28px;
            font-weight: 300;
            letter-spacing: 0.5px;
        }

        #shoppingCartChooseCheckout .choose-checkout i.fa-xmark {
            opacity: 0.5;
            cursor: pointer;
            transition: 0.3s;
        }

            #shoppingCartChooseCheckout .choose-checkout i.fa-xmark:hover {
                opacity: 1;
                color: #ffffff;
            }

.field-container {
    margin: .5rem;
    background-color: #f5f9f8;
    color: #000000;
    box-shadow: 0 0 5px #00000014;
    border-radius: 4px;
    padding: 0;
}

    .field-container input, .field-container select {
        background-color: transparent;
        border: 0;
        outline: 0;
        box-shadow: none;
        padding: .7rem .5rem;
        width: calc(100% - 40px);
        margin: 0 !important;
    }

        .field-container input[type=radio] {
            width: fit-content;
            margin: 0.5rem !important;
        }

    .field-container label {
        width: unset !important;
    }

    .field-container select {
        margin-right: .5rem !important;
    }

    .field-container i {
        opacity: .5;
        width: 40px;
        padding: 0;
        height: 40px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

.cursor-pointer {
    cursor: pointer;
}

.choose-checkout button[disabled] {
    opacity: 0.5;
    box-shadow: none !important;
}

.choose-checkout .close-btn {
    min-width: unset !important;
    background-color: transparent !important;
    border: 3px solid var(--bs-fuchsia) !important;
    color: var(--bs-fuchsia) !important;
    padding: 0.5rem 0.7rem !important;
}

    .choose-checkout .close-btn:hover {
        box-shadow: inset 0 0 80px #fb999957 !important;
    }

@media (min-width: 992px) {
    #shoppingCartChooseCheckout .col-lg-11 {
        width: calc(41.66666667% + 41.66666667% + 1rem);
    }
}


/* === POPUP CHECKOUT === */
.popup-checkout {
    max-width: 500px;
    padding: 0;
}

.popup-checkout-header {
    background: #e5e5e5;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px 12px 0 0;
}

    .popup-checkout-header .popup-close {
        color: #000000;
        opacity: .7;
        position: static; /* override il position:absolute del popup base */
    }

        .popup-checkout-header .popup-close:hover {
            opacity: 1;
        }

.popup-steps {
    background: #f5f6fa;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eee;
}

.popup-step {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ddd;
    color: #aaa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    flex-shrink: 0;
}

    .popup-step.active {
        background: #E8781E;
        color: #fff;
    }

.popup-step-label {
    font-size: 13px;
    color: #aaa;
    font-family: 'DM Sans', sans-serif;
}

    .popup-step-label.active {
        font-weight: 600;
        color: #1A2878;
    }

.popup-step-line {
    flex: 1;
    height: 1px;
    background: #ddd;
}

.popup-body {
    padding: 1.5rem 1.5rem 1.25rem;
}

.popup-radio-group {
    display: flex;
    gap: 10px;
}

.popup-radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #555;
    transition: border-color .2s, background .2s;
}

    .popup-radio-label.active {
        border: 1.5px solid #1A2878;
        background: #f0f3ff;
        color: #1A2878;
        font-weight: 600;
    }

    .popup-radio-label input[type="radio"] {
        accent-color: #1A2878;
        flex-shrink: 0;
        width: fit-content;
        position: relative;
        top: 3px;
        margin-right: 4px;
    }

.popup-submit-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .popup-submit-checkout:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

@media (max-width: 480px) {
    .popup-radio-group {
        flex-direction: column;
    }
}


.icon.tick {
    --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
}

.icon.graduation {
    --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3.33 2 8.67 2 12 0v-5'/%3E%3C/svg%3E")
}

.icon.medal {
    --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='14' r='6'/%3E%3Cpath d='M12 8V2'/%3E%3Cpath d='M9 5h6'/%3E%3Cpolyline points='10 17 12 19 14 17'/%3E%3C/svg%3E")
}

.icon.worker {
    --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M2 10h4M18 10h4'/%3E%3C/svg%3E")
}

.icon.warning {
    --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E")
}

.icon.star {
    --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='none'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E")
}

.icon.check {
    --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
}

.icon.arrow-right {
    --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E")
}

.icon.arrow-down {
    --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cpolyline points='19 12 12 19 5 12'/%3E%3C/svg%3E")
}

.icon.refresh {
    --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E")
}

.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    -webkit-mask-image: var(--icon-url);
    mask-image: var(--icon-url);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: currentColor;
}

/* --- TASTO NOVITÀ --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-novita {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #162d50;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(0, 135, 90, 0.2); /* Un tocco di verde trasparente */
	margin-right: -14px;
}

.btn-novita:hover {
    background: rgba(0, 135, 90, 0.1);
    color: #00875a;
}

/* Pallino che pulsa */
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00875a;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #00875a;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 2s infinite;
}

/* Animazione dell'alone luminoso */
@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Effetto illuminazione hover sul tasto */
.btn-novita:hover .pulse-dot {
    box-shadow: 0 0 12px #00875a;
}

