/* Variables & Reset */
:root {
    --primary: #00E5FF;
    /* Neon Cyan */
    --secondary: #4F46E5;
    /* Deep Indigo */
    --dark: #0B1120;
    /* Very Dark Blue */
    --dark-light: #1E293B;
    /* Slate */
    --text: #F1F5F9;
    /* Off-white */
    --text-muted: #94A3B8;
    --success: #10B981;

    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--primary);
    font-weight: 600;
}

.mt-2 {
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--secondary);
    color: white;
}

.btn--primary:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

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

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

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

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

/* Header */
.header {
    background: rgba(11, 17, 32, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo__text {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

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

.nav__link {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition);
}

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

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

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    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;
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .burger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        padding: 40px;
        text-align: center;
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 20px;
    }

    .nav__link {
        font-size: 1.2rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    /* Robotic hand pointing - Pexels free license */
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.8) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.section__title {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.feature-card {
    background: var(--dark-light);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.feature-card__icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Services Masonry */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary);
}

.service-item.highlight {
    border-left-color: var(--primary);
    background: rgba(0, 229, 255, 0.05);
}

.service-item h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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

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

.review-card {
    background: var(--dark-light);
    padding: 30px;
    border-radius: 12px;
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary);
}

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

.review-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stars {
    color: #FFD700;
    font-size: 0.9rem;
}

.review-card .name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

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

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

.contact__list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.contact__list i {
    color: var(--primary);
}

.contact__form {
    background: var(--dark-light);
    padding: 30px;
    border-radius: 12px;
}

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

input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-family: inherit;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

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

.captcha-question {
    display: flex;
    align-items: center;
}

#captchaQuestion {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

#captchaAnswer {
    flex: 1;
    max-width: 200px;
}

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

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

.footer__col h4 {
    color: white;
    margin-bottom: 20px;
}

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

.footer__col a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.9rem;
}

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

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

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Modal & Cookie */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--dark-light);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 12px;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: 20px;
}

.modal-content p,
.modal-content li {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}

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

.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: var(--dark-light);
    padding: 20px;
    border-radius: 8px;
    z-index: 1500;
    border: 1px solid var(--primary);
    transition: bottom 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-popup.active {
    bottom: 20px;
}

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

.cookie-content p {
    font-size: 0.85rem;
}

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

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

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