﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&family=Space+Grotesk:wght@500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary: #0F172A; /* Deep Slate */
    --secondary: #10B981; /* Emerald Green */
    --accent: #F59E0B; /* Amber */
    --bg: #FAFAF9;
    --text: #1C1917;
    --white: #FFFFFF;
}

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

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

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

/* Typography */
h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 2rem; }

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100;
    padding: 1rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.5rem; color: var(--primary); text-decoration: none; }
.logo img { width: 40px; }

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

/* Hero */
.hero {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    min-height: 85vh; background: var(--bg);
}
.hero-text p { font-size: 1.25rem; margin-bottom: 2rem; color: #444; }
.btn-primary {
    background: var(--secondary); color: var(--white); padding: 1.2rem 2.5rem;
    font-size: 1.1rem; font-weight: 600; text-decoration: none; border-radius: 4px;
    display: inline-block; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--primary); transform: translateY(-3px); }
.hero-img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* Random Section */
.random-section { background: var(--primary); color: var(--white); text-align: center; }
.random-section h2 { color: var(--white); }

/* About & Features */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 4rem; }
.features-grid:nth-child(even) { direction: rtl; }
.features-grid:nth-child(even) > * { direction: ltr; }
.feature-img { width: 100%; border-radius: 20px; }
.feature-list { list-style: none; margin-top: 1.5rem; }
.feature-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.feature-list i { color: var(--secondary); font-size: 1.5rem; }

/* Form Section */
.form-section { background: #fff; border-top: 1px solid #eee; }
.form-container {
    max-width: 600px; margin: 0 auto; background: var(--white);
    padding: 3rem; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.form-group { margin-bottom: 1.5rem; }
.form-group input {
    width: 100%; padding: 1.2rem; border: 1px solid #ccc; border-radius: 8px;
    font-size: 1rem; font-family: inherit; transition: border 0.3s;
}
.form-group input:focus { border-color: var(--secondary); outline: none; }
.checkbox-group { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: #555; }
.checkbox-group input { width: auto; margin-top: 4px; }
.success-msg { display: none; text-align: center; padding: 2rem; background: #ecfdf5; border-radius: 8px; border: 1px solid var(--secondary); }
.success-msg h3 { color: var(--secondary); margin-bottom: 10px; }

/* FAQ */
details { background: #fff; padding: 1.5rem; border-radius: 8px; margin-bottom: 1rem; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
summary { font-size: 1.2rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f078'; font-family: 'FontAwesome'; color: var(--accent); }
details[open] summary::after { content: '\f077'; }
details p { margin-top: 1rem; color: #555; }

/* Legal Pages */
.legal-main { padding: 4rem 5%; background: var(--bg); min-height: 80vh; }
.legal-container {
    max-width: 900px; margin: 0 auto; background: var(--white);
    padding: 4rem; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}
.legal-container h1 { font-size: 2.5rem; margin-bottom: 2rem; border-bottom: 2px solid var(--secondary); padding-bottom: 1rem; }
.legal-container h2 { font-size: 1.8rem; margin-top: 2rem; margin-bottom: 1rem; }
.legal-container p { margin-bottom: 1rem; color: #444; }
.map-container { width: 100%; height: 300px; margin-top: 2rem; border-radius: 12px; overflow: hidden; }

/* Footer */
footer { background: var(--primary); color: #fff; padding: 3rem 5%; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.footer-links a { color: #aaa; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--secondary); }

/* Cookie */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%; background: #111; color: #fff;
    padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transform: translateY(100%); transition: transform 0.5s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-btns { display: flex; gap: 1rem; }
.btn-cookie { padding: 0.8rem 1.5rem; border: none; cursor: pointer; border-radius: 4px; font-weight: bold; }
.btn-accept { background: var(--secondary); color: #fff; }
.btn-decline { background: transparent; color: #ccc; border: 1px solid #555; }

/* Mobile */
@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .features-grid { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; gap: 1rem; text-align: center; }
    .legal-container { padding: 2rem; }
}
