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

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #151515;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --neon-cyan: #00f5ff;
    --neon-pink: #ff00ff;
    --neon-purple: #9d00ff;
    --neon-green: #00ff88;
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    --gradient-neon: linear-gradient(135deg, #00f5ff 0%, #9d00ff 100%);
    --gradient-card: linear-gradient(145deg, #151515 0%, #1a1a2e 100%);
    --shadow-neon: 0 0 20px rgba(0, 245, 255, 0.3);
    --shadow-pink: 0 0 20px rgba(255, 0, 255, 0.3);
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--gradient-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2100;
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: var(--shadow-neon);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.header__logo img {
    height: 50px;
    width: auto;
}

.header__logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.header__nav a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.header__nav a:hover {
    color: var(--neon-cyan);
}

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

.header__nav a:hover::after {
    width: 100%;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.header__contacts a {
    color: var(--text-secondary);
}

.header__contacts a:hover {
    color: var(--neon-cyan);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 2001;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    transition: all 0.3s ease;
}

.header__burger:hover {
    background: rgba(0, 245, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
}

.header__burger span {
    width: 28px;
    height: 3px;
    background: var(--neon-cyan);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.header__mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 26, 46, 0.98) 100%);
    z-index: 2000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    backdrop-filter: blur(20px);
    overflow-y: auto;
    max-height: 100vh;
}

.header__mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(0, 245, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.header__mobile-menu.active {
    display: flex;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.header__mobile-menu a {
    position: relative;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
    padding: 18px 40px;
    border-radius: 14px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 260px;
    background: var(--gradient-card);
    border: 1px solid rgba(0, 245, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    isolation: isolate;
}

.header__mobile-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-neon);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.header__mobile-menu a:hover {
    color: var(--bg-dark);
    transform: scale(1.04);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5), 0 0 60px rgba(157, 0, 255, 0.3);
    border-color: transparent;
}

.header__mobile-menu a:hover::before {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding: 150px 20px 100px;
    text-align: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero__badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero__badge {
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-neon);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero__cta {
    display: inline-block;
    background: var(--gradient-neon);
    color: var(--bg-dark);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-neon);
}

.hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neon);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-neon);
}

.card:hover::before {
    transform: scaleX(1);
}

.card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    fill: var(--neon-cyan);
}

.card__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.card__text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 30px;
}

.feature__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    fill: var(--neon-pink);
}

.feature__title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat__number {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Pricing Table */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing__card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-neon);
}

.pricing__card.featured {
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-neon);
}

.pricing__name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.pricing__price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--neon-cyan);
    margin-bottom: 20px;
}

.pricing__price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing__features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing__features li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing__features li::before {
    content: '✓';
    color: var(--neon-green);
    margin-right: 10px;
}

.pricing__cta {
    display: inline-block;
    background: var(--gradient-neon);
    color: var(--bg-dark);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pricing__cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

/* Reviews */
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review {
    background: var(--gradient-card);
    border: 1px solid rgba(157, 0, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-pink);
}

.review__text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.review__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-neon);
}

.review__name {
    font-weight: bold;
    color: var(--text-primary);
}

.review__rating {
    color: var(--neon-cyan);
}

/* Contact Form */
.contact__form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--gradient-card);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-darker);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-neon);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

.form__error {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form__error.visible {
    display: block;
}

.form__submit {
    width: 100%;
    background: var(--gradient-neon);
    color: var(--bg-dark);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form__submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

.form__success {
    display: none;
    text-align: center;
    padding: 20px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    color: var(--neon-green);
}

.form__success.visible {
    display: block;
}

/* Contact Buttons */
.contact__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact__button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact__button--whatsapp {
    background: #25D366;
    color: white;
}

.contact__button--viber {
    background: #7360F2;
    color: white;
}

.contact__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.contact__button svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Map */
.map {
    margin-top: 50px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-neon);
}

.map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    padding: 60px 20px 30px;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer__logo img {
    height: 50px;
    width: auto;
}

.footer__logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__menu a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer__menu a:hover {
    color: var(--neon-cyan);
    padding-left: 10px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__contacts p {
    color: var(--text-secondary);
}

.footer__contacts a {
    color: var(--text-secondary);
}

.footer__contacts a:hover {
    color: var(--neon-cyan);
}

.footer__social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer__social a:hover {
    background: var(--neon-cyan);
    box-shadow: var(--shadow-neon);
}

.footer__social svg {
    width: 20px;
    height: 20px;
    fill: var(--neon-cyan);
}

.footer__social a:hover svg {
    fill: var(--bg-dark);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Legal Pages */
.legal {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px;
}

.legal h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.legal h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--neon-cyan);
}

.legal p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal ul {
    margin: 20px 0;
    padding-left: 20px;
}

.legal li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
    list-style-type: disc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header__nav,
    .header__contacts {
        display: none;
    }

    .header__burger {
        display: flex;
    }

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

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__badges {
        flex-direction: column;
        align-items: center;
    }

    .section__title {
        font-size: 2rem;
    }

    .cards,
    .features,
    .stats,
    .pricing,
    .reviews {
        grid-template-columns: 1fr;
    }

    .contact__buttons {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero__cta {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .card,
    .pricing__card,
    .review,
    .contact__form {
        padding: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-neon);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Image Slider */
.slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 245, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 245, 255, 0.15);
}

.slider__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider__slide {
    min-width: 100%;
    position: relative;
}

.slider__slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(0, 245, 255, 0.4);
    color: var(--neon-cyan);
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.slider__arrow:hover {
    background: rgba(0, 245, 255, 0.25);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.slider__arrow--prev {
    left: 15px;
}

.slider__arrow--next {
    right: 15px;
}

.slider__dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider__dot.active {
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.6);
    transform: scale(1.2);
}
