:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #06b6d4;
    /* Cyan Neon */
    --secondary: #6366f1;
    /* Indigo */
    --accent: #f59e0b;
    /* Amber */
    --danger: #ef4444;
    --success: #22c55e;

    --font-main: 'Outfit', sans-serif;

    --container-width: 1200px;
    --header-height: 70px;
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn--primary {
    background: var(--primary);
    color: #000;
}

.btn--primary:hover {
    box-shadow: 0 0 15px var(--primary);
    transform: translateY(-2px);
}

.btn--secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn--secondary:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    text-align: center;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.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(--text-main);
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    z-index: 999;
}

.nav.active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

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

.nav__list li {
    margin: 20px 0;
}

.nav__link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav__close:hover {
    background: rgba(6, 182, 212, 0.2);
    color: var(--primary);
    transform: translateY(-2px) rotate(90deg);
}

/* Burger */
.burger {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.burger:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.burger:hover span {
    background: var(--primary);
}

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.6));
}

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

.badge {
    display: inline-block;
    background: rgba(6, 182, 212, 0.15);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(6, 182, 212, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

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

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

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

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

.section--dark {
    background: rgba(30, 41, 59, 0.3);
}

.section__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.section__title--left {
    text-align: left;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.feature-card__icon {
    width: 50px;
    margin-bottom: 20px;
}

/* Services Masonry */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 250px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-card__img {
    transform: scale(1.1);
}

.service-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-card__content {
    background: linear-gradient(to top, rgba(6, 182, 212, 0.3), transparent);
}

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

.review-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
}

.review-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.review-card:hover .review-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.review-author {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

.stars {
    color: var(--accent);
}

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

.contact-list {
    list-style: none;
    margin-top: 30px;
}

.contact-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:hover {
    border-color: rgba(6, 182, 212, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

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

.captcha-group input {
    width: 60px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.captcha-group input:hover {
    border-color: rgba(6, 182, 212, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.captcha-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-privacy {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 15px;
    text-align: center;
}

.form-privacy a {
    color: var(--text-muted);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.form-privacy a:hover {
    color: var(--primary);
    text-shadow: 0 0 5px rgba(6, 182, 212, 0.5);
}

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

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer__col ul {
    list-style: none;
}

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

.footer__col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

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

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


/* Modals */
.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: 0.3s;
}

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

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 0;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

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

.modal__header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__close {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__close:hover {
    background: rgba(6, 182, 212, 0.2);
    color: var(--primary);
    transform: translateY(-2px) rotate(90deg);
}

.modal__body {
    padding: 20px;
    overflow-y: auto;
    line-height: 1.6;
}

.modal__body h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.1rem;
}

.modal__body ul,
.modal__body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.modal__body li {
    margin-bottom: 8px;
}

.modal__body a {
    color: var(--primary);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.modal__body a:hover {
    color: var(--text-main);
    text-shadow: 0 0 5px var(--primary);
}

/* Tablet+ Styles */
@media (min-width: 768px) {

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

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card--large {
        grid-column: span 1;
        grid-row: span 2;
        height: 100%;
    }

    .service-card--wide {
        grid-column: span 2;
    }

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

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

    .hero__title {
        font-size: 3.5rem;
    }
}

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

    .nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        box-shadow: none;
    }

    .nav__close {
        display: none;
    }

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

    .nav__list li {
        margin: 0;
    }
}