/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #181926;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

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



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #181926 0%, #2A2B3A 100%);
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 4px 15px rgba(157, 220, 255, 0.3);
}

.floating-element:nth-child(1) { 
    top: 10%; 
    left: 10%; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.floating-element:nth-child(2) { 
    top: 20%; 
    right: 15%; 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.floating-element:nth-child(3) { 
    bottom: 30%; 
    left: 5%; 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.floating-element:nth-child(4) { 
    top: 60%; 
    right: 10%; 
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.floating-element:nth-child(5) { 
    bottom: 20%; 
    right: 20%; 
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.floating-element:nth-child(6) { 
    top: 40%; 
    left: 20%; 
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-8px) translateX(4px) rotate(90deg) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translateY(-4px) translateX(-2px) rotate(180deg) scale(0.9);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-10px) translateX(3px) rotate(270deg) scale(1.05);
        opacity: 1;
    }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B6CEA 0%, #B9B6F7 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 0 25px rgba(139, 108, 234, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3);
    animation: logoPulse 3s ease-in-out infinite;
    margin: 0 auto 2rem;
    position: relative;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B6CEA 0%, #B9B6F7 100%);
    opacity: 0.3;
    animation: logoGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
        box-shadow: 
            0 0 25px rgba(139, 108, 234, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 35px rgba(139, 108, 234, 0.6),
            0 8px 20px rgba(0, 0, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 
            0 0 25px rgba(139, 108, 234, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.3);
    }
}

.hero-logo-img {
    width: 200px;
    height: 200px;
    animation: iconFadeIn 1.5s ease-out 0.8s both;
}

@keyframes iconFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(157, 220, 255, 0.8);
    animation: titleFadeIn 1.5s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #9DDCFF;
    margin-bottom: 2rem;
    animation: subtitleFadeIn 1.5s ease-out 1s both;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #9DDCFF 0%, #6CB6F9 100%);
    color: #181926;
    box-shadow: 0 4px 15px rgba(157, 220, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 220, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #9DDCFF;
    border-color: #9DDCFF;
}

.btn-secondary:hover {
    background: #9DDCFF;
    color: #181926;
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #2A2B3A 0%, #181926 100%);
}

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

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(53, 55, 74, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(157, 220, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(157, 220, 255, 0.3);
    box-shadow: 0 8px 25px rgba(157, 220, 255, 0.1);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.feature-icon:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-icon:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.feature-icon:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.feature-icon:nth-child(4) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.feature-icon .material-icons {
    font-size: 28px;
    color: white;
}

.feature-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #9DDCFF;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: #181926;
}

.features-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    overflow: hidden;
    border-radius: 20px;
    background: #35374A;
    border: 1px solid rgba(157, 220, 255, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    align-items: center;
    min-height: 600px;
}

.slide-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slide-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #9DDCFF;
    line-height: 1.2;
}

.slide-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.slide-image {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.slide[data-slide="0"] .slide-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide[data-slide="1"] .slide-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide[data-slide="2"] .slide-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide[data-slide="3"] .slide-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.slide[data-slide="4"] .slide-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.slide[data-slide="5"] .slide-icon {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
}

.slide-icon .material-icons {
    font-size: 36px;
    color: white;
}

.slide-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #9DDCFF;
    line-height: 1.2;
}

.slide-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.slide-image {
    text-align: center;
}

.slide-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.slider-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(157, 220, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #9DDCFF;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(157, 220, 255, 0.6);
}

/* Problem & Solution Section */
.problem-section {
    background: linear-gradient(135deg, #181926 0%, #2A2B3A 100%);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-card,
.solution-card {
    background: #35374A;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(157, 220, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before,
.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #FF9D7E 0%, #FF7A5A 100%);
}

.solution-card::before {
    background: linear-gradient(135deg, #9DDCFF 0%, #6CB6F9 100%);
}

.problem-card:hover,
.solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(157, 220, 255, 0.3);
    box-shadow: 0 10px 30px rgba(157, 220, 255, 0.1);
}

.problem-icon,
.solution-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.problem-icon {
    background: linear-gradient(135deg, #FF9D7E 0%, #FF7A5A 100%);
}

.solution-icon {
    background: linear-gradient(135deg, #9DDCFF 0%, #6CB6F9 100%);
}

.problem-icon .material-icons,
.solution-icon .material-icons {
    font-size: 36px;
    color: white;
}

.problem-card h3,
.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #9DDCFF;
}

.problem-list,
.solution-list {
    list-style: none;
    padding: 0;
}

.problem-list li,
.solution-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(157, 220, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.problem-list li:last-child,
.solution-list li:last-child {
    border-bottom: none;
}

.problem-list li .material-icons {
    font-size: 18px;
    color: #FF9D7E;
    flex-shrink: 0;
    margin-top: 2px;
}

.solution-list li .material-icons {
    font-size: 18px;
    color: #9DDCFF;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Terms & Policy Section */
.terms-section {
    background: linear-gradient(135deg, #2A2B3A 0%, #181926 100%);
    display: none; /* Скрываем секцию по умолчанию */
}

.terms-section.active {
    display: block; /* Показываем только при активном состоянии */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1001;
    overflow-y: auto;
    padding: 20px 0;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: #35374A;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(157, 220, 255, 0.1);
}

.terms-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(157, 220, 255, 0.1);
}

.terms-intro h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #9DDCFF;
    margin-bottom: 1rem;
}

.terms-intro p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.terms-block {
    margin-bottom: 2.5rem;
}

.terms-block h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #9DDCFF;
    margin-bottom: 1rem;
}

.terms-block p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.terms-block ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.terms-block ul li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.5rem;
}

.terms-block ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #9DDCFF;
    font-weight: bold;
}

.terms-block strong {
    color: #FF9D7E;
}

.terms-warning {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 157, 126, 0.1);
    border: 1px solid rgba(255, 157, 126, 0.3);
    border-radius: 12px;
    text-align: center;
}

.terms-warning p {
    font-size: 1.1rem;
    color: #FF9D7E;
    margin: 0;
    font-weight: 500;
}


/* Footer */
.footer {
    background: #35374A;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(157, 220, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #9DDCFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(157, 220, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Material Icons */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problem-solution-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        min-height: 500px;
    }
    
    .slide-text {
        text-align: center;
    }
    
    .slide-text h3 {
        font-size: 1.5rem;
    }
    
    .slide-image img {
        max-width: 300px;
        height: auto;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
    }
    
    .floating-element .material-icons {
        font-size: 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon .material-icons {
        font-size: 24px;
    }
    
    .problem-icon,
    .solution-icon {
        width: 60px;
        height: 60px;
    }
    
    .problem-icon .material-icons,
    .solution-icon .material-icons {
        font-size: 28px;
    }
    
    .terms-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .terms-intro h3 {
        font-size: 1.5rem;
    }
    
    .terms-block h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .feature-card,
    .tech-category {
        padding: 1.5rem;
    }
} 