﻿/* APPROFITTOFFRO - CSS DARK FORZATO
   Sostituisci completamente il contenuto di styles.css con questo file.
   Se non cambia nulla: controlla che index.html punti davvero a href="styles.css"
   e ricarica con CTRL + F5.
*/

:root {
    --bg-1: #02040d;
    --bg-2: #071229;
    --bg-3: #0a1d3e;

    --card-1: rgba(10, 18, 38, 0.98);
    --card-2: rgba(15, 31, 68, 0.98);
    --card-3: rgba(22, 44, 92, 0.98);

    --text: #ffffff;
    --text-soft: #dbe8ff;
    --text-muted: #b7c8ee;

    --violet: #8b6cff;
    --blue: #2457ff;
    --gold: #fff04a;

    --line: rgba(145, 185, 255, 0.42);
    --line-strong: rgba(180, 215, 255, 0.68);

    --shadow-soft: 0 22px 52px rgba(0, 0, 0, 0.46);
    --shadow-heavy: 0 32px 78px rgba(0, 0, 0, 0.62);

    --accent-gradient: linear-gradient(135deg, #a65cff 0%, #7b4dff 48%, #2457ff 100%);
    --surface-gradient: linear-gradient(180deg, rgba(10, 20, 48, 0.99) 0%, rgba(17, 39, 86, 0.99) 100%);
    --surface-gradient-2: linear-gradient(135deg, rgba(13, 25, 58, 0.99) 0%, rgba(24, 51, 110, 0.99) 100%);
    --hero-gradient: linear-gradient(135deg, rgba(9, 20, 48, 0.99) 0%, rgba(64, 38, 150, 0.99) 52%, rgba(28, 55, 170, 0.99) 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    background: #02040d !important;
}

body {
    margin: 0 !important;
    font-family: "Outfit", "Segoe UI", Arial, sans-serif;
    color: var(--text-soft) !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(139, 108, 255, 0.3), transparent 0 22%),
        radial-gradient(circle at 88% 16%, rgba(73, 86, 255, 0.22), transparent 0 24%),
        radial-gradient(circle at 50% 100%, rgba(255, 240, 74, 0.06), transparent 0 30%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 48%, var(--bg-3) 100%) !important;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.shell {
    width: min(1180px, calc(100% - 26px));
    margin: 0 auto;
    padding: 22px 0 70px;
}

/* BASE CARD: forza tutte le schede in dark */
.panel,
.hero,
.top-logo-card,
.priority-card,
.card-spotlight,
.timeline-intro,
.timeline-shell,
.story-copy,
.story-steps,
.feature-card,
.map-visual,
.map-copy,
.closing-copy,
.closing-box {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid var(--line) !important;
    background: var(--surface-gradient) !important;
    box-shadow: var(--shadow-soft);
    color: var(--text-soft) !important;
}

.panel::after,
.hero::after,
.top-logo-card::after,
.priority-card::after,
.card-spotlight::after,
.timeline-intro::after,
.timeline-shell::after,
.story-copy::after,
.story-steps::after,
.feature-card::after,
.map-visual::after,
.map-copy::after,
.closing-copy::after,
.closing-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent 30%);
    pointer-events: none;
}

/* TESTI: forza leggibilitÃ  */
h1,
h2,
h3 {
    color: #ffffff !important;
}

p,
li,
span,
div {
    color: inherit;
}

p,
li {
    color: var(--text-muted) !important;
}

strong {
    color: #ffffff !important;
}

h1,
h2,
h3,
p,
li,
span,
strong,
a,
div,
img {
    position: relative;
    z-index: 1;
}

h1 {
    margin: 16px 0 18px;
    max-width: 11ch;
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-shadow: 0 0 30px rgba(112, 88, 255, 0.2);
}

h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-shadow: 0 0 24px rgba(112, 88, 255, 0.16);
}

h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
    line-height: 1.16;
}

p,
li {
    margin: 0;
    line-height: 1.74;
}

/* LABEL */
.mini-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(139, 108, 255, 0.24) !important;
    border: 1px solid rgba(145, 191, 255, 0.36) !important;
    color: #eef4ff !important;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* LOGO */
.top-logo {
    margin-bottom: 18px;
}

.top-logo-card {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 104px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(8, 17, 40, 0.99) 0%, rgba(18, 38, 84, 0.98) 100%) !important;
}

.top-logo-card img {
    width: min(100%, 720px);
    height: auto;
    margin: 0 auto;
    filter: saturate(1.08) contrast(1.06) brightness(1.02);
}

.section {
    margin-top: 22px;
}

/* PRIORITY */
.priority-strip {
    margin-top: 16px;
}

.priority-card {
    padding: 28px 30px;
    background: linear-gradient(135deg, #11182b 0%, #1a2550 55%, #102f82 100%) !important;
    box-shadow: var(--shadow-heavy);
}

.priority-card h2,
.priority-card p,
.priority-card span,
.priority-card div {
    color: #eef4ff !important;
}

.priority-card h2 {
    margin-top: 14px;
    max-width: 20ch;
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    line-height: 1.02;
}

.priority-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.priority-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    font-weight: 900;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #5a2fc2 0%, #3d2ca6 48%, #15329c 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(129, 122, 255, 0.74) !important;
    box-shadow: 0 14px 30px rgba(35, 50, 160, 0.42);
}

.priority-hint {
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(5, 13, 35, 0.32) !important;
    border: 1px solid rgba(180, 215, 255, 0.26) !important;
    color: #e3edff !important;
    font-size: 0.92rem;
    font-weight: 700;
}

/* CARD SPOTLIGHT */
.card-spotlight {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #24105f 0%, #7a38ff 48%, #173fd1 100%) !important;
    border: 1px solid rgba(185, 164, 255, 0.64) !important;
    box-shadow: var(--shadow-heavy), 0 0 46px rgba(139, 108, 255, 0.36);
}

.card-spotlight .mini-label {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(215, 201, 255, 0.34) !important;
    color: #f3efff !important;
}

.card-spotlight h2 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: clamp(2rem, 4.4vw, 3rem);
}

.card-spotlight p {
    max-width: 33ch;
    margin: 0 auto;
    font-size: clamp(1.05rem, 2.4vw, 1.6rem);
    line-height: 1.45;
    font-weight: 700;
    color: #eef4ff !important;
}

/* TIMELINE */
.timeline-top {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
    gap: 20px;
}

.timeline-intro,
.timeline-shell,
.hero,
.story-copy,
.story-steps,
.feature-card,
.map-visual,
.map-copy,
.closing-copy,
.closing-box {
    padding: 30px;
}

.timeline-intro {
    background: linear-gradient(135deg, rgba(8, 17, 40, 0.99) 0%, rgba(24, 43, 92, 0.99) 100%) !important;
    box-shadow: var(--shadow-heavy);
}

.timeline-intro h2,
.timeline-intro p,
.timeline-intro li,
.timeline-intro div {
    color: #eef4ff !important;
}

.timeline-note {
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(5, 13, 35, 0.32) !important;
    border: 1px solid rgba(180, 215, 255, 0.24) !important;
    color: #e9f1ff !important;
}

.timeline-note strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold) !important;
}

.timeline {
    position: relative;
    display: grid;
    gap: 16px;
    padding-left: 12px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(166, 92, 255, 0.66) 0%, rgba(36, 87, 255, 0.58) 100%);
}

.timeline-item {
    position: relative;
    margin-left: 18px;
    padding: 20px 22px 20px 24px;
    border-radius: 24px;
    border: 1px solid rgba(145, 185, 255, 0.4) !important;
    background: rgba(10, 22, 52, 0.94) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
    color: var(--text-soft) !important;
}

.timeline-item h3 {
    color: #ffffff !important;
}

.timeline-item p {
    color: var(--text-muted) !important;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 22px;
    left: -25px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--violet));
    box-shadow: 0 0 0 5px rgba(139, 108, 255, 0.24), 0 0 22px rgba(91, 76, 255, 0.28);
}

.timeline-date {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(5, 13, 35, 0.42) !important;
    border: 1px solid rgba(145, 185, 255, 0.42) !important;
    color: #e3edff !important;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 20px;
    background: var(--hero-gradient) !important;
    box-shadow: var(--shadow-heavy);
}

.hero-copy > p {
    max-width: 60ch;
    font-size: 1.08rem;
    line-height: 1.84;
    color: #dbe8ff !important;
}

.hero-cta-stack {
    display: grid;
    gap: 14px;
    max-width: 520px;
    margin-top: 26px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 18px;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #5a2fc2 0%, #3d2ca6 48%, #15329c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(35, 50, 160, 0.42);
    border: 1px solid rgba(129, 122, 255, 0.74) !important;
}

.btn-secondary {
    background: rgba(5, 13, 35, 0.38) !important;
    border: 1px solid rgba(180, 215, 255, 0.36) !important;
    color: #ffffff !important;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.metric,
.hero-note,
.highlight-row,
.step-card,
.feature-icon,
.map-callout {
    background: rgba(5, 13, 35, 0.34) !important;
    border: 1px solid rgba(180, 215, 255, 0.28) !important;
    color: var(--text-soft) !important;
}

.metric {
    padding: 18px;
    border-radius: 22px;
}

.metric strong,
.highlight-row strong {
    display: block;
    color: #ffffff !important;
}

.metric span,
.highlight-row span {
    color: var(--text-muted) !important;
    line-height: 1.55;
}

.hero-visual {
    display: grid;
    gap: 14px;
    align-content: start;
}

.hero-image {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(145, 185, 255, 0.34) !important;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34);
}

.hero-image img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.06) brightness(1.02);
}

.hero-note {
    padding: 18px 20px;
    border-radius: 24px;
    line-height: 1.65;
    color: #dbe8ff !important;
}

/* STORY */
.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 20px;
}

.story-lead {
    font-size: 1.02rem;
    color: #dbe8ff !important;
}

.story-highlights {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.highlight-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
}

.story-steps {
    display: grid;
    gap: 16px;
}

.step-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: 24px;
}

.step-card h3 {
    color: #ffffff !important;
}

.step-card p {
    color: var(--text-muted) !important;
}

.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--accent-gradient) !important;
    border: 1px solid var(--line-strong) !important;
    color: #ffffff !important;
    font-size: 1.16rem;
    font-weight: 900;
}

/* FEATURES */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    min-height: 220px;
}

.feature-card h3 {
    color: #ffffff !important;
}

.feature-card p {
    color: var(--text-muted) !important;
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 18px;
    color: #e3edff !important;
    font-size: 0.88rem;
    font-weight: 900;
}

/* MAP */
.map-story {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 20px;
}

.map-visual img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.36);
    filter: saturate(1.12) contrast(1.06) brightness(1.02);
}

.map-points {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-left: 18px;
}

.map-callout {
    margin-top: 20px;
    padding: 18px;
    border-radius: 22px;
    line-height: 1.65;
    color: #dbe8ff !important;
}

/* CLOSING */
.closing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 20px;
}

.closing-copy p {
    color: #dbe8ff !important;
}

.closing-box {
    background: linear-gradient(135deg, #7c55ff 0%, #2457ff 100%) !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-heavy);
}

.closing-box h2,
.closing-box h3,
.closing-box p,
.closing-box li {
    color: #ffffff !important;
}

.closing-box ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 18px;
}

.feedback-note {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(5, 13, 35, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
}

.footnote {
    margin-top: 20px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted) !important;
}

/* STICKY CTA */
.sticky-cta {
    position: fixed;
    z-index: 90;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(1080px, calc(100% - 18px));
    border-radius: 18px;
    border: 1px solid rgba(145, 185, 255, 0.56) !important;
    background: linear-gradient(135deg, rgba(6, 13, 32, 0.97) 0%, rgba(41, 35, 118, 0.97) 55%, rgba(27, 48, 150, 0.97) 100%) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(8px);
}

.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    color: #e3edff !important;
}

.sticky-cta-copy {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.28;
    color: #e3edff !important;
}

.sticky-cta-copy strong {
    color: #b9a4ff !important;
}

.sticky-cta a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #5a2fc2 0%, #3d2ca6 48%, #15329c 100%) !important;
    border: 1px solid rgba(129, 122, 255, 0.68) !important;
    color: #ffffff !important;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
    .timeline-top,
    .hero,
    .story-grid,
    .feature-grid,
    .map-story,
    .closing {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .shell {
        width: min(100% - 18px, 1180px);
        padding-top: 16px;
        padding-bottom: 58px;
    }

    .top-logo-card,
    .timeline-intro,
    .timeline-shell,
    .hero,
    .story-copy,
    .story-steps,
    .feature-card,
    .map-visual,
    .map-copy,
    .closing-copy,
    .closing-box {
        padding: 22px;
        border-radius: 26px;
    }

    .top-logo-card {
        min-height: 94px;
        padding: 14px 18px;
    }

    .top-logo-card img {
        width: min(100%, 390px);
    }

    h1 {
        max-width: 100%;
        font-size: clamp(2.8rem, 14vw, 4.6rem);
    }

    .hero-meta,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .priority-card h2 {
        max-width: 100%;
    }

    .sticky-cta {
        bottom: 10px;
        border-radius: 14px;
    }

    .sticky-cta-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
    }

    .sticky-cta a {
        width: 100%;
    }

    .step-card {
        grid-template-columns: 46px 1fr;
    }

    .step-index {
        width: 46px;
        height: 46px;
        border-radius: 16px;
        font-size: 1rem;
    }
}

/* PATCH HERO - corregge la sezione "Social dining geolocalizzato"
   Incolla questo blocco IN FONDO al file styles.css
*/

.hero,
#home {
    background: linear-gradient(
        135deg,
        rgba(8, 18, 46, 0.99) 0%,
        rgba(50, 36, 132, 0.99) 50%,
        rgba(28, 55, 170, 0.99) 100%
    ) !important;
    color: #ffffff !important;
}

.hero::after,
#home::after {
    z-index: 0 !important;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        transparent 32%
    ) !important;
}

.hero *,
#home * {
    position: relative !important;
    z-index: 2 !important;
}

.hero .mini-label,
#home .mini-label {
    background: rgba(139, 108, 255, 0.32) !important;
    border: 1px solid rgba(190, 220, 255, 0.48) !important;
    color: #ffffff !important;
}

.hero h1,
#home h1 {
    color: #ffffff !important;
    text-shadow: 0 0 28px rgba(112, 88, 255, 0.3) !important;
}

.hero p,
.hero li,
.hero span,
.hero div,
#home p,
#home li,
#home span,
#home div {
    color: #dbe8ff !important;
}

.hero .metric,
#home .metric,
.hero .hero-note,
#home .hero-note {
    background: rgba(4, 12, 32, 0.46) !important;
    border: 1px solid rgba(180, 215, 255, 0.34) !important;
    color: #dbe8ff !important;
}

.hero .metric strong,
#home .metric strong {
    color: #ffffff !important;
}

.hero .metric span,
#home .metric span {
    color: #c8d8f8 !important;
}

.hero .btn-primary,
#home .btn-primary {
    background: linear-gradient(135deg, #5a2fc2 0%, #3d2ca6 48%, #15329c 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(129, 122, 255, 0.74) !important;
}

.hero .btn-secondary,
#home .btn-secondary {
    background: rgba(4, 12, 32, 0.62) !important;
    color: #ffffff !important;
    border: 1px solid rgba(190, 220, 255, 0.42) !important;
}

.hero-image,
#home .hero-image {
    background: rgba(4, 12, 32, 0.45) !important;
}

.hero-note,
#home .hero-note {
    color: #dbe8ff !important;
    line-height: 1.65 !important;
}

/* PATCH SEZIONI CENTRALI
   Corregge tutto il tratto sotto "Social dining geolocalizzato":
   Come funziona, step, funzioni, mappa/esperienza interattiva.
   Incolla questo blocco IN FONDO a styles.css.
*/

/* BLOCCO COME FUNZIONA */
#come-funziona,
.story-grid {
    color: #ffffff !important;
}

#come-funziona .story-copy,
#come-funziona .story-steps,
.story-copy,
.story-steps {
    background: linear-gradient(
        135deg,
        rgba(10, 22, 54, 0.99) 0%,
        rgba(22, 47, 102, 0.99) 100%
    ) !important;
    border: 1px solid rgba(155, 195, 255, 0.46) !important;
    color: #ffffff !important;
}

#come-funziona .story-copy::after,
#come-funziona .story-steps::after,
.story-copy::after,
.story-steps::after {
    z-index: 0 !important;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        transparent 30%
    ) !important;
}

#come-funziona *,
.story-copy *,
.story-steps * {
    position: relative !important;
    z-index: 2 !important;
}

#come-funziona h2,
#come-funziona h3,
.story-copy h2,
.story-steps h3 {
    color: #ffffff !important;
}

#come-funziona p,
#come-funziona li,
#come-funziona span,
.story-copy p,
.story-copy span,
.story-steps p,
.story-steps span {
    color: #dbe8ff !important;
}

#come-funziona .mini-label,
.story-copy .mini-label {
    background: rgba(139, 108, 255, 0.3) !important;
    border: 1px solid rgba(190, 220, 255, 0.46) !important;
    color: #ffffff !important;
}

.highlight-row,
#come-funziona .highlight-row,
.step-card,
#come-funziona .step-card {
    background: rgba(4, 12, 32, 0.46) !important;
    border: 1px solid rgba(180, 215, 255, 0.34) !important;
    color: #ffffff !important;
}

.highlight-row strong,
.step-card h3 {
    color: #ffffff !important;
}

.highlight-row span,
.step-card p {
    color: #c8d8f8 !important;
}

.step-index {
    background: var(--accent-gradient) !important;
    color: #ffffff !important;
    border: 1px solid rgba(210, 235, 255, 0.62) !important;
}

/* BLOCCO FUNZIONI */
#funzioni,
.feature-grid {
    color: #ffffff !important;
}

#funzioni .feature-card,
.feature-card {
    background: linear-gradient(
        180deg,
        rgba(10, 22, 54, 0.99) 0%,
        rgba(20, 43, 96, 0.99) 100%
    ) !important;
    border: 1px solid rgba(155, 195, 255, 0.46) !important;
    color: #ffffff !important;
}

#funzioni .feature-card::after,
.feature-card::after {
    z-index: 0 !important;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        transparent 32%
    ) !important;
}

#funzioni .feature-card *,
.feature-card * {
    position: relative !important;
    z-index: 2 !important;
}

#funzioni h3,
.feature-card h3 {
    color: #ffffff !important;
}

#funzioni p,
#funzioni span,
.feature-card p,
.feature-card span {
    color: #dbe8ff !important;
}

#funzioni .mini-label,
.feature-card .mini-label {
    background: rgba(139, 108, 255, 0.3) !important;
    border: 1px solid rgba(190, 220, 255, 0.46) !important;
    color: #ffffff !important;
}

.feature-icon {
    background: rgba(4, 12, 32, 0.5) !important;
    border: 1px solid rgba(190, 220, 255, 0.42) !important;
    color: #ffffff !important;
}

/* BLOCCO MAPPA / ESPERIENZE */
#esperienze,
.map-story {
    color: #ffffff !important;
}

#esperienze .map-visual,
#esperienze .map-copy,
.map-visual,
.map-copy {
    background: linear-gradient(
        135deg,
        rgba(10, 22, 54, 0.99) 0%,
        rgba(22, 47, 102, 0.99) 100%
    ) !important;
    border: 1px solid rgba(155, 195, 255, 0.46) !important;
    color: #ffffff !important;
}

#esperienze .map-visual::after,
#esperienze .map-copy::after,
.map-visual::after,
.map-copy::after {
    z-index: 0 !important;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        transparent 32%
    ) !important;
}

#esperienze *,
.map-story * {
    position: relative !important;
    z-index: 2 !important;
}

#esperienze h2,
#esperienze h3,
.map-copy h2,
.map-copy h3 {
    color: #ffffff !important;
}

#esperienze p,
#esperienze li,
#esperienze span,
.map-copy p,
.map-copy li,
.map-copy span {
    color: #dbe8ff !important;
}

#esperienze .mini-label,
.map-copy .mini-label {
    background: rgba(139, 108, 255, 0.3) !important;
    border: 1px solid rgba(190, 220, 255, 0.46) !important;
    color: #ffffff !important;
}

.map-callout {
    background: rgba(4, 12, 32, 0.46) !important;
    border: 1px solid rgba(180, 215, 255, 0.34) !important;
    color: #dbe8ff !important;
}

.map-visual img {
    opacity: 1 !important;
    filter: saturate(1.12) contrast(1.06) brightness(1.02) !important;
}

/* BOTTONI E LINK NELLE SEZIONI CENTRALI */
#come-funziona a,
#funzioni a,
#esperienze a {
    color: #ffffff !important;
}

/* Evita blocchi neri pieni nelle sezioni centrali */
#come-funziona .panel,
#funzioni .panel,
#esperienze .panel {
    background-color: transparent !important;
}

/* PATCH TIMELINE - corregge scritte nere negli Update
   Incolla questo blocco IN FONDO a styles.css, sotto tutte le altre patch.
*/

.timeline-shell,
#novita .timeline-shell {
    background: linear-gradient(
        180deg,
        rgba(10, 22, 54, 0.99) 0%,
        rgba(17, 38, 86, 0.99) 100%
    ) !important;
    color: #dbe8ff !important;
}

.timeline-shell *,
#novita .timeline-shell * {
    color: #dbe8ff !important;
}

.timeline-shell h2,
.timeline-shell h3,
.timeline-shell strong,
#novita .timeline-shell h2,
#novita .timeline-shell h3,
#novita .timeline-shell strong {
    color: #ffffff !important;
}

.timeline-shell p,
.timeline-shell li,
.timeline-shell span,
.timeline-item p,
.timeline-item li,
.timeline-item span,
#novita .timeline-shell p,
#novita .timeline-shell li,
#novita .timeline-shell span,
#novita .timeline-item p,
#novita .timeline-item li,
#novita .timeline-item span {
    color: #dbe8ff !important;
    opacity: 1 !important;
}

.timeline-item,
#novita .timeline-item {
    background: rgba(8, 19, 48, 0.96) !important;
    border: 1px solid rgba(145, 185, 255, 0.44) !important;
    color: #dbe8ff !important;
}

.timeline-item h3,
#novita .timeline-item h3 {
    color: #ffffff !important;
}

.timeline-item p,
#novita .timeline-item p {
    color: #dbe8ff !important;
    font-weight: 500 !important;
}

.timeline-date,
#novita .timeline-date {
    background: rgba(5, 13, 35, 0.55) !important;
    border: 1px solid rgba(180, 215, 255, 0.46) !important;
    color: #ffffff !important;
}

/* Sicurezza extra: evita qualunque testo nero dentro la sezione novitÃ  */
#novita p,
#novita li,
#novita span,
#novita div {
    color: #dbe8ff !important;
}

#novita h2,
#novita h3,
#novita strong {
    color: #ffffff !important;
}

