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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #12141f 0%, #4e5caa 50%, #12141f 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

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

/* Header */
header {
    padding: 30px 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3d83f6 0%, #8456e9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.download-btn {
    background: linear-gradient(135deg, #f4c912 0%, #ed8621 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.download-btn:hover {
    transform: scale(1.05);
    opacity: 1 !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%; /* ДОБАВЛЕНО - это решает проблему */
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(18, 20, 31, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 12px;
    transition: background 0.2s;
    font-size: 16px;
    font-weight: 500;
}

.mobile-nav a:hover {
    background: rgba(255,255,255,0.1);
}

.download-btn-mobile {
    background: linear-gradient(135deg, #f4c912 0%, #ed8621 100%);
    text-align: center;
    margin-top: 10px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
}

h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a8b8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-primary {
    background: linear-gradient(135deg, #f4c912 0%, #ed8621 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

/* Phone Mockup */
.phone-mockup {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    padding: 10px;
    margin: 0 auto 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #12141f 0%, #2e4b8a 50%, #12141f 100%);
    border-radius: 30px;
    padding: 20px;
    overflow: hidden;
}

.demo-card {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
}

/* Quick Features */
.quick-features {
    padding: 60px 0;
    background: rgba(0,0,0,0.2);
}

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

.quick-feature {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-feature .feature-icon {
    font-size: 48px;
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
}

.quick-feature h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.quick-feature p {
    color: rgba(255,255,255,0.7);
}

/* Features Page */
.features {
    padding: 80px 0;
    background: rgba(0,0,0,0.2);
}

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

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3d83f6 0%, #8456e9 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-icon.center-icon {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 60px auto 0;
}

.pricing-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
}

.pricing-card.featured {
    border-color: #f4c912;
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #56d866 0%, #3d83f6 100%);
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.price {
    font-size: 48px;
    font-weight: bold;
    margin: 20px 0;
}

.price-period {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
}

.price-features {
    list-style: none;
    margin: 30px 0;
}

.price-features li {
    padding: 8px 0;
    color: rgba(255,255,255,0.8);
}

.price-features li:before {
    content: "✓ ";
    color: #56d866;
    font-weight: bold;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background: rgba(255,255,255,0.05);
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Page Headers */
.page-header {
    padding: 60px 0;
    text-align: center;
    background: rgba(0,0,0,0.3);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
}

/* Content Pages */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    padding: 8px 0;
    color: rgba(255,255,255,0.9);
}

.content-section ul li:before {
    content: "• ";
    color: #3d83f6;
    font-weight: bold;
    margin-right: 8px;
}

.section-title {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    /* Show mobile menu button, hide desktop nav */
    .mobile-menu-btn {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    /* Adjust font sizes */
    h1 {
        font-size: 36px;
    }
    
    .page-header h1 {
        font-size: 32px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Fix phone mockup */
    .phone-mockup {
        width: 280px;
        height: 560px;
        max-width: 90%;
    }
    
    /* Grid adjustments */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Adjust button sizes on mobile */
    .btn-primary, .btn-secondary {
        padding: 14px 28px;
        font-size: 16px;
    }
}