:root {
    --dark-bg: #0A0A0A;
    --darker-bg: #050505;
    --card-dark: #111111;
    --teal-primary: #00CED1;
    --teal-bright: #20B2AA;
    --teal-light: #40E0D0;
    --teal-accent: #008B8B;
    --text-light: #F5F5F5;
    --text-gray: #AAAAAA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-light);
    background-color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 206, 209, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--teal-primary);
    position: relative;
}

.logo-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
    animation: pulse 2s infinite;
}

.nav {
    display: flex;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--teal-primary);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--teal-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Ссылка переключения темы для темной темы */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--teal-primary);
    color: var(--teal-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 20px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.theme-toggle:hover {
    background: var(--teal-primary);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.theme-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(15deg);
}

/* Адаптивность для кнопки темы */
@media (max-width: 768px) {
    .theme-toggle {
        margin-left: 15px;
        width: 40px;
        height: 40px;
    }
    
    .nav.active .theme-toggle {
        margin: 10px auto;
        width: 50px;
        height: 50px;
    }
}

.hero {
    padding: 160px 0 100px;
    background: linear-gradient(to bottom, var(--dark-bg), var(--darker-bg));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 206, 209, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(32, 178, 170, 0.1) 0%, transparent 20%);
    animation: float 15s infinite alternate ease-in-out;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-gray);
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-accent) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 206, 209, 0.3);
    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 {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn:hover::before {
    left: 100%;
}

.features {
    padding: 100px 0;
    background-color: var(--darker-bg);
    color: var(--text-light);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 10%, rgba(0, 206, 209, 0.05) 0%, transparent 20%);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-light);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-primary), var(--teal-accent));
    margin: 15px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: linear-gradient(145deg, var(--card-dark), #151515);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 206, 209, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 206, 209, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 206, 209, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--teal-primary);
    display: inline-block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-text {
    color: var(--text-gray);
}

.how-it-works {
    padding: 100px 0;
    background-color: var(--dark-bg);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 90% 90%, rgba(32, 178, 170, 0.05) 0%, transparent 20%);
}

.steps {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.step {
    text-align: center;
    flex: 1;
    padding: 0 20px;
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, var(--teal-bright) 50%, transparent 100%);
    z-index: 1;
}

.step:first-child::before,
.step:last-child::before {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-accent) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 10px rgba(0, 206, 209, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(0, 206, 209, 0.2);
}

.step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.step p {
    color: var(--text-gray);
}

.testimonials {
    padding: 100px 0;
    background-color: var(--light-secondary);
    color: var(--text-dark);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(30, 136, 229, 0.05) 0%, transparent 20%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--light-card);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
    border-color: var(--primary-light);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.2);
    transition: all 0.3s ease;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.05);
    border-color: var(--accent-teal);
}

.testimonial-card:hover .author-avatar img {
    transform: scale(1.1);
}

.testimonial-author h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.testimonial-author p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-accent) 100%);
    text-align: center;
    color: var(--card-dark);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 20%);
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.cta .btn {
    background: var(--dark-bg);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(10, 10, 10, 0.3);
}

.cta .btn:hover {
    background: #151515;
}

footer {
    background-color: var(--darker-bg);
    padding: 60px 0 30px;
    color: var(--text-light);
    border-top: 1px solid rgba(0, 206, 209, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo-image {
    height: 120px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 206, 209, 0.2);
}

.footer-logo-container:hover .footer-logo-image {
    transform: scale(1.05);
}

.footer-logo-text {
    flex: 1;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--teal-primary);
    position: relative;
    display: inline-block;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-primary), transparent);
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(0, 206, 209, 0.1);
    color: var(--teal-primary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.footer-social a:hover {
    background-color: var(--teal-primary);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--teal-primary);
}

.footer-links a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--teal-primary);
}

.footer-contacts {
    color: var(--text-gray);
}

.footer-contacts p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contacts i {
    margin-right: 10px;
    color: var(--teal-primary);
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--light-border);
    font-size: 0.9rem;
    color: var(--text-gray);
}

.designer-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.designer-link:hover {
    color: var(--text-light);
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}


@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step {
        padding: 0;
    }
    
    .step::before {
        display: none;
    }
    
    .footer-logo-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-logo-image {
        height: 100px;
        max-width: 70px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--card-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(0, 206, 209, 0.1);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-link {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-logo-image {
        height: 90px;
        max-width: 60px;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .feature-card, .testimonial-card {
        padding: 20px;
    }
    
    .footer-logo-image {
        height: 80px;
        max-width: 50px;
    }
    
    .footer-logo {
        font-size: 1.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}