
/* Общие стили скроллбара */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Дорожка скроллбара */
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  border-radius: 4px;
}

/* Ползунок скроллбара */
::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #7C3AED, #EC4899);
  border-radius: 5px;
  border: 2px solid rgba(15, 23, 42, 0.3);
  transition: all 0.3s ease;
}

/* Ховер-эффект для ползунка */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #8B5CF6, #F472B6);
}

/* Стили для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #7C3AED #0F172A;
}


        :root {
            --primary: #7c3aed;
            --primary-light: #8b5cf6;
            --primary-dark: #6d28d9;
            --dark: #0f172a;
            --darker: #020617;
            --light: #e2e8f0;
            --lighter: #f8fafc;
            --gray: #64748b;
            --success: #10b981;
        }

        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background-color: var(--darker);
            color: var(--lighter);
            font-family: 'Roboto', sans-serif;
            line-height: 1.7;
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4 {
            font-weight: 700;
            line-height: 1.2;
        }
        
        code {
            font-family: 'JetBrains Mono', monospace;
            background: rgba(124, 58, 237, 0.1);
            padding: 0.2rem 0.4rem;
            border-radius: 4px;
            color: var(--primary-light);
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        /* Header */
        header {
            background-color: rgba(15, 23, 42, 0.8);
            backdrop-filter: blur(10px);
            position: fixed;
            width: 100%;
            z-index: 100;
            border-bottom: 1px solid rgba(100, 116, 139, 0.1);
            transition: all 0.3s ease;
            border-radius: 0 0 15px 0;
        }
        
        header.scrolled {
            background-color: rgba(2, 6, 23, 0.95);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            background: url(https://developing.avtodetalner.am/codehub.am/Assets/img/codehublogowhite.png) no-repeat;
            background-size: 100% auto;
            padding: 0px 0px 30px 0px;
            max-width: 140px;
            width: 100%;
        }
        
        .logo-icon {
            width: 2.5rem;
            height: 2.5rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.25rem;
        }
        
        .logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            background: linear-gradient(to right, var(--lighter), var(--light));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .nav-links {
            display: flex;
            gap: 2rem;
        }
        
        .nav-links a {
            color: var(--light);
            text-decoration: none;
            font-weight: 500;
            position: relative;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .nav-links a:hover {
            color: var(--primary-light);
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -0.5rem;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--light);
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* Hero Section */
        .hero {
            height: 100vh;
            min-height: 800px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-top: 6rem;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
        }
        
        .hero h1 {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            line-height: 1.1;
            background: linear-gradient(to right, var(--lighter), var(--light));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .hero h1 span {
            background: linear-gradient(to right, var(--primary), var(--primary-light));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .hero p {
            font-size: 1.25rem;
            color: var(--light);
            margin-bottom: 2.5rem;
            max-width: 600px;
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 0.875rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }
        
        .btn:hover::before {
            left: 100%;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary-light);
            box-shadow: none;
            margin-left: 1rem;
        }
        
        .btn-outline:hover {
            background: rgba(124, 58, 237, 0.1);
            color: var(--primary-light);
            transform: translateY(-3px);
        }
        
        /* 3D Background */
        #canvas-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            opacity: 0.3;
        }
        
        /* Projects Section */
        .projects-section {
            padding: 6rem 0;
            position: relative;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 5rem;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -0.5rem;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--primary), var(--primary-light));
            border-radius: 2px;
        }
        
        .section-title p {
            color: var(--gray);
            max-width: 600px;
            margin: 0 auto;
        }
        
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
        }
        
        .project-card {
     background: rgba(15, 23, 42, 0.6);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(100, 116, 139, 0.1);
    transition: all 0.4s ease;
}
        
        .project-card.animate {
            transform: translateY(0);
            opacity: 1;
        }
        
        .project-card:hover {
            transform: translateY(-10px) !important;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-color: rgba(124, 58, 237, 0.3);
        }
        
        .project-img {
            height: 200px;
            background: linear-gradient(135deg, var(--dark), var(--darker));
            position: relative;
            overflow: hidden;
        }
        
        .project-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .project-card:hover .project-img img {
            transform: scale(1.05);
        }
        
        .project-content {
            padding: 1.5rem;
        }
        
        .project-content h3 {
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
            color: var(--lighter);
        }
        
        .project-content p {
            color: var(--gray);
            margin-bottom: 1.5rem;
        }
        
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .tag {
            background: rgba(124, 58, 237, 0.1);
            color: var(--primary-light);
            padding: 0.375rem 0.75rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        
        
        /* Frameworks Page Styles */
        
        /* Основные стили для попапа */
.transition-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.transition-popup-container {
    background-color: #0F172A;
        color: #f0f0f0;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.transition-popup-overlay.active .transition-popup-container {
    transform: translateY(0);
}

.transition-popup-header {
    padding: 20px;
    background-color: #0F172A;
        border-color: #444;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px dashed rgba(113, 42, 234, 0.62);
}

.transition-popup-icon {
    background-color: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transition-popup-icon .material-icons {
    font-size: 24px;
}

.transition-popup-title {
    margin: 0;
    font-size: 1.5rem;
    color: #f0f0f0;
}

.transition-popup-content {
    padding: 25px;
    line-height: 1.6;
    color: #ddd;
}

.transition-info-box {
    background-color: #090f1d;
    border-left: 4px solid var(--accent-color);
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 4px 4px 0;
    align-items: center;
    justify-content: center;
    display: flex;
}

.transition-popup-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
   /* border-top: 0px dashed rgba(113, 42, 234, 0.62); */
    background: #0F172A;
}

#closeRebrandingPopup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#closeRebrandingPopup:hover {
    background-color: #0056b3;
}

/* Анимация иконки */
.transition-popup-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
        
        
        
.frameworks-hero {
    position: relative;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
}
.frameworks-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Затемнение для лучшей читаемости текста */
    z-index: -1;
}
.frameworks-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.frameworks-section {
    padding: 80px 0;
    background: var(--primary-dark);
}

.framework-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.framework-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.3s ease;
}

.framework-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.framework-icon {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.8rem;
}

.framework-card h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.framework-card p:first-of-type {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.framework-description {
    margin: 20px 0;
}

.framework-description p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.framework-description ul {
    margin: 15px 0;
    padding-left: 20px;
}

.framework-description li {
    color: var(--text-gray);
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .framework-cards {
        grid-template-columns: 1fr;
    }
    
    .frameworks-hero {
        padding: 80px 0;
    }
}
        
        
        /* About Page Specific Styles */
.about-hero {
   /* background: linear-gradient(135deg, #0F172A, #203A43); */
   background: url(/codehub.am/Assets/img/smallwaves.gif) no-repeat center / cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-image1 {
            flex: 1;
            position: relative;
            height: 500px;
            border-radius: 1rem;
            overflow: hidden;
            transform: rotate(-2deg);
            transition: transform 0.5s ease;
        }

.about-image1 .image-wrapper {
    height: 400px;
    background: url('https://ncube.com/wp-content/uploads/2023/07/dotnet_banner-scaled.jpg') center/cover;
    background-size: 100%;
    border-radius: 8px;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #E0E0E0;
}

.feature-list .material-icons {
    color: #7c3aed;
    margin-right: 10px;
}

.tech-section {
    background: #0F172A;
    padding: 80px 0;
}

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

.tech-card {
    background: rgba(15, 23, 42, 0.6);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
}

.tech-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

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

        
        
        
        
        /* About Section */
        .about-section {
            padding: 6rem 0;
            background: linear-gradient(to bottom, var(--darker), rgba(2, 6, 23, 0.8));
            position: relative;
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 4rem;
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-text h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            background: linear-gradient(to right, var(--lighter), var(--light));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .about-text p {
            color: var(--gray);
            margin-bottom: 1.5rem;
        }
        
        .about-features {
            margin-top: 2rem;
        }
        
        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .feature-icon {
            background: rgba(124, 58, 237, 0.1);
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-light);
            flex-shrink: 0;
        }
        
        .feature-text h4 {
            color: var(--lighter);
            margin-bottom: 0.25rem;
        }
        
        .feature-text p {
            margin-bottom: 0;
        }
        
        .about-image {
            flex: 1;
            position: relative;
            height: 500px;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            transform: rotate(-2deg);
            transition: transform 0.5s ease;
        }
        
        .about-image:hover {
            transform: rotate(0deg);
        }
        
        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Contact Section */
        .contact-section {
            padding: 6rem 0;
            position: relative;
        }
        
        .contact-container {
            display: flex;
            gap: 4rem;
        }
        
        .contact-info {
            flex: 1;
        }
        
        .contact-info h3 {
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
            color: var(--lighter);
        }
        
        .contact-details {
            margin-top: 2rem;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .contact-icon {
            background: rgba(124, 58, 237, 0.1);
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-light);
        }
        
        .contact-text h4 {
            color: var(--lighter);
            margin-bottom: 0.25rem;
        }
        
        .contact-text p, .contact-text a {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .contact-text a:hover {
            color: var(--primary-light);
        }
        
        .contact-form {
            flex: 1;
            background: rgba(15, 23, 42, 0.6);
            border-radius: 1rem;
            padding: 2.5rem;
            border: 1px solid rgba(100, 116, 139, 0.1);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--lighter);
            font-weight: 500;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.875rem 1rem;
            background: rgba(2, 6, 23, 0.5);
            border: 1px solid rgba(100, 116, 139, 0.2);
            border-radius: 0.5rem;
            color: var(--lighter);
            font-family: 'Roboto', sans-serif;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
        }
        
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        
        /* Footer */
        footer {
            background: linear-gradient(to bottom, rgba(2, 6, 23, 0.8), var(--darker));
            padding: 4rem 0 2rem;
            border-top: 1px solid rgba(100, 116, 139, 0.1);
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            gap: 4rem;
            margin-bottom: 3rem;
        }
        
        .footer-col {
            flex: 1;
            min-width: 250px;
        }
        
        .footer-col h4 {
            color: var(--lighter);
            margin-bottom: 1.5rem;
            font-size: 1.25rem;
            position: relative;
            padding-bottom: 0.75rem;
        }
        
        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: linear-gradient(to right, var(--primary), var(--primary-light));
            border-radius: 3px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.75rem;
        }
        
        .footer-links a {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .footer-links a:hover {
            color: var(--primary-light);
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            background: rgba(100, 116, 139, 0.1);
            border-radius: 50%;
            color: var(--gray);
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .social-link:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(100, 116, 139, 0.1);
            color: var(--gray);
            font-size: 0.875rem;
        }
        
        #clearCookiesBtn .material-icons {
            transition: all 0.3s ease;
        }

        #clearCookiesBtn:hover .material-icons {
            color: var(--accent-color);
            transform: scale(1.1);
        }
        
        /* Animations */
        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-20px);
            }
        }
        
        .floating {
            animation: float 6s ease-in-out infinite;
        }
        
        
        [data-tooltip] {
        position: relative;
        border-bottom: 1px dashed var(--accent-color);
        transition: all 0.2s ease;
    }

    [data-tooltip]:hover {
        color: var(--accent-color);
    }

    .custom-tooltip {
        position: absolute;
        visibility: hidden;
        opacity: 0;
        min-width: 150px;
        max-width: 300px;
        background: var(--primary-dark);
        color: var(--text-light);
        border: 1px solid var(--accent-color);
        border-radius: 6px;
        padding: 10px 15px;
        font-size: 0.9rem;
        line-height: 1.4;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        z-index: 99999;
        transform-origin: center bottom;
        pointer-events: none;
    }

    /* Стрелка для подсказки */
    .custom-tooltip::after {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        background: var(--primary-dark);
        border-right: 1px solid var(--accent-color);
        border-bottom: 1px solid var(--accent-color);
        transform: rotate(45deg);
    }

    /* Позиционирование подсказки */
    .tooltip-top::after {
        bottom: -5px;
        left: 50%;
        margin-left: -5px;
    }

    .tooltip-bottom::after {
        top: -5px;
        left: 50%;
        margin-left: -5px;
        transform: rotate(-135deg);
    }

    .tooltip-left::after {
        right: -5px;
        top: 50%;
        margin-top: -5px;
        transform: rotate(135deg);
    }

    .tooltip-right::after {
        left: -5px;
        top: 50%;
        margin-top: -5px;
        transform: rotate(-45deg);
    }
    
    .rebranding-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(15, 23, 42, 0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        padding: 20px;
    }

    .rebranding-popup.active {
        opacity: 1;
        visibility: visible;
    }

    .rebranding-popup-content {
        background: linear-gradient(135deg, var(--primary-medium), var(--primary-dark));
        border-radius: 12px;
        width: 90%;
        max-width: 500px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border: 1px solid var(--accent-color);
        position: relative;
        transform: translateY(20px);
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .rebranding-popup.active .rebranding-popup-content {
        transform: translateY(0); background-color: rgba(15, 23, 42, 1);
    }

    .rebranding-popup-header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .rebranding-popup-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
    }

    .rebranding-popup-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--text-light);
    }

    .rebranding-popup-body {
        color: var(--text-gray);
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .rebranding-popup-footer {
        display: flex;
        justify-content: flex-end;
    }

    .rebranding-popup-close {
        background: var(--accent-color);
        color: white;
        border: none;
        padding: 10px 25px;
        border-radius: 30px;
        cursor: pointer;
        font-weight: 500;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .rebranding-popup-close:hover {
        background: var(--accent-light);
        transform: translateY(-2px);
    }
    
    
    /* ===== Beta Testing Page Styles ===== */
.beta-section {
    padding: 110px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
}

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

.beta-header {
    text-align: center;
    margin-bottom: 50px;
}

.beta-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.beta-header p {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.beta-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.3s ease;
}

.beta-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.beta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

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

.beta-card li {
    margin-bottom: 10px;
    color: var(--text-gray);
}

.beta-form {
    background: transparent; /* old rgba(15, 23, 42, 0.6); */
    border-radius: 10px;
    padding: 40px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    backdrop-filter: blur(15px);
}

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

.betaform-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.betaform-group option {
    background: rgba(2, 6, 23, 0.8);
    border: none;
}
.betaform-group input,
.betaform-group select,
.betaform-group textarea {
    width: 100%;
    padding: 12px 15px;
    background:  transparent; /* old rgba(2, 6, 23, 0.8);*/
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 5px;
    color: var(--text-light);
    font-family: 'Roboto', sans-serif;
    font-size: 1.0rem;
}

.betaform-group input:focus,
.betaform-group select:focus,
.betaform-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 87, 51, 0.2);
}

.beta-submit {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.beta-submit:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 51, 0.4);
}


        
        /* Responsive */
        @media (max-width: 1024px) {
            .about-content, .contact-container {
                flex-direction: column;
            }
            
            .about-image {
                margin-top: 2rem;
                height: 400px;
            }
        }
        
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 3rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .nav-links {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
            }
            .rebranding-popup-content {
                padding: 20px;
            }
    
            .rebranding-popup-title {
                font-size: 1.5rem !important;
            }
    
            .rebranding-popup-body {
                font-size: 0.95rem;
            }
    
            .rebranding-popup-icon {
                width: 35px !important;
                height: 35px !important;
            }
             .beta-section {
                padding: 80px 0;
            }
            .about-grid {
                margin: 25px;
                grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .about-image .image-wrapper {
        height: 300px;
    }
        }
        
        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .btn-group {
                display: flex;
                flex-direction: column;
                gap: 1rem;
            }
            
            .btn-outline {
                margin-left: 0;
            }
            .rebranding-popup-content {
                padding: 15px;
                border-radius: 8px;
            }
    
            .rebranding-popup-header {
                flex-direction: column;
                align-items: flex-start;
                margin-bottom: 15px !important;
            }
    
            .rebranding-popup-icon {
                margin-right: 0 !important;
                margin-bottom: 10px;
            }
    
            .rebranding-popup-title {
                font-size: 1.3rem !important;
                line-height: 1.3;
            }
    
            .rebranding-popup-body {
                font-size: 0.9rem;
                margin-bottom: 20px !important;
            }
    
            .rebranding-popup-body p {
                margin-bottom: 10px !important;
            }
    
            .rebranding-popup-close {
                width: 100%;
                justify-content: center;
                padding: 8px 20px !important;
            }
            .beta-header h1 {
                font-size: 1.8rem;
            }
    
            .beta-grid {
                grid-template-columns: 1fr;
            }
        }
        /* Портретная ориентация на мобильных */
        @media (max-width: 768px) and (orientation: portrait) {
            .rebranding-popup {
                align-items: flex-start;
                padding-top: 30px;
            }
            .beta-section {
                padding: 100px 0;
            }
    
            .beta-header h1 {
                font-size: 2rem;
            }
    
            .beta-form {
                padding: 25px;
            }
        }

        /* Ландшафтная ориентация на мобильных */
        @media (max-width: 768px) and (orientation: landscape) {
            .rebranding-popup-content {
                 max-height: 80vh;
            }
        }