/* ===========================
   ADQUISTO LANDING PAGE
   Shared Styles (used by promuovi-la-tua-attivita + monetizza-il-tuo-spazio)
   =========================== */

/* NOTE:
   This file intentionally contains the full shared stylesheet.
   Page-specific tweaks (if any) should live in:
   - promuovi-la-tua-attivita/styles.css
   - monetizza-il-tuo-spazio/styles.css
*/

/* ===========================
   ORIGINAL SOURCE: promuovi-la-tua-attivita/styles.css
   (monetizza-il-tuo-spazio/styles.css is a strict subset)
   =========================== */

/* ===========================
   ADQUISTO LANDING PAGE
   Styles
   =========================== */

/* CSS Variables */
:root {
    --color-primary: #425FA9;
    --color-secondary: #3EB285;
    --color-bg-light: #EEF8FF;
    --color-text: #1E1E1E;
    --color-text-light: #6B7280;
    --color-white: #FFFFFF;
    --color-border: #E5E7EB;
    
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;

    /* Layout offsets for fixed bars */
    --header-offset: 90px;
    --banner-offset: 120px;
}
.mobile-hidden {
    display: none;
}

@media (max-width: 768px) {
    .mobile-hidden {
        display: block;
    }
}

/* Visibility helpers */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

@media (max-width: 767px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}
/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
    background: var(--color-bg-light);
    /* Reserve space for fixed header + fixed dev banner (all devices) */
    padding-top: var(--header-offset);
    padding-bottom: var(--banner-offset);
}

/* Prevent accidental horizontal scroll on small screens */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-small {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
/* Header - Modern Floating */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0.75rem;
}

.header .container {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.header.scrolled .container {
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 1.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-dev-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text);
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Nascondi "Come funziona" e "FAQ" su schermi più stretti di 1155px */
@media (max-width: 1154px) {
    .nav-desktop .nav-link[href="#come-funziona"],
    .nav-desktop .nav-link[href="#faq"] {
        display: none;
    }
}

/* Nascondi bottone "Pubblicizza brand" / "Monetizza spazio" nel menu desktop su schermi più stretti di 897px */
@media (max-width: 896px) {
    .nav-desktop a[href*="promuovi-la-tua-attivita"],
    .nav-desktop a[href*="monetizza-il-tuo-spazio"] {
        display: none;
    }
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-text);
}

.menu-icon {
    display: block;
}

.hidden {
    display: none;
}

.nav-mobile {
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-mobile-link {
    padding: 0.5rem 0;
    color: var(--color-text);
    transition: color 0.2s;
}

.nav-mobile-link:hover {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: #364d8a;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-white) 100%);
    padding: 0.25rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

/* Mobile-first: show image first */
.hero-visual {
    grid-row: 1;
}

.hero-content {
    grid-row: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-tagline {
    display: inline-block;
}

.hero-tagline span {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-transform: uppercase;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.5rem;
}

/* Keep hero trust indicators isolated from trust-bar */
.trust-indicators .trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.hero-image {
    width: auto;
    max-width: 100%;
    max-height: 520px;
    height: auto;
    display: block;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

/* ===========================
   Mobile / Tablet responsive
   =========================== */
@media (max-width: 1023px) {
    .header-content {
        padding: 0 1rem;
    }
}

@media (max-width: 767px) {
    /* Hero: image first on mobile for better scanning */
    .hero {
        padding: 0.5rem 0 1rem;
    }

    .hero-grid {
        gap: 2.5rem;
    }

    h1 {
        font-size: clamp(1.9rem, 1.2rem + 2.5vw, 2.4rem);
        margin-bottom: 0.9rem;
    }

    .hero-content {
        gap: 0.3rem;
    }

    .hero-text {
        font-size: 1.02rem;
        line-height: 1.7;
    }

    .hero-cta {
        gap: 0.75rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .trust-indicators {
        gap: 0.75rem;
    }

    .hero-image-wrapper {
        width: 100%;
        display: block;
    }

    .hero-image {
        width: 100%;
        height: 220px; /* orizzontale e più bassa su mobile */
        max-height: none;
        object-fit: cover;
    }

    .hero-stat-card {
        left: 50%;
        bottom: 0.75rem;
        transform: translateX(-50%);
        max-width: calc(100% - 1.5rem);
    }
}

@media (max-width: 480px) {
    /* Header: tighter spacing and hide dev badge if cramped */
    .header {
        padding: 0.35rem 0.5rem;
    }

    .header-content {
        height: 62px;
        padding: 0 0.75rem;
    }

    .logo-img {
        height: 34px;
    }

    .header-dev-badge {
        display: none;
    }

    .btn-lg {
        padding: 0.95rem 1.25rem;
    }

    /* Hero CTA: due bottoni affiancati anche su schermi piccoli */
    .hero-cta {
        gap: 0.6rem;
    }

    .hero-cta .btn {
        padding: 0.85rem 0.9rem;
        font-size: 0.95rem;
    }

    .hero-image {
        height: 180px;
        max-height: none;
    }

    .stat-icon {
        width: 42px;
        height: 42px;
    }

    .stat-label {
        font-size: 0.82rem;
    }
}

/* Trust bar: become horizontal on tablet+ */
@media (min-width: 768px) {
    body {
        /* Header + banner are a bit tighter on desktop */
        --header-offset: 96px;
        --banner-offset: 96px;
    }
    .trust-features {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.25rem;
    }

    .trust-divider {
        display: block;
        width: 1px;
        height: 22px;
        background: var(--color-border);
        opacity: 0.8;
    }
}

.hero-stat-card {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: var(--color-white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.stat-card-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Hero badge: center bottom on mobile (override base absolute pos) */
@media (max-width: 767px) {
    .hero-stat-card {
        left: 50%;
        bottom: -2.5rem;
        transform: translateX(-50%);
        max-width: calc(100% - 1.5rem);
        padding: 0.65rem 0.8rem;
    }

    .stat-card-content {
        justify-content: center;
        text-align: center;
        gap: 0.55rem;
    }

    .stat-card-content > div {
        text-align: center;
    }

    .stat-value {
        text-align: center;
        width: 100%;
    }

    /* Make badge more compact + keep value on one line */
    .hero-stat-card .stat-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .hero-stat-card .stat-icon svg {
        width: 18px;
        height: 18px;
    }

    .hero-stat-card .stat-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .hero-stat-card .stat-value strong {
        display: inline-block;
        font-size: 1rem;
        line-height: 1.1;
        white-space: nowrap;
    }
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--color-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.stat-value {
    font-family: var(--font-heading);
    color: var(--color-text);
}

/* Trust Bar - Mobile-first (high-converting style) */
.trust-bar {
    padding: 0.9rem 0;
    background: linear-gradient(180deg, rgba(238, 248, 255, 0.85) 0%, rgba(238, 248, 255, 0.55) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* On mobile: horizontal swipeable mini-cards (like Stripe/Shopify) */
.trust-bar .trust-features {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 84%);
    gap: 0.75rem;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.15rem 0.1rem 0.25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.trust-bar .trust-features::-webkit-scrollbar {
    display: none;
}

.trust-bar .trust-item {
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(66, 95, 169, 0.14);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.06);
    backdrop-filter: blur(6px);
}

.trust-bar .trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(66, 95, 169, 0.10);
    border: 1px solid rgba(66, 95, 169, 0.18);
    color: var(--color-primary);
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
}

.trust-bar .trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.trust-bar .trust-title {
    font-size: 0.95rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    color: var(--color-text);
    line-height: 1.15;
}

.trust-bar .trust-subtitle {
    font-size: 0.84rem;
    color: var(--color-text-light);
    line-height: 1.25;
}

.trust-bar .trust-divider {
    display: none;
}

/* On tablet/desktop: inline row with dividers */
@media (min-width: 768px) {
    .trust-bar {
        padding: 1.1rem 0;
    }

    .trust-bar .trust-features {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.25rem;
        overflow: visible;
        padding: 0;
    }

    .trust-bar .trust-item {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .trust-bar .trust-icon {
        width: auto;
        height: auto;
        border: none;
        background: transparent;
        border-radius: 0;
        color: var(--color-secondary);
        font-size: 1rem;
    }

    .trust-bar .trust-text {
        gap: 0;
    }

    .trust-bar .trust-title {
        font-size: 0.95rem;
        font-weight: 650;
    }

    .trust-bar .trust-subtitle {
        display: none;
    }

    .trust-bar .trust-divider {
        display: block;
        width: 1px;
        height: 18px;
        background: var(--color-border);
        opacity: 0.9;
        flex-shrink: 0;
    }
}

/* Sections */
.section-white {
    padding: 4rem 0;
    background: var(--color-white);
}

.section-light {
    padding: 4rem 0;
    background: var(--color-bg-light);
}

/* ===========================
   Section Headers (Landing)
   =========================== */
.section-header-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 0;
}

.section-header-center h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-header-center p {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0;
}

/* Anchor offsets (fixed header friendly) */
#come-funziona,
#vantaggi,
#platform,
#inventory,
#faq,
#contatti {
    scroll-margin-top: 96px;
}

/* ===========================
   Value Proposition Section
   =========================== */
.value-section {
    padding: clamp(3rem, 2.2rem + 2.5vw, 5rem) 0;
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-white) 55%, var(--color-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.value-section::before {
    content: "";
    position: absolute;
    inset: -200px -140px auto -140px;
    height: 420px;
    background: radial-gradient(closest-side, rgba(66, 95, 169, 0.14), rgba(66, 95, 169, 0) 70%);
    pointer-events: none;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.value-content h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.375rem);
    letter-spacing: -0.02em;
}

.value-content .lead {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.value-list {
    display: grid;
    gap: 0.75rem;
}

.value-item {
    display: flex;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.06);
    backdrop-filter: blur(6px);
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(62, 178, 133, 0.12);
    border: 1px solid rgba(62, 178, 133, 0.22);
    flex-shrink: 0;
    font-size: 1.25rem;
}

.value-item h4 {
    margin: 0 0 0.25rem;
    font-size: 1.0625rem;
}

.value-item p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.value-visual {
    display: flex;
    justify-content: center;
}

/* Dashboard preview (already in markup) */
.dashboard-preview {
    width: min(520px, 100%);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    transform: translateZ(0);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, rgba(238, 248, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border-bottom: 1px solid var(--color-border);
}

.preview-dots {
    display: flex;
    gap: 0.35rem;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(107, 114, 128, 0.35);
}

.preview-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(30, 30, 30, 0.75);
}

.preview-content {
    padding: 1.25rem;
}

.preview-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.preview-stat .stat-value {
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.preview-stat .stat-name {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.preview-bar {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(66, 95, 169, 0.9), rgba(62, 178, 133, 0.85));
    opacity: 0.9;
    margin: 1rem 0 1.1rem;
}

.preview-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.metric-box {
    padding: 0.9rem 0.95rem;
    border-radius: var(--radius-lg);
    background: rgba(238, 248, 255, 0.7);
    border: 1px solid rgba(66, 95, 169, 0.18);
}

.metric-label {
    display: block;
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.metric-value {
    display: block;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* ===========================
   Platform Features Section
   =========================== */
.platform-section {
    padding: clamp(3rem, 2.2rem + 2.5vw, 5rem) 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.features-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-box {
    position: relative;
    padding: 1.25rem 1.25rem 1.15rem;
    background: linear-gradient(180deg, rgba(238, 248, 255, 0.7) 0%, rgba(255, 255, 255, 1) 70%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 18px 35px rgba(17, 24, 39, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    overflow: hidden;
}

.feature-box::before {
    content: "";
    position: absolute;
    inset: -120px -120px auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(closest-side, rgba(62, 178, 133, 0.18), rgba(62, 178, 133, 0) 70%);
    transform: translate(40px, -40px);
    pointer-events: none;
}

.feature-box:hover {
    transform: translateY(-3px);
    border-color: rgba(66, 95, 169, 0.35);
    box-shadow: 0 22px 45px rgba(17, 24, 39, 0.09);
}

.feature-number {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(66, 95, 169, 0.12);
    border: 1px solid rgba(66, 95, 169, 0.22);
    color: var(--color-primary);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.feature-box h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feature-box p {
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.65;
    font-size: 0.98rem;
}

.feature-box-highlight {
    border-color: rgba(66, 95, 169, 0.22);
    background: linear-gradient(180deg, rgba(66, 95, 169, 0.10) 0%, rgba(238, 248, 255, 0.55) 55%, rgba(255, 255, 255, 1) 100%);
}

/* ===========================
   Inventory Section
   =========================== */
.inventory-section {
    padding: clamp(3rem, 2.2rem + 2.5vw, 5rem) 0;
    background: linear-gradient(180deg, var(--color-bg-light) 0%, rgba(255, 255, 255, 1) 60%);
}

.inventory-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.inventory-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.inventory-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(17, 24, 39, 0.09);
}

.inventory-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-bg-light);
}

.inventory-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.inventory-item:hover .inventory-img img {
    transform: scale(1.08);
}

.inventory-badge {
    position: absolute;
    left: 0.9rem;
    top: 0.9rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(30, 30, 30, 0.75);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
}

.inventory-item h4 {
    padding: 1rem 1.1rem 0.1rem;
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.inventory-item p {
    padding: 0 1.1rem 1.2rem;
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.65;
    font-size: 0.98rem;
}

/* ===========================
   Responsive grids
   =========================== */
@media (min-width: 768px) {
    .value-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3rem;
    }

    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.15rem;
    }

    .inventory-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }

    .inventory-showcase {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cross-link Section - Between Sections */
.cross-link-section {
    padding: 2rem 0;
    background: var(--color-white);
}

.cross-link-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(238, 248, 255, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-align: center;
}

.cross-link-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

@media (min-width: 768px) {
    .cross-link-box {
        flex-direction: row;
        gap: 1.5rem;
        padding: 2rem 2.5rem;
    }
    
    .cross-link-text {
        font-size: 1.25rem;
        margin: 0;
    }
}

/* How It Works Section - Compact Design */
.how-it-works-section {
    padding: 1.5rem 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
}

.section-header-compact {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-header-compact h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header-compact .section-subtitle {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-compact {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.step-compact:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(66, 95, 169, 0.1);
}

.step-highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
}

.step-highlight h3,
.step-highlight p {
    color: var(--color-white);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.step-num {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-highlight .step-num {
    background: rgba(255, 255, 255, 0.25);
}

.step-compact h3 {
    font-size: 1.125rem;
    margin: 0;
    color: var(--color-text);
}

.step-compact p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
}

.step-highlight p {
    color: rgba(255, 255, 255, 0.95);
}

.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.step-tags span {
    padding: 0.25rem 0.625rem;
    background: var(--color-bg-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.step-check {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.step-earning {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
}

.step-earning .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.step-earning .period {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.how-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}

.cta-note {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 48rem;
    margin: 0 auto;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Categories Section - Tag Cloud */
.categories-section {
    padding: 1.5rem 0;
    background: var(--color-white);
}

.categories-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.125rem;
    background: var(--color-bg-light);
    border: 2px solid var(--color-border);
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.2s ease;
    cursor: default;
    white-space: nowrap;
}

.category-tag:hover {
    background: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 95, 169, 0.12);
}

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

.categories-footer .text-muted {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Cards */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.card-white {
    background: var(--color-white);
}

.card-hover {
    transition: all 0.2s;
}

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

.card-padding-lg {
    padding: 2rem;
}

.card-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    color: var(--color-white);
}

.card-icon-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.card-content-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-text {
    color: var(--color-text-light);
    line-height: 1.75;
    margin: 0;
}

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

.text-white {
    color: var(--color-white) !important;
}

/* Icons */
.icon-gradient {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-gradient-square {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-primary);
}

/* Vantaggi Section */
/* Monetize Section - Compact */
.monetize-section {
    padding: 1.5rem 0;
    background: var(--color-bg-light);
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.space-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.space-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 95, 169, 0.12);
}

.space-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.space-card h4 {
    font-size: 0.9375rem;
    margin: 0 0 0.25rem 0;
    color: var(--color-text);
}

.space-card p {
    font-size: 0.8125rem;
    margin: 0;
    color: var(--color-text-light);
}

/* Benefits Visual Section - Premium */
.benefits-visual-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
}

.benefits-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.benefits-content {
    flex: 1;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(66, 95, 169, 0.2);
}

.benefit-text h4 {
    font-size: 1.0625rem;
    margin: 0 0 0.25rem 0;
    color: var(--color-text);
    font-weight: 600;
}

.benefit-text p {
    font-size: 0.9375rem;
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.5;
}

.benefits-cta-inline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.cta-subtext {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.benefits-visual {
    flex: 1;
}

.visual-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background: var(--color-white);
}

.visual-image {
    width: 100%;
    height: auto;
    display: block;
}

.visual-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--color-white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.highlight-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.75;
}

.highlight-cta {
    padding-top: 1rem;
}

/* Parallax Section */
/* Parallax styles removed - now integrated in benefits section */

/* Proof Section */
.proof-icon {
    width: 64px;
    height: 64px;
    background: var(--color-bg-light);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.proof-number {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.proof-label {
    color: var(--color-text-light);
    margin: 0;
}

/* Categories */
/* Category icon styles removed - using emoji tags now */

/* Accordion */
/* FAQ Modern - Compact */
.faq-modern {
    padding: 0 0 2.5rem 0;
    background: var(--color-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.faq-item {
    background: var(--color-bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--color-border);
}

.faq-item.active {
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(66, 95, 169, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    gap: 1rem;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--color-text-light);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.25rem 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9375rem;
}

/* Contact Section - Modern Design */
.contact-section {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-content h2,
.contact-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    display: none;
}

@media (min-width: 768px) {
    .contact-content h2,
    .contact-title {
        display: block;
    }
}

.contact-lead {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-benefit {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-white);
}

.contact-benefit h4 {
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
    color: var(--color-text);
}

.contact-benefit p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--color-border);
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-modern input,
.contact-form-modern select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--color-white);
}

.contact-form-modern input:focus,
.contact-form-modern select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(66, 95, 169, 0.1);
}

.contact-form-modern input::placeholder {
    color: var(--color-text-light);
}

.form-row-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.privacy-checkbox a {
    color: var(--color-primary);
    text-decoration: underline;
}

.privacy-checkbox a:hover {
    color: var(--color-secondary);
}

.form-label-address {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.input-with-icon {
    position: relative;
    width: 100%;
    z-index: 10;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    pointer-events: none;
    z-index: 1;
}

.input-with-icon-field {
    padding-left: 3rem !important;
}

/* Remove bottom border radius when dropdown is open */
.input-with-icon.has-dropdown .input-with-icon-field {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-color: var(--color-primary) !important;
}

/* Autocomplete Dropdown */
.autocomplete-list {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 99999;
    box-shadow: var(--shadow-xl);
    margin-top: 0;
}

.autocomplete-item {
    padding: 0.875rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: var(--color-bg-light);
}

.autocomplete-name {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

.autocomplete-address {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

.autocomplete-type {
    font-size: 0.75rem;
    color: var(--color-secondary);
    font-weight: 400;
    font-style: italic;
}

.autocomplete-no-results {
    cursor: default;
}

.autocomplete-no-results:hover {
    background: var(--color-white);
}

/* Scrollbar styling for autocomplete */
.autocomplete-list::-webkit-scrollbar {
    width: 10px;
}

.autocomplete-list::-webkit-scrollbar-track {
    background: var(--color-white);
    border-radius: 0 0 var(--radius-sm) 0;
}

.autocomplete-list::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
    border: 1px solid var(--color-white);
}

.autocomplete-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* Google Places Autocomplete Styling */
.pac-container {
    font-family: var(--font-body) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-xl) !important;
    border: 2px solid var(--color-primary) !important;
    margin-top: 4px !important;
    z-index: 10000 !important;
}

.pac-container:after {
    display: none !important;
}

.pac-item {
    padding: 0.875rem 1rem !important;
    font-size: 0.9375rem !important;
    border-top: 1px solid var(--color-border) !important;
    cursor: pointer !important;
    line-height: 1.5 !important;
}

.pac-item:first-child {
    border-top: none !important;
}

.pac-item:hover,
.pac-item-selected {
    background: var(--color-bg-light) !important;
}

.pac-item-query {
    font-weight: 600 !important;
    color: var(--color-text) !important;
    font-size: 0.9375rem !important;
}

.pac-matched {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

.pac-icon {
    display: none !important;
}

.pac-item-query .pac-matched {
    color: var(--color-primary) !important;
}

/* Old form styles - kept for compatibility */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.875rem;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    cursor: pointer;
}

/* Footer */
/* Footer - Modern Floating */
.footer-modern {
    padding: 2rem 1rem;
    background: transparent;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.footer-links a {
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-legal {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal a {
    color: var(--color-text-light);
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.footer-divider {
    color: var(--color-border);
}

.footer-credit {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    text-align: right;
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.footer-credit a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-credit a:hover {
    color: var(--color-secondary);
}

/* Sticky Mobile CTA */
.sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 40;
}

/* Development Banner */
.dev-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary)) 1;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(66, 95, 169, 0.15), 0 -2px 8px rgba(62, 178, 133, 0.1);
    z-index: 45;
}

.dev-banner-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    align-items: center;
    text-align: center;
}

.dev-banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    align-items: center;
    text-align: center;
}

.dev-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    width: fit-content;
}

.dev-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.dev-logo-inline {
    height: 1.2em;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.dev-description {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    display: none;
}

@media (min-width: 768px) {
    .dev-description {
        display: block;
    }
    
    .dev-banner-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 1rem 1.5rem;
    }
    
    .dev-banner-text {
        align-items: flex-start;
        text-align: left;
    }
    
    .dev-title {
        justify-content: flex-start;
    }
}

.dev-banner-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.dev-link-secondary {
    text-align: center;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: underline;
    transition: color 0.2s;
}

.dev-link-secondary:hover {
    color: #364d8a;
}


/* ===========================
   RESPONSIVE - Mobile First
   =========================== */
@media (max-width: 767px) {
    /* Non mostrare il badge "PROGETTO IN SVILUPPO" nell'header su mobile */
    .header-dev-badge {
        display: none !important;
    }

    /* Typography - Centro tutto su mobile */
    h1, h2, h3, h4, h5, h6 {
        text-align: center;
    }

    /* Dev Banner
       NOTE: `position: sticky` con `bottom: 0` è poco affidabile su mobile (specie iOS Safari).
       Su mobile lo rendiamo fisso in basso, come banner sempre visibile. */
    .dev-banner {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
    }

    /* body padding-bottom is global now */
    
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    /* Hero Section */
    .hero {
        text-align: center;
        padding: 1rem 0 1.5rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-text {
        text-align: center;
        font-size: 1rem;
    }
    
    .hero-cta {
        width: 100%;
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
        padding: 0.9rem 1rem;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .hero-visual {
        display: flex;
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin: 0 auto;
    }
    
    /* Trust Bar */
    .trust-features {
        align-items: center;
        text-align: center;
    }
    
    /* Section Headers */
    .section-header-compact {
        text-align: center;
    }
    
    .section-header-compact .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }
    
    /* Steps Grid */
    .step-compact {
        text-align: center;
    }
    
    .step-header {
        justify-content: center;
    }
    
    .step-compact p {
        text-align: center;
    }
    
    .step-tags {
        justify-content: center;
    }
    
    .step-check {
        justify-content: center;
    }
    
    /* Spaces Grid */
    .spaces-grid {
        text-align: center;
    }
    
    /* Benefits Section */
    .benefits-content {
        text-align: center;
    }
    
    .benefits-list {
        align-items: center;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .benefit-text h4,
    .benefit-text p {
        text-align: center;
    }
    
    .benefits-cta-inline {
        align-items: center;
        width: 100%;
    }
    
    .benefits-cta-inline .btn {
        width: 100%;
    }
    
    .cta-subtext {
        text-align: center;
    }
    
    /* Categories - Scroll orizzontale su mobile */
    .categories-section {
        overflow: hidden;
    }
    
    .categories-tags {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: repeat(3, auto);
        grid-auto-columns: minmax(160px, auto);
        gap: 0.75rem;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.5rem 0;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--color-primary) var(--color-bg-light);
    }
    
    .categories-tags::-webkit-scrollbar {
        height: 8px;
    }
    
    .categories-tags::-webkit-scrollbar-track {
        background: var(--color-bg-light);
        border-radius: 4px;
    }
    
    .categories-tags::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: 4px;
    }
    
    .categories-tags::-webkit-scrollbar-thumb:hover {
        background: var(--color-secondary);
    }
    
    .category-tag {
        scroll-snap-align: start;
        white-space: nowrap;
        justify-content: center;
    }
    
    .categories-footer {
        text-align: center;
        margin-top: 1rem;
    }
    
    /* FAQ Section */
    .faq-modern {
        text-align: center;
    }
    
    .faq-question {
        text-align: left;
    }
    
    .faq-answer p {
        text-align: left;
    }
    
    /* Contact Section */
    .contact-section {
        text-align: center;
    }

    /* Contact grid: reduce vertical gap on mobile */
    .contact-grid {
        gap: 1.5rem;
    }
    
    .contact-content {
        text-align: center;
    }
    
    .contact-lead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-benefits {
        align-items: center;
    }
    
    .contact-benefit {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-benefit h4,
    .contact-benefit p {
        text-align: center;
    }
    
    /* Footer - Ottimizzato per mobile */
    .footer-modern {
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .footer-container {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-2xl);
        box-shadow: var(--shadow-lg);
    }
    
    .footer-content {
        text-align: center;
        gap: 1.75rem;
    }
    
    .footer-logo img {
        height: 40px;
        width: auto;
        margin: 0 auto;
    }
    
    .footer-links {
        gap: 1.25rem;
        flex-direction: column;
    }
    
    .footer-links a {
        font-size: 1rem;
        font-weight: 600;
        padding: 0.5rem;
        color: var(--color-text);
    }
    
    .footer-legal {
        gap: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .footer-legal a {
        font-size: 0.9375rem;
        color: var(--color-text-light);
        padding: 0.25rem;
    }
    
    .footer-copy {
        font-size: 0.875rem;
        color: var(--color-text-light);
        gap: 0.5rem;
        flex-direction: column;
        margin-top: 0.5rem;
    }
    
    .footer-divider {
        display: none;
    }
    
    .footer-credit {
        text-align: center;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        font-size: 0.8125rem;
    }
    
    .footer-credit a {
        color: var(--color-primary);
        font-weight: 600;
    }
    
    /* Dev Banner */
    .dev-banner-content {
        text-align: center;
    }
    
    .dev-banner-text {
        text-align: center;
    }
    
    .dev-badge {
        display: inline-block;
    }

    /* Nascondo solo il badge del banner su mobile (ora è nell'header) */
    .dev-banner .dev-badge {
        display: none;
    }
    
    .dev-banner-cta {
        align-items: center;
    }
    
    .dev-banner-cta .btn {
        width: 100%;
    }
    
    /* Mobile menu */
    .nav-mobile-content {
        text-align: center;
    }
    
    .nav-mobile-link {
        text-align: center;
    }
}

/* ===========================
   RESPONSIVE - Tablet
   =========================== */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .container-small {
        padding: 0 1.5rem;
    }
    
    .header-content {
        height: 80px;
    }
    
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-mobile {
        display: none !important;
    }
    
    .hero {
        padding: 0.25rem 0;
    }
    
    .hero-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 3rem;
    }
    
    .hero-content {
        grid-column: 1 / span 6;
        grid-row: 1;
    }
    
    .hero-visual {
        grid-column: 7 / span 6;
        grid-row: 1;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    
    .hero-image-wrapper {
        width: auto;
        max-width: 100%;
    }
    
    .hero-image {
        max-height: 62vh;
        max-height: min(62vh, 520px);
    }
    
    .hero-cta {
        flex-direction: row;
    }
    
    .trust-badges {
        padding: 2rem 0;
    }
    
    .trust-badges-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .section-white {
        padding: 6rem 0;
    }
    
    .section-light {
        padding: 6rem 0;
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .vantaggi-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 3rem;
    }
    
    .vantaggi-content {
        grid-column: span 7;
    }
    
    .vantaggi-highlight {
        grid-column: span 5;
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Scope legacy tablet trust-bar tweaks */
    .trust-bar {
        padding: 1.25rem 0;
    }
    
    .trust-bar .trust-features {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }
    
    .trust-bar .trust-divider {
        display: block;
        width: 1px;
        height: 20px;
        background: var(--color-border);
        flex-shrink: 0;
    }
    
    .trust-bar .trust-item {
        font-size: 0.9375rem;
    }
    
    .how-it-works-section {
        padding: 2rem 0;
    }
    
    .section-header-compact h2 {
        font-size: 2.25rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .spaces-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .benefits-visual-section {
        padding: 3.5rem 0;
    }
    
    .benefits-layout {
        flex-direction: row;
        gap: 3rem;
        align-items: center;
    }
    
    .benefits-content {
        flex: 1.2;
    }
    
    .benefits-visual {
        flex: 1;
    }
    
    .benefit-text h4 {
        font-size: 1.125rem;
    }
    
    .categories-section {
        padding: 2rem 0;
    }
    
    .categories-tags {
        gap: 0.75rem;
    }
    
    .category-tag {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }
    
    .faq-modern {
        padding: 0 0 3rem 0;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.125rem 1.5rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.125rem;
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
    
    .contact-content h2 {
        font-size: 3rem;
    }
    
    .form-row-compact {
        grid-template-columns: 1fr 1fr;
    }
    
    .header {
        padding: 1rem 1rem;
    }
    
    .header.scrolled {
        padding: 0.75rem 1rem;
    }
    
    .header-content {
        padding: 0 2rem;
    }
    
    .footer-modern {
        padding: 2rem 2rem;
    }
    
    .footer-container {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        flex-wrap: wrap;
    }
    
    .footer-links {
        gap: 2rem;
    }
    
    .footer-credit {
        text-align: right;
    }
    
    .sticky-cta {
        display: none;
    }
    
    .dev-banner-content {
        flex-direction: row;
        align-items: center;
        padding: 1rem 1.5rem;
        gap: 2rem;
    }
    
    .dev-banner-text {
        flex: 1;
    }
    
    .dev-title {
        font-size: 1.25rem;
    }
    
    .dev-description {
        font-size: 0.9375rem;
    }
    
    .dev-banner-cta {
        flex-direction: row;
        width: auto;
        align-items: center;
        gap: 1rem;
        flex-shrink: 0;
    }
    
    .dev-link-secondary {
        white-space: nowrap;
    }
}

/* ===========================
   RESPONSIVE - Desktop
   =========================== */
@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .container-small {
        padding: 0 2rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .section-white {
        padding: 6rem 0;
    }
    
    .section-light {
        padding: 6rem 0;
    }
    
    .how-it-works-section {
        padding: 2rem 0;
    }
    
    .section-header-compact h2 {
        font-size: 2.5rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .step-compact {
        padding: 1.5rem;
    }
    
    .step-compact h3 {
        font-size: 1.25rem;
    }
    
    .step-compact p {
        font-size: 0.9375rem;
    }
    
    .monetize-section {
        padding: 2rem 0;
    }
    
    .spaces-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.25rem;
    }
    
    .space-card {
        padding: 1.25rem 1rem;
    }
    
    .benefits-visual-section {
        padding: 4.5rem 0;
    }
    
    .benefits-layout {
        gap: 4rem;
    }
    
    .benefits-list {
        gap: 1.5rem;
    }
    
    .benefit-icon-circle {
        width: 44px;
        height: 44px;
    }
    
    .benefit-text h4 {
        font-size: 1.1875rem;
    }
    
    .benefit-text p {
        font-size: 1rem;
    }
    
    .visual-badge {
        bottom: 2rem;
        left: 2rem;
        padding: 1rem 1.5rem;
    }
    
    .badge-text {
        font-size: 1rem;
    }
    
    .categories-section {
        padding: 2.5rem 0;
    }
    
    .categories-tags {
        gap: 0.875rem;
    }
    
    .faq-modern {
        padding: 0 0 3.5rem 0;
    }
    
    .faq-grid {
        gap: 1.25rem;
    }
    
    .header {
        padding: 1.25rem 2rem;
    }
    
    .header.scrolled {
        padding: 1rem 2rem;
    }
    
    .header-content {
        height: 64px;
    }
    
    .footer-modern {
        padding: 2.5rem 3rem;
    }
    
    .footer-container {
        padding: 2.5rem 3rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-content h2 {
        font-size: 3.5rem;
    }
    
    .contact-grid {
        gap: 5rem;
    }
    
    .proof-number {
        font-size: 3rem;
    }
}
