:root {
    --color-bg: #0f172a;
    --color-text: #f1f5f9;
    --color-text-muted: #94a3b8;
    --color-primary: #38bdf8;
    --color-secondary: #818cf8;
    --color-accent: #2dd4bf;
    --color-danger: #f87171;
    --color-surface: #1e293b;
    --color-border: #334155;

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

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius: 12px;
    --transition: all 0.3s ease;

    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.section__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
}

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

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

.btn--text {
    background: transparent;
    color: var(--color-primary);
    padding: 0;
}

.btn--text:hover {
    color: var(--color-secondary);
}

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

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav {
    position: fixed;
    top: 73px;
    /* Header height approx */
    left: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background: var(--color-bg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: var(--transition);
}

.nav.active {
    transform: translateX(0);
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.nav__link {
    font-size: 1.25rem;
    font-weight: 600;
}

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

.burger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    left: 0;
    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) {
    top: 9px;
    transform: rotate(45deg);
}

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

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

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

    .nav {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        transform: none;
        padding: 0;
    }

    .nav__list {
        flex-direction: row;
        gap: 2rem;
    }

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
}

.hero__container {
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.hero__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.hero__note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero__note::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent);
}

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

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

.feature-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}

.feature-card__icon {
    width: 50px;
    height: 50px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Services */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--color-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
    transform: translateY(-5px);
}

.service-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card__content {
    padding: 2rem;
    text-align: center;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.review-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.review-card__role {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: block;
}

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

@media (min-width: 768px) {
    .reviews__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact */
.contact {
    position: relative;
    overflow: hidden;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact__title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact__list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-muted);
}

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

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-family: inherit;
    transition: var(--transition);
}

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

.captcha-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-group label {
    font-family: monospace;
    font-size: 1.25rem;
    white-space: nowrap;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.form-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    min-height: 1.5rem;
}

.form-message.success {
    color: var(--color-accent);
}

.form-message.error {
    color: var(--color-danger);
}

@media (min-width: 768px) {
    .contact__wrapper {
        grid-template-columns: 1fr 1fr;
        padding: 4rem;
    }
}

/* Footer */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.logo--footer {
    margin-bottom: 1rem;
}

.footer__col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.footer__col li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-surface);
    border-top: 1px solid var(--color-primary);
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

.cookie-popup__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

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

.cookie-popup__actions {
    display: flex;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-popup__content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal__content {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 2001;
    border: 1px solid var(--color-border);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.active .modal__content {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal__close:hover {
    color: var(--color-danger);
}

.modal__body h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.modal__body h4 {
    margin: 1rem 0 0.5rem;
}

.modal__body p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.modal__body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}