:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #c9a227;
    --accent-hover: #b8911f;
    --text: #333;
    --text-light: #666;
    --bg: #fafafa;
    --bg-alt: #f0f0f0;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

* {
    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(--bg);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.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 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent);
}

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

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1490578474895-699cd4e2cf59?w=1200') center/cover;
    opacity: 0.3;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

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

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

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

.btn-dark:hover {
    background: var(--secondary);
}

/* Problem Section */
.problem-section {
    padding: 100px 0;
    background: var(--white);
}

.problem-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.problem-text {
    flex: 1;
}

.problem-visual {
    flex: 1;
    position: relative;
}

.problem-visual img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.3;
}

.problem-list {
    list-style: none;
    margin-top: 30px;
}

.problem-list li {
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
}

.problem-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #c0392b;
    font-weight: bold;
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

.story-block {
    display: flex;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-block.reverse {
    flex-direction: row-reverse;
}

.story-image {
    flex: 1;
    max-width: 500px;
}

.story-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.story-content {
    flex: 1;
}

.story-number {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.story-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Insight Section */
.insight-section {
    padding: 120px 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.insight-section .section-title {
    color: var(--white);
    font-size: 2.8rem;
    max-width: 900px;
    margin: 0 auto 30px;
}

.insight-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
}

.insight-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 10px;
}

/* Trust Section */
.trust-section {
    padding: 100px 0;
    background: var(--white);
}

.trust-grid {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.trust-card {
    flex: 1;
    background: var(--bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.trust-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

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

.trust-card h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--white) 100%);
}

.testimonial-grid {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

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

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

.author-info h5 {
    font-size: 1rem;
    color: var(--primary);
}

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

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: var(--white);
}

.benefits-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.benefits-image {
    flex: 1;
    position: sticky;
    top: 100px;
}

.benefits-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.benefits-list {
    flex: 1;
}

.benefit-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.benefit-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.benefit-number {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.benefit-content h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.benefit-content p {
    color: var(--text-light);
}

/* Services/Pricing Section */
.services-section {
    padding: 120px 0;
    background: var(--bg-alt);
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    width: calc(33.333% - 20px);
    min-width: 300px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

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

.service-card.featured {
    border: 2px solid var(--accent);
}

.service-card.featured::before {
    content: 'Più Richiesto';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent);
    color: var(--primary);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

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

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    min-height: 80px;
}

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

.price-currency {
    font-size: 1.2rem;
    color: var(--primary);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.service-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Section */
.form-section {
    padding: 100px 0;
    background: var(--white);
}

.form-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.form-info {
    flex: 1;
}

.form-info h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.form-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-benefits {
    list-style: none;
}

.form-benefits li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
}

.form-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.form-container {
    flex: 1;
    background: var(--bg);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

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

.urgency-banner span {
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 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: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta p {
    margin: 0;
    font-weight: 500;
}

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

.footer-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-col p {
    line-height: 1.8;
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 25px;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
}

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

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

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.cookie-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 0.9rem;
}

.cookie-accept {
    background: var(--accent);
    color: var(--primary);
}

.cookie-reject {
    background: var(--bg-alt);
    color: var(--text);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Content Pages */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    margin-top: 40px;
}

.content-section h2:first-child {
    margin-top: 0;
}

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

.content-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.content-section li {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* About Page */
.about-hero {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.about-hero-content {
    flex: 1;
}

.about-hero-image {
    flex: 1;
}

.about-hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.values-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.values-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Contact Page */
.contact-grid {
    display: flex;
    gap: 60px;
    padding: 80px 0;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-alt);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

.contact-details h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-light);
}

.contact-map {
    flex: 1;
    background: var(--bg-alt);
    border-radius: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Thanks Page */
.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

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

.thanks-icon {
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

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

.thanks-content h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.thanks-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Services Page Grid */
.services-page-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 80px 0;
}

.services-page-grid .service-card {
    width: calc(50% - 15px);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .problem-grid,
    .story-block,
    .benefits-wrapper,
    .form-wrapper,
    .about-hero,
    .contact-grid {
        flex-direction: column;
    }

    .story-block.reverse {
        flex-direction: column;
    }

    .benefits-image {
        position: static;
    }

    .trust-grid,
    .testimonial-grid,
    .values-grid {
        flex-direction: column;
    }

    .service-card,
    .services-page-grid .service-card {
        width: 100%;
    }

    .footer-grid {
        flex-wrap: wrap;
    }

    .footer-col {
        min-width: calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .hero::before {
        width: 100%;
        opacity: 0.15;
        clip-path: none;
    }

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

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .insight-stats {
        flex-direction: column;
        gap: 40px;
    }

    .form-container {
        padding: 30px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-col {
        min-width: 100%;
    }

    .sticky-cta {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .sticky-cta .btn {
        width: 100%;
        padding: 12px;
    }
}
