* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d9488;
    /* Verde personalizzato (13, 148, 136) */
    --primary-light: #14b8a6;
    /* Versione più chiara */
    --primary-dark: #0f766e;
    /* Versione più scura */
    --secondary: #34a853;
    /* Google Green */
    --dark: #202124;
    /* Google Gray 900 */
    --gray-200: #e8eaed;
    /* Google Gray 200 */
    --gray-100: #f1f3f4;
    /* Google Gray 100 */
    --gray-50: #f8f9fa;
    /* Google Gray 50 */
    --surface: #ffffff;
    --error: #ea4335;
    /* Google Red */
    --warning: #fbbc04;
    /* Google Yellow */
    --accent: #4285f4;
    /* Google Blue */
    --text-primary: #202124;
    /* Google Gray 900 */
    --text-secondary: #5f6368;
    /* Google Gray 700 */
    --text-hint: #80868b;
    /* Google Gray 600 */
    --text-disabled: #9aa0a6;
    /* Google Gray 500 */
    --divider: #dadce0;
    /* Google Gray 300 */
}

body {
    font-family: 'Google Sans Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--surface);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--surface);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: 'Google Sans', sans-serif;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-block;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.cta-button:hover {
    background: var(--primary-dark);
    box-shadow: 0 2px 3px rgba(60, 64, 67, 0.3), 0 2px 5px 2px rgba(60, 64, 67, 0.15);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
    padding-top: 64px;
    /* Header height */
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 400;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-visual {
    position: relative;
}

.calendar-mockup {
    background: var(--surface);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
}

.calendar-header {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 8px 8px 0 0;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    text-align: center;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
}

.time-slot {
    background: var(--gray-100);
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.time-slot.filled {
    background: var(--primary-light);
    color: white;
}

.time-slot:hover {
    transform: translateX(5px);
}

/* Section Styles */
.section {
    padding: 5rem 5%;
    position: relative;
}

.section-light {
    background: var(--surface);
}

.section-dark {
    background: var(--gray-50);
}

.section-accent {
    background: var(--primary);
    color: white;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    font-weight: 400;
}

.section-accent .section-title {
    color: white;
}

.section-accent p {
    color: rgba(255, 255, 255, 0.9);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 4px rgba(60, 64, 67, 0.3), 0 4px 8px 2px rgba(60, 64, 67, 0.15);
}

.card h3 {
    margin: 1rem 0;
    color: var(--text-primary);
    font-weight: 500;
}

.card p {
    color: var(--text-secondary);
    margin: 0;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Problem Cards */
.problem-card::before {
    content: '✗';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--error);
    opacity: 0.5;
}

/* Steps */
.step {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 4px rgba(60, 64, 67, 0.3), 0 4px 8px 2px rgba(60, 64, 67, 0.15);
}

.step-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Benefits */
.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    display: inline-block;
}

/* Example Day */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.day-schedule {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--divider);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.day-schedule h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.day-schedule h3::before {
    content: '❌';
    margin-right: 0.5rem;
    font-size: 1rem;
}

.day-schedule h3.with-flexcut::before {
    content: '✅';
    color: var(--secondary);
}

.schedule-item {
    padding: 0.8rem;
    margin: 0.5rem 0;
    background: var(--gray-100);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: var(--gray-200);
    transform: translateX(5px);
}

/* Testimonials */
.testimonial {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 4px rgba(60, 64, 67, 0.3), 0 4px 8px 2px rgba(60, 64, 67, 0.15);
}

.testimonial-author {
    margin-top: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.testimonial-salon {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Google Integration */
/* Google Integration */
.google-integration {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.integration-image {
    flex: 0 0 40%;
    max-width: 40%;
    border-radius: 8px;
}

.integration-benefits {
    flex: 0 0 60%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.integration-card {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
}

.integration-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f0fe;
    color: #1a73e8;
    flex-shrink: 0;
}

.integration-icon i {
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.integration-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.integration-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #202124;
}

.integration-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #5f6368;
}

@media (max-width: 768px) {
    .google-integration {
        flex-direction: column;
    }

    .integration-image {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .integration-benefits {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Pricing */
.pricing-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 2px 4px rgba(60, 64, 67, 0.3), 0 4px 8px 2px rgba(60, 64, 67, 0.15);
}

.pricing-card.featured::before {
    content: 'POPOLARE';
    position: absolute;
    top: 1rem;
    right: -2.5rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 2.5rem;
    transform: rotate(45deg);
    font-weight: 500;
    font-size: 0.8rem;
    font-family: 'Google Sans', sans-serif;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 4px rgba(60, 64, 67, 0.3), 0 4px 8px 2px rgba(60, 64, 67, 0.15);
}

.price {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 1rem 0;
    font-family: 'Google Sans', sans-serif;
}

.price-unit {
    font-size: 1rem;
    color: var(--text-secondary);
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
}

.features-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Final CTA */
.final-cta {
    text-align: center;
    color: white;
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: white;
    font-weight: 400;
}

.final-cta p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button-light {
    background: white;
    color: var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: 1rem;
    font-family: 'Google Sans', sans-serif;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.cta-button-light:hover {
    background: var(--gray-50);
    box-shadow: 0 2px 4px rgba(60, 64, 67, 0.3), 0 4px 8px 2px rgba(60, 64, 67, 0.15);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Google Sans', sans-serif;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .comparison {
        grid-template-columns: 1fr;
    }
}