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

:root {
    --primary-color: #0f172a; /* Deep Blue / Slate 900 */
    --secondary-color: #3b82f6; /* Bright Blue */
    --accent-color: #8b5cf6; /* Vibrant Purple */
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-main: #f1f5f9;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(59, 130, 246, 0.25);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-accent {
    background: var(--accent-color);
    color: #fff;
    width: 100%;
}

.btn-accent:hover {
    background: #7c3aed;
}

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8)), url('https://picsum.photos/seed/xuvohero/1920/1080') no-repeat center center/cover;
    color: var(--text-light);
    padding: 120px 0;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin-bottom: 30px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    color: #cbd5e1;
    font-weight: 300;
    max-width: 700px;
}

/* Metrics Section */
.random-section {
    padding: 100px 0;
    background: #fff;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: -150px;
    position: relative;
    z-index: 10;
}

.metric-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.metric-card i {
    color: var(--accent-color);
    margin-bottom: 24px;
}

.metric-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.metric-card p {
    color: #64748b;
}

/* About & Features */
.about-section, .features-section {
    padding: 120px 0;
    background: #fff;
}

.features-section {
    background: var(--bg-main);
}

.about-container, .features-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.features-container {
    flex-direction: row-reverse;
}

.about-text, .features-text {
    flex: 1;
}

.about-text h2, .features-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about-text p, .features-text p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 20px;
}

.features-text ul {
    list-style: none;
    margin-top: 30px;
}

.features-text li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #334155;
}

.features-text i {
    color: var(--secondary-color);
    background: #e0f2fe;
    padding: 8px;
    border-radius: 50%;
    font-size: 0.9rem;
    margin-top: 4px;
}

.about-image, .features-image {
    flex: 1;
    position: relative;
}

.about-image img, .features-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: block;
}

/* Form Section */
.form-section {
    padding: 120px 0;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(15,23,42,0) 70%);
    z-index: 0;
}

.form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.form-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-color);
}

.form-wrapper > p {
    text-align: center;
    margin-bottom: 40px;
    color: #64748b;
    font-size: 1.05rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--secondary-color);
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: underline;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    color: #10b981;
    margin-bottom: 24px;
}

.form-success h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

/* Random 2 - Sectors */
.random-section-2 {
    padding: 100px 0;
    background: #fff;
}

.sectors-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sector-item {
    padding: 40px;
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-color);
}

.sector-item h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* FAQ */
.faq-section {
    padding: 100px 0;
    background: var(--bg-main);
}

.faq-container {
    max-width: 800px;
}

details {
    background: #fff;
    margin-bottom: 16px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.3s ease;
}

details[open] {
    border-left: 4px solid var(--secondary-color);
}

summary {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--primary-color);
    outline: none;
    list-style-position: inside;
}

summary::-webkit-details-marker {
    color: var(--secondary-color);
}

details p {
    margin-top: 16px;
    color: #475569;
    padding-left: 20px;
    border-left: 2px solid #e2e8f0;
}

/* Footer */
footer {
    background: #020617;
    color: #94a3b8;
    padding: 80px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    z-index: 9999;
    border: 1px solid #e2e8f0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-content p {
    font-size: 0.95rem;
    color: #334155;
    flex: 1;
}

/* Legal Pages Wrapper */
.legal-wrapper {
    max-width: 900px;
    margin: 80px auto;
    background: #fff;
    padding: 80px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.legal-wrapper h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    border-bottom: 3px solid var(--bg-main);
    padding-bottom: 20px;
}

.legal-wrapper h2 {
    margin: 40px 0 20px;
    font-size: 1.6rem;
    color: var(--text-dark);
}

.legal-wrapper p, .legal-wrapper ul {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #475569;
}

.legal-wrapper ul {
    margin-left: 24px;
}

/* Contact Page Map */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 50px;
    box-shadow: var(--shadow-soft);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container, .features-container {
        flex-direction: column;
        gap: 50px;
    }
    .metrics-grid {
        margin-top: 0;
    }
    .form-wrapper {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 20px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .legal-wrapper {
        padding: 40px 24px;
        margin: 40px 16px;
    }
    .hero {
        padding: 100px 0 60px;
    }
}
