:root {
    --primary: #1a3a5c;
    --secondary: #e67e22;
    --accent: #c0392b;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

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

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

/* Navigation */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu a {
    display: block;
    padding: 12px;
    color: var(--dark);
    font-weight: 500;
    border-radius: var(--radius);
}

.mobile-menu a:hover {
    background: var(--light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-badge {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 350px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230,126,34,0.4);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(230,126,34,0.5);
    color: var(--white);
}

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

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

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

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

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--light);
}

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

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-gradient {
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Section */
.problem-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.problem-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}

.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
}

/* Story Section */
.story-section {
    padding: 100px 0;
}

.story-content {
    max-width: 700px;
    margin: 0 auto;
}

.story-content p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    color: var(--text);
}

.story-content .highlight {
    background: linear-gradient(120deg, rgba(230,126,34,0.2) 0%, rgba(230,126,34,0.2) 100%);
    padding: 2px 8px;
    border-radius: 4px;
}

.story-image {
    margin: 40px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Benefits */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.benefit-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

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

/* Testimonials */
.testimonials-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Services/Pricing */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border: 3px solid var(--secondary);
    position: relative;
}

.service-card.featured::before {
    content: 'Più Scelto';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--secondary);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.service-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image svg {
    width: 80px;
    height: 80px;
    fill: var(--white);
    opacity: 0.8;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 20px;
}

.service-price .amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
}

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

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 700;
}

/* Form */
.form-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 80px 0;
}

.form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 25px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 10px;
}

.form-wrapper > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

/* Urgency Banner */
.urgency-banner {
    background: var(--accent);
    color: var(--white);
    padding: 15px 20px;
    text-align: center;
}

.urgency-banner p {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
}

.sticky-cta.visible {
    display: block;
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.sticky-cta-text {
    display: none;
}

.sticky-cta .btn {
    flex: 1;
    padding: 14px 20px;
}

/* Trust Badges */
.trust-section {
    padding: 50px 0;
    background: var(--light);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.trust-badge svg {
    width: 40px;
    height: 40px;
    fill: var(--primary);
}

.trust-badge span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Stats */
.stats-section {
    padding: 60px 0;
    background: var(--dark);
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 10000;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--secondary);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 10px 25px;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept {
    background: var(--secondary);
    color: var(--white);
}

.cookie-reject {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3) !important;
}

/* Thanks Page */
.thanks-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.thanks-content {
    background: var(--white);
    padding: 50px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 550px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.thanks-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.thanks-content h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.thanks-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light);
}

.legal-content h2 {
    font-size: 1.4rem;
    margin: 35px 0 15px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text);
}

.legal-content ul {
    margin: 15px 0 15px 25px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text);
}

/* Contact Page */
.contact-section {
    padding: 120px 0 80px;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    background: var(--light);
    padding: 35px;
    border-radius: var(--radius-lg);
}

.contact-info h2 {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-section .btn {
    background: var(--white);
    color: var(--secondary);
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

/* Split Section */
.split-section {
    display: flex;
    flex-direction: column;
}

.split-content {
    padding: 60px 20px;
}

.split-image {
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-image svg {
    width: 150px;
    height: 150px;
    fill: var(--white);
    opacity: 0.5;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 140px 0 80px;
    text-align: center;
}

.about-hero h1 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Page */
.services-hero {
    background: var(--light);
    padding: 140px 0 60px;
    text-align: center;
}

.services-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.services-hero p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-cta {
        flex-direction: row;
        max-width: none;
    }

    .section {
        padding: 100px 0;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .problem-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .problem-card {
        flex: 1;
        min-width: 280px;
    }

    .benefits-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .benefit-item {
        flex: 1;
        min-width: 300px;
    }

    .testimonials-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .testimonial-card {
        flex: 1;
        min-width: 300px;
    }

    .services-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card {
        flex: 1;
        min-width: 280px;
        max-width: 380px;
    }

    .form-wrapper {
        padding: 50px 40px;
    }

    .sticky-cta-content {
        justify-content: center;
        gap: 20px;
    }

    .sticky-cta-text {
        display: block;
        font-weight: 600;
        color: var(--dark);
    }

    .sticky-cta .btn {
        flex: none;
        padding: 14px 35px;
    }

    .stats-grid {
        gap: 80px;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-brand {
        max-width: 300px;
    }

    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .contact-grid {
        flex-direction: row;
    }

    .contact-info {
        flex: 1;
    }

    .split-section {
        flex-direction: row;
    }

    .split-content,
    .split-image {
        flex: 1;
    }

    .split-content {
        padding: 80px 50px;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .section {
        padding: 120px 0;
    }
}
