======= ===========================================
   RESET & BASE STYLES
=========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   TYPOGRAPHY
=========================================== */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.highlight {
    color: #00d9ff;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00d9ff, transparent);
    border-radius: 2px;
}

/* ===========================================
   HEADER & NAVIGATION
=========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.logo-text {
    color: #f5f5f5;
}

.logo-dot {
    color: #00d9ff;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    position: relative;
    color: #aaa;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-link:hover {
    color: #f5f5f5;
}

.nav-line {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d9ff, #0088cc);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover .nav-line {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding-right: 50px;
}

.menu-line {
    width: 25px;
    height: 2px;
    background-color: #f5f5f5;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    color: #aaa;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #00d9ff;
}

/* ===========================================
   HERO SECTION
=========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/Creative-hero.webp');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.1);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(10, 10, 10, 0.9), rgba(0, 0, 0, 0.7));
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 217, 255, 0.1);
    color: #00d9ff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #f5f5f5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(90deg, #00d9ff, #0088cc);
    color: #0a0a0a;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.1rem;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, #00d9ff, transparent);
}

.scroll-text {
    font-size: 0.9rem;
    color: #aaa;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ===========================================
   REVIEWS SECTION
=========================================== */
.reviews {
    padding: 100px 0;
    background-color: #0f0f0f;
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 217, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #f5f5f5;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 500px;
    margin: 0 auto;
    transform: translateX(-5%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(20, 20, 20, 0.7);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00d9ff, #0088cc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.review-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 217, 255, 0.2);
}

.review-card:hover::before {
    transform: scaleX(1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d9ff, #0088cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: #0a0a0a;
}

.review-info {
    flex: 1;
}

.review-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #f5f5f5;
}

.review-position {
    font-size: 0.9rem;
    color: #aaa;
}

.review-quote {
    color: #00d9ff;
    font-size: 1.5rem;
    opacity: 0.7;
}

.review-text {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.review-rating {
    display: flex;
    gap: 5px;
    color: #ffd700;
    font-size: 1rem;
}
/* Review Popup */
.review-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.review-popup.active { display: flex; }

.review-popup-content {
    background: #1a1a1a;
    color: #fff;
    padding: 35px;
    width: 100%;
    max-width: 460px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
}

.review-popup-content label {
    display: block;
    margin: 20px 0 8px;
    font-weight: 500;
    color: #ddd;
}

.review-popup-content select,
.review-popup-content textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    font-size: 1rem;
}

.review-popup-content textarea {
    resize: vertical;
    min-height: 120px;
}

/* Звёзды рейтинга */
.rating-stars {
    display: flex;
    gap: 8px;
    margin: 10px 0 20px;
    font-size: 32px;
    cursor: pointer;
}

.rating-stars i {
    color: #555;
    transition: all 0.2s;
}

.rating-stars i.active,
.rating-stars i.hover {
    color: #ffd700;
}
/* ===========================================
   FOOTER
=========================================== */
.footer {
    background-color: #0a0a0a;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer .logo {
    margin-bottom: 10px;
}

.footer-text {
    color: #aaa;
    max-width: 400px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00d9ff;
    color: #0a0a0a;
    transform: translateY(-3px);
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ===========================================
   POPUP STYLES
=========================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    background: rgba(20, 20, 20, 0.95);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.popup-overlay.active .popup {
    transform: translateY(0);
    transform: translateX(-20px);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.popup-title {
    font-size: 1.8rem;
    color: #f5f5f5;
}

.popup-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f5f5f5;
    transform: rotate(90deg);
}

.popup-content {
    padding: 30px;
}

/* Вакансии в popup */
.vacancy-card {
    background: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.vacancy-card:hover {
    border-color: rgba(0, 217, 255, 0.2);
    transform: translateY(-3px);
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.vacancy-title {
    font-size: 1.4rem;
    color: #f5f5f5;
    margin-bottom: 5px;
}

.vacancy-badge {
    background: rgba(0, 217, 255, 0.1);
    color: #00d9ff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.vacancy-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.vacancy-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 0.9rem;
}

.vacancy-item i {
    color: #00d9ff;
}

.vacancy-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.vacancy-btn {
    width: 100%;
}

/* Контакты в popup */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 25px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.telegram-card {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(0, 217, 255, 0.05));
    border-color: rgba(0, 136, 204, 0.2);
}

.whatsapp-card {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(0, 168, 107, 0.05));
    border-color: rgba(37, 211, 102, 0.2);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.telegram-card:hover {
    border-color: rgba(0, 136, 204, 0.5);
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15), rgba(0, 217, 255, 0.1));
}

.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(0, 168, 107, 0.1));
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.telegram-card .contact-icon {
    background: linear-gradient(135deg, #0088cc, #00d9ff);
    color: #0a0a0a;
}

.whatsapp-card .contact-icon {
    background: linear-gradient(135deg, #25d366, #00a86b);
    color: #0a0a0a;
}

.contact-title {
    font-size: 1.5rem;
    color: #f5f5f5;
    margin-bottom: 10px;
}

.contact-description {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #00d9ff;
    font-weight: 500;
    font-size: 1rem;
    transition: gap 0.3s ease;
}

.contact-card:hover .contact-action {
    gap: 15px;
}

.contact-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 217, 255, 0.2);
    color: #00d9ff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.contacts-note {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contacts-note i {
    color: #00d9ff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contacts-note p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================================
   RESPONSIVE STYLES
=========================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .popup {
        max-height: 95vh;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        transform: translateX(-5%);
    }
    
    .review-card {
        padding: 20px;
        transform: translateX(-20px);
    }
    
    .popup-header {
        padding: 20px;
    }
    
    .popup-content {
        padding: 20px;
    }
    
    .vacancy-info {
        flex-direction: column;
        gap: 10px;
    }
}
