/* ================================
   CURIOSONE - Main Stylesheet
   ================================ */

/* CSS Variables */
:root {
    --primary-color: #2C64ED;
    --primary-dark: #1E4FD0;
    --primary-light: #5A8AF2;
    --secondary-color: #1A202C;
    --accent-color: #2C64ED;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --text-color: #1A202C;
    --text-light: #64748B;
    --text-lighter: #94A3B8;
    --bg-color: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(44,100,237,0.08);
    --shadow-md: 0 4px 12px rgba(44,100,237,0.12);
    --shadow-lg: 0 10px 30px rgba(44,100,237,0.15);
    --shadow-xl: 0 25px 50px rgba(44,100,237,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Previeni FOUC - nascondi body finché CSS caricato */
html.loading body {
    visibility: hidden;
}

html.loading {
    background: #fff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    visibility: visible;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   HEADER
   ================================ */
.header {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-img {
    height: 42px;
    width: 42px;
    max-height: 42px;
    max-width: 42px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .logo {
        gap: 5px;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .logo-text {
        font-size: 16px;
    }
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-greeting {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-greeting i {
    color: #94a3b8;
    font-size: 16px;
}

.header-avatar-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
}

.header-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.4);
}

.header-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2C64ED 0%, #1e4fc2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.header-user-name-desktop {
    display: inline;
}

.header-user-name-mobile {
    display: none;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 18px;
}

.btn-logout:hover {
    color: #1e293b;
    background: transparent;
}

/* Notification Bell */
.notification-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 18px;
    border: none;
    cursor: pointer;
}

.notification-bell:hover {
    color: #1e293b;
}

.notification-wrapper {
    position: relative;
}

.notification-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 340px;
    max-height: 450px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
}

.notification-dropdown.show {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}

.mark-read-btn {
    font-size: 12px;
    color: #2C64ED;
    text-decoration: none;
    font-weight: 500;
}

.mark-read-btn:hover {
    text-decoration: underline;
}

.notification-dropdown-body {
    max-height: 320px;
    overflow-y: auto;
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
}

.notification-empty i {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    border-bottom: 1px solid #f8fafc;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-item.unread {
    background: linear-gradient(90deg, rgba(44, 100, 237, 0.05) 0%, white 100%);
}

.notification-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.notification-item-icon.info { background: rgba(44, 100, 237, 0.1); color: #2C64ED; }
.notification-item-icon.success { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.notification-item-icon.warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.notification-item-icon.promo { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.notification-item-content {
    flex: 1;
    min-width: 0;
}

.notification-item-title {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-item-time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.notification-item-dot {
    width: 8px;
    height: 8px;
    background: #2C64ED;
    border-radius: 50%;
    flex-shrink: 0;
}

.notification-dropdown-footer {
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.notification-dropdown-footer a {
    font-size: 13px;
    color: #2C64ED;
    text-decoration: none;
    font-weight: 500;
}

.notification-dropdown-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .notification-dropdown {
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 100px);
        border-radius: 12px;
    }
    
    .notification-dropdown-body {
        max-height: calc(100vh - 200px);
    }
    
    .notification-item {
        padding: 14px 16px;
    }
    
    .notification-dropdown-header {
        padding: 14px 16px;
    }
    
    .notification-dropdown-footer {
        padding: 10px 16px;
    }
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse-notification 2s infinite;
}

@keyframes pulse-notification {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(44, 100, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 100, 237, 0.5);
}

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

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

.btn-outline-nav {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
}

.btn-outline-nav:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-white {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    padding: 40px 0 100px;
    background: linear-gradient(180deg, #F0F5FF 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(44, 100, 237, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(44, 100, 237, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 24px;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.hero-title-animated {
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, #2C64ED 0%, #60a5fa 50%, #2C64ED 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.sparkles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 10;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #2C64ED;
    border-radius: 50%;
    opacity: 0;
    animation: sparkleFloat 2s ease-out forwards;
    box-shadow: 0 0 10px #2C64ED, 0 0 20px rgba(44, 100, 237, 0.5);
}

.sparkle:nth-child(odd) {
    background: #60a5fa;
    box-shadow: 0 0 10px #60a5fa, 0 0 20px rgba(96, 165, 250, 0.5);
}

.sparkle.star {
    width: 12px;
    height: 12px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.sparkle.star::before {
    content: '✦';
    font-size: 16px;
    color: #2C64ED;
    text-shadow: 0 0 10px rgba(44, 100, 237, 0.8);
}

@keyframes sparkleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.5);
    }
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(44, 100, 237, 0.15);
    z-index: -1;
    border-radius: 4px;
}

/* Stile base */
.hero-description,
.hero-text .hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Di default mostriamo solo desktop */
.mobile-text {
    display: none;
}

/* Desktop: testo a sinistra */
.desktop-text {
    text-align: left;
}

/* Mobile */
@media (max-width: 768px) {

    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: block;
        text-align: center;
    }

}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: var(--text-light);
    font-size: 20px;
    font-weight: 600;
}

.trust-stars {
    color: #26BC69;
    font-size: 24px;
    letter-spacing: 2px;
}

/* Hero Visual - Floating Cards */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====================================
   HERO VISUAL - 3D CARD DESIGN
   ==================================== */

.hero-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card principale */
.hero-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-card-link:hover {
    transform: scale(1.02);
}

.hero-card-link:hover .hero-card {
    box-shadow: 
        0 50px 100px -20px rgba(44, 100, 237, 0.35),
        0 30px 60px -20px rgba(0, 0, 0, 0.15);
}

.hero-card {
    position: relative;
    width: 340px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 
        0 40px 80px -20px rgba(44, 100, 237, 0.25),
        0 20px 40px -20px rgba(0, 0, 0, 0.1);
    animation: card-float 6s ease-in-out infinite;
    z-index: 10;
    transition: box-shadow 0.3s ease;
}

@keyframes card-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.hero-card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #2C64ED, #1d4ed8, #2C64ED);
    background-size: 300% 300%;
    border-radius: 30px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(20px);
    animation: glow-shift 4s ease infinite;
}

@keyframes glow-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes glow-color-change {
    0% { 
        background: linear-gradient(135deg, #2C64ED, #1d4ed8, #2C64ED);
    }
    33% { 
        background: linear-gradient(135deg, #EDB938, #fbbf24, #EDB938);
    }
    66% { 
        background: linear-gradient(135deg, #26BC69, #22c55e, #26BC69);
    }
    100% { 
        background: linear-gradient(135deg, #2C64ED, #1d4ed8, #2C64ED);
    }
}

@keyframes card-bg-change {
    0% { 
        background: linear-gradient(145deg, #2C64ED 0%, #1d4ed8 100%);
        box-shadow: 
            0 40px 80px -20px rgba(44, 100, 237, 0.35),
            0 20px 40px -20px rgba(44, 100, 237, 0.2);
    }
    33% { 
        background: linear-gradient(145deg, #EDB938 0%, #fbbf24 100%);
        box-shadow: 
            0 40px 80px -20px rgba(237, 185, 56, 0.35),
            0 20px 40px -20px rgba(237, 185, 56, 0.2);
    }
    66% { 
        background: linear-gradient(145deg, #26BC69 0%, #22c55e 100%);
        box-shadow: 
            0 40px 80px -20px rgba(38, 188, 105, 0.35),
            0 20px 40px -20px rgba(38, 188, 105, 0.2);
    }
    100% { 
        background: linear-gradient(145deg, #2C64ED 0%, #1d4ed8 100%);
        box-shadow: 
            0 40px 80px -20px rgba(44, 100, 237, 0.35),
            0 20px 40px -20px rgba(44, 100, 237, 0.2);
    }
}

.hero-card-content {
    position: relative;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2C64ED, #1d4ed8);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge i {
    font-size: 12px;
}

.hero-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.hero-currency {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-top: 14px;
}

.hero-number {
    font-size: 90px;
    font-weight: 800;
    color: white;
    background-clip: text;
    line-height: 1;
    letter-spacing: -4px;
}

.hero-period {
    text-align: center;
    font-size: 15px;
    color: white;
    margin-bottom: 24px;
}

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

.hero-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.hero-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hero-item-icon.luce {
    background: linear-gradient(135deg, #26BC69, #22c55e);
    color: white;
}

.hero-item-icon.gas {
    background: #EDB938;
    color: white;
}

.hero-item-text {
    display: flex;
    flex-direction: column;
}

.hero-item-text .hero-item-label {
    font-size: 12px;
    color: #3b82f6;
    font-weight: 700;
}

.hero-item-text strong {
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
}

/* Stats floating */
.hero-stat {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

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

.stat-num {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.stat-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-1 {
    top: 10%;
    left: -10px;
    animation: stat-float-1 5s ease-in-out infinite;
}

.stat-1 .stat-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}

.stat-2 {
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    animation: stat-float-2 6s ease-in-out infinite;
}

.stat-2 .stat-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.stat-3 {
    top: 72%;
    right: -10px;
    animation: stat-float-3 5.5s ease-in-out infinite;
}

.stat-3 .stat-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

@keyframes stat-float-1 {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes stat-float-2 {
    0%, 100% { transform: translateY(-50%) rotate(2deg); }
    50% { transform: translateY(calc(-50% - 10px)) rotate(-2deg); }
}

@keyframes stat-float-3 {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}



/* ================================
   PARTNERS SECTION
   ================================ */
.partners {
    padding: 50px 0;
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-title {
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-light);
    font-size: 15px;
}


.partners-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, #f0f5ff, transparent);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, #f0f5ff, transparent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 36px;
    border-radius: 16px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.partner-logo img {
    height: 100px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ================================
   STEPS SECTION
   ================================ */
.steps-section {
    padding: 20px 0;
    background: linear-gradient(180deg, #f8fafc 0%, white 100%);
}

.steps-header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 0;
}

.steps-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.steps-header p {
    font-size: 18px;
    color: #64748b;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb !important;
}

.step-card-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.step-card-link:hover .step-card {
    border-color: #d1d5db !important;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db !important;
}

.step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    background: transparent;
    color: #1e293b;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    padding: 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(44, 100, 237, 0.1), rgba(44, 100, 237, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 35px auto 24px;
    font-size: 32px;
    color: #2C64ED;
}

.step-icon.ai {
    background: linear-gradient(135deg, rgba(237, 185, 56, 0.15), rgba(237, 185, 56, 0.08));
    color: #EDB938;
}

.step-icon.success {
    background: linear-gradient(135deg, rgba(38, 188, 105, 0.15), rgba(38, 188, 105, 0.08));
    color: #26BC69;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.steps-cta {
    text-align: center;
    margin-top: 50px;
}

.steps-cta .btn-large {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .step-card {
        padding: 14px 16px;
        display: flex;
        align-items: center;
        gap: 14px;
        text-align: left;
        min-height: auto;
    }
    
    .step-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .step-content {
        flex: 1;
        min-width: 0;
    }
    
    .step-card h3 {
        font-size: 15px;
        margin-bottom: 2px;
        line-height: 1.3;
    }
    
    .step-card p {
        font-size: 12px;
        line-height: 1.3;
        margin: 0;
    }
    
    .steps-cta .btn-large {
        padding: 16px 32px;
        font-size: 16px;
        width: 100%;
    }
    
    .steps-header h2 {
        font-size: 28px;
    }
}

/* ================================
   FEATURES SECTION
   ================================ */
.features {
    padding: 100px 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-number {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(44, 100, 237, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.feature-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.feature-text p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.7;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 36px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(44, 100, 237, 0.15);
    font-weight: 600;
    color: var(--secondary-color);
    border: 2px solid rgba(44, 100, 237, 0.3);
    transition: var(--transition);
}

.feature-card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(44, 100, 237, 0.2);
}

.check-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* ================================
   STATS SECTION
   ================================ */
.stats {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.stat-card:hover::before {
    opacity: 1;
}

.stats .stat-icon {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.stats .stat-icon i {
    background: linear-gradient(135deg, rgba(44, 100, 237, 0.1), rgba(44, 100, 237, 0.05));
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.stat-number {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

/* ================================
   SERVICES SECTION
   ================================ */
.services {
    padding: 100px 0;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.service-tab {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.service-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(44, 100, 237, 0.03);
}

.service-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 20px rgba(44, 100, 237, 0.3);
}

.services-content {
    position: relative;
}

.service-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-panel.active {
    display: grid;
}

.service-panel.centered {
    display: flex;
    justify-content: center;
}

.service-info.centered {
    max-width: 600px;
    text-align: center;
}

.service-info.centered .service-features {
    text-align: left;
}

.service-info.centered .btn {
    margin-top: 16px;
}

.service-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--secondary-color);
}

.service-features {
    margin-bottom: 32px;
}

.service-features li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.service-features .feature-icon {
    font-size: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(44, 100, 237, 0.1), rgba(44, 100, 237, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-features strong {
    display: block;
    font-size: 17px;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.service-features p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Phone Demo */
.phone-demo {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(44, 100, 237, 0.2);
    padding: 28px;
    max-width: 360px;
    margin: 0 auto;
    border: 1px solid rgba(44, 100, 237, 0.1);
}

.demo-header {
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.demo-current {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.demo-current > span {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.current-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
}

.demo-offer {
    background: linear-gradient(135deg, #EEF2FF, #DBEAFE);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-color);
}

.offer-provider {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.offer-savings {
    margin-bottom: 16px;
}

.savings-amount {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.savings-label {
    font-size: 13px;
    color: var(--text-light);
}

.demo-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(44, 100, 237, 0.35);
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 100, 237, 0.45);
}

/* ================================
   STORIES SECTION
   ================================ */
.stories-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #2C64ED 100%);
    position: relative;
    overflow: hidden;
}

.stories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stories-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.stories-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.stories-header p {
    font-size: 18px;
    color: white;
}

.stories-container {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.stories-container::-webkit-scrollbar {
    height: 8px;
}

.stories-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.stories-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.stories-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.stories-grid {
    display: flex;
    gap: 24px;
    position: relative;
    padding: 10px 0;
}

.stories-scrollable {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.stories-scrollable .story-card {
    flex: 0 0 auto;
    width: 380px;
    min-width: 380px;
    scroll-snap-align: start;
}

.story-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.story-card:hover::before {
    left: 100%;
}

.story-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.story-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.story-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.story-card-blue .story-icon {
    background: rgba(251, 191, 36, 0.9);
}

.story-card-green .story-icon {
    background: rgba(251, 191, 36, 0.9);
}

.story-card-orange .story-icon {
    background: rgba(251, 146, 60, 0.9);
}

.story-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.story-location {
    margin-left: auto;
    font-size: 12px;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.story-location i {
    font-size: 10px;
    color: white;
}

.story-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.4;
}

.story-card p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.story-card p strong {
    color: white;
    font-weight: 600;
}

.story-card-green .story-icon {
    background: rgba(34, 197, 94, 0.9);
}

.story-card-orange .story-icon {
    background: rgba(251, 146, 60, 0.9);
}

@media (max-width: 1024px) {
    .stories-scrollable .story-card {
        width: 340px;
        min-width: 340px;
    }
}

@media (max-width: 768px) {
    .stories-section {
        padding: 60px 0;
    }
    
    .stories-header h2 {
        font-size: 28px;
    }
    
    .stories-header p {
        font-size: 16px;
    }
    
    .stories-scrollable .story-card {
        width: 300px;
        min-width: 300px;
        padding: 24px;
    }
    
    .story-card h3 {
        font-size: 18px;
    }
    
    .story-card p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .stories-scrollable .story-card {
        width: 280px;
        min-width: 280px;
        padding: 20px;
    }
    
    .story-card h3 {
        font-size: 16px;
    }
    
    .story-card p {
        font-size: 14px;
    }
}

/* Stile Trustpilot per recensioni */
.stories-container-trustpilot {
    position: relative;
    z-index: 1;
    width: 100%;
}

.stories-grid-trustpilot {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.review-card-trustpilot {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.review-card-trustpilot:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.review-stars {
    color: #26BC69;
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-header-trustpilot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.review-badge-small {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f9ff;
    color: #2C64ED;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.review-location-small {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-location-small i {
    font-size: 10px;
}

.review-card-trustpilot h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.3;
}

.review-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
    flex-grow: 1;
}

.review-text strong {
    color: #1e293b;
    font-weight: 600;
}

.review-author {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

/* Nascondi le ultime 2 recensioni su desktop (mostra solo 8) */
@media (min-width: 1201px) {
    .stories-grid-trustpilot .review-card-trustpilot:nth-child(n+9),
    .review-hidden-desktop {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .stories-grid-trustpilot {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stories-grid-trustpilot {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .review-card-trustpilot {
        padding: 16px;
    }
    
    .review-hidden-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .stories-grid-trustpilot {
        grid-template-columns: 1fr;
    }
    
    .review-hidden-mobile {
        display: none !important;
    }
}

/* ================================
   FAQ SECTION
   ================================ */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.faq-header p {
    font-size: 18px;
    color: var(--text-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary-color);
    background: white;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================
   COLLABORA CON NOI SECTION
   ================================ */
.collabora-section {
    padding: 100px 0 !important;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%) !important;
    position: relative;
}

.collabora-header {
    text-align: center;
    margin-bottom: 60px;
}

.collabora-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1A202C !important;
    margin-bottom: 16px;
    line-height: 1.2;
}

.collabora-header p {
    font-size: 18px;
    color: #64748B !important;
    margin: 0;
}

.collabora-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.collabora-card {
    background: white !important;
    border-radius: 20px !important;
    padding: 40px 32px !important;
    box-shadow: 0 4px 12px rgba(44, 100, 237, 0.12) !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
}

.collabora-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2C64ED, #5A8AF2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.collabora-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 10px 30px rgba(44, 100, 237, 0.2) !important;
    border-color: #2C64ED !important;
}

.collabora-card:hover::before {
    transform: scaleX(1);
}

.collabora-icon {
    width: 80px !important;
    height: 80px !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #2C64ED 0%, #5A8AF2 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 24px !important;
    color: white !important;
    font-size: 36px !important;
    box-shadow: 0 8px 24px rgba(44, 100, 237, 0.3) !important;
    position: relative;
}

.collabora-icon.manager {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%) !important;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3) !important;
}

.collabora-icon.influencer {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%) !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3) !important;
}

.collabora-card h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1A202C !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
}

.collabora-card p {
    font-size: 15px !important;
    color: #64748B !important;
    line-height: 1.7 !important;
    margin-bottom: 24px !important;
    flex-grow: 1;
}

.collabora-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #2C64ED !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
    padding: 12px 24px;
    border-radius: 8px;
    background: rgba(44, 100, 237, 0.05);
}

.collabora-link:hover {
    gap: 12px !important;
    color: #1E4FD0 !important;
    background: rgba(44, 100, 237, 0.1);
}

.collabora-link i {
    transition: transform 0.3s ease !important;
}

.collabora-link:hover i {
    transform: translateX(4px) !important;
}

@media (max-width: 1024px) {
    .collabora-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .collabora-section {
        padding: 60px 0;
    }
    
    .collabora-header {
        margin-bottom: 40px;
    }
    
    .collabora-header h2 {
        font-size: 32px;
    }
    
    .collabora-header p {
        font-size: 16px;
    }
    
    .collabora-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .collabora-card {
        padding: 32px 24px;
    }
    
    .collabora-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .collabora-card h3 {
        font-size: 20px;
    }
    
    .collabora-card p {
        font-size: 14px;
    }
}

/* ================================
   CTA SECTION
   ================================ */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #2C64ED 0%, #1E4FD0 50%, #1a3fa0 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(25deg);
    animation: shine 6s infinite;
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(255,255,255,0.08) 0%, transparent 40%);
    animation: pulse-bg 4s ease-in-out infinite alternate;
}

@keyframes pulse-bg {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}

.cta-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.cta-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-bubble 15s infinite ease-in-out;
}

.cta-bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    bottom: -80px;
    animation-delay: 0s;
    animation-duration: 12s;
}

.cta-bubble:nth-child(2) {
    width: 120px;
    height: 120px;
    left: 30%;
    bottom: -120px;
    animation-delay: 2s;
    animation-duration: 14s;
}

.cta-bubble:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 50%;
    bottom: -60px;
    animation-delay: 4s;
    animation-duration: 10s;
}

.cta-bubble:nth-child(4) {
    width: 100px;
    height: 100px;
    left: 70%;
    bottom: -100px;
    animation-delay: 1s;
    animation-duration: 16s;
}

.cta-bubble:nth-child(5) {
    width: 50px;
    height: 50px;
    left: 85%;
    bottom: -50px;
    animation-delay: 3s;
    animation-duration: 11s;
}

@keyframes float-bubble {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes shine {
    0%, 100% { left: -25%; }
    50% { left: 125%; }
}

.cta-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    line-height: 1.6;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 45px;
    width: auto;
    border-radius: 10px;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

.footer-legal a:hover {
    color: white;
}

.footer-disclaimer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .hero-content,
    .feature-row,
    .service-panel {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .hero-text h1 {
        font-size: 40px;
        text-align: center !important;
    }
    
    .hero-title-animated {
        text-align: center !important;
        width: 100%;
    }
    
    .hero-text {
        text-align: center !important;
    }
    
    .hero-description,
    .hero-text .hero-description {
        text-align: left !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-buttons {
        display: flex;
        gap: 6px;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Bottoni nav su mobile */
    .btn-nav-mobile {
        padding: 8px 10px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        white-space: nowrap;
        border-radius: 8px;
        height: 34px;
        box-sizing: border-box;
    }
    
    .btn-nav-mobile .btn-text-desktop {
        display: none;
    }
    
    .btn-nav-mobile i {
        font-size: 12px;
    }
    
    .btn-nav-mobile span {
        font-size: 11px;
    }
    
    .btn-outline-nav.btn-nav-mobile {
        border-width: 1.5px;
    }
    
    .header-logged-in .header-user-name-desktop {
        display: none;
    }
    
    .header-logged-in .header-user-name-mobile {
        display: block;
        font-size: 12px;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .header-logged-in .user-greeting {
        gap: 5px;
    }
    
    .header-logged-in .nav-buttons {
        gap: 4px;
    }
    
    .header-logged-in .header-avatar-wrapper {
        width: 28px;
        height: 28px;
    }
    
    .header-logged-in .header-avatar-placeholder {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .header-logged-in .btn-logout {
        display: none !important;
    }
    
    .btn-logout {
        display: none !important;
    }
    
    .hero {
        padding: 20px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 32px;
        text-align: center !important;
    }
    
    .hero-title-animated {
        text-align: center !important;
        width: 100%;
    }
    
    .hero-text {
        text-align: center !important;
    }
    
    .hero-description {
        font-size: 16px;
        text-align: center !important;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-trust {
        justify-content: center;
        width: 100%;
        font-size: 18px !important;
    }
    
    .trust-stars {
        font-size: 22px !important;
    }
    
    .phone-mockup {
        width: 260px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-text h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .marquee-track {
        gap: 24px;
        animation-duration: 20s;
    }
    
    .partner-logo {
        padding: 14px 18px;
    }
    
    .partner-logo img {
        height: 80px;
        max-width: 220px;
    }
    
    .partners-marquee::before,
    .partners-marquee::after {
        width: 50px;
    }
    
    .services-tabs {
        gap: 8px;
    }
    
    .service-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Hero Card Mobile */
    .hero-visual {
        height: auto;
        margin-top: 40px;
    }
    
    .hero-scene {
        padding: 20px 0;
    }
    
    .hero-card {
        width: 300px;
        padding: 28px;
        border-radius: 24px;
    }
    
    .hero-badge {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .hero-currency {
        font-size: 28px;
        margin-top: 10px;
    }
    
    .hero-number {
        font-size: 70px;
        letter-spacing: -3px;
    }
    
    .hero-period {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .hero-breakdown {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-item {
        padding: 12px 14px;
    }
    
    .hero-item-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .hero-item-text strong {
        font-size: 16px;
    }
    
    .hero-stat {
        display: none;
    }
}

/* ================================
   FORM STYLES (for other pages)
   ================================ */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 100, 237, 0.1);
}

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

/* ================================
   PAGE SPECIFIC STYLES
   ================================ */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-light);
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
}

/* Card Styles */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 32px;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

/* Alert Styles */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.alert-info {
    background: #E3F2FD;
    color: #1565C0;
    border: 1px solid #90CAF9;
}

/* ================================
   UTILITY CLASSES - Mobile/Desktop visibility
   ================================ */

/* Hide on mobile (< 768px) */
.hide-mobile {
    display: inline !important;
}

.show-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: inline !important;
    }
}

/* Rimuovi ombra dai bottoni nella navbar */
.nav-buttons .btn-primary,
.btn-nav-mobile.btn-primary {
    box-shadow: none;
}

.nav-buttons .btn-primary:hover,
.btn-nav-mobile.btn-primary:hover {
    box-shadow: none;
}
