﻿:root {
    --primary: #0A192F; /* Deep Navy */
    --secondary: #E63946; /* Italian Terracotta Red */
    --accent: #F4A261; /* Sandy Gold */
    --bg-light: #F8F9FA;
    --text-dark: #1D1D1D;
    --text-light: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Unique Graphic Element: Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 15s infinite alternate ease-in-out;
    opacity: 0.4;
}
.orb-1 { width: 400px; height: 400px; background: var(--secondary); top: -10%; left: -10%; }
.orb-2 { width: 300px; height: 300px; background: var(--accent); top: 40%; right: -5%; animation-delay: -5s; }
.orb-3 { width: 350px; height: 350px; background: var(--primary); bottom: -10%; left: 20%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.1); }
}

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

header {
    background: rgba(10, 25, 47, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary);
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--text-light); font-size: 1.4rem; font-weight: bold; text-decoration: none; font-family: 'Syne', sans-serif; }
.logo img { width: 35px; }
nav ul { display: flex; gap: 2.5rem; list-style: none; }
nav a { color: var(--text-light); text-decoration: none; font-size: 1rem; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px; }
nav a:hover { color: var(--accent); }

section { padding: 8rem 5% 5rem; position: relative; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: space-between; gap: 4rem; flex-wrap: wrap; }
.hero-content { flex: 1; min-width: 300px; }
.hero h1 { font-size: clamp(3.5rem, 8vw, 7rem); line-height: 0.95; margin-bottom: 2rem; text-transform: uppercase; }
.hero h1 span { color: var(--secondary); display: block; font-style: italic; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 3rem; color: #444; max-width: 600px; border-left: 4px solid var(--accent); padding-left: 1rem; }

/* Early Form Section */
.form-card { flex: 1; min-width: 350px; background: #fff; padding: 3rem; border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.08); position: relative; border-top: 5px solid var(--primary); }
.form-card h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary); }
.form-group { margin-bottom: 1.5rem; }
.form-group input { width: 100%; padding: 1.2rem; border: 1px solid #ddd; border-radius: 10px; font-family: inherit; font-size: 1rem; background: #fafafa; transition: var(--transition); }
.form-group input:focus { border-color: var(--secondary); outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1); }
.checkbox-group { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: #555; margin-bottom: 2rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; width: 100%; background: var(--secondary); color: #fff; padding: 1.2rem; border: none; border-radius: 10px; font-size: 1.2rem; font-weight: bold; cursor: pointer; transition: var(--transition); font-family: 'Syne', sans-serif; text-transform: uppercase; }
.btn:hover { background: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(10, 25, 47, 0.2); }

/* Random Section (Italian Roots) */
.random-section { background: var(--primary); color: var(--text-light); text-align: center; border-radius: 40px; margin: 0 5%; padding: 6rem 3rem; }
.random-section h2 { color: var(--accent); font-size: 3rem; margin-bottom: 1.5rem; }
.random-section p { font-size: 1.2rem; max-width: 800px; margin: 0 auto; opacity: 0.9; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text h2 { font-size: 3.5rem; margin-bottom: 2rem; }
.about-text p { font-size: 1.1rem; margin-bottom: 1.5rem; color: #333; }
.about-img { width: 100%; border-radius: 30px; border-bottom-right-radius: 100px; box-shadow: 20px 20px 0 var(--accent); object-fit: cover; height: 500px; }

/* Features (Asymmetric) */
.features { padding: 6rem 5%; }
.features-grid { display: grid; grid-template-columns: 40% 60%; gap: 3rem; align-items: stretch; }
.feat-img-wrap { position: relative; }
.feat-img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.feat-list { display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
.feat-item { background: #fff; padding: 2.5rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-left: 6px solid var(--secondary); transition: var(--transition); }
.feat-item:hover { transform: translateX(10px); }
.feat-item h3 { font-size: 1.5rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 15px; }
.feat-item i { color: var(--secondary); font-size: 2rem; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto 6rem; }
.faq h2 { font-size: 3.5rem; text-align: center; margin-bottom: 3rem; }
details { background: #fff; margin-bottom: 1rem; border-radius: 15px; padding: 1.5rem; cursor: pointer; border: 1px solid #eee; transition: var(--transition); }
details:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
summary { font-size: 1.2rem; font-weight: bold; color: var(--primary); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f107'; font-family: 'FontAwesome'; color: var(--secondary); transition: transform 0.3s; }
details[open] summary::after { transform: rotate(180deg); }
.faq-content { padding-top: 1rem; color: #555; line-height: 1.6; }

/* Footer & Legal */
footer { background: var(--primary); color: #fff; padding: 4rem 5% 2rem; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-links a { color: var(--accent); text-decoration: none; font-weight: bold; text-transform: uppercase; font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-light); }

.cookie-banner { position: fixed; bottom: -100px; left: 0; width: 100%; background: #111; color: #fff; padding: 1.5rem 5%; z-index: 9999; display: flex; justify-content: space-between; align-items: center; transition: bottom 0.5s ease; border-top: 3px solid var(--accent); }
.cookie-banner.show { bottom: 0; }
.cookie-btn { background: var(--secondary); color: #fff; border: none; padding: 0.8rem 2rem; border-radius: 5px; cursor: pointer; font-weight: bold; }

.legal-page { padding: 10rem 5% 5rem; min-height: 80vh; }
.legal-card { max-width: 900px; margin: 0 auto; background: #fff; padding: 4rem; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.legal-card h1 { font-size: 2.5rem; margin-bottom: 2rem; border-bottom: 2px solid var(--secondary); padding-bottom: 1rem; }
.legal-card h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.legal-card p, .legal-card ul { margin-bottom: 1.2rem; color: #444; }
.legal-card ul { padding-left: 2rem; }

.success-msg { text-align: center; padding: 2rem 0; }
.success-msg h3 { color: var(--primary); font-size: 2rem; margin-bottom: 1rem; }
.success-msg p { color: #555; font-size: 1.1rem; }

@media(max-width: 992px) {
    .about, .features-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-img { height: 350px; border-bottom-right-radius: 30px; box-shadow: 10px 10px 0 var(--accent); }
    .hero { flex-direction: column; padding-top: 8rem; }
    nav ul { display: none; }
    .random-section { margin: 0; padding: 4rem 2rem; border-radius: 20px; }
}
