/* CHANGE_FONT_HERE: Используем Google Font 'Oxanium' для футуристичного IT стиля */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;800&display=swap');

:root {
    /* Color Palette: Cyber Mint */
    --primary: #00f2ea;
    --primary-dark: #00c7bf;
    --secondary: #ff0055;
    --bg-dark: #0b0c15;
    --bg-card: #151621;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --border: #2a2b3d;

    /* Spacing & UI */
    --container: 1200px;
    --radius-sm: 8px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px -10px rgba(0, 242, 234, 0.15);
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

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

/* Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.6);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hidden {
    display: none !important;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 12, 21, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    z-index: 1001;
}

.logo img {
    height: 32px;
    width: 32px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

/* Burger Menu Styles */
.burger {
    display: none;
    /* Приховано на ПК */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    padding: 5px;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(80px);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.2);
}

.hero-badge {
    background: rgba(255, 0, 85, 0.15);
    color: var(--secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 0, 85, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.eu-notice {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
    opacity: 0.7;
    font-style: italic;
}

/* About - Icon Cards */
.about {
    padding: 80px 0;
    background: var(--bg-card);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 234, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Products Grid */
.products {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    group: hover;
}

.product-img {
    height: 200px;
    background: #1f2130;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.product-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Reviews */
.reviews {
    padding: 80px 0;
    background: var(--bg-card);
    overflow: hidden;
}

.review-slider {
    display: flex;
    gap: 30px;
    padding-bottom: 30px;
    padding-left: 5px;
    padding-right: 5px;

    /* Логіка скролу */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.review-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary);

    flex: 0 0 350px;
    width: 350px;

    scroll-snap-align: center;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Contact Form */
.contact {
    padding: 80px 0;
    position: relative;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-input,
.form-textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.form-input:focus {
    border-color: var(--primary);
}

.captcha-container {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.captcha-label {
    user-select: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
}

.status-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: var(--radius-sm);
    display: none;
}

.status-success {
    background: rgba(0, 242, 234, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.status-error {
    background: rgba(255, 0, 85, 0.1);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.checkbox-wrap {
    display: flex;
    gap: 10px;
    align-items: start;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkbox-wrap input {
    margin-top: 4px;
}

/* Footer */
footer {
    background: #08090f;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

/* FOOTER GRID PC FIX (4 рівні колонки) */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Фікс для ПК: 4 рівні колонки */
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

/* --- FOOTER COLORS --- */

.footer-brand p {
    color: var(--text-muted);
}

.footer-links li {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a[href^="tel:"] {
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 5px;
}

.footer-links a[href^="tel:"]:hover {
    color: var(--primary);
}

.footer-links a[href^="mailto:"] {
    color: var(--text-muted);
    font-weight: 400;
}

.footer-links a[href^="mailto:"]:hover {
    color: var(--primary);
}

.footer-links a,
.footer-links button {
    text-decoration: none;
    transition: 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: var(--text-muted);
    /* СІРИЙ */
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--primary);
}

/* ------------------------------- */

.copyright {
    text-align: center;
    color: #555;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 450px;
    background: rgba(21, 22, 33, 0.95);
    border: 1px solid var(--primary);
    padding: 25px;
    border-radius: var(--radius-sm);
    z-index: 999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

.cookie-popup.active {
    transform: translateY(0);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.modal-body h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.5rem;
}

.modal-body p,
.modal-body ul {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.modal-body ul {
    padding-left: 20px;
}

/* Media Queries (MOBILE FIXES) */
@media (max-width: 1024px) {
    .burger {
        display: flex;
        /* Показуємо кнопку */
        margin-left: auto;
        /* Притискаємо до правого краю */
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        right: 0;
    }

    /* ФУТЕР - 2 КОЛОНКИ НА ПЛАНШЕТАХ */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-img {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Мобільні стилі для відгуків (ГУМА) */
    .review-card {
        flex: 0 0 85vw;
        width: 85vw;
        max-width: 400px;
    }

    /* ФУТЕР - 1 КОЛОНКА НА МОБІЛЬНИХ */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
}