/* Основные переменные и сброс стилей */
:root {
    --color-primary: #00C9FF;
    --color-secondary: #4CAF50;
    --color-dark: #1D2B36;
    --color-light: #F5F9FC;
    --color-text: #37474F;
    --gradient: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --shadow: 0 5px 15px rgba(0, 201, 255, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Фон с волнами */
.waves-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 201, 255, 0.03) 0%, rgba(0, 201, 255, 0) 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.03) 0%, rgba(76, 175, 80, 0) 50%);
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

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

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

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

/* Секции */
section {
    padding: 100px 0;
}

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

.section-divider {
    height: 4px;
    width: 80px;
    margin: 15px auto;
    background: var(--gradient);
    border-radius: 2px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 201, 255, 0.3);
    color: white;
}

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

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

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

/* Хедер и навигация */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo span {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.navigation a {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
}

.navigation a:not(.action-btn):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: var(--transition);
}

.navigation a:not(.action-btn):hover:after {
    width: 100%;
}

.action-btn {
    background: var(--gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 201, 255, 0.3);
    color: white;
}

.menu-trigger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1010;
}

.menu-trigger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 3px;
    left: 0;
    transition: var(--transition);
}

.menu-trigger span:nth-child(1) {
    top: 0;
}

.menu-trigger span:nth-child(2) {
    top: 8px;
}

.menu-trigger span:nth-child(3) {
    top: 16px;
}

.menu-trigger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.menu-trigger.active span:nth-child(2) {
    opacity: 0;
}

.menu-trigger.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

/* Секция Hero */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    min-height: 400px;
    z-index: 1;
}

.circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.circle-1, .circle-2, .circle-3 {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
    animation: float 6s infinite ease-in-out;
}

.circle-1 {
    width: 180px;
    height: 180px;
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 50%;
    animation-delay: 1s;
}

.circle-3 {
    width: 90px;
    height: 90px;
    top: 20%;
    left: 70%;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.wave-graphic {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

/* Секция возможностей */
.features {
    background-color: white;
    position: relative;
}

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

.feature-card {
    background: var(--color-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

/* Секция как это работает */
.how-it-works {
    background-color: var(--color-light);
    position: relative;
}

.steps {
    max-width: 800px;
    margin: 0 auto 50px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
}

.step-number {
    background: var(--gradient);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.step-content {
    padding-top: 5px;
}

.center-cta {
    text-align: center;
    margin-top: 40px;
}

/* О нас секция */
.about {
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Call to action секция */
.call-to-action {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: var(--gradient);
    color: white;
    border-radius: var(--border-radius);
    padding: 50px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 201, 255, 0.3);
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn-primary {
    background: white;
    color: var(--color-primary);
}

.cta-box .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Футер */
footer {
    background-color: var(--color-dark);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-nav-group h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-nav-group ul {
    list-style: none;
}

.footer-nav-group li {
    margin-bottom: 10px;
}

.footer-nav-group a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav-group a:hover {
    color: var(--color-primary);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Адаптивный дизайн */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        min-height: 300px;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-trigger {
        display: block;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 100px 30px 30px;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .navigation.active {
        right: 0;
    }
    
    .navigation ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navigation li {
        margin-bottom: 15px;
        width: 100%;
    }
    
    .navigation a.action-btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-nav {
        width: 100%;
        justify-content: space-around;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-nav-group {
        width: 100%;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
