:root {
    --primary: #5d4aff;
    --primary-light: #7b6dff;
    --primary-dark: #4a3acc;
    --text: #333333;
    --text-light: #666666;
    --light-gray: #f5f5f7;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --section-padding: 100px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: var(--section-padding);
    position: relative;
    transition: var(--transition);
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.highlight {
    color: var(--primary);
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.main-nav ul li a:hover {
    color: var(--primary);
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero .subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text {
    max-width: 800px;
    text-align: center;
    margin-bottom: 50px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    flex: 1 1 200px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 16px;
    color: var(--text-light);
}

/* ==================== ADVANTAGES SECTION ==================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(93, 74, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 28px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* ==================== PRODUCTS SECTION ==================== */
.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-icon {
    background-color: var(--primary);
    color: var(--white);
    font-size: 32px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
}

.product-card h3 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 15px;
}

.product-card p {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.features {
    padding: 0 25px 25px;
    list-style: none;
}

.features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.features i {
    color: var(--primary);
    margin-right: 10px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-top: 1px solid #eee;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}

/* ==================== COVERAGE SECTION ==================== */
.coverage {
    background-color: var(--light-gray);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.coverage-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.coverage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.coverage-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(93, 74, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 28px;
}

.coverage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.coverage-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* ==================== TEAM SECTION ==================== */
.team {
    background-color: #f9f9ff;
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    text-align: center;
    padding-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(93, 74, 255, 0.15);
}

.team-photo-container {
    position: relative;
    height: 320px;
    overflow: hidden;
    margin-bottom: 25px;
}

.team-photo-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.team-photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.4));
}

.team-card:hover .team-photo {
    transform: scale(1.1);
}

.team-role-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.team-role-badge.owner {
    background: linear-gradient(135deg, #FF8A00, #FF5E00);
}

.team-role-badge.co-owner {
    background: linear-gradient(135deg, #00B4DB, #0083B0);
}

.team-role-badge.staff {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

.hidden-number {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 14px;
    background: rgba(0,0,0,0.5);
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.team-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #333;
    padding: 0 25px;
}

.position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
    padding: 0 25px;
}

.bio {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 25px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(93, 74, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Декоративные элементы */
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

/* Адаптация */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .team-photo-container {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== REVIEWS SECTION ==================== */
.reviews-slider {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
}

.review-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin: 0 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.rating {
    color: #ffc107;
}

.review-date {
    color: var(--text-light);
    font-size: 14px;
}

.review-text {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
}

.review-text:before {
    content: '"';
    font-size: 60px;
    color: rgba(93, 74, 255, 0.1);
    position: absolute;
    top: -20px;
    left: -15px;
    z-index: 0;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 700;
}

.author-location {
    font-size: 14px;
    color: var(--text-light);
}

.author-product {
    background-color: rgba(93, 74, 255, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: var(--primary-dark);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* ==================== CTA SECTION ==================== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1 1 200px;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.form-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.form-note a {
    text-decoration: underline;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: #222;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-about {
    color: #aaa;
    margin: 20px 0;
    font-size: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: #aaa;
    font-size: 14px;
}

.footer-contacts i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 992px) {
    .advantages-grid,
    .product-cards,
    .coverage-grid,
    .team-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
        padding: 80px 30px;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 0 0 20px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .advantages-grid,
    .product-cards,
    .coverage-grid,
    .team-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item {
        flex: 1 1 auto;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .cta-form input,
    .cta-form button {
        width: 100%;
    }
}

.reviews-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #4e73df;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.review-date {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.review-text {
    font-style: italic;
    color: #495057;
    line-height: 1.6;
    margin: 15px 0;
    position: relative;
    padding-left: 15px;
}

.review-text::before {
    content: '"';
    font-size: 32px;
    color: #e9ecef;
    position: absolute;
    left: -10px;
    top: -15px;
}

.review-author {
    font-weight: bold;
    color: #343a40;
    margin-top: 10px;
    font-size: 15px;
}

.review-category {
    display: inline-block;
    background: #f8f9fa;
    color: #4e73df;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 15px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 20px;
    }
}

/* Стиль только для заголовка "Наши отзывы" */
.reviews-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin: 0 auto 2rem;
    padding-bottom: 1rem;
    position: relative;
    line-height: 1.2;
    max-width: 1200px;
}

.reviews-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

/* Адаптация */
@media (max-width: 768px) {
    .reviews-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .reviews-title {
        font-size: 1.8rem;
        padding-bottom: 0.8rem;
    }
    .reviews-title::after {
        width: 60px;
        height: 3px;
    }
}

/* Стили для кнопки отзывов */
.reviews-button-container {
    text-align: center;
    margin-top: 50px;
}

.btn-reviews {
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-reviews i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-reviews:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(93, 74, 255, 0.2);
}

.btn-reviews:hover i {
    transform: translateX(5px);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .btn-reviews {
        padding: 12px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

.reviews-section {
    padding-bottom: 150px; /* Увеличиваем отступ снизу */
    position: relative;
}

/* Контейнер секретного поля */
.secret-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(248, 249, 250, 0.95); /* Мягкий серо-белый */
  border-radius: 16px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}
.secret-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    rgba(93, 74, 255, 0.4), 
    rgba(93, 74, 255, 0.1));
}

/* Заголовок */
.secret-header {
  position: relative;
  margin-bottom: 25px;
}

.secret-header h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.secret-header p {
  color: var(--text-light);
  font-size: 15px;
}

/* Контейнер поля ввода */
.secret-input-container {
  position: relative;
  margin: 25px 0;
}

/* Само поле ввода */
#secretCodeInput {
  width: 100%;
  padding: 18px 25px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text); /* Четкий цвет текста */
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  box-shadow: 
    inset 0 1px 3px rgba(0,0,0,0.05),
    0 4px 15px rgba(93, 74, 255, 0.1);
  text-align: center;
  letter-spacing: 3px; /* Разделение цифр */
  transition: all 0.3s ease;
}

/* Placeholder */
#secretCodeInput::placeholder {
  color: #c1c4e0;
  letter-spacing: normal;
  font-weight: 500;
}

/* Состояние фокуса */
#secretCodeInput:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 
    inset 0 1px 3px rgba(0,0,0,0.05),
    0 0 0 3px rgba(93, 74, 255, 0.15);
  color: var(--text); /* Явный цвет при фокусе */
}

/* Кнопка проверки */
#checkSecretCode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(93, 74, 255, 0.25);
  margin-top: 15px;
}

#checkSecretCode:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(93, 74, 255, 0.35);
}

/* Результат проверки */
#secretResult {
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

#secretResult.show {
  opacity: 1;
  height: auto;
  padding: 15px;
  margin-top: 20px;
}

#secretResult.success {
  background: rgba(46, 213, 115, 0.1);
  color: #27ae60;
  border: 1px solid rgba(46, 213, 115, 0.3);
}

#secretResult.error {
  background: rgba(235, 87, 87, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(235, 87, 87, 0.3);
}

/* Анимации */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.shake-animation {
  animation: shake 0.4s ease;
}

/* Стили для текста подсказки */
.secret-instruction {
  color: #555; /* Темно-серый для хорошей читаемости */
  font-size: 16px;
  margin: 15px 0 25px;
  text-align: center;
  font-weight: 500;
  position: relative;
  padding-bottom: 15px;
}

.secret-instruction::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

/* Стили для кнопки вызова модального окна */
.secret-code-btn {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(93, 74, 255, 0.3);
  transition: all 0.3s ease;
}

.secret-code-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(93, 74, 255, 0.4);
}

/* Анимация пульсации для привлечения внимания */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.secret-code-btn.pulse {
  animation: pulse 2s infinite;
}

/* Стили для кнопки "Больше отзывов" */
.reviews-button-container {
    text-align: center;
    margin: 60px auto;
    position: relative;
}

.btn-reviews {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(93, 74, 255, 0.25);
}

.btn-reviews i {
    margin-left: 12px;
    transition: all 0.4s ease;
}

.btn-reviews:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(93, 74, 255, 0.35);
}

.btn-reviews:hover i {
    transform: translateX(5px);
}

/* Эффект волны при нажатии */
.btn-reviews:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-reviews:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Декоративный элемент */
.reviews-button-container:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-light) 20%, var(--primary-light) 80%, transparent 100%);
    opacity: 0.3;
    z-index: -1;
}

/* Стили для страницы команды */
.team-page {
    padding: 100px 0;
    background-color: #f9f9ff;
}

.page-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.page-title span {
    color: var(--primary);
}

.page-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.team-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 30px;
    background: white;
    border: 1px solid #eee;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Стили для кнопки "Смотреть всю команду" */
.team-button-container {
    text-align: center;
    margin: 60px auto 0;
    position: relative;
}

.btn-team {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(93, 74, 255, 0.25);
}

.btn-team i {
    margin-left: 12px;
    transition: all 0.4s ease;
}

.btn-team:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(93, 74, 255, 0.35);
}

.btn-team:hover i {
    transform: translateX(5px);
}

.team-grid-wrapper {
    width: 100%;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    transition: all 0.3s ease;
    margin: 0 -15px; /* Компенсируем padding карточек */
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    text-align: center;
    padding-bottom: 30px;
    margin: 0 15px; /* Добавляем отступы между карточками */
    width: calc(100% - 30px); /* Учитываем margin */
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        margin: 0 auto 30px;
        max-width: 350px;
    }
}

/* Стили страницы продуктов */
.products-page {
    padding: 100px 0;
    background-color: #f9f9ff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    padding: 30px;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(93, 74, 255, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.product-badge.popular {
    background: linear-gradient(135deg, #FF8A00, #FF5E00);
}

.product-badge.new {
    background: linear-gradient(135deg, #00B4DB, #0083B0);
}

.product-badge.hit {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.product-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-description {
    color: #666;
    margin-bottom: 20px;
    min-height: 60px;
}

.features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.features i {
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 4px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.product-meta {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* Адаптация */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        max-width: 100%;
    }
}

/* ==================== JOBS SECTION ==================== */
.jobs {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.job-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.job-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.job-location {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.job-location::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
}

.job-desc {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-salary {
    font-weight: 600;
    color: var(--primary-dark);
}

/* ==================== NEWS SECTION ==================== */
.news {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    display: inline-block;
    font-size: 0.8rem;
    border-radius: 0 0 8px 0;
}

.news-card h3 {
    font-size: 1.2rem;
    margin: 20px 20px 10px;
}

.news-card p {
    margin: 0 20px 20px;
    color: var(--gray-color);
}

.read-more {
    display: inline-block;
    margin: 0 20px 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.news-button-container {
    text-align: center;
    margin-top: 40px;
}

/* ==================== PARTNERS SECTION ==================== */
.partners {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.partners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.partners-text {
    padding-right: 30px;
}

.partners-text p {
    margin-bottom: 20px;
}

.partners-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.partners-text li {
    margin-bottom: 10px;
    position: relative;
}

.partners-text li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 10px;
}

.partners-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.partners-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.partners-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
}

.partners-form button {
    width: 100%;
}

/* ==================== BLOG SECTION ==================== */
.blog {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--gray-color);
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-card p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

.blog-button-container {
    text-align: center;
    margin-top: 40px;
}

/* ==================== SUPPORT SECTION ==================== */
.support {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
}

.support h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.support p {
    margin-bottom: 25px;
    max-width: 600px;
}

.support-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.support-contacts p {
    display: flex;
    align-items: center;
    margin: 0;
}

.support-contacts i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ==================== ARTS SECTION ==================== */
.arts {
    padding: 100px 0;
    background-color: #f9f9ff;
}

.arts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: start; /* Важно для разной высоты карточек */
}

.art-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* Чтобы карточки растягивались по высоте */
}

.art-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(93, 74, 255, 0.15);
}

.art-image-container {
    position: relative;
    overflow: hidden;
    flex-grow: 1; /* Контейнер будет занимать всё доступное пространство */
    display: flex;
    align-items: center; /* Центрируем изображение */
    justify-content: center;
}

.art-image {
    width: 100%;
    height: auto;
    max-height: 500px; /* Максимальная высота изображения */
    object-fit: contain; /* Сохраняем пропорции */
    transition: transform 0.5s ease;
}

.art-card:hover .art-image {
    transform: scale(1.03);
}

.art-info {
    padding: 20px;
    text-align: center;
    flex-shrink: 0; /* Фиксируем размер блока с информацией */
}

.art-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.art-author {
    color: var(--text-light);
    font-size: 14px;
}

.upload-btn-container {
    text-align: center;
    margin-top: 40px;
}

.btn-upload {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(93, 74, 255, 0.25);
    cursor: pointer;
}

.btn-upload:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(93, 74, 255, 0.35);
}

.btn-upload i {
    margin-right: 12px;
}

/* Адаптация */
@media (max-width: 768px) {
    .arts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .art-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .arts-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-upload {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

.art-status {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
    padding: 3px 10px;
    background: rgba(93, 74, 255, 0.1);
    border-radius: 20px;
    display: inline-block;
}