/* INFLUENCER MONEY - PREMIUM DESIGN v3 */

:root {
    --navy-dark: #0a0e27;
    --navy-light: #1a1f3a;
    --white: #ffffff;
    --light-bg: #f8fafb;
    --mint-light: #e8f5f1;
    --green: #10b981;
    --green-dark: #059669;
    --red: #ef4444;
    --gold: #d4af37;
    --text-dark: #111827;
    --text-light: #f0f4f8;
    --text-gray: #6b7280;
    --border: #e5e7eb;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.header {
    background: var(--navy-dark);
    color: var(--white);
    padding: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-desktop a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-header {
    background: var(--green);
    color: var(--white);
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

.hamburger {
    display: flex;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
    .nav-desktop {
        display: flex;
    }
}

/* ============================================================ HERO */

.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green);
}

.hero-headline {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.green {
    color: var(--green);
}

.hero-subheadline {
    font-size: 1.1rem;
    color: rgba(240, 244, 248, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-ctas {
        flex-direction: row;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.05rem;
}

.hero-bottom {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.bottom-badge {
    font-size: 0.9rem;
    color: var(--green);
    font-weight: 500;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,60 Q300,0 600,60 T1200,60 L1200,120 L0,120 Z" fill="white"/></svg>') no-repeat bottom;
    background-size: cover;
}

/* ============================================================ SECTIONS */

.light-bg {
    background: var(--light-bg);
}

.dark-bg {
    background: var(--navy-dark);
    color: var(--white);
}

section {
    padding: 4rem 1rem;
}

@media (max-width: 768px) {
    section {
        padding: 2.5rem 1rem;
    }
}

.section-center {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

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

.section-desc {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.dark-bg .section-desc {
    color: rgba(240, 244, 248, 0.8);
}

/* ============================================================ COME FUNZIONA */

.come-funziona {
    padding-top: 0;
}

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

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.1);
}

.step-card.highlight {
    border-color: var(--green);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.step-card.highlight .step-num {
    background: var(--green-dark);
}

.step-num.green {
    background: var(--green);
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.step-explanation {
    background: var(--navy-dark);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.explanation-box {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.expl-item {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
}

/* ============================================================ CONFRONTO */

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

.comparison-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.comparison-card.new {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.08);
}

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

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--red);
    font-weight: bold;
}

.card-icon.green {
    background: rgba(16, 185, 129, 0.2);
    color: var(--green);
}

.card-header h3 {
    font-size: 1.2rem;
}

.card-header.green-accent {
    color: var(--green);
}

.card-list {
    list-style: none;
    text-align: left;
}

.card-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.card-list.red li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
}

.card-list.green li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

/* ============================================================ ACTIVITY */

.attivita {
    padding-top: 2rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.activity-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    background: rgba(16, 185, 129, 0.15);
    color: var(--text-dark);
}

.activity-icon.green {
    background: rgba(16, 185, 129, 0.2);
}

.activity-icon.emerald {
    background: rgba(16, 185, 129, 0.15);
}

.activity-icon.blue {
    background: rgba(59, 130, 246, 0.15);
}

.activity-text {
    flex: 1;
}

.activity-text strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.activity-text span {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-gray);
    white-space: nowrap;
}

.small-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 2rem;
}

/* ============================================================ CALCOLATORE */

.calcolatore {
    padding-top: 2rem;
}

.calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

@media (max-width: 768px) {
    .calc-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.calc-inputs {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 12px;
}

.input-field {
    margin-bottom: 1.5rem;
}

.input-field:last-child {
    margin-bottom: 0;
}

.input-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(240, 244, 248, 0.8);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field input {
    width: 100%;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
}

.input-field input::placeholder {
    color: rgba(240, 244, 248, 0.5);
}

.input-field input:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(16, 185, 129, 0.1);
}

.performance-slider {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(16, 185, 129, 0.2);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green);
    border: none;
    cursor: pointer;
}

.perf-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(240, 244, 248, 0.6);
}

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

.result-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.result-box.highlight {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--green);
    grid-column: 1 / -1;
}

.result-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(240, 244, 248, 0.7);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.result-value.green {
    color: var(--green);
    font-size: 2rem;
}

.result-value.green-big {
    color: var(--green);
    font-size: 2.2rem;
}

.calc-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(240, 244, 248, 0.6);
}

/* ============================================================ PHOTO COMPARISON */

.photo-comparison {
    padding-top: 2rem;
}

.photo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.photo-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.photo-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: relative;
    top: -70px;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    color: var(--white);
}

.card-overlay.green-overlay {
    background: rgba(16, 185, 129, 0.7);
}

.card-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.card-overlay h3 {
    font-size: 1.3rem;
    margin: 0;
}

.card-content {
    padding: 1.5rem;
}

.card-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.card-content.green-content p {
    color: var(--green);
    font-weight: 500;
}

.check-list {
    list-style: none;
    text-align: left;
}

.check-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.check-list.red li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
}

.check-list.green li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

/* ============================================================ FAQ */

.faq {
    padding-top: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    text-align: left;
}

.faq-q:hover {
    background: rgba(16, 185, 129, 0.1);
}

.faq-icon {
    color: var(--green);
    transition: var(--transition);
}

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

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(16, 185, 129, 0.08);
}

.faq-item.active .faq-a {
    max-height: 400px;
}

.faq-a p {
    padding: 0 1.5rem 1.5rem;
    color: rgba(240, 244, 248, 0.8);
    line-height: 1.7;
}

/* ============================================================ FORM */

.candidati {
    padding-top: 2rem;
}

.max-600 {
    max-width: 600px;
}

.form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-top: 2rem;
}

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

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

.form input {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form input:not(.form-row input):not(.form-row input) {
    margin-bottom: 1rem;
    width: 100%;
}

.form-divider {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 1.5rem 0 1rem;
}

.form-small {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success.hidden {
    display: none;
}

.success-check {
    width: 60px;
    height: 60px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

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

.form-success p {
    color: var(--text-gray);
}

/* ============================================================ CTA FINALE */

.cta-finale {
    text-align: center;
    padding: 4rem 1rem;
}

.avatars-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: 3px solid var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.8rem;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.cta-subtitle {
    font-size: 0.95rem;
    color: rgba(240, 244, 248, 0.8);
    margin-bottom: 1.5rem;
}

.cta-headline {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(240, 244, 248, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 3rem 1rem 1.5rem;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.9rem;
    color: rgba(240, 244, 248, 0.7);
    line-height: 1.6;
}

.footer-col a {
    display: block;
    color: var(--green);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    font-size: 0.8rem;
    color: rgba(240, 244, 248, 0.6);
}

/* ============================================================ STICKY CTA */

.sticky-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1rem;
    padding: 0.9rem 1.8rem;
    background: var(--green);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    z-index: 40;
    transition: var(--transition);
}

.sticky-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }
}
