/* =====================================================
   GETWEEK - HEADER, FOOTER & BOTTOM NAV STYLES
   Version: 2.0.0 - Modern App-Like Design
   Basato su auth.css color palette
   ===================================================== */

:root {
    /* Colors from auth.css */
    --tc-bg-primary: #0A0A0A;
    --tc-bg-secondary: #1A1A1A;
    --tc-bg-tertiary: #2A2A2A;
    --tc-text-primary: #FFFFFF;
    --tc-text-secondary: #CCCCCC;
    --tc-accent: #E67E22;
    --tc-accent-hover: #D35400;
    --tc-accent-glow: rgba(230, 126, 34, 0.6);
    --tc-border: rgba(255, 255, 255, 0.1);
    --tc-shadow: rgba(0, 0, 0, 0.5);
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --header-height: 70px;
    --bottom-nav-height: 72px;
    --max-width: 1400px;
    
    /* Z-index */
  --z-header: 1000;
    --z-bottom-nav: 9998;     /* ← DA 999 A 9998 */
    --z-dropdown: 9999;       /* ← DA 1001 A 9999 */

    
}

/* =====================================================
   ANIMATED BACKGROUND
   ===================================================== */

.app-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: var(--tc-bg-primary);
    overflow: hidden;
    pointer-events: none;
}

.gradient-orbs {
    position: relative;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: float 25s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #F39C12, var(--tc-accent));
    bottom: -15%;
    right: -10%;
    animation-delay: -12s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--tc-accent), #F39C12);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
    opacity: 0.15;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    33% {
        transform: translate(40px, -40px) scale(1.15);
    }
    66% {
        transform: translate(-40px, 40px) scale(0.85);
    }
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="0.05"/%3E%3C/svg%3E');
    opacity: 0.5;
    mix-blend-mode: overlay;
}

/* =====================================================
   TOP HEADER
   ===================================================== */

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--tc-border);
    z-index: var(--z-header);
    transition: transform var(--transition), box-shadow var(--transition);
}

.top-header.scroll-down {
    transform: translateY(-100%);
}

.top-header.scroll-up {
    box-shadow: 0 10px 40px var(--tc-shadow);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    gap: 2rem;
}

/* Brand */
.header-brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--tc-text-primary);
}

.brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition);
}

.brand-link:hover .brand-logo {
    transform: scale(1.05);
}

/* Desktop Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 12px;
    color: var(--tc-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition);
    position: relative;
}

.nav-link svg {
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--tc-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover svg {
    stroke: var(--tc-accent);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--tc-accent);
    background: rgba(230, 126, 34, 0.1);
}

.nav-link.active svg {
    stroke: var(--tc-accent);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

.btn-header svg {
    transition: transform var(--transition);
}

.btn-header:hover svg {
    transform: translateY(-2px);
}

.btn-header.btn-primary {
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    color: white;
    box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
}

.btn-header.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(230, 126, 34, 0.5);
    transform: translateY(-2px);
}

.btn-header.btn-ghost {
    background: transparent;
    color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border);
}

.btn-header.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--tc-text-primary);
    border-color: var(--tc-accent);
}

.btn-header.btn-scanner {
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    color: white;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.4);
}

.btn-header.btn-scanner:hover {
    box-shadow: 0 6px 28px rgba(230, 126, 34, 0.6);
    transform: translateY(-3px) scale(1.02);
}

.btn-header.btn-icon {
    padding: 0.625rem;
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #E74C3C;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Profile Dropdown */
.profile-dropdown-wrapper {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0.625rem;
    background: transparent;
    border: 1px solid var(--tc-border);
    border-radius: 12px;
    color: var(--tc-text-primary);
    cursor: pointer;
    transition: all var(--transition);
}

.profile-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--tc-accent);
}

.profile-trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--tc-accent);
}

.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.profile-name {
    font-weight: 500;
    font-size: 0.9375rem;
}

/* Dropdown Menu */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 280px;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--tc-border);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    z-index: var(--z-dropdown);
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    flex-shrink: 0;
}

.user-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tc-text-primary);
    margin: 0 0 0.25rem 0;
}

.user-info p {
    font-size: 0.8125rem;
    color: var(--tc-text-secondary);
    margin: 0 0 0.5rem 0;
}

.user-role-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: rgba(230, 126, 34, 0.15);
    color: var(--tc-accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    text-transform: capitalize;
}

.dropdown-divider {
    height: 1px;
    background: var(--tc-border);
    margin: 0;
}

.dropdown-menu {
    padding: 0.5rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--tc-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--tc-text-primary);
}

.dropdown-item:hover svg {
    stroke: var(--tc-accent);
    transform: translateX(3px);
}

.dropdown-item svg {
    transition: all var(--transition);
}

.dropdown-item-danger {
    color: #E74C3C;
}

.dropdown-item-danger:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #E74C3C;
}

.dropdown-item-danger:hover svg {
    stroke: #E74C3C;
}

/* =====================================================
   MOBILE BOTTOM NAVIGATION
   ===================================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--tc-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
    z-index: var(--z-bottom-nav);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.625rem 0.75rem;
    min-width: 64px;
    color: var(--tc-text-secondary);
    text-decoration: none;
    font-size: 0.6875rem;
    font-weight: 600;
    transition: all var(--transition);
    position: relative;
}

.nav-item svg {
    transition: all var(--transition);
}

.nav-item span {
    transition: all var(--transition);
}

.nav-item:hover {
    color: var(--tc-text-primary);
}

.nav-item:hover svg {
    transform: translateY(-3px);
}

.nav-item.active {
    color: var(--tc-accent);
}

.nav-item.active svg {
    stroke: var(--tc-accent);
    transform: translateY(-4px);
}

/* Center Button (Scanner/Ticket) */
.nav-item-center {
    position: relative;
}

.center-button {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.5);
    transition: all var(--transition);
}

.center-button svg {
    stroke: white;
}

.nav-item-center:hover .center-button {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(230, 126, 34, 0.7);
}

.nav-item-center.active .center-button {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 36px rgba(230, 126, 34, 0.8);
}

.nav-item-center span {
    color: var(--tc-accent);
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Avatar Nav */
.avatar-nav {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: transform var(--transition);
}

.nav-item:hover .avatar-nav {
    transform: scale(1.1) translateY(-3px);
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */

.app-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
     padding-top: 0; /* Per la homepage */
    padding-bottom: calc(var(--bottom-nav-height) + 2rem);  
}

@media (min-width: 768px) {
    .app-main {
        padding-bottom: 2rem;
    }
}

/* =====================================================
   FOOTER
   ===================================================== */

.app-footer {
    position: relative;
    z-index: 1;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--tc-border);
    margin-bottom: var(--bottom-nav-height);
}

@media (min-width: 768px) {
    .app-footer {
        margin-bottom: 0;
    }
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand-col {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .footer-brand-col {
        grid-column: span 2;
    }
}

.footer-logo {
    height: auto;
    width: 35%;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--tc-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--tc-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-text-secondary);
    text-decoration: none;
    transition: all var(--transition);
}

.social-link:hover {
    background: rgba(230, 126, 34, 0.1);
    border-color: var(--tc-accent);
    color: var(--tc-accent);
    transform: translateY(-3px);
}

.social-link svg {
    transition: transform var(--transition);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--tc-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--tc-accent);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--tc-border);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copyright p,
.footer-credits p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--tc-text-secondary);
}

.footer-credits a {
    color: var(--tc-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.footer-credits a:hover {
    color: var(--tc-accent-hover);
    text-decoration: underline;
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */

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

@media (min-width: 768px) {
    .desktop-only {
        display: flex !important;
    }
}

.mobile-only {
    display: flex !important;
}

@media (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
   ===================================================== */

@media (max-width: 767px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .btn-header span {
        display: none;
    }
    
    .btn-header {
        padding: 0.625rem;
    }
    
    .profile-name,
    .nav-link span {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-container {
        padding: 2rem 1rem 1.5rem;
    }
    
    .brand-logo {
        height: 38px;
    }
}

/* =====================================================
   GETWEEK - HOMEPAGE STYLES
   Modern App-Like Design with Glassmorphism & AOS
   Version: 2.0.0
   ===================================================== */

/* =====================================================
   HERO SECTION - Full Screen
   ===================================================== */

.hero-home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: calc(var(--header-height) * -1);  /* Compensa l'header */
padding-top: calc(var(--header-height) + 2rem); /* Solo 70px + 32px */
padding: 2rem 1.5rem 4rem; /* Resto normale */
    overflow: hidden;
}

.hero-home-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-home-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(230, 126, 34, 0.15);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 50px;
    color: var(--tc-accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-badge svg {
    fill: var(--tc-accent);
}

/* Hero Title */
.hero-home-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--tc-text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text-animated {
    display: inline-block;
    background: linear-gradient(135deg, #E67E22, #F39C12, #E67E22);
    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%;
    }
}

/* Hero Subtitle */
.hero-home-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--tc-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Actions */
.hero-home-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-hero:hover::before {
    opacity: 1;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    color: white;
    box-shadow: 0 8px 32px rgba(230, 126, 34, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(230, 126, 34, 0.6);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--tc-text-primary);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--tc-accent);
    transform: translateY(-3px);
}

/* Hero Trust Badges */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--tc-text-secondary);
    font-size: 0.875rem;
}

.trust-item svg {
    color: var(--tc-accent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--tc-text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.scroll-indicator:hover {
    color: var(--tc-accent);
    transform: translateX(-50%) translateY(5px);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--tc-border);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--tc-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }
}

/* =====================================================
   SECTIONS - Common Styles
   ===================================================== */

.section-eventi-home,
.section-features-home,
.section-how-it-works,
.section-cta-home {
    position: relative;
    padding: 6rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Header */
.section-header-home {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle-top {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 50px;
    color: var(--tc-accent);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title-home {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--tc-text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--tc-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =====================================================
   EVENTI GRID - Glassmorphism Cards
   ===================================================== */

.eventi-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.evento-card-home {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.evento-card-home:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 126, 34, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.evento-card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(211, 84, 0, 0.1));
    overflow: hidden;
}

.evento-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.evento-card-home:hover .evento-card-image img {
    transform: scale(1.1);
}

.evento-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-accent);
    opacity: 0.5;
}

.evento-card-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.evento-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-success {
    background: rgba(39, 174, 96, 0.2);
    border: 1px solid rgba(39, 174, 96, 0.4);
    color: #27AE60;
}

.badge-danger {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #E74C3C;
}

.evento-card-content {
    padding: 1.5rem;
}

.evento-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.evento-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--tc-text-secondary);
}

.meta-item svg {
    color: var(--tc-accent);
    flex-shrink: 0;
}

.evento-card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--tc-text-secondary);
    margin-bottom: 1.5rem;
}

.evento-card-location svg {
    color: var(--tc-accent);
    flex-shrink: 0;
}

.btn-evento-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-evento-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.4);
}

.btn-evento-card svg {
    transition: transform 0.3s;
}

.btn-evento-card:hover svg {
    transform: translateX(5px);
}

/* View All Button */
.text-center-home {
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(230, 126, 34, 0.3);
    color: var(--tc-accent);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-view-all:hover {
    background: rgba(230, 126, 34, 0.1);
    border-color: var(--tc-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.3);
}

.btn-view-all svg {
    transition: transform 0.3s;
}

.btn-view-all:hover svg {
    transform: translateX(5px);
}

/* Empty State */
.empty-state-home {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    margin-bottom: 1.5rem;
    color: var(--tc-text-secondary);
    opacity: 0.5;
}

.empty-state-home h3 {
    font-size: 1.5rem;
    color: var(--tc-text-primary);
    margin-bottom: 0.75rem;
}

.empty-state-home p {
    color: var(--tc-text-secondary);
    font-size: 1rem;
}

/* =====================================================
   FEATURES GRID
   ===================================================== */

.features-grid-home {
    display: grid;
grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card-home {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-home:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 126, 34, 0.3);
    background: rgba(26, 26, 26, 0.6);
}

.feature-icon-home {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.15), rgba(211, 84, 0, 0.15));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-accent);
    transition: all 0.4s;
}

.feature-card-home:hover .feature-icon-home {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.25), rgba(211, 84, 0, 0.25));
    transform: scale(1.1) rotate(5deg);
}

.feature-card-home h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-bottom: 0.75rem;
}

.feature-card-home p {
    color: var(--tc-text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* =====================================================
   HOW IT WORKS - Steps
   ===================================================== */

.steps-container-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step-home {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.step-number-home {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.4);
}

.step-content-home {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s;
}

.step-home:hover .step-content-home {
    border-color: rgba(230, 126, 34, 0.3);
    transform: translateY(-8px);
}

.step-icon-home {
    margin-bottom: 1.5rem;
    color: var(--tc-accent);
}

.step-content-home h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-bottom: 0.75rem;
}

.step-content-home p {
    color: var(--tc-text-secondary);
    line-height: 1.6;
}

.step-connector-home {
    flex-shrink: 0;
    padding: 0 1rem;
}

.step-connector-home svg {
    display: block;
}

/* =====================================================
   CTA SECTION - Final Call to Action
   ===================================================== */

.section-cta-home {
    padding: 8rem 0;
}

.cta-home-card {
    position: relative;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 32px;
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
}

.cta-home-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.2), transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.cta-home-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-home-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--tc-text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-home-content p {
    font-size: 1.125rem;
    color: var(--tc-text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-home-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-hover));
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 12px 40px rgba(230, 126, 34, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 50px rgba(230, 126, 34, 0.7);
}

.btn-cta-primary svg {
    transition: transform 0.3s;
}

.btn-cta-primary:hover svg {
    transform: translateX(5px);
}

.cta-note {
    font-size: 0.875rem;
    color: var(--tc-text-secondary);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .steps-container-home {
        flex-direction: column;
    }
    
    .step-connector-home {
        transform: rotate(90deg);
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .hero-home {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }
    
    .hero-home-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .eventi-grid-home {
        grid-template-columns: 1fr;
    }
    
    .features-grid-home {
        grid-template-columns: 1fr;
    }
    
    .section-eventi-home,
    .section-features-home,
    .section-how-it-works,
    .section-cta-home {
        padding: 4rem 0;
    }
    
    .section-cta-home {
        padding: 5rem 0;
    }
    
    .cta-home-card {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        display: none;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-hero {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
} 