* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
}

body {
 background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
 color: var(--light);
 line-height: 1.6;
 overflow-x: hidden;
 position: relative;
}

/* Full Page Background */
.page-background {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 pointer-events: none;
 z-index: -2;
 background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15) 0%, transparent 50%), radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
 background-size: 200% 200%;
 animation: gradientShift 8s ease infinite;
}

.page-background::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 20%),
             radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 20%);
 background-size: 300% 300%;
 animation: subtlePulse 12s ease infinite;
}

.page-background::after {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: radial-gradient(circle at 60% 40%, rgba(99, 102, 241, 0.05) 0%, transparent 15%);
 background-size: 400% 400%;
 animation: subtleFloat 15s ease infinite;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Прячем лого от десктопа, но видно на мобилках */
@media (min-width: 769px) {
    .hero-logo-container {
        display: none;
    }
}

.hero-logo-container {
    margin-bottom: 20px;
}

/* Hero Section */
.hero {
 padding: 120px 0 80px;
 text-align: center;
 position: relative;
 overflow: hidden;
}

/* Full page background decorative elements */
.background-elements {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 pointer-events: none;
 z-index: -1;
}

.floating-element {
 position: absolute;
 border-radius: 50%;
 background: rgba(99, 102, 241, 0.1);
 backdrop-filter: blur(1px);
 animation: floatElement linear infinite;
}

.element-1 {
 width: 30px;
 height: 30px;
 top: 15%;
 left: 5%;
 animation-duration: 25s;
 background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

.element-2 {
 width: 20px;
 height: 20px;
 top: 70%;
 left: 90%;
 animation-duration: 30s;
 background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
 animation-delay: -5s;
}

.element-3 {
 width: 25px;
 height: 25px;
 top: 85%;
 left: 10%;
 animation-duration: 35s;
 background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
 animation-delay: -10s;
}

.element-4 {
 width: 15px;
 height: 15px;
 top: 30%;
 left: 85%;
 animation-duration: 20s;
 background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
 animation-delay: -15s;
}

.element-5 {
 width: 35px;
 height: 35px;
 top: 45%;
 left: 15%;
 animation-duration: 40s;
 background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
 animation-delay: -20s;
}

.element-6 {
 width: 22px;
 height: 22px;
 top: 25%;
 left: 70%;
 animation-duration: 28s;
 background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
 animation-delay: -8s;
}

.element-7 {
 width: 28px;
 height: 28px;
 top: 65%;
 left: 25%;
 animation-duration: 32s;
 background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
 animation-delay: -12s;
}

@keyframes floatElement {
 0% {
  transform: translate(0, 0) rotate(0deg);
 }
 25% {
  transform: translate(30px, 40px) rotate(90deg);
 }
 50% {
  transform: translate(60px, 20px) rotate(180deg);
 }
 75% {
  transform: translate(30px, -30px) rotate(270deg);
 }
 100% {
  transform: translate(0, 0) rotate(360deg);
 }
}

/* Hero section decorative elements */
.hero-background-elements {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 pointer-events: none;
 z-index: -1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(45deg, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* Стилизация секций */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step p {
    color: #94a3b8;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(30, 41, 59, 0.6);
    transform: translateX(5px);
}

.benefit-icon {
    color: var(--success);
    font-size: 1.5rem;
    margin-top: 5px;
}

.benefit-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.benefit-content p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 100px 0;
    /* background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%); */
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.download-content p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Активный дизайн */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card, .step {
        padding: 20px;
    }
    
    .download-section {
        padding: 80px 0;
    }
    
    .download-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* Анимации */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Появления при скролле */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
