﻿@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&family=Manrope:wght@300;500;700&display=swap');

:root {
    --primary: #1c1c1c; /* Nero / Dark */
    --secondary: #005a5b; /* Deep Italian Teal */
    --accent: #d4af37; /* Gold */
    --bg-color: #faf9f6; /* Off-white / Alabaster */
    --text-color: #333333;
}

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

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
    line-height: 1.2;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo img { height: 45px; }

nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav a { text-decoration: none; color: var(--primary); font-weight: 500; font-size: 1.1rem; transition: color 0.3s; }
nav a:hover { color: var(--accent); }

/* Buttons */
.btn {
    background-color: var(--secondary);
    color: #fff;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn:hover { background-color: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn:disabled { background-color: #a0a0a0; cursor: not-allowed; transform: none; box-shadow: none; }

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

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 80vh;
    background: radial-gradient(circle at top right, #e8f4f4 0%, var(--bg-color) 70%);
}
.hero h1 { font-size: clamp(3.5rem, 6vw, 6rem); margin-bottom: 1.5rem; max-width: 900px; }
.hero p { font-size: 1.3rem; margin-bottom: 2.5rem; max-width: 700px; color: #555; }

/* Lead Form Section (Top Placement for conversion) */
.form-section {
    background-color: var(--primary);
    color: #fff;
    padding: 5rem 5%;
}
.form-section h2 { color: #fff; font-size: 3.5rem; margin-bottom: 1rem; text-align: center; }
.form-section > p { text-align: center; font-size: 1.2rem; margin-bottom: 3rem; color: #ccc; }

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    color: var(--text-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-group { margin-bottom: 1.5rem; }
.form-group input {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    background: #f9f9f9;
}
.form-group input:focus { outline: none; border-color: var(--secondary); background: #fff; }
.checkbox-group { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.9rem; }
.checkbox-group input { width: auto; margin-top: 5px; }

#successBox {
    display: none;
    text-align: center;
    padding: 3rem;
    background: #e8f4f4;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    animation: fadeIn 0.6s ease;
}
#successBox h3 { color: var(--secondary); font-size: 2rem; margin-bottom: 1rem; }
#successBox p { font-size: 1.2rem; font-style: italic; }

/* Features (Asymmetric) */
.features { display: flex; align-items: center; gap: 5rem; flex-wrap: wrap; background: #fff; }
.features-image { flex: 1; min-width: 300px; position: relative; }
.features-image img { width: 100%; border-radius: 4px; z-index: 2; position: relative; }
.features-image::after {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    border: 3px solid var(--accent);
    z-index: 1;
}
.features-text { flex: 1; min-width: 300px; }
.features-text h2 { font-size: 3.5rem; margin-bottom: 2rem; }
.features-text ul { list-style: none; }
.features-text li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; font-size: 1.2rem; }
.features-text i { color: var(--accent); font-size: 1.5rem; margin-top: 5px; }

/* Random Section: Philosophy */
.philosophy {
    background-color: var(--secondary);
    color: #fff;
    text-align: center;
    padding: 8rem 5%;
}
.philosophy h2 { color: var(--accent); font-size: 3rem; margin-bottom: 2rem; }
.philosophy p { font-size: 1.5rem; max-width: 800px; margin: 0 auto; line-height: 1.8; font-style: italic; font-weight: 300; }

/* About */
.about { text-align: center; background: var(--bg-color); }
.about h2 { font-size: 4rem; margin-bottom: 2rem; }
.about p { font-size: 1.2rem; max-width: 900px; margin: 0 auto 1.5rem auto; color: #444; }

/* FAQ */
.faq { background: #fff; padding: 6rem 5%; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq h2 { font-size: 3.5rem; text-align: center; margin-bottom: 3rem; }
details { background: var(--bg-color); margin-bottom: 1rem; padding: 1.5rem; border-left: 4px solid var(--secondary); border-radius: 0 4px 4px 0; cursor: pointer; transition: background 0.3s; }
details:hover { background: #f0f0f0; }
summary { font-size: 1.3rem; font-weight: 700; color: var(--primary); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: '\f067'; font-family: 'FontAwesome'; color: var(--accent); transition: transform 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 1rem; font-size: 1.1rem; color: #555; }

/* Legal Pages */
.legal-main { padding: 4rem 5%; background: var(--bg-color); }
.legal-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.legal-card h1 { font-size: 3rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--accent); padding-bottom: 1rem; }
.legal-card h2 { font-size: 1.8rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.legal-card p, .legal-card ul { margin-bottom: 1rem; font-size: 1.1rem; color: #444; }
.legal-card ul { margin-left: 2rem; }

/* Footer */
footer { background: var(--primary); color: #fff; padding: 4rem 5% 2rem; text-align: center; border-top: 5px solid var(--secondary); }
.footer-nav { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-nav a { color: #ccc; text-decoration: none; font-size: 1rem; transition: color 0.3s; }
.footer-nav a:hover { color: var(--accent); }

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: -100%; left: 0; width: 100%;
    background: var(--primary); color: #fff;
    padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
}
.cookie-banner.active { bottom: 0; }
.cookie-text { flex: 1; margin-right: 2rem; font-size: 0.95rem; }
.cookie-buttons { display: flex; gap: 1rem; }
.btn-outline { background: transparent; border: 1px solid #fff; color: #fff; padding: 0.8rem 1.5rem; cursor: pointer; transition: 0.3s; }
.btn-outline:hover { background: #fff; color: var(--primary); }

@media (max-width: 768px) {
    nav ul { display: none; }
    .features { flex-direction: column; gap: 3rem; }
    .cookie-banner { flex-direction: column; text-align: center; gap: 1.5rem; }
    .cookie-text { margin-right: 0; }
    .hero h1 { font-size: 2.8rem; }
    .legal-card { padding: 2rem; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
