﻿:root {
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
    --accent: #38bdf8;
    --success: #10b981;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { color: var(--bg-dark); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Buttons */
.btn-primary, .btn-large, .btn-submit {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn-primary:hover, .btn-large:hover, .btn-submit:hover { background-color: var(--primary-hover); }
.btn-large { padding: 18px 36px; font-size: 1.1rem; margin-top: 2rem; }

/* Header */
.site-header {
    background: var(--bg-dark);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 700; }
.main-nav ul { display: flex; gap: 20px; }
.main-nav a { transition: color 0.3s; }
.main-nav a:hover { color: var(--accent); }

/* Hero */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1598555359873-19612053075c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
}
.hero-content h1 { color: var(--white); font-size: 4rem; margin-bottom: 1.5rem; }
.hero-content h1 span { color: var(--accent); }
.hero-content p { font-size: 1.2rem; max-width: 800px; margin: 0 auto; color: #cbd5e1; }

/* Solutions Cards */
.solutions-section { padding: 5rem 0; background: var(--white); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { padding: 2.5rem; background: var(--bg-light); border-radius: 12px; text-align: center; border: 1px solid #e2e8f0; transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.card-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 1rem; }

/* About */
.about-section { padding: 5rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1rem; font-size: 1.1rem; }
.about-image img { border-radius: 12px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }

/* Features */
.features-section { padding: 5rem 0; background: var(--white); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.features-image img { border-radius: 12px; }
.features-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.feature-bullets li { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; font-size: 1.1rem; }
.feature-bullets i { color: var(--success); }

/* Form Section */
.form-section { padding: 5rem 0; background: var(--bg-dark); color: var(--white); }
.form-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.form-info h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 1rem; }
.form-info p { color: var(--text-light); font-size: 1.1rem; }
.form-container { background: var(--white); padding: 3rem; border-radius: 12px; color: var(--text-main); }
.input-group { margin-bottom: 1.5rem; }
.input-group input { width: 100%; padding: 14px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 1rem; outline: none; }
.input-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2); }
.checkbox-group { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 1.5rem; font-size: 0.9rem; }
.checkbox-group a { color: var(--primary); text-decoration: underline; }
.btn-submit { width: 100%; font-size: 1.1rem; padding: 16px; }

/* Success Block */
.success-message { text-align: center; padding: 2rem 0; }
.success-message i { font-size: 4rem; color: var(--success); margin-bottom: 1rem; }
.success-message h3 { margin-bottom: 1rem; color: var(--bg-dark); }

/* Tech Section */
.tech-section { padding: 5rem 0; text-align: center; }
.tech-section h2 { margin-bottom: 2rem; font-size: 2.5rem; }
.tech-banner img { border-radius: 16px; width: 100%; max-height: 500px; object-fit: cover; }

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

/* Footer */
.site-footer { background: var(--bg-dark); color: var(--text-light); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-links h4, .footer-contact h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { margin-bottom: 0.5rem; }
.footer-contact i { margin-right: 10px; color: var(--accent); }
.footer-bottom { background: #0b1120; padding: 1.5rem 0; text-align: center; font-size: 0.85rem; }
.legal-disclaimer { margin-bottom: 0.5rem; color: #64748b; }

/* Legal Pages layout */
.legal-page-main { padding: 4rem 0; background: var(--white); }
.legal-container { max-width: 800px; margin: 0 auto; }
.legal-container h1 { margin-bottom: 2rem; font-size: 2.5rem; }
.legal-container h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; }
.legal-container p, .legal-container ul { margin-bottom: 1rem; font-size: 1.05rem; }
.legal-container ul { padding-left: 20px; list-style-type: disc; }

/* Contact page map */
.map-container { margin-top: 2rem; border-radius: 12px; overflow: hidden; height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--bg-dark); color: var(--white); padding: 1.5rem; z-index: 1000; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; box-shadow: 0 -4px 6px rgba(0,0,0,0.1); transform: translateY(100%); transition: transform 0.5s ease; }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { flex: 1; min-width: 300px; margin-right: 2rem; font-size: 0.9rem; }
.cookie-buttons { display: flex; gap: 10px; }
.btn-cookie { padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-weight: 600; }
.btn-accept { background: var(--primary); color: white; }
.btn-reject { background: transparent; color: var(--white); border: 1px solid var(--white); }

/* Mobile */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 15px; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .about-grid, .features-grid, .form-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .features-grid { display: flex; flex-direction: column-reverse; }
    .cookie-banner { flex-direction: column; gap: 1rem; text-align: center; }
    .cookie-banner p { margin-right: 0; }
}