﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&family=Syne:wght@600;800&display=swap');

:root {
    --primary: #0f172a; /* Deep Italian Navy */
    --secondary: #10b981; /* Emerald Tech */
    --accent: #f59e0b; /* Coral Gold */
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #94a3b8;
    --white: #ffffff;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Syne', sans-serif; color: var(--primary); }

/* Header & Nav */
header {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; color: var(--primary); text-decoration: none;}
.logo img { width: 40px; }
nav ul { display: flex; list-style: none; gap: 2rem; }
nav a { text-decoration: none; color: var(--primary); font-weight: 600; transition: color 0.3s; }
nav a:hover { color: var(--secondary); }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}
.btn:hover { background: var(--primary); transform: translateY(-3px); }
.btn:disabled { background: var(--text-light); cursor: not-allowed; transform: none; }

/* Sections */
section { padding: 6rem 5%; }

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
    padding-top: 8rem;
    padding-bottom: 8rem;
}
.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
}
.hero p { font-size: 1.25rem; color: var(--text-dark); max-width: 700px; margin-bottom: 2.5rem; }

/* Random Section (Italian Heritage) */
.heritage {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}
.heritage h2 { color: var(--accent); font-size: 3rem; margin-bottom: 1.5rem; }
.heritage p { font-size: 1.2rem; max-width: 800px; margin: 0 auto; opacity: 0.9; }

/* About */
.about { text-align: center; }
.about h2 { font-size: 3.5rem; margin-bottom: 2rem; }
.about p { font-size: 1.2rem; max-width: 900px; margin: 0 auto 1.5rem auto; color: #475569; }

/* Features (Asymmetric) */
.features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    background: var(--white);
}
.features-img { flex: 1; min-width: 300px; }
.features-img img { width: 100%; border-radius: 20px; box-shadow: 20px 20px 0px var(--secondary); }
.features-content { flex: 1; min-width: 300px; }
.features-content h2 { font-size: 3.5rem; margin-bottom: 2rem; }
.features-content ul { list-style: none; }
.features-content li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}
.features-content li i { color: var(--accent); font-size: 1.5rem; }

/* Form Section */
.lead-form-section { background: var(--bg-light); text-align: center; }
.lead-form-section h2 { font-size: 3.5rem; margin-bottom: 1rem; }
.form-container {
    max-width: 600px;
    margin: 3rem auto 0;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group input:not([type="checkbox"]) {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}
.form-group input:focus { outline: none; border-color: var(--secondary); }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-light); }
.success-message {
    display: none;
    background: var(--secondary);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    font-size: 1.5rem;
    font-family: 'Syne', sans-serif;
    animation: fadeIn 0.5s ease;
}

/* FAQ */
.faq { background: var(--white); max-width: 800px; margin: 0 auto; padding: 6rem 5%; }
.faq h2 { font-size: 3.5rem; text-align: center; margin-bottom: 3rem; }
details {
    background: var(--bg-light);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}
summary {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}
summary::after { content: '\f078'; font-family: 'FontAwesome'; color: var(--secondary); }
details[open] summary::after { content: '\f077'; }
details p { padding: 0 1.5rem 1.5rem; color: #475569; }

/* Legal Pages Format */
.legal-page { padding: 4rem 5%; }
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.legal-container h1 { font-size: 3rem; margin-bottom: 2rem; border-bottom: 3px solid var(--secondary); padding-bottom: 1rem;}
.legal-container h2 { font-size: 2rem; margin-top: 2rem; margin-bottom: 1rem; }
.legal-container p, .legal-container ul { margin-bottom: 1rem; font-size: 1.1rem; }
.legal-container ul { margin-left: 2rem; }

/* Footer */
footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 4rem 5% 2rem;
    text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-links a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--accent); }

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { flex: 1; margin-right: 2rem; font-size: 0.95rem; }
.cookie-btns { display: flex; gap: 1rem; }

@media (max-width: 768px) {
    nav ul { display: none; }
    .features { flex-direction: column; }
    .cookie-banner { flex-direction: column; text-align: center; gap: 1rem; }
    .cookie-banner p { margin-right: 0; }
    .hero h1 { font-size: 2.5rem; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
