/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f8fafc;
    min-height: 100vh;
    padding-top: 80px;
    overflow-x: hidden;
}

/* Design System - Balanced Orange Palette */
:root {
    --primary-yellow: #ffd700;
    --secondary-yellow: #ffed4e;
    --accent-blue: #00b4d8;
    --dark-blue: #0077b6;
    --light-yellow: #fff59d;
    --blue-gradient: #0096c7;
    --gradient-primary: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    --gradient-secondary: linear-gradient(135deg, #ffed4e 0%, #00b4d8 100%);
    --gradient-accent: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-gray: #f1f5f9;
    --border-light: #e2e8f0;
    --border-orange: #ffe0d1;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-orange: 0 4px 6px -1px rgba(255, 107, 53, 0.2);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.4);
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes haloEffect {
    0% { 
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 237, 78, 0.1) 25%, rgba(0, 180, 216, 0.05) 50%, rgba(0, 119, 182, 0.05) 75%, rgba(255, 215, 0, 0.1) 100%);
    }
    50% { 
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 237, 78, 0.15) 25%, rgba(0, 180, 216, 0.08) 50%, rgba(0, 119, 182, 0.08) 75%, rgba(255, 215, 0, 0.15) 100%);
    }
    100% { 
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 237, 78, 0.1) 25%, rgba(0, 180, 216, 0.05) 50%, rgba(0, 119, 182, 0.05) 75%, rgba(255, 215, 0, 0.1) 100%);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

@keyframes slideInUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--primary-orange); }
    50% { box-shadow: 0 0 20px var(--primary-orange), 0 0 30px var(--primary-orange); }
    100% { box-shadow: 0 0 5px var(--primary-orange); }
}

/* Header - Modern Design */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-dark);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    animation: slideInUp 0.8s ease;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Modern Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2150B0 0%, #1a3d8f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(33, 80, 176, 0.3);
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    box-shadow: 0 6px 20px rgba(33, 80, 176, 0.4);
    transform: rotate(-5deg);
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1a202c;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.7rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 2rem;
}

/* Desktop navigation */
@media (min-width: 769px) {
    .nav {
        display: flex;
        position: static;
        background: none;
        box-shadow: none;
        height: auto;
        width: auto;
        flex-direction: row;
        gap: 2rem;
    }
    
    .nav-list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 2rem;
    }
    
    .nav-list li {
        margin: 0;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2150B0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(33, 80, 176, 0.1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo-text {
        font-size: 0.95rem;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .logo-img {
        width: 28px;
        height: 28px;
    }
    
    .nav {
        display: block;
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav.open {
        max-height: 250px;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 20px;
    }
}

/* Modern Nav Links */
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #2150B0;
    background: rgba(33, 80, 176, 0.08);
    transform: translateY(-2px);
}

.nav-link:hover i {
    transform: scale(1.1);
}

/* Primary CTA Link */
.nav-link-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a3d8f;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav-link-primary:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    color: #1a3d8f;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.nav-link-primary i {
    color: #1a3d8f;
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 25%, var(--accent-blue) 50%, var(--secondary-yellow) 75%, var(--primary-yellow) 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 450px;
    display: flex;
    align-items: center;
}

/* Guide pages hero - reduced height */
.guide-hero {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 25%, var(--accent-blue) 50%, var(--secondary-yellow) 75%, var(--primary-yellow) 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* Guide pages form styling */
.guide-form-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Guide pages general styling */
.guide-page .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Remove container padding for full-width sections */
.guide-page .download-section .container,
.guide-page .form-section .container {
    max-width: 100%;
    padding: 0 2rem;
    margin: 0;
}

.guide-page .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Download section full width */
.guide-page .download-section {
    width: 100%;
    margin: 0;
    padding: 3rem 0;
}

/* Form section full width */
.guide-page .form-section {
    width: 100%;
    margin: 0;
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .guide-page .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .guide-page .container {
        padding: 0 1rem;
    }
}

.guide-form-container .form-container.liquidGlass-wrapper {
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.guide-page .form-section .guide-form-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.guide-form-container .form-content.liquidGlass-text {
    padding: 1.5rem;
}

/* Mobile form styling for guide pages */
@media (max-width: 767px) {
    .guide-form-container .form-content.liquidGlass-text {
        padding: 1rem;
    }
    
    .guide-form-container .form-title {
        font-size: 1.2rem;
    }
    
    .guide-form-container .form-subtitle {
        font-size: 0.9rem;
    }
    
    .guide-form-container .form-label {
        font-size: 0.9rem;
    }
    
    .guide-form-container .form-input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .guide-form-container .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .guide-form-container {
        max-width: 1200px;
        padding: 0 2rem;
    }
    
    .guide-form-container .form-content.liquidGlass-text {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
    
    .guide-form-container .form-header {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .guide-form-container .form-fields {
        grid-column: 1;
    }
    
    .guide-form-container .form-submit {
        grid-column: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.hero svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero svg g {
    mix-blend-mode: lighten;
}

.hero svg polygon {
    stroke: none;
    fill: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: slideInUp 1s ease 0.3s both;
    color: white;
    text-shadow: 
        -1px -1px 0 #000,
        3px -1px 0 #000,
        -1px 3px 0 #000,
        3px 3px 0 #000,
        0 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero .highlight-word {
    color: white;
    text-shadow: 
        -2px -2px 0 #00b4d8,
        4px -2px 0 #00b4d8,
        -2px 4px 0 #00b4d8,
        4px 4px 0 #00b4d8,
        0 6px 12px rgba(0, 180, 216, 0.6);
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: slideInUp 1s ease 0.6s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 500;
    line-height: 1.4;
}

.hero p .highlight-word {
    color: white;
    text-shadow: 
        -1px -1px 0 #000,
        2px -1px 0 #000,
        -1px 2px 0 #000,
        2px 2px 0 #000,
        0 3px 6px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    animation: slideInUp 1s ease 1.2s both;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.scroll-arrow i {
    font-size: 1.5rem;
    color: white;
    animation: bounceArrow 2s infinite;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-1px);
    }
}

/* Hero Decorative Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 0;
}

/* Mobile adjustments for hero */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 400px;
        padding: 2rem 0;
    }
    
    .scroll-indicator {
        margin-top: 2rem;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
    }
    
    .scroll-arrow i {
        font-size: 1.2rem;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
}

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

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.8s ease both;
    position: relative;
    overflow: hidden;
}

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

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

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

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }

.card-header {
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Category Cards - Advanced Animation with Liquid Glass */
.category-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 1rem;
    width: 100%;
    height: 350px;
    text-align: center;
    color: white;
    background-color: var(--bg-white);
    box-shadow: 0 1px 1px rgba(0,0,0,0.1), 
        0 2px 2px rgba(0,0,0,0.1), 
        0 4px 4px rgba(0,0,0,0.1), 
        0 8px 8px rgba(0,0,0,0.1),
        0 16px 16px rgba(0,0,0,0.1);
    border-radius: 12px;
    cursor: pointer;
    animation: slideInUp 0.8s ease both;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.category-card:active {
    transform: scale(0.98);
}

/* Enhanced Category Cards with Glass Effect */
.category-card.liquidGlass-wrapper {
    background: transparent;
    border-radius: 16px;
    padding: 0.3rem;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card.liquidGlass-wrapper:hover {
    padding: 0.5rem;
    border-radius: 2rem;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(255, 215, 0, 0.2);
}

.category-card.liquidGlass-wrapper .liquidGlass-text {
    font-size: inherit;
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    position: relative;
    z-index: 10;
    border-radius: 12px;
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.05);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Glass effect layers with proper z-index */
.category-card.liquidGlass-wrapper .liquidGlass-effect {
    z-index: 3;
    backdrop-filter: blur(1px);
}

.category-card.liquidGlass-wrapper .liquidGlass-tint {
    z-index: 2;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(0.5px);
}

.category-card.liquidGlass-wrapper .liquidGlass-shine {
    z-index: 5;
    box-shadow: 
        inset 1px 1px 2px rgba(255, 255, 255, 0.1),
        inset -1px -1px 2px rgba(0, 0, 0, 0.02);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: center;
    transition: transform 1050ms cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    z-index: 1;
}

.category-card::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    pointer-events: none;
    background-image: linear-gradient(
        to bottom,
        hsla(0, 0%, 0%, 0) 0%,
        hsla(0, 0%, 0%, 0.009) 11.7%,
        hsla(0, 0%, 0%, 0.034) 22.1%,
        hsla(0, 0%, 0%, 0.072) 31.2%,
        hsla(0, 0%, 0%, 0.123) 39.4%,
        hsla(0, 0%, 0%, 0.182) 46.6%,
        hsla(0, 0%, 0%, 0.249) 53.1%,
        hsla(0, 0%, 0%, 0.320) 58.9%,
        hsla(0, 0%, 0%, 0.394) 64.3%,
        hsla(0, 0%, 0%, 0.468) 69.3%,
        hsla(0, 0%, 0%, 0.540) 74.1%,
        hsla(0, 0%, 0%, 0.607) 78.8%,
        hsla(0, 0%, 0%, 0.668) 83.6%,
        hsla(0, 0%, 0%, 0.721) 88.7%,
        hsla(0, 0%, 0%, 0.762) 94.1%,
        hsla(0, 0%, 0%, 0.790) 100%
    );
    transform: translateY(-50%);
    transition: transform 1400ms cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
}

/* Enhanced background graphics for each category */
.category-card[data-category="abbigliamento"]::before {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #00b4d8 100%);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.35) 2.5px, transparent 2.5px),
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
    background-size: 60px 60px, 40px 40px, 50px 50px, 20px 20px;
    z-index: 2;
}

.category-card[data-category="acqua"]::before {
    background: linear-gradient(135deg, #00b4d8 0%, #0096c7 50%, #0077b6 100%);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.5) 4px, transparent 4px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        linear-gradient(30deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
    background-size: 70px 70px, 50px 50px, 30px 30px, 25px 25px;
    z-index: 2;
}


.category-card[data-category="finanza"]::before {
    background: linear-gradient(135deg, #ffd700 0%, #fff59d 50%, #00b4d8 100%);
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.25) 1.5px, transparent 1.5px),
        linear-gradient(60deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
    background-size: 60px 60px, 35px 35px, 45px 45px, 30px 30px;
    z-index: 2;
}

.category-card[data-category="salute"]::before {
    background: linear-gradient(135deg, #00b4d8 0%, #0096c7 50%, #0077b6 100%);
    background-image: 
        linear-gradient(0deg, rgba(255, 255, 255, 0.3) 3px, transparent 3px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.25) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 1.5px, transparent 1.5px);
    background-size: 35px 35px, 20px 20px, 50px 50px, 30px 30px;
    z-index: 2;
}

.category-card[data-category="trasporti"]::before {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 50%, #00b4d8 100%);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.25) 2px, transparent 2px),
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
    background-size: 50px 50px, 35px 35px, 20px 20px, 40px 40px;
    z-index: 2;
}

.category-card[data-category="viaggi"]::before {
    background: linear-gradient(135deg, #0096c7 0%, #00b4d8 50%, #ffd700 100%);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.25) 2px, transparent 2px),
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
    background-size: 50px 50px, 35px 35px, 20px 20px, 40px 40px;
    z-index: 2;
}

/* Card Content */
.category-card .content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1rem;
    transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 10;
}

.category-card .content > * + * {
    margin-top: 1rem;
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.category-title {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.2;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.category-description {
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    text-align: center;
    max-width: 90%;
}

.category-card .btn {
    cursor: pointer;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.025rem;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(0, 180, 216, 0.8));
    border: none;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.category-card .btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 1), rgba(0, 180, 216, 1));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

/* Mobile-First Design - Always show titles */
@media (max-width: 767px) {
    .category-card .content {
        justify-content: center;
        padding: 1.5rem 1rem;
    }
    
    .category-card .content > *:not(.category-title) {
        opacity: 1;
        transform: translateY(0);
    }
    
    .category-description {
        display: none; /* Hide description by default on mobile */
    }
    
    .category-card.expanded .category-description {
        display: block;
        animation: slideInUp 0.3s ease;
    }
}

/* Desktop - Always show descriptions */
@media (min-width: 768px) {
    .category-description {
        display: block !important;
    }
}

/* Desktop - Always show preview */
@media (hover: hover) and (min-width: 768px) {
    .category-card .content {
        transform: translateY(0);
        justify-content: center;
    }
    
    .category-card .content > *:not(.category-title) {
        opacity: 1;
        transform: translateY(0);
    }
    
    .category-card:hover,
    .category-card:focus-within {
        align-items: center;
    }
    
    .category-card:hover::before,
    .category-card:focus-within::before {
        transform: translateY(-2%);
    }
    
    .category-card:hover::after,
    .category-card:focus-within::after {
        transform: translateY(-50%);
    }
    
    .category-card:hover .content,
    .category-card:focus-within .content {
        transform: translateY(0);
    }
    
    .category-card:hover .content > *:not(.category-title),
    .category-card:focus-within .content > *:not(.category-title) {
        opacity: 1;
        transform: translateY(0);
    }
    
    .category-card:focus-within::before,
    .category-card:focus-within::after,
    .category-card:focus-within .content,
    .category-card:focus-within .content > *:not(.category-title) {
        transition-duration: 0s;
    }
}

/* Form Styles */
/* Form Section */
.form-section {
    background: linear-gradient(135deg, #1a4a9c 0%, #2150B0 25%, #1a4a9c 50%, #2150B0 75%, #1a4a9c 100%);
    padding: 3rem 0;
    position: relative;
}

.form-container {
    background: #2150B0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin: 2rem 0;
    max-width: 400px;
    margin: 0 auto;
    animation: pulseForm 3s ease-in-out infinite;
}

@keyframes pulseForm {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 215, 0, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 30px 8px rgba(255, 215, 0, 0);
        transform: scale(1.02);
    }
}

/* Desktop Form Layout */
@media (min-width: 1024px) {
    .form-container {
        max-width: 500px;
    }
    
    .contest-form {
        display: block;
    }
    
    .contest-form .form-header {
        text-align: center;
    }
    
    .form-fields {
        grid-column: 1;
    }
    
    .form-submit {
        grid-column: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .form-header {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
    
    .form-fields .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    @media (max-width: 768px) {
        .form-fields .grid {
            grid-template-columns: 1fr;
        }
    }
    
    .form-fields .grid .form-group {
        margin-bottom: 0;
    }
    
    .form-submit {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    
    .form-submit .btn {
        width: 100%;
        max-width: 300px;
    }
}


.form-content.liquidGlass-text {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 1.2rem;
    border: 1px solid var(--border-light);
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
}

/* Contest Form Styling */
.contest-form {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.form-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    text-align: center;
}

/* Contest Form Title */
.contest-form .form-title {
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-family: Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Form Time Notice */
.form-time-notice {
    color: white;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.form-subtitle {
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.form-label.required::after {
    content: " *";
    color: var(--accent-orange);
}

.form-input {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

/* Contest Form Inputs */
.contest-form .form-input {
    background: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 1rem;
    font-family: Arial, sans-serif;
}

.contest-form .form-input::placeholder {
    color: #666;
    font-weight: normal;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Contest Form Button */
.btn-contest {
    background: #FDD835;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-family: Arial, sans-serif;
    margin-bottom: 1.5rem;
    animation: pulseButton 2.5s ease-in-out infinite;
    position: relative;
}

@keyframes pulseButton {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(253, 216, 53, 0.4), 0 0 0 0 rgba(253, 216, 53, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 15px rgba(253, 216, 53, 0.4), 0 0 20px 8px rgba(253, 216, 53, 0);
        transform: scale(1.05);
    }
}

.btn-contest:hover {
    background: #FBC02D;
}

/* Consent Section */
.consent-section {
    margin-bottom: 1rem;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.4rem;
    gap: 8px;
}

.consent-item input[type="checkbox"] {
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #FDD835;
}

.consent-item label {
    color: white;
    font-size: 0.8rem;
    line-height: 1.3;
    font-family: Arial, sans-serif;
    cursor: pointer;
}

.consent-item label strong {
    font-weight: bold;
}

/* Privacy checkbox disabled state */
.consent-item.privacy-disabled {
    /* Rimuovo l'opacità dal container per non influenzare il testo */
}

.consent-item.privacy-disabled input[type="checkbox"] {
    accent-color: #666;
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: auto;
}

.consent-item.privacy-disabled label {
    color: white;
    cursor: pointer;
}

.consent-item.privacy-disabled label strong {
    color: #FDD835;
}

.consent-item.privacy-disabled .regolamento-link {
    pointer-events: auto;
    cursor: pointer;
    color: #FDD835 !important;
    text-decoration: underline;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(253, 216, 53, 0.5);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    background: linear-gradient(45deg, rgba(253, 216, 53, 0.1), rgba(255, 224, 130, 0.1));
    border: 1px solid rgba(253, 216, 53, 0.3);
    animation: pulse-glow 2s infinite;
}

.consent-item.privacy-disabled .regolamento-link:hover {
    color: #FFE082 !important;
    text-shadow: 0 0 12px rgba(253, 216, 53, 0.8);
    transform: scale(1.05);
    background: linear-gradient(45deg, rgba(253, 216, 53, 0.2), rgba(255, 224, 130, 0.2));
    border-color: rgba(253, 216, 53, 0.6);
}

/* Animazione pulsante per indicare che è cliccabile */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(253, 216, 53, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(253, 216, 53, 0.6), 0 0 25px rgba(253, 216, 53, 0.3);
    }
    100% {
        box-shadow: 0 0 5px rgba(253, 216, 53, 0.3);
    }
}

/* Privacy checkbox enabled state */
.consent-item.privacy-enabled {
    opacity: 1;
    pointer-events: auto;
}

.consent-item.privacy-enabled input[type="checkbox"] {
    accent-color: #FDD835;
    opacity: 1;
    cursor: pointer;
}

.consent-item.privacy-enabled label {
    color: white;
    cursor: pointer;
}

.consent-item.privacy-enabled label strong {
    color: #FDD835;
}

/* Privacy tooltip container */
.privacy-tooltip {
    position: relative;
    display: inline-block;
}

/* Mini avviso click per checkbox privacy disabilitata */
.privacy-click-alert {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4444;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    font-weight: 600;
    border: 2px solid #ff6666;
    min-width: 180px;
    text-align: center;
    /* Centra rispetto alla checkbox, non al container completo */
    margin-left: -8px;
}

.privacy-click-alert::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #ff6b6b transparent transparent transparent;
}

.privacy-click-alert.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.consent-item.privacy-disabled .privacy-click-alert {
    position: relative;
}

/* Mobile specific styles for privacy alert */
@media (max-width: 767px) {
    .privacy-click-alert {
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.85rem;
        padding: 12px 16px;
        min-width: 200px;
        background-color: #ff3333;
        border: 3px solid #ff5555;
        box-shadow: 0 6px 16px rgba(255, 51, 51, 0.5);
        font-weight: 700;
        /* Centra meglio su mobile */
        margin-left: -12px;
    }
    
    .privacy-click-alert::after {
        border-width: 6px;
        margin-left: -6px;
    }
    
    /* Assicura che l'avviso sia sempre visibile su mobile */
    .consent-item.privacy-disabled {
        margin-bottom: 80px;
    }
    
    /* Stili specifici per il link su mobile */
    .consent-item.privacy-disabled .regolamento-link {
        padding: 6px 12px;
        font-size: 0.9rem;
        border-radius: 6px;
        border-width: 2px;
        animation: pulse-glow-mobile 1.5s infinite;
        box-shadow: 0 2px 8px rgba(253, 216, 53, 0.4);
    }
    
    /* Animazione più evidente su mobile */
    @keyframes pulse-glow-mobile {
        0% {
            box-shadow: 0 2px 8px rgba(253, 216, 53, 0.4), 0 0 10px rgba(253, 216, 53, 0.3);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 4px 16px rgba(253, 216, 53, 0.7), 0 0 20px rgba(253, 216, 53, 0.5);
            transform: scale(1.02);
        }
        100% {
            box-shadow: 0 2px 8px rgba(253, 216, 53, 0.4), 0 0 10px rgba(253, 216, 53, 0.3);
            transform: scale(1);
        }
    }
}

/* Form Disclaimer */
.form-disclaimer {
    text-align: center;
    margin-top: 1.5rem;
}

.form-disclaimer p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-family: Arial, sans-serif;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.form-input.error {
    border-color: #e53e3e;
}

.form-error {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: white;
    color: #1a202c;
    animation: pulse 2s infinite;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(0, 0, 0, 0.3);
    animation: pulse 3s ease-in-out infinite;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow), 0 0 0 3px rgba(0, 0, 0, 0.4);
    animation: glow 1s ease-in-out infinite;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-glow);
    animation: pulse 1s ease-in-out infinite;
}

.btn-full {
    width: 100%;
}

/* Download Section */
.download-section {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: float 8s ease-in-out infinite;
    opacity: 0.8;
}

.download-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.download-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: slideInUp 1s ease 0.3s both;
}

.download-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    animation: slideInUp 1s ease 0.6s both;
}

.download-btn {
    background: var(--bg-white);
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
    animation: slideInUp 1s ease 0.9s both;
}

.download-btn:hover {
    background: var(--light-orange);
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-glow);
    animation: pulse 1s ease-in-out infinite;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 147, 30, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 165, 0, 0.03) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.benefits::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,107,53,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    animation: float 15s ease-in-out infinite reverse;
    pointer-events: none;
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.benefits-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits .container {
    position: relative;
    z-index: 10;
}

/* Benefit Items with Liquid Glass */
.benefit-item.liquidGlass-wrapper {
    background: transparent;
    border-radius: 16px;
    padding: 0.4rem;
    min-height: 280px;
}

.benefit-item.liquidGlass-wrapper:hover {
    padding: 0.6rem;
    border-radius: 2rem;
}

.benefit-content.liquidGlass-text {
    font-size: inherit;
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(107, 114, 128, 0.3);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.4);
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.benefits-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: slideInUp 1s ease 0.3s both;
}

.benefits-subtitle {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    animation: slideInUp 1s ease 0.6s both;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    animation: slideInUp 0.8s ease both;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    animation: float 4s ease-in-out infinite;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    animation: pulse 1s ease-in-out infinite;
    box-shadow: var(--shadow-glow);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefit-description {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Footer */
/* Footer Styles - Elegant & Modern */
.footer {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    color: white;
    padding: 4rem 0 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2150B0 0%, #FDD835 50%, #2150B0 100%);
}

.footer-main {
    padding-bottom: 3rem;
}

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

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 2.5rem;
    color: #FDD835;
}

.footer-logo h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: white;
    line-height: 1.2;
}

.footer-tagline {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #2150B0;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #FDD835;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #2150B0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: #cbd5e0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact i {
    color: #FDD835;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 2rem 0 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-legal p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #cbd5e0;
}

.footer-small {
    font-size: 0.8rem !important;
    color: #a0aec0 !important;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #cbd5e0;
}

.footer-legal-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.85rem;
}

.footer-legal-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #FDD835;
}

.footer-legal-links span {
    color: #4a5568;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1;
        padding-right: 0;
    }
    
    .footer-logo h3 {
        font-size: 1.1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
    text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
}

/* Hamburger Menu - Classic Style */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        margin: 0;
        border-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex !important;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    
    .hamburger span {
        background: var(--text-dark) !important;
        width: 25px;
        height: 3px;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* Mobile navigation styles */
    .nav-list {
        list-style: none;
        margin: 0;
        padding: 1rem 0;
    }
    
    .nav-list li {
        border-bottom: 1px solid #eee;
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav a {
        display: block;
        padding: 1rem 2rem;
        color: var(--text-dark);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .nav a:hover {
        background: var(--gradient-primary);
        color: white;
        transform: translateX(5px);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1rem;
        max-width: 90%;
    }
    
    /* Fix white stripe on mobile */
    body {
        overflow-x: hidden;
        padding-top: 70px;
    }
    
    .hero {
        margin: 0;
        padding: 2rem 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .form-content.liquidGlass-text {
        padding: 1rem;
    }
    
    .form-title {
        font-size: 1rem;
    }
    
    .form-subtitle {
        font-size: 0.75rem;
    }
    
    .form-label {
        font-size: 0.8rem;
    }
    
    .form-input {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Flat Design Graphics */
.hero-graphic {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.hero-graphic::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, #ff8c42, #ffb366);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.benefits-graphic {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #f7931e, #ffb366);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.section-bg {
    position: relative;
    background: var(--bg-white);
    overflow: hidden;
}

.section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.02) 0%, rgba(0, 180, 216, 0.02) 100%);
    z-index: 0;
}

.section-bg > * {
    position: relative;
    z-index: 1;
}

/* Image containers */
.image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-container:hover .image-overlay {
    transform: translateY(0);
}

/* Decorative elements */
.decorative-circle {
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    border-radius: 50%;
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.decorative-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid var(--primary-orange);
    opacity: 0.1;
    position: absolute;
    animation: float 8s ease-in-out infinite reverse;
}

/* LIQUID GLASS EFFECT */
.liquidGlass-wrapper {
    position: relative;
    display: flex;
    font-weight: 600;
    overflow: hidden;
    color: black;
    cursor: pointer;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.liquidGlass-effect {
    position: absolute;
    z-index: 0;
    inset: 0;
    backdrop-filter: blur(3px);
    filter: url(#glass-distortion);
    overflow: hidden;
    isolation: isolate;
}

.liquidGlass-tint {
    z-index: 1;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
}

.liquidGlass-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
        inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
}

.liquidGlass-text {
    z-index: 3;
    font-size: 2rem;
    color: black;
}

/* Glass distortion filter */
.glass-distortion {
    filter: url(#glass-distortion);
}

/* Mobile Contest Form Styling */
@media (max-width: 767px) {
    .contest-form .form-title {
        font-size: 1.2rem;
    }
    
    .contest-form .consent-item label {
        font-size: 0.75rem;
    }
    
    .contest-form .consent-item {
        margin-bottom: 0.3rem;
    }
    
    .form-container {
        padding: 1.5rem;
        max-width: 95%;
    }
}


/* Regolamento Modal */
.regolamento-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.regolamento-modal.active {
    display: block;
}

.regolamento-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.regolamento-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease;
}

.regolamento-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 10;
}

.regolamento-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.regolamento-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2150B0;
    margin-bottom: 30px;
    text-align: center;
    padding-right: 40px;
}

.regolamento-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2150B0;
    margin-top: 25px;
    margin-bottom: 12px;
}

.regolamento-text p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.regolamento-text ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.regolamento-text ul li {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 8px;
}

.regolamento-date {
    text-align: right;
    font-weight: 600;
    color: #666;
    margin-top: 30px;
    font-style: italic;
}

.regolamento-link {
    color: #FFD700;
    text-decoration: none;
    border-bottom: 2px solid #FFD700;
    transition: all 0.3s ease;
    font-weight: 700;
}

.regolamento-link:hover {
    color: #FFC700;
    border-bottom-color: #FFC700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .regolamento-modal-content {
        padding: 30px 20px;
        width: 95%;
        max-height: 90vh;
    }
    
    .regolamento-modal-title {
        font-size: 1.3rem;
        padding-right: 30px;
    }
    
    .regolamento-text h3 {
    font-size: 1rem;
    }
    
    .regolamento-text p,
    .regolamento-text ul li {
        font-size: 0.9rem;
    }
}

/* FAQ Section */
.faq-section {
    background: #fdfdfd;
    min-height: 100vh;
    padding: 10vh 0 0;
}

.faq-title h2 {
    position: relative;
    margin-bottom: 45px;
    display: inline-block;
    font-weight: 600;
    line-height: 1;
    color: #2150B0;
    font-size: 2.5rem;
}

.faq-title h2::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 60px;
    height: 2px;
    background: #2150B0;
    bottom: -25px;
    margin-left: -30px;
}

.faq {
    background: #FFFFFF;
    box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.faq .card {
    border: none;
    background: none;
    border-bottom: 1px dashed #CEE1F8;
}

.faq .card .card-header {
    padding: 0px;
    border: none;
    background: none;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.faq .card .card-header:hover {
    background: rgba(33, 80, 176, 0.1);
    padding-left: 10px;
}

.faq .card .card-header .faq-title {
    width: 100%;
    text-align: left;
    padding: 0px;
    padding-left: 30px;
    padding-right: 30px;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 1px;
    color: #3B566E;
    text-decoration: none !important;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    padding-top: 20px;
    padding-bottom: 20px;
}

.faq .card .card-header .faq-title .badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 14px;
    float: left;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    text-align: center;
    background: #2150B0;
    color: #fff;
    font-size: 12px;
    margin-right: 20px;
}

.faq .card .card-body {
    padding: 30px;
    padding-left: 35px;
    padding-bottom: 16px;
    font-weight: 400;
    font-size: 16px;
    color: #6F8BA4;
    line-height: 28px;
    letter-spacing: 1px;
    border-top: 1px solid #F3F8FF;
}

.faq .card .card-body p {
    margin-bottom: 14px;
}

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

.faq .collapse.show {
    max-height: 500px;
    transition: max-height 0.3s ease;
}

@media (max-width: 991px) {
    .faq {
        margin-bottom: 30px;
    }
    .faq .card .card-header .faq-title {
        line-height: 26px;
        margin-top: 10px;
    }
}

/* Mobile FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 5rem 0;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .faq-container {
        gap: 1rem;
    }
    
    .faq-content {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .faq-content {
        padding: 1rem;
    }
}

/* ============================================
   CRO OPTIMIZATION ELEMENTS
   ============================================ */

/* Sticky CTA Bar (Mobile) */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2150B0 0%, #1a3d8f 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: none;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .sticky-cta-bar {
        display: block;
    }
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
}

.sticky-cta-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    flex: 1;
}

.sticky-cta-emoji {
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.sticky-cta-button {
    background: #FFD700;
    color: #1a3d8f;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sticky-cta-button:active {
    transform: scale(0.95);
}

.sticky-progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
}

.sticky-progress-fill {
    height: 100%;
    background: #FFD700;
    width: 0%;
    transition: width 0.1s linear;
}

/* Social Proof Banner */
.social-proof-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(33, 80, 176, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-proof-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.social-proof-icon {
    font-size: 32px;
    color: #2150B0;
    min-width: 40px;
    text-align: center;
}

.pulse-icon {
    animation: pulse-scale 2s infinite;
}

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

.social-proof-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-proof-text strong {
    font-size: 18px;
    color: #1a202c;
    font-weight: 700;
}

.social-proof-text span {
    font-size: 13px;
    color: #718096;
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
    animation: pulse-glow 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4);
    }
    50% { 
        box-shadow: 0 0 20px 10px rgba(255, 71, 87, 0.2);
    }
}

.urgency-banner i {
    font-size: 18px;
    animation: tick 1s infinite;
}

@keyframes tick {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

#spotsLeft {
    font-size: 18px;
    font-weight: 800;
    color: #FFD700;
    padding: 0 5px;
}

/* Form Subtitle */
.form-subtitle {
    text-align: center;
    color: #4a5568;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Form Row (2 columns layout) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Form Split Layout (Form + Image) */
.form-section-split {
    padding: 4rem 0;
}

.form-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.form-split-left {
    width: 100%;
}

.form-split-left .form-container {
    max-width: 100%;
}

.form-split-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.form-decorative-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.form-decorative-image:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Responsive for split layout */
@media (max-width: 1024px) {
    .form-split-layout {
        gap: 2rem;
    }
    
    .form-decorative-image {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .form-split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-split-right {
        order: -1;
    }
    
    .form-decorative-image {
        max-width: 100%;
    }
    
    .form-section-split {
        padding: 2rem 0;
    }
}

/* Visual Cue Arrow */
.form-arrow-cue {
    text-align: center;
    margin-bottom: 15px;
    animation: bounce-arrow 2s infinite;
}

.form-arrow-cue i {
    font-size: 32px;
    color: #FFD700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Enhanced 3D Button */
.btn-3d {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 20px 40px !important;
    font-size: 18px !important;
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer-slide 3s infinite;
}

@keyframes shimmer-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.btn-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.btn-subtext {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

.btn-contest:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.btn-contest:active {
    transform: translateY(-1px) scale(0.98);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    font-size: 13px;
    color: #2150B0;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-badge:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #FFD700;
}

.trust-badge i {
    font-size: 18px;
    color: #FFD700;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: #1a202c;
    margin-bottom: 10px;
}

.section-subtitle-center {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #FFD700;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #FFD700;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-text strong {
    color: #2150B0;
    font-weight: 700;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2150B0 0%, #FFD700 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

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

.author-info strong {
    font-size: 14px;
    color: #1a202c;
}

.author-info span {
    font-size: 12px;
    color: #a0aec0;
}

.testimonial-verified {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #48bb78;
    font-weight: 600;
}

.testimonial-verified i {
    font-size: 16px;
}

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

.btn-secondary-cta {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a3d8f;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-btn 2s infinite;
}

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

.btn-secondary-cta:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.btn-secondary-cta i {
    font-size: 22px;
}

/* 3D Card Effects */
.category-card,
.benefit-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover,
.benefit-item:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Exit Intent Popup */
.exit-intent-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 500px;
    width: 90%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.exit-intent-popup.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.exit-intent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.exit-intent-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.exit-popup-close:hover {
    color: #1a202c;
}

.exit-popup-icon {
    font-size: 60px;
    text-align: center;
    margin-bottom: 20px;
}

.exit-popup-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    color: #1a202c;
    margin-bottom: 15px;
}

.exit-popup-text {
    text-align: center;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.exit-popup-benefits {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.exit-popup-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exit-popup-benefits li {
    padding: 8px 0;
    color: #2d3748;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exit-popup-benefits li i {
    color: #48bb78;
    font-size: 18px;
}

.exit-popup-cta {
    width: 100%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a3d8f;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exit-popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-proof-banner {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }
    
    .social-proof-item {
        padding: 12px;
    }
    
    .section-title-center {
        font-size: 2rem;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .btn-3d {
        padding: 16px 30px !important;
        font-size: 16px !important;
    }
    
    .trust-badges {
        gap: 10px;
    }
    
    .trust-badge {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .form-time-notice {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .contest-form .form-title {
        font-size: 1.2rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Disabled button styles */
.btn.disabled,
.btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn.disabled:hover,
.btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Privacy note styles */
.privacy-note {
    text-align: center;
    margin-top: 8px;
    color: #fff;
}

.privacy-note small {
    font-size: 11px;
    color: #fff;
    font-style: italic;
}
