:root {
    --primary-bg: #020617;
    /* Deepest Slate */
    --secondary-bg: #0f172a;
    /* Dark Slate */
    --primary-color: #38bdf8;
    /* Sky Blue */
    --accent-color: #7dd3fc;
    /* Lighter Sky Blue (Monochrome accent) */
    --text-color: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --white: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 70px;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(56, 189, 248, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-bg);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.btn-cta {
    background: var(--white);
    color: var(--primary-bg);
    font-size: 1.1rem;
    padding: 15px 40px;
}

.btn-cta:hover {
    transform: scale(1.05);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--white);
    position: relative;
    /* display: inline-block;  <-- Removed */
    /* left: 50%;             <-- Removed */
    /* transform: translateX(-50%); <-- Removed */
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

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

.nav-list a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.burger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 6px 0;
    transition: var(--transition);
}

.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);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--secondary-bg);
    padding: 30px 20px;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
}

.mobile-nav-list li {
    margin: 25px 0;
}

.mobile-nav-list a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('images/hero_bg.png') center/cover no-repeat;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    /* Heavy slate overlay for monochrome feel */
    z-index: 1;
}

.hero-overlay {
    display: none;
    /* Replaced by pseudo-element for better control */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--header-height);
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(56, 189, 248, 0.1);
    background: rgba(15, 23, 42, 0.8);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    display: inline-block;
    padding: 20px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    margin-bottom: 16px;
    color: var(--white);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-item {
    background: var(--secondary-bg);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(56, 189, 248, 0.05);
}

.service-item h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--white);
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Reviews */
.reviews {
    background: url('images/reviews_bg.png') center/cover no-repeat;
    position: relative;
    /* optional: add overlay if needed to ensure text readability, but cards have bg */
}

.reviews-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.review-card {
    background: var(--secondary-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    filter: grayscale(100%);
    /* Monochrome touch */
}

.stars {
    color: var(--primary-color);
    /* Blue stars instead of yellow */
    font-size: 0.9rem;
}

.review-card h5 {
    color: var(--white);
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-muted);
}

/* Contacts */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--white);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-info i {
    color: var(--primary-color);
    width: 24px;
    font-size: 1.2rem;
    text-align: center;
}

.contact-form {
    background: var(--secondary-bg);
    padding: 48px;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--white);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 14px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--white);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.btn-submit {
    width: 100%;
    border: none;
    background: var(--primary-color);
    color: var(--secondary-bg);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px;
    font-size: 1rem;
}

.btn-submit:hover {
    background: var(--accent-color);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: var(--text-muted);
}

.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(15, 23, 42, 0.3);
    border-top: 2px solid #0f172a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-message {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    min-height: 24px;
}

.success-message {
    color: #4ade80;
    /* Keep green for success as it's functional */
}

/* Footer */
.footer {
    background: #000000;
    padding: 80px 0 30px;
    margin-top: 100px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: var(--secondary-bg);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
}

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

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    flex: 1;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.9);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

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

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--secondary-bg);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    padding: 40px;
    border-radius: var(--border-radius);
    z-index: 3001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    overflow-y: auto;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--white);
    transform: rotate(90deg);
}

.modal-content h3 {
    margin-bottom: 24px;
    color: var(--white);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

.modal-content p,
.modal-content ul {
    margin-bottom: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

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

.modal-content li {
    margin-bottom: 8px;
}

/* Media Queries */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews-slider {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .cookie-popup {
        width: 420px;
        left: 30px;
        right: auto;
    }

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

@media (min-width: 1024px) {
    .burger {
        display: none;
    }

    .nav-list {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}