/*
  AUDIT LANDING PAGE CSS - MISMO STYLE
  Following Mismo Studio brand guidelines: minimal, uppercase, black on white
*/

:root {
    --primary-black: #000;
    --primary-white: #fff;
    --gray: #666;
    --blue-accent: #0033FF;
}

/* Container con padding laterale come il sito principale */
.audit-page {
    padding: 0 1em;
}

body {
    font-family: "Elza", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--primary-black);
    background: var(--primary-white);
    scroll-behavior: smooth;
}

/* Divider Mismo Style */
.divider {
    border-bottom: 1.5px solid #000;
    margin-bottom: 1em;
}

/* Typography - Mismo Style */
h1 {
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-weight: 400;
    line-height: 1.1;
}

h2 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-weight: 400;
}

h3 {
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    padding-top: 0.75em;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

/* ==================== NAVBAR ==================== */
.audit-navbar {
    padding: 0.1em 0.75em;
    transition: all 0.3s ease;
    mix-blend-mode: difference;
    background-color: transparent;
}

.audit-logo {
    font-size: 36px;
    font-weight: 400;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.audit-logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.audit-logo:hover::after {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */
.audit-hero {
    margin-top: 5em;
    padding-bottom: 4em;
}

.trust-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 2em;
    flex-wrap: wrap;
}

.badge-item {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    border: 1.5px solid #000;
    border-radius: 25px;
    padding: 0.25em 0.75em;
    display: inline-block;
}

.hero-headline {
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-weight: 400;
    margin-bottom: 1.5em;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2em;
}

.btn-primary-cta {
    display: inline-block;
    background-color: var(--primary-black);
    color: var(--primary-white);
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0.75em 1.5em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1.5px solid var(--primary-black);
}

.btn-primary-cta:hover {
    background-color: var(--primary-white);
    color: var(--primary-black);
}

.dashboard-preview {
    margin-top: 3em;
}

.dashboard-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== PROBLEM SECTION ==================== */
.problem-section {
    padding: 4em 0;
}

.section-title-center {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 3em;
    font-weight: 400;
}

.problem-cards {
    margin-top: 2em;
}

.problem-card {
    padding: 2em 0;
    transition: all 0.3s ease;
    margin-bottom: 2em;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-number {
    font-size: 80px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

.problem-number.urgency {
    color: var(--primary-black);
}

.problem-title {
    font-size: 20px;
    letter-spacing: -0.25px;
    text-transform: uppercase;
    margin-top: 0.25em;
    font-weight: 400;
    margin-bottom: 0.75em;
}

.problem-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    width: 95%;
}

/* ==================== SOLUTION SECTION ==================== */
.solution-section {
    padding: 4em 0;
    background-color: var(--primary-white);
}

.solution-checklist {
    margin-top: 2em;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item:hover {
    transform: translateX(5px);
}

.check-icon {
    font-size: 24px;
    font-weight: 400;
    flex-shrink: 0;
}

.check-content {
    flex: 1;
}

.check-title {
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5em;
}

.check-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    width: 95%;
    margin: 0;
}

.guarantee-badge {
    margin-top: 3em;
    padding: 2em;
    border: 1.5px solid var(--primary-black);
    text-align: center;
}

.guarantee-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.guarantee-text strong {
    font-weight: 500;
}

/* ==================== FORM SECTION ==================== */
.form-section {
    padding: 4em 0;
}

.form-container {
    padding: 0;
}

.form-title {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 2em;
    font-weight: 400;
}

.audit-form .form-group {
    margin-bottom: 1.5em;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--primary-black);
    margin-bottom: 0.5em;
}

.form-control-audit,
.form-select-audit {
    width: 100%;
    padding: 0.75em 1em;
    font-size: 16px;
    border: 1.5px solid #000;
    background-color: var(--primary-white);
    color: var(--primary-black);
    transition: all 0.3s ease;
    font-family: "Elza", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
}

.form-control-audit:focus,
.form-select-audit:focus {
    outline: none;
    border-color: var(--blue-accent);
}

.form-control-audit::placeholder {
    color: var(--gray);
    font-weight: 400;
}

.form-select-audit {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    cursor: pointer;
}

.form-check-audit {
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check-input-audit {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-label-audit {
    font-size: 14px;
    color: var(--primary-black);
    line-height: 1.4;
    font-weight: 400;
}

.form-check-label-audit a {
    color: var(--primary-black);
    text-decoration: underline;
}

.btn-submit-audit {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0.75em 1.5em;
    border: 1.5px solid var(--primary-black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-audit:hover {
    background-color: var(--primary-white);
    color: var(--primary-black);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1.5px solid #000;
    flex-wrap: wrap;
    gap: 15px;
}

.form-guarantee {
    font-size: 14px;
    color: var(--primary-black);
    font-weight: 400;
    text-transform: uppercase;
}

.guarantee-icon {
    font-size: 14px;
    margin-right: 5px;
}

.form-alert {
    margin-top: 2em;
    padding: 1em;
    border: 1.5px solid #000;
    display: none;
    font-size: 14px;
    text-align: center;
    font-weight: 400;
}

.form-alert.success {
    display: block;
    background-color: var(--primary-white);
    color: var(--primary-black);
}

.form-alert.error {
    display: block;
    background-color: var(--primary-white);
    color: var(--primary-black);
    border-color: #000;
}

/* ==================== SOCIAL PROOF SECTION ==================== */
.social-proof-section {
    padding: 4em 0;
}

.testimonials {
    margin-top: 2em;
}

.testimonial-card {
    padding: 2em 0;
    height: 100%;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.rating {
    font-size: 18px;
    color: var(--primary-black);
    margin-bottom: 1em;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 16px;
    color: var(--primary-black);
    line-height: 1.2;
    margin-bottom: 1.5em;
    font-style: normal;
    font-weight: 400;
}

.testimonial-author {
    font-size: 14px;
    color: var(--primary-black);
    line-height: 1.5;
    text-transform: uppercase;
    font-weight: 400;
}

.testimonial-author strong {
    font-weight: 500;
    font-size: 14px;
}

/* ==================== FINAL CTA SECTION ==================== */
.final-cta-section {
    padding: 4em 0;
    background-color: var(--primary-black);
    color: var(--primary-white);
    margin-top: 4em;
}

.final-cta-headline {
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-weight: 400;
    color: var(--primary-white);
    margin-bottom: 1em;
    line-height: 1.1;
}

.final-cta-text {
    font-size: 16px;
    color: var(--primary-white);
    margin-bottom: 2em;
    font-weight: 400;
    line-height: 1.2;
}

.btn-final-cta {
    display: inline-block;
    background-color: var(--primary-white);
    color: var(--primary-black);
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0.75em 1.5em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1.5px solid var(--primary-white);
}

.btn-final-cta:hover {
    background-color: var(--primary-black);
    color: var(--primary-white);
}

.final-cta-footer {
    margin-top: 2em;
    font-size: 14px;
    color: var(--primary-white);
    font-weight: 400;
    text-transform: uppercase;
}

/* ==================== FOOTER ==================== */
.audit-footer {
    background-color: var(--primary-white);
    color: var(--primary-black);
    padding: 2em 0;
    font-size: 14px;
    border-top: 1.5px solid #000;
    margin-top: 4em;
}

.audit-footer a {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.audit-footer a:hover {
    color: var(--gray);
    text-decoration: underline;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    h1, .hero-headline, .final-cta-headline {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    h2, .section-title-center, .form-title {
        font-size: 16px;
    }

    .problem-number {
        font-size: 60px;
    }

    .problem-title {
        font-size: 18px;
    }

    .trust-badges {
        gap: 10px;
    }

    .badge-item {
        font-size: 12px;
        padding: 0.25em 0.5em;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .checklist-item {
        padding-bottom: 1.5em;
    }

    .check-icon {
        font-size: 20px;
    }

    .check-title {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 1.5em 0;
        margin-bottom: 1em;
    }
}

@media (max-width: 576px) {
    h1, .hero-headline, .final-cta-headline {
        font-size: 28px;
    }

    .problem-number {
        font-size: 48px;
    }
}

/* ==================== SMOOTH SCROLL ==================== */
html {
    scroll-behavior: smooth;
}

/* ==================== ACCESSIBILITY ==================== */
:focus-visible {
    outline: 2px solid var(--primary-black);
    outline-offset: 2px;
}

/* Custom scrollbar - nascosto come nel sito principale */
::-webkit-scrollbar {
    display: none;
}
