/* ========================
   DESIGN TOKENS
======================== */
:root {
    --pure-ice:   #F9FAFC;
    --obsidian:   #020309;
    --neon-mint:  #71FBCA;
    --slate-grey: #4B5563;
    --card-ease:  cubic-bezier(0.25, 1, 0.5, 1);
}

/* ========================
   RESET & BASE
======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (max-width: 767px) {
    html { scroll-behavior: auto; }
}
body {
    background-color: var(--obsidian);
    font-family: 'Inter', sans-serif;
    color: var(--pure-ice);
}
body.nav-open {
    overflow: hidden;
}

/* ========================
   NAVBAR
======================== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
    background: rgba(2, 3, 9, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--pure-ice);
    letter-spacing: -0.5px;
    z-index: 10000;
}
.logo span { color: var(--neon-mint); }

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10000;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pure-ice);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(2, 3, 9, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9998;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-open .nav-links {
    transform: translateX(0);
}

.nav-links a {
    color: rgba(249, 250, 252, 0.95);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color 0.2s;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) {
    .nav-toggle { display: none; }
    .nav-links { 
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        background: transparent;
        transform: none;
        transition: none;
        gap: 32px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .navbar { padding: 20px 50px; }
    
    .nav-links a {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
}
.nav-links a:hover { color: var(--neon-mint); }
.nav-cta {
    color: var(--neon-mint) !important;
    border: 1px solid rgba(113, 251, 202, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
    background: var(--neon-mint) !important;
    color: var(--obsidian) !important;
}

/* ========================
   SEZIONE 1: HERO CAROUSEL
======================== */
.hero-carousel-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-color: var(--obsidian);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 20px 40px; /* Ridotto il padding laterale per sfruttare lo schermo */
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1800px; /* Allargato notevolmente il contenitore */
    height: 75vh; /* Reso più alto in proporzione allo schermo */
    min-height: 600px;
    display: flex;
    gap: 16px; /* Leggermente ridotto per dare più spazio alle card */
}

.carousel-card {
    position: relative;
    flex: 0 0 6%; /* Pillole più strette quando inattive */
    height: 100%;
    border-radius: 80px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1), border-radius 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-card.active {
    flex: 1 0 75%; /* Card attiva prende la stragrande maggioranza dello spazio */
    border-radius: 40px;
    cursor: default;
}

.ccard-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.7s ease, transform 0.7s ease;
}

.carousel-card:hover:not(.active) .ccard-bg {
    filter: brightness(0.9);
    transform: scale(1.05);
}

.carousel-card.active .ccard-bg {
    filter: brightness(1);
}

.ccard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,3,9,0.95) 0%, rgba(2,3,9,0.3) 50%, rgba(2,3,9,0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.carousel-card.active .ccard-overlay {
    opacity: 1;
}

/* Vertical title for inactive cards */
.ccard-inactive-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--pure-ice);
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.carousel-card.active .ccard-inactive-title {
    opacity: 0;
}

/* Content for active card */
.ccard-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.2s, transform 0.5s ease 0.2s;
    pointer-events: none;
}
.carousel-card.active .ccard-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ccard-tag {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--neon-mint);
    margin-bottom: 12px;
    display: block;
}

.ccard-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(3.5rem, 7vw, 7.5rem);
    color: var(--pure-ice);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.ccard-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: rgba(249,250,252,0.85);
    max-width: 420px;
    line-height: 1.6;
}

/* Progress bar inside active card */
.ccard-progress-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(249,250,252,0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.carousel-card.active .ccard-progress-wrap {
    opacity: 1;
}

.ccard-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--neon-mint);
}

/* Hero Mobile */
@media (max-width: 767px) {
    .hero-carousel-section {
        padding: 100px 16px 20px;
        height: 100vh;
        min-height: 600px;
    }
    .carousel-container { 
        flex-direction: column; 
        height: 100%; 
        max-height: 100%; 
        gap: 8px; 
    }
    .carousel-card { 
        flex: 0 0 12%; 
        border-radius: 20px; 
        width: 100%; 
    }
    .carousel-card.active { 
        flex: 1 0 45%; 
        border-radius: 20px; 
        width: 100%; 
    }
    .ccard-inactive-title { 
        transform: translate(-50%, -50%) rotate(0deg); 
        font-size: 1.2rem; 
        letter-spacing: 2px;
    }
    .ccard-content { padding: 24px 20px; }
    .ccard-title { font-size: 2.8rem; margin-bottom: 8px; }
    .ccard-text { font-size: 0.95rem; }
}

/* Hero Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-carousel-section { padding: 100px 30px 30px; }
    .carousel-card { border-radius: 50px; }
    .carousel-card.active { border-radius: 30px; }
    .ccard-content { padding: 40px 30px; }
    .carousel-floating-cta { right: 5%; bottom: 40px; }
}


/* ========================
   SEZIONE 2: MANIFESTO
======================== */
.manifesto-section {
    position: relative;
    background: var(--obsidian);
    padding: 140px 60px 160px;
    overflow: hidden;
}

.manifesto-inner {
    display: grid;
    grid-template-columns: 52% 48%;
    gap: 0;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.manifesto-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--neon-mint);
    margin-bottom: 44px;
}

.manifesto-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(3.5rem, 7vw, 7.5rem);
    line-height: 0.88;
    letter-spacing: -3px;
    color: var(--pure-ice);
}
.manifesto-title--accent {
    color: var(--neon-mint);
    margin-top: 6px;
}

.manifesto-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--pure-ice);
    margin-top: 24px;
}

.manifesto-right { padding-left: 56px; padding-top: 80px; }

.manifesto-lead {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    font-weight: 300;
    line-height: 1.85;
    color: rgba(249, 250, 252, 0.85);
    margin-bottom: 28px;
    border-left: 1px solid rgba(249, 250, 252, 0.12);
    padding-left: 28px;
}

.manifesto-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(249, 250, 252, 0.85);
    padding-left: 28px;
    margin-bottom: 56px;
}

.manifesto-stat-row {
    display: flex;
    gap: 44px;
    padding-left: 28px;
}

.manifesto-stat { display: flex; flex-direction: column; }

.stat-number {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    letter-spacing: -1.5px;
    color: var(--pure-ice);
    line-height: 1;
}
.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(249, 250, 252, 0.8);
    margin-top: 6px;
}

/* Floating app screenshot */
.manifesto-float {
    position: absolute;
    right: 5%;
    top: 8%;
    width: 220px;
    pointer-events: none;
}

.manifesto-app-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(113, 251, 202, 0.15);
    display: block;
}

@media (max-width: 768px) {
    /*.manifesto-section { padding: 100px 32px 100px; } */
    .manifesto-inner { grid-template-columns: 1fr; gap: 64px; }
    .manifesto-right { padding-left: 0; padding-top: 0; }
    .manifesto-lead { padding-left: 0; border-left: none; margin-bottom: 24px; }
    .manifesto-sub { padding-left: 0; border-left: none; margin-bottom: 48px; }
    
    .manifesto-stat-row { 
        padding-left: 0; 
        border-left: none; 
        display: grid; 
        grid-template-columns: repeat(3, 1fr); 
        gap: 20px 16px;
    }
    .manifesto-stat {
        align-items: center;
        text-align: center;
    }
    .stat-number { font-size: 1.8rem; letter-spacing: -1px; }
    .stat-label { font-size: 8px; letter-spacing: 1px; }
    
    .manifesto-float { position: relative; right: auto; top: auto; width: 180px; margin: 60px auto 0; }
}
@media (max-width: 480px) {
    .manifesto-section { padding: 80px 20px 80px; }
    .manifesto-inner { gap: 48px; }
    .stat-number { font-size: 1.4rem; }
    .stat-label { font-size: 7px; letter-spacing: 0.5px; }
}
@media (min-width: 769px) and (max-width: 1199px) {
    .manifesto-section { padding: 120px 48px 140px; }
    .manifesto-inner { grid-template-columns: 1fr; gap: 72px; }
    .manifesto-right { padding-left: 0; padding-top: 0; }
    .manifesto-float { right: 3%; }
    .manifesto-title {
        font-size: clamp(3rem, 8vw, 5.5rem);
        line-height: 0.95;
        letter-spacing: -2px;
    }
    .manifesto-stat-row { 
        gap: 24px;
        justify-content: center;
        padding-left: 0;
        border-left: none;
    }
    .manifesto-stat { align-items: center; text-align: center; }
    .stat-number { font-size: 2rem; }
}

/* ========================
   SEZIONE 3: DISCOVERY GRID
======================== */
.discovery-section {
    background: var(--pure-ice);
    padding: 120px 60px 140px;
    overflow: hidden;
}

.discovery-header {
    max-width: 1400px;
    margin: 0 auto 64px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}
.discovery-header-left { flex: 1 1 auto; min-width: 300px; }

.discovery-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--slate-grey);
    margin-bottom: 16px;
}

.discovery-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: -2.5px;
    color: var(--obsidian);
}

.discovery-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--slate-grey);
    line-height: 1.7;
    max-width: 280px;
    flex: 0 0 auto;
    padding-bottom: 8px;
}

/* Bento Grid — 3 cols × 2 rows */
.bento-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 420px 280px;
    gap: 10px;
}

.bento-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: zoom-in;
}

.bento-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.82);
    transition: transform 0.7s var(--card-ease), filter 0.4s ease;
}
.bento-card:hover img {
    transform: scale(1.06);
    filter: brightness(0.75);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(2,3,9,0.97) 0%,
        rgba(2,3,9,0.82) 32%,
        rgba(2,3,9,0.35) 58%,
        rgba(2,3,9,0.08) 80%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: background 0.4s ease;
}
.bento-card:hover .bento-overlay {
    background: linear-gradient(
        to top,
        rgba(2,3,9,0.99) 0%,
        rgba(2,3,9,0.88) 35%,
        rgba(2,3,9,0.45) 62%,
        rgba(2,3,9,0.12) 82%,
        transparent 100%
    );
}

/* Grid placement */
.bento-card--large   { grid-column: 1; grid-row: 1 / 3; }
.bento-card--food    { grid-column: 2; grid-row: 1; }
.bento-card--street  { grid-column: 3; grid-row: 1; }
.bento-card--quartieri { grid-column: 2; grid-row: 2; }
.bento-card--natura  { grid-column: 3; grid-row: 2; }

.bento-cat-badge {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--neon-mint);
    margin-bottom: 10px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.bento-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--pure-ice);
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.5);
}

.bento-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(249, 250, 252, 0.9);
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 14px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.bento-arrow {
    font-size: 1.1rem;
    color: var(--neon-mint);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.bento-card:hover .bento-arrow { opacity: 1; transform: translateX(0); }

/* Bento mobile */
@media (max-width: 767px) {
    .discovery-section { padding: 80px 16px 100px; }
    .discovery-header { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
    .discovery-sub { max-width: 100%; }
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 200px 200px;
        gap: 8px;
    }
    .bento-card--large   { grid-column: 1 / 3; grid-row: 1; }
    .bento-card--food    { grid-column: 1; grid-row: 2; }
    .bento-card--street  { grid-column: 2; grid-row: 2; }
    .bento-card--quartieri { grid-column: 1; grid-row: 3; }
    .bento-card--natura  { grid-column: 2; grid-row: 3; }
    .bento-title { font-size: clamp(1rem, 5vw, 1.3rem); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .discovery-section { padding: 100px 32px 120px; }
    .discovery-header { flex-direction: column; align-items: flex-start; margin-bottom: 48px; gap: 24px; }
    .discovery-sub { padding-bottom: 0; }
    .bento-grid { 
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: 340px 240px 240px; 
    }
    .bento-card--large   { grid-column: 1 / 3; grid-row: 1; }
    .bento-card--food    { grid-column: 1; grid-row: 2; }
    .bento-card--street  { grid-column: 2; grid-row: 2; }
    .bento-card--quartieri { grid-column: 1; grid-row: 3; }
    .bento-card--natura  { grid-column: 2; grid-row: 3; }
}
.scopri-btn {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--neon-mint);
    text-decoration: none;
    margin-top: 14px;
    display: inline-block;
    transition: opacity 0.3s;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    cursor: pointer;
    position: relative;
    z-index: 2;
}
.scopri-btn:hover { opacity: 0.8; }

/* Expand icon on bento card hover */
.bento-overlay::before {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background:
        rgba(249, 250, 252, 0.1)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9FAFC' stroke-width='2.2'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E")
        center / 14px no-repeat;
    border: 1px solid rgba(249, 250, 252, 0.18);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: scale(0.75) translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.bento-card:hover .bento-overlay::before {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ========================
   LIGHTBOX
======================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 9, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: zoom-out;
}

.lightbox-figure {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: min(92vw, 1100px);
    transform: scale(0.88);
    transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
}
.lightbox.is-open .lightbox-figure {
    transform: scale(1);
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(249, 250, 252, 0.06);
}

.lightbox-caption {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(249, 250, 252, 0.75);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(249, 250, 252, 0.15);
    background: rgba(249, 250, 252, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--pure-ice);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.lightbox-close:hover {
    background: rgba(249, 250, 252, 0.14);
    border-color: rgba(249, 250, 252, 0.35);
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .lightbox { padding: 12px; }
    .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .lightbox-img { max-height: 78vh; border-radius: 10px; }
}

/* ========================
   SEZIONE 4: THE EXPERIENCE LOOP — How It Works
======================== */
.how-section {
    background: var(--obsidian);
    padding: 140px 60px;
    overflow: hidden;
}

.how-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}

.how-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--neon-mint);
    margin-bottom: 24px;
}

.how-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: -2.5px;
    color: var(--pure-ice);
    margin-bottom: 48px;
}

.how-steps { 
    list-style: none; 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 32px; 
}

.how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.how-step.active, .how-step:hover {
    background: rgba(249, 250, 252, 0.03);
    border-color: rgba(249, 250, 252, 0.08);
}

.how-step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--neon-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: var(--obsidian);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(113,251,202,0.4);
}

.how-step-body h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--pure-ice);
    margin-bottom: 8px;
}
.how-step-body p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(249, 250, 252, 0.9);
    line-height: 1.6;
}

@media (max-width: 767px) {
    .how-section { padding: 80px 16px; }
    .how-inner { max-width: 100%; }
    .how-steps { grid-template-columns: 1fr; gap: 16px; }
    .how-step { padding: 12px; gap: 12px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .how-section { padding: 100px 32px; }
}

/* ========================
   SEZIONE 5: SOCIAL PROOF
======================== */
.proof-section {
    background: var(--obsidian);
    padding: 120px 0 60px;
    overflow: hidden;
    position: relative;
}

.proof-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 24px;
}

.proof-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--neon-mint);
    margin-bottom: 16px;
}

.proof-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -2px;
    color: var(--pure-ice);
}

.testimonials-wrap {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px;
    scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
    flex: 0 0 380px;
    background: rgba(249, 250, 252, 0.03);
    border: 1px solid rgba(249, 250, 252, 0.06);
    border-radius: 20px;
    padding: 40px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tcard-stars { color: gold; font-size: 14px; letter-spacing: 2px; }

.tcard-quote {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(249, 250, 252, 0.85);
    font-style: italic;
}

.tcard-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.tcard-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(113, 251, 202, 0.2);
}

.tcard-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--pure-ice);
}

.tcard-origin {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(249, 250, 252, 0.85);
}

.testimonials-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.tslider-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(249, 250, 252, 0.05);
    border: 1px solid rgba(249, 250, 252, 0.1);
    color: var(--pure-ice);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.tslider-btn:hover {
    background: rgba(113, 251, 202, 0.15);
    border-color: rgba(113, 251, 202, 0.3);
    color: var(--neon-mint);
}

.press-strip {
    margin-top: 80px;
    text-align: center;
    padding: 0 24px;
}

.press-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(249, 250, 252, 0.75);
    margin-bottom: 24px;
}

.press-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    opacity: 0.85;
    filter: grayscale(100%);
}

.press-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--pure-ice);
}

@media (max-width: 767px) {
    .proof-title { font-size: clamp(1.8rem, 8vw, 3rem); letter-spacing: -1px; }
    .testimonials-wrap { padding: 0 16px; }
    .testimonial-card { flex: 0 0 260px; padding: 24px; }
    .press-logos { gap: 20px; }
    .press-logo { font-size: 0.9rem; }
}

/* Ticker */
.stories-ticker {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-top: 1px solid rgba(249, 250, 252, 0.07);
    padding: 18px 0;
    background: rgba(2, 3, 9, 0.5);
}

.ticker-track {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker-scroll 28s linear infinite;
}
.ticker-track span {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(249, 250, 252, 0.7);
    padding: 0 16px;
}
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ========================
   SEZIONE 6: FOOTER
======================== */
.site-footer {
    position: relative;
    background: #0a0d14;
    overflow: hidden;
    padding: 80px 60px 48px;
    border-top: 1px solid rgba(113, 251, 202, 0.08);
}

.footer-monogram {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(9rem, 21vw, 20rem);
    line-height: 0.82;
    letter-spacing: -8px;
    color: rgba(249, 250, 252, 0.03);
    text-align: center;
    pointer-events: none;
    user-select: none;
    text-transform: uppercase;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 56px;
}

.footer-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--pure-ice);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.footer-logo span { color: var(--neon-mint); }

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(249, 250, 252, 0.8);
}

.footer-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}
.footer-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(249, 250, 252, 0.85);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--neon-mint); }

.footer-divider {
    height: 1px;
    background: rgba(249, 250, 252, 0.07);
    margin-bottom: 28px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(249, 250, 252, 0.75);
}

.footer-socials { display: flex; gap: 12px; }

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(249, 250, 252, 0.1);
    color: rgba(249, 250, 252, 0.7);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.social-link:hover {
    color: var(--obsidian);
    background: var(--neon-mint);
    border-color: var(--neon-mint);
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .site-footer { padding: 60px 16px 80px; }
    .footer-top { flex-direction: column; gap: 32px; margin-bottom: 40px; }
    .footer-nav { gap: 16px; flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .footer-socials { justify-content: center; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .site-footer { padding: 70px 32px 44px; }
    .footer-top { flex-direction: column; gap: 32px; margin-bottom: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* ========================
   FLOATING CTA
======================== */
@keyframes ctaFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.floating-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: ctaFadeIn 0.6s ease 0.8s both;
}
.pulse-neon {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--neon-mint);
    color: var(--obsidian);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 32px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(113, 251, 202, 0.25);
    border: 1px solid rgba(113, 251, 202, 0.5);
    transition: transform 0.3s ease;
}
.pulse-neon:hover { transform: translateY(-4px) scale(1.05) !important; }
.pulse-neon svg { width: 20px; height: 20px; }

@media (max-width: 767px) {
    .floating-cta {
        bottom: 20px;
        left: 20px;
        transform: none;
    }
    .pulse-neon { padding: 12px 20px; font-size: 11px; }
}

/* ========================
   GO TO TOP BUTTON
======================== */
.btn-go-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--neon-mint);
    color: var(--obsidian);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(113, 251, 202, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.btn-go-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.btn-go-top:hover {
    background: var(--pure-ice);
    transform: translateY(-3px) scale(1.05);
}

@media (max-width: 767px) {
    .btn-go-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Visibility Utilities for Hero Cards */
@media (max-width: 640px) { .hero-card--hidden-sm { display: none !important; } }
@media (max-width: 768px) { .hero-card--hidden-md { display: none !important; } }
@media (max-width: 1024px) { .hero-card--hidden-lg { display: none !important; } }

/* ========================
   SEZIONE 6: FINAL CTA
======================== */
.final-cta-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 60px;
}

.fcta-bg {
    position: absolute;
    inset: 0;
}
.fcta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.fcta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2,3,9,0.6) 0%, rgba(2,3,9,0.85) 100%);
}

.fcta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.fcta-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--neon-mint);
    margin-bottom: 24px;
}

.fcta-headline {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -2px;
    color: var(--pure-ice);
    margin-bottom: 20px;
}

.fcta-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(249, 250, 252, 0.8);
    margin-bottom: 44px;
}

.fcta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.store-btn--apple {
    background: var(--pure-ice);
    color: var(--obsidian);
}
.store-btn--google {
    background: transparent;
    color: var(--pure-ice);
    border: 1px solid rgba(249, 250, 252, 0.2);
}
.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.store-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.store-btn-sub {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
}
.store-btn-main {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

/* App Stats row */
.fcta-app-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.fcta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
}
.fcta-stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    letter-spacing: -1px;
    color: var(--pure-ice);
    line-height: 1;
}
.fcta-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(249, 250, 252, 0.7);
    margin-top: 5px;
}
.fcta-stat-div {
    width: 1px;
    height: 36px;
    background: rgba(249, 250, 252, 0.15);
}

/* Mobile */
@media (max-width: 767px) {
    .final-cta-section { padding: 80px 16px 100px; min-height: auto; }
    .fcta-headline { letter-spacing: -1px; font-size: clamp(2rem, 8vw, 3rem); }
    .fcta-buttons { flex-direction: column; align-items: center; }
    .store-btn { width: 100%; max-width: 280px; justify-content: center; }

    .fcta-app-stats { gap: 0; width: 100%; justify-content: space-between; }
    .fcta-stat { padding: 0 4px; }
    .fcta-stat-num { font-size: 1.2rem; }
    .fcta-stat-label { font-size: 7px; letter-spacing: 1px; }
    .fcta-stat-div { height: 24px; }
}
