/* ReclamiFacili.it - Beautiful Modern Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B35;
    --primary-dark: #E85A2A;
    --primary-light: #FF8A5C;
    --secondary: #2E75B6;
    --secondary-dark: #1E5A96;
    --secondary-light: #4A8FD6;
    --dark: #1A1A2E;
    --gray: #5B5B5B;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --success: #4CAF50;
    --warning: #FFA726;
    --error: #E53935;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.logo-tld {
    color: var(--primary);
}

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

.nav a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    box-shadow: 0 4px 15px rgba(46, 117, 182, 0.1);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 117, 182, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Hero */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(255, 245, 240, 1) 0%, 
        rgba(255, 240, 245, 1) 25%,
        rgba(240, 248, 255, 1) 75%,
        rgba(240, 245, 255, 1) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 117, 182, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-title {
    font-size: 52px;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin: 24px 0;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.social-proof {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.proof-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proof-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.proof-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.proof-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* Sections */
.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 60px;
}

.how-it-works,
.problem,
.pricing,
.testimonials {
    padding: 80px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
}

.step-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 40px;
}

.pricing-card.featured {
    border-color: var(--primary);
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
}

/* Wizard */
.wizard-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.wizard-step {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 12px;
}

.wizard-step.active {
    display: block;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-content {
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.option-card input:checked ~ .option-content {
    border-color: var(--primary);
    background: #FFF4F0;
}

@media (max-width: 768px) {
    .hero .container,
    .steps,
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

/* Mockup Phone - Beautiful Design */
.mockup-phone {
    background: linear-gradient(135deg, #1A1A2E 0%, #2E2E4E 100%);
    border-radius: 40px;
    padding: 25px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.mockup-phone:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.phone-screen {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 30px;
    padding: 35px;
    height: 550px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) inset;
}

.screen-header {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    justify-content: center;
}

.screen-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ddd 0%, #ccc 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.screen-dot:nth-child(1) { background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%); }
.screen-dot:nth-child(2) { background: linear-gradient(135deg, #FFC107 0%, #FFB300 100%); }
.screen-dot:nth-child(3) { background: linear-gradient(135deg, #4CAF50 0%, #45A049 100%); }

.screen-wizard {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.wizard-step {
    padding: 18px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    font-size: 14px;
    color: var(--gray);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.wizard-step.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-weight: 600;
    border-left-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transform: translateX(5px);
}

/* Sections - Beautiful Backgrounds */
.section-title {
    font-size: 44px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--gray);
    margin-bottom: 60px;
    font-weight: 400;
}

/* How It Works - Card Style */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.step {
    text-align: center;
    position: relative;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.step-icon {
    font-size: 70px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--dark);
}

.step p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Problem Section - Cards with Gradients */
.problem {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.03) 0%, 
        rgba(46, 117, 182, 0.03) 100%
    );
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 50px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    padding: 50px 35px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 12px;
}

.stat-label {
    color: var(--gray);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.problem-box {
    background: linear-gradient(135deg, 
        rgba(255, 244, 240, 1) 0%, 
        rgba(255, 250, 245, 1) 100%
    );
    border-left: 5px solid var(--primary);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
}

.problem-box p {
    font-size: 19px;
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Pricing - Beautiful Cards */
.pricing {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 45px 35px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, 
        rgba(255, 245, 240, 1) 0%, 
        rgba(255, 255, 255, 1) 100%
    );
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 24px 24px 0 0;
}

.pricing-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
    letter-spacing: 0.5px;
}

.pricing-header h3 {
    font-size: 26px;
    margin-bottom: 18px;
    font-weight: 700;
    color: var(--dark);
}

.price {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price span {
    font-size: 18px;
    color: var(--gray);
    font-weight: 500;
}

.pricing-features li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 15px;
    color: var(--gray);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(46, 117, 182, 0.03) 0%, 
        rgba(255, 107, 53, 0.03) 100%
    );
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    font-size: 22px;
    margin-bottom: 18px;
}

.testimonial-text {
    font-size: 16px;
    margin-bottom: 24px;
    font-style: italic;
    color: var(--gray);
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    font-size: 17px;
    color: var(--dark);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--gray);
}

/* Final CTA - Stunning Gradient */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        var(--primary) 0%, 
        var(--primary-light) 50%,
        var(--secondary) 100%
    );
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.final-cta h2 {
    font-size: 44px;
    margin-bottom: 18px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.final-cta p {
    font-size: 20px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.btn-primary.btn-large {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary.btn-large:hover {
    background: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.trust-content {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.trust-badge strong {
    font-size: 18px;
    display: block;
    margin-bottom: 6px;
    color: var(--dark);
}

.trust-badge p {
    font-size: 14px;
    color: var(--gray);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1A1A2E 0%, #2E2E4E 100%);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container,
    .steps,
    .stats,
    .pricing-cards,
    .testimonial-cards,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .mockup-phone {
        display: none;
    }
    
    .social-proof {
        flex-direction: column;
        gap: 20px;
    }
    
    .trust-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* ========================================
   WIZARD - BEAUTIFUL MODERN DESIGN
   ======================================== */

.wizard-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.wizard-progress {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.progress-bar {
    height: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20%;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.progress-text {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wizard-step {
    display: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.wizard-step.active {
    display: block;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.wizard-title {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wizard-subtitle {
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.6;
}

.btn-back {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: var(--gray);
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 25px;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-back:hover {
    background: var(--primary);
    color: white;
    padding-left: 15px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.option-card,
.option-card-list {
    position: relative;
    cursor: pointer;
}

.option-card input,
.option-card-list input {
    position: absolute;
    opacity: 0;
}

.option-content,
.option-content-list {
    border: 2px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.option-card:hover .option-content,
.option-card-list:hover .option-content-list {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.15);
    transform: translateY(-3px);
}

.option-card:hover .option-content::before,
.option-card-list:hover .option-content-list::before {
    left: 100%;
}

.option-card input:checked ~ .option-content,
.option-card-list input:checked ~ .option-content-list {
    border-color: #4CAF50;
    border-width: 3px;
    background: linear-gradient(135deg, 
        rgba(76, 175, 80, 0.2) 0%, 
        rgba(102, 187, 106, 0.15) 100%
    );
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2),
                0 15px 50px rgba(76, 175, 80, 0.3);
    transform: scale(1.03);
}

/* Add a checkmark indicator on selected cards */
.option-card input:checked ~ .option-content::after,
.option-card-list input:checked ~ .option-content-list::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.5);
    animation: checkPop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes checkPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

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

.option-content-list {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
}

.option-icon {
    font-size: 56px;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.option-icon-small {
    font-size: 40px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.option-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.option-description {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 10px;
    line-height: 1.5;
}

.option-example {
    font-size: 13px;
    color: var(--secondary);
    font-style: italic;
    background: linear-gradient(135deg, 
        rgba(227, 242, 253, 0.8) 0%, 
        rgba(227, 242, 253, 0.5) 100%
    );
    padding: 12px;
    border-radius: 10px;
    margin-top: 12px;
    border-left: 3px solid var(--secondary);
}

.wizard-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 35px;
}

/* Recommendation Box - Beautiful Design */
.recommendation-box {
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.recommendation-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.recommendation-box.prefetto {
    background: linear-gradient(135deg, 
        rgba(241, 248, 244, 1) 0%, 
        rgba(245, 252, 248, 1) 100%
    );
    border-color: var(--success);
    color: var(--dark);
}

.recommendation-box.prefetto::before {
    background: linear-gradient(90deg, var(--success) 0%, #66BB6A 100%);
}

.recommendation-box.giudice {
    background: linear-gradient(135deg, 
        rgba(227, 242, 253, 1) 0%, 
        rgba(232, 245, 255, 1) 100%
    );
    border-color: var(--secondary);
    color: var(--dark);
}

.recommendation-box.giudice::before {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.recommendation-box h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--dark);
}

.recommendation-box p {
    color: var(--gray);
    line-height: 1.7;
}

.recommendation-box ul {
    list-style: none;
    margin: 25px 0;
}

.recommendation-box ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
}

.recommendation-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 800;
    font-size: 20px;
}

.recommendation-box.prefetto ul li:before {
    color: var(--success);
}

.recommendation-box.giudice ul li:before {
    color: var(--secondary);
}

.alert-box {
    background: linear-gradient(135deg, 
        rgba(255, 244, 240, 1) 0%, 
        rgba(255, 250, 245, 1) 100%
    );
    border-left: 5px solid var(--warning);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
    box-shadow: 0 8px 25px rgba(255, 167, 38, 0.15);
}

.alert-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
    color: var(--warning);
}

.alert-box p {
    line-height: 1.7;
    color: var(--gray);
}

/* Forms - Beautiful Input Fields */
.details-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 50px;
}

.form-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.15);
    transform: translateY(-2px);
}

.form-help {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-top: 8px;
    font-style: italic;
}

.form-help.warning {
    color: var(--warning);
    font-weight: 600;
}

/* Loading Animation */
.loading-animation {
    text-align: center;
    padding: 80px 0;
}

.spinner {
    width: 70px;
    height: 70px;
    border: 5px solid rgba(0, 0, 0, 0.05);
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    margin: 0 auto 40px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-animation h2 {
    font-size: 28px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-animation p {
    color: var(--gray);
    font-size: 16px;
}

/* Success Screen */
.success-box {
    text-align: center;
    padding: 60px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success) 0%, #66BB6A 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    margin: 0 auto 35px;
    box-shadow: 0 15px 50px rgba(76, 175, 80, 0.3);
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-box h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-box p {
    color: var(--gray);
    font-size: 17px;
    margin-bottom: 35px;
}

.success-details {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 16px;
    margin: 35px 0;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.success-details p {
    margin-bottom: 12px;
    font-size: 16px;
}

.success-details strong {
    color: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wizard-step {
        padding: 35px 25px;
    }
    
    .wizard-title {
        font-size: 24px;
    }
    
    .options-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .recommendation-box {
        padding: 30px 20px;
    }
    
    .success-box {
        padding: 40px 20px;
    }
}
