/* Base Styles and Variables */
:root {
    /* Primary color palette - Russian-inspired theme */
    --primary-color: #2a4d69; /* Deep blue */
    --secondary-color: #4b86b4; /* Medium blue */
    --accent-color: #d64161; /* Raspberry red */
    --background-color: #f0f4f8; /* Very light blue */
    --dark-color: #16293b; /* Very dark blue */
    --card-color: #ffffff;
    --text-color: #333333;
    --light-text: #ffffff;
    
    /* Typography */
    --heading-font: 'Roboto', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    position: relative;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* Noise background effect */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.2rem;
}

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

a:hover {
    color: var(--accent-color);
}

.accent {
    color: var(--accent-color);
}

section {
    padding: 80px 0;
    position: relative;
}

/* Header Styles */
header {
    background-color: var(--card-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-block {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 35px;
    width: auto;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links li a {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

#menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-button span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(214, 65, 97, 0.3);
}

.primary:hover {
    background-color: #c13353;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(214, 65, 97, 0.4);
    color: white;
}

.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

.secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.accent {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(75, 134, 180, 0.3);
}

.accent:hover {
    background-color: #3a6b91;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(75, 134, 180, 0.4);
    color: white;
}

.large {
    padding: 15px 38px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    background-image: radial-gradient(circle at 10% 20%, rgba(42, 77, 105, 0.05) 0%, rgba(75, 134, 180, 0.08) 90%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.label {
    display: inline-flex;
    align-items: center;
    background-color: rgba(214, 65, 97, 0.1);
    border-radius: 30px;
    padding: 8px 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
}

.hot-icon {
    margin-right: 8px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    opacity: 0.85;
}

.cta-buttons {
    margin-bottom: 30px;
}

.users-info {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.users-avatars {
    display: flex;
    margin-right: 15px;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: -10px;
    border: 2px solid white;
}

.users-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.users-info strong {
    color: var(--primary-color);
}

.ai-box {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(75, 134, 180, 0.2) 0%, rgba(42, 77, 105, 0.05) 70%);
    border-radius: 50%;
    animation: pulse 3s infinite ease-in-out;
}

.ai-icon {
    width: 80%;
    height: 80%;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
    opacity: 0.8;
}

/* Features Section */
.features {
    background-color: var(--card-color);
    position: relative;
}

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

.feature-card {
    background-color: var(--background-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--background-color);
}

.steps-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 30px;
}

.step-content {
    flex: 1;
}

.step-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    margin-left: 30px;
}

.action-center {
    text-align: center;
    margin-top: 60px;
}

/* Banner Section */
.banner {
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 70px 0;
}

.banner h2 {
    color: white;
    margin-bottom: 20px;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq {
    background-color: var(--card-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: var(--background-color);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.rotated {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 20px;
    opacity: 0.9;
}

.faq-item.active {
    background-color: white;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-right: 30px;
    flex: 1;
}

.footer-icon {
    width: 70px;
    height: 70px;
    margin-right: 20px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 5px;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: white;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

.keywords {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin: 0 auto;
    }
    
    .cta-buttons {
        justify-content: center;
        display: flex;
    }
    
    .users-info {
        justify-content: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .step-content {
        margin-bottom: 20px;
    }
    
    .step-icon {
        margin-left: 0;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .menu-button {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        opacity: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
    
    #menu-toggle:checked ~ .nav-links {
        max-height: 300px;
        opacity: 1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    .button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .large {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .hero {
        padding: 50px 0 60px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}
