/* ========================================
   VARIABLES - Modifica qui per cambiare tutto
   ======================================== */
:root {
    /* Colori */
    --primary: #4ECDC4;
    --primary-dark: #3AB9B0;
    --secondary: #556270;
    --dark: #1A1F2E;
    --light: #F7F9FC;
    --white: #FFFFFF;
    --text: #2D3748;
    --text-light: #718096;
    --success: #48BB78;
    --warning: #ED8936;
    --error: #F56565;
    --yellow: #FFC107;
    --border: #E2E8F0;

    /* Spaziature uniformi - Ricalibrate per Bootstrap */
    --section-padding: 5rem 0;
    --section-padding-small: 3rem 0;

    /* Shadows */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ========================================
   RESET & BASE
   ======================================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
.mb-4 {
    margin-bottom: 0 !important;
}

/* ========================================
   TYPOGRAPHY - Dimensioni normali
   ======================================== */
h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1.25rem;
}
h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 1rem;
}
h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}
p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   HEADER / NAVIGATION - Layout corretto
   ======================================== */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0.75rem 0;
    height: 100px;
}

.main-header .navbar {
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
    height: 100%;
}

/* Container */
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.main-header .navbar-brand {
    padding: 0;
    margin: 0;
}

.main-header .navbar-brand img {
    height: 50px;
}

/* Mobile Toggle */
.main-header .navbar-toggler {
    display: none;
    border: none;
}

/* Navbar collapse - CRESCE E USA SPACE-BETWEEN */
.main-header .navbar-collapse {
    flex-basis: auto;
    flex-grow: 1;
    justify-content: space-between; /* Separa menu e bottoni */
    align-items: center;
    margin: 0 2rem; /* Margini laterali per distanziare da logo */
}

/* Desktop - sempre visibile */
@media (min-width: 992px) {
    .main-header .navbar-collapse {
        display: flex !important;
    }
}

/* ul.nav - menu */
.main-header .navbar-collapse > ul.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

.main-header .navbar-collapse > ul.nav > li.nav-item {
    position: relative;
    padding: 0 1rem;
}

/* Links */
.main-header .navbar-collapse > ul.nav > li.nav-item > a.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    font-family: 'Lato', sans-serif;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.main-header .navbar-collapse > ul.nav > li.nav-item > a.nav-link:hover,
.main-header .navbar-collapse > ul.nav > li.nav-item > a.nav-link.active {
    color: var(--primary);
}

/* Underline effect */
.main-header .navbar-collapse > ul.nav > li.nav-item > a.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.main-header .navbar-collapse > ul.nav > li.nav-item > a.nav-link:hover::after,
.main-header .navbar-collapse > ul.nav > li.nav-item > a.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.main-header ul.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 200px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    display: block !important;
}

.main-header li.nav-item.dropdown:hover > ul.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-header ul.dropdown-menu > li.nav-item {
    display: block;
    line-height: 2.5rem;
    padding: 0;
}

.main-header ul.dropdown-menu > li.nav-item > a.nav-link {
    display: block;
    padding: 0 1rem;
    border-radius: 8px;
    transition: background 0.2s;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
}

.main-header ul.dropdown-menu > li.nav-item:hover {
    background: var(--light);
}

.main-header ul.dropdown-menu > li.nav-item:hover > a.nav-link {
    color: var(--primary);
}

.main-header .dropdown-toggle::after {
    display: none;
}

/* Nav Actions - A DESTRA DEL TUTTO */
.main-header .nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto; /* Spinge completamente a destra */
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .main-header {
        height: auto;
    }

    .main-header .navbar-toggler {
        display: block;
    }

    .main-header .navbar-toggler:focus {
        box-shadow: none;
    }

    .main-header .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234ECDC4' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .main-header .container {
        flex-wrap: wrap;
    }

    .main-header .navbar-collapse {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        margin: 1rem 0 0 0;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
        justify-content: flex-start;
    }

    .main-header .navbar-collapse.show {
        display: flex !important;
    }

    .main-header .navbar-collapse > ul.nav {
        flex-direction: column;
        width: 100%;
    }

    .main-header .navbar-collapse > ul.nav > li.nav-item {
        padding: 0;
        width: 100%;
    }

    .main-header .navbar-collapse > ul.nav > li.nav-item > a.nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .main-header .navbar-collapse > ul.nav > li.nav-item > a.nav-link::after {
        display: none;
    }

    .main-header ul.dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--border);
        margin: 0.5rem 0 0 1rem;
    }

    .main-header .nav-actions {
        width: 100%;
        margin: 1rem 0 0 0;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }
}

/* ========================================
   BUTTONS - Dimensioni normali
   ======================================== */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-text {
    margin: 0;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border: none;
    font-family: 'Lato', sans-serif;
}
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(78, 205, 196, 0.3);
}
.btn-secondary {
    background: var(--light);
    color: var(--text);
}
.btn-secondary:hover {
    background: var(--border);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-text {
    background: transparent;
    color: var(--text);
    padding: 0.5rem 1rem;
}
.btn-text:hover {
    color: var(--primary);
}
.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1.05rem;
}

/* ========================================
   SECTIONS - Spaziature uniformi
   ======================================== */
.hero,
.problems,
.how-it-works,
.features,
.testimonials,
.pricing-preview,
.faq,
.final-cta {
    padding: var(--section-padding);
}

.hero {
    background: linear-gradient(135deg, #F7F9FC 0%, #FFFFFF 100%);
    overflow: hidden;
}

.problems,
.features,
.faq {
    background: white;
}

.how-it-works,
.pricing-preview {
    background: var(--light);
}

.testimonials {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.social-proof {
    padding: var(--section-padding-small);
    background: var(--dark);
    color: white;
}

.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #3AB9B0 100%);
    color: white;
    text-align: center;
}

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
}

/* ========================================
   HERO SECTION - Dimensioni normali
   ======================================== */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-text {
    animation: fadeInUp 0.8s ease-out;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(78, 205, 196, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.hero-description {
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2rem 0;
    padding: 1.75rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* App Preview */
.hero-image {
    animation: fadeInRight 1s ease-out;
}

.app-preview {
    perspective: 1000px;
}

.app-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
}

.app-window:hover {
    transform: rotateY(0) rotateX(0);
}

.window-header {
    background: #F7F9FC;
    padding: 0.875rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #DDD;
}

.window-dots span:nth-child(1) { background: #FF5F57; }
.window-dots span:nth-child(2) { background: #FFBD2E; }
.window-dots span:nth-child(3) { background: #28CA42; }

.window-title {
    font-size: 0.8rem;
    color: var(--text-light);
}

.window-content {
    position: relative;
    min-height: 350px;
    background: white;
}

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

/* Placeholder Dashboard */
.placeholder-dashboard {
    display: flex;
    padding: 1.75rem;
    gap: 1.75rem;
    min-height: 350px;
}

.dash-sidebar {
    width: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.dash-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, #3AB9B0 100%);
    border-radius: 10px;
    height: 90px;
}

.dash-chart {
    flex: 1;
    background: linear-gradient(to top, var(--light) 0%, white 100%);
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* ========================================
   SECTION HEADER - Riutilizzabile
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(78, 205, 196, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 650px;
    margin: 1rem auto 0;
}

/* Variante per testimonials (sfondo scuro) */
.testimonials .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.testimonials h2 {
    color: white;
}

/* ========================================
   GRIDS - Raggruppate
   ======================================== */
.problems-grid,
.features-grid,
.testimonials-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.proof-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

/* ========================================
   CARDS - Proprietà comuni
   ======================================== */
.problem-card,
.feature-card,
.pricing-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s;
}

.problem-card {
    border: 2px solid var(--border);
}

.problem-card:hover,
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.problem-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(78, 205, 196, 0.15);
}

.feature-card {
    background: var(--light);
}

.feature-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-card {
    padding: 2.5rem;
    border: 2px solid var(--border);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(78, 205, 196, 0.2);
}

/* ========================================
   ICONS - Raggruppati
   ======================================== */
.problem-icon,
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-icon {
    background: white;
    box-shadow: var(--shadow);
}

.problem-icon.red { background: rgba(245, 101, 101, 0.1); }
.problem-icon.orange { background: rgba(237, 137, 54, 0.1); }
.problem-icon.blue { background: rgba(66, 153, 225, 0.1); }

/* ========================================
   PROBLEM CARDS
   ======================================== */
.solution {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--primary);
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.steps {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 3.5rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.step-image {
    margin-top: 1.5rem;
}

.placeholder-img {
    background: var(--light);
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 1.25rem;
    min-height: 180px;
}

.patient-card .card-header {
    background: linear-gradient(135deg, var(--primary) 0%, #3AB9B0 100%);
    height: 50px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.patient-card .card-row {
    background: white;
    height: 35px;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
}

.calendar .cal-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.calendar .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.invoice .invoice-header {
    background: var(--primary);
    height: 65px;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.invoice .invoice-items {
    background: white;
    border: 1px solid var(--border);
    height: 100px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.invoice .invoice-total {
    background: var(--light);
    height: 50px;
    border-radius: 8px;
}

/* ========================================
   FEATURES
   ======================================== */
.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-link:hover {
    gap: 0.75rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.stars i {
    color: var(--yellow);
}

.testimonial-text {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.author-name {
    font-weight: 600;
    color: white;
}

.author-role {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   SOCIAL PROOF
   ======================================== */
.proof-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.proof-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.proof-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge-item {
    padding: 0.5rem 1rem;
    background: rgba(78, 205, 196, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   PRICING
   ======================================== */
.popular-badge {
    position: absolute;
    top: -18px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.25rem;
    color: var(--text-light);
}

.amount {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark);
}

.period {
    font-size: 0.95rem;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.plan-features li:last-child {
    border-bottom: none;
}

/* ========================================
   FAQ - Adattato per Bootstrap Accordion
   ======================================== */
.faq-module {
    margin: 0 auto;
}

.faq-module .accordion-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
}

.faq-module .accordion-button {
    padding: 1.5rem;
    background: white;
    color: var(--text);
    font-size: 1rem;
    border: none;
    transition: background 0.3s;
    box-shadow: none; /* Rimuove shadow di default Bootstrap */
}

.faq-module .accordion-button:not(.collapsed) {
    background: white;
    color: var(--text);
    box-shadow: none;
}

.faq-module .accordion-button:hover {
    background: var(--light);
}

.faq-module .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-module .accordion-button strong {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Icona personalizzata invece della freccia di Bootstrap */
.faq-module .accordion-button::after {
    content: '+';
    background-image: none;
    width: auto;
    height: auto;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-module .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
}

.faq-module .accordion-body {
    padding: 0 1.5rem 1.5rem;
    background: white;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Rimuove il bordo superiore del body quando aperto */
.faq-module .accordion-collapse {
    border-top: none;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0 1.5rem;
}

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

.final-cta .btn-outline {
    border-color: white;
    color: white;
}

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

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* ========================================
   TERMINI E CONDIZIONI
   ======================================== */
.content-section {
    background-color: #fff;
    padding: 3rem 0;
}
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 2rem;
}
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.content-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 1rem;
}
.highlight-box {
    background-color: #e0f7fa;
    border-left: 4px solid #4dd0e1;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}
.update-date {
    color: #4dd0e1;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
ul.custom-list {
    list-style: none;
    padding-left: 0;
}
ul.custom-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}
ul.custom-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4dd0e1;
    font-weight: bold;
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    display: flex;
    align-items: left;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    flex-direction: column;
}

.footer-logo img {
    width: 70px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

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

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

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Titoli sezioni footer */
.main-footer h4,
.main-footer h5 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Liste nel footer */
.main-footer ul.nav {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-direction: column;
}

.main-footer ul.nav .nav-item {
    margin-bottom: 0.75rem;
    padding: 0;
}

/* Links nel footer */
.main-footer ul.nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    padding: 0;
    font-size: 0.75rem;
}

.main-footer ul.nav .nav-link:hover,
.main-footer ul.nav .nav-link.active {
    color: var(--primary);
}

/* Footer bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   RESPONSIVE - Footer
   ======================================== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 968px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero-content,
    .problems-grid,
    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .proof-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    header #navigation_lyt,
    header .nav-actions {
        display: none;
    }
}

@media (max-width: 640px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .hero,
    .problems,
    .features,
    .how-it-works,
    .testimonials,
    .pricing-preview,
    .faq {
        padding: 3rem 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .proof-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
