:root {
    /* New Palette: Deep Tech Blue + Neon Cyan */
    --primary: #00cec9;
    --primary-hover: #00b894;
    --secondary: #6c5ce7;
    --dark-bg: #2d3436;
    --card-bg: #353b48;
    --text-light: #dfe6e9;
    --text-dark: #2d3436;
    --accent: #fdcb6e;
    --overlay: rgba(0, 0, 0, 0.7);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(45, 52, 54, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Burger Menu */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    transition: var(--transition);
}

.burger:hover {
    opacity: 0.8;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    position: absolute;
    transition: var(--transition);
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 9px;
}

.burger span:nth-child(3) {
    top: 18px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

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

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('images/hero-robot-pointing.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(45, 52, 54, 0.8), rgba(45, 52, 54, 0.9));
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background-color: rgba(0, 206, 201, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid var(--primary);
    transition: var(--transition);
}

.badge:hover {
    background-color: rgba(0, 206, 201, 0.3);
    transform: scale(1.05);
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #b2bec3;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn--primary {
    background-color: var(--primary);
    color: var(--dark-bg);
}

.btn--primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

.btn--small {
    padding: 8px 16px;
    font-size: 0.8rem;
}

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

.btn--outline:hover {
    background: var(--text-light);
    color: var(--dark-bg);
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary);
}

/* Features */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 206, 201, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.service-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 206, 201, 0.3);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.service-item:hover img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    transition: var(--transition);
}

/* Reviews */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 206, 201, 0.3);
}

.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--primary);
    transition: var(--transition);
}

.review-card:hover .review-avatar {
    transform: scale(1.1);
    border-color: var(--primary-hover);
    box-shadow: 0 0 20px rgba(0, 206, 201, 0.5);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 700;
    color: var(--primary);
}

/* Contact */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact__info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact__info p {
    margin-bottom: 10px;
}

.mt-4 {
    margin-top: 20px;
}

.contact__form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
}

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

input {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

input:hover {
    border-color: rgba(0, 206, 201, 0.5);
    background-color: rgba(255, 255, 255, 0.08);
}

input:focus {
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 206, 201, 0.1);
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
}

.captcha-group span {
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
}

.captcha-group input {
    flex: 1;
    max-width: 150px;
}

.error-msg {
    color: #ff7675;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

/* Form Status (Spinner/Success) */
.form-status {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

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

.success-message {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer__logo {
    margin-bottom: 20px;
}

.footer h4 {
    margin-bottom: 20px;
    color: var(--primary);
}

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

.footer ul li a {
    transition: var(--transition);
    display: inline-block;
}

.footer ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    max-width: 350px;
    border: 1px solid var(--primary);
    display: none;
    /* Controlled by JS */
}

.cookie-content p {
    margin-bottom: 15px;
}

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

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background-color: var(--card-bg);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: var(--border-radius);
    padding: 50px 40px 40px;
    position: relative;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 206, 201, 0.2);
}

.modal.active {
    display: flex;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary);
    background-color: rgba(0, 206, 201, 0.1);
    transform: scale(1.1) rotate(90deg);
}

.modal-content {
    overflow-y: auto;
    padding-right: 15px;
    padding-top: 10px;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

.modal-content h3 {
    color: var(--primary);
    margin-bottom: 25px;
    margin-top: 0;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.modal-content h4 {
    color: var(--primary);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.modal-content p {
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.modal-content ul,
.modal-content ol {
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 25px;
}

.modal-content ul li,
.modal-content ol li {
    margin-bottom: 10px;
    color: var(--text-light);
}

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

.modal-content a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        font-size: 1.5rem;
        margin-top: 150px;
    }

    .burger {
        display: block;
        z-index: 1001;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .contact__wrapper {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}