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

        header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0a5b40 0%, #06B6D4 50%, #F59E0B 100%);
    backdrop-filter: blur(20px);
    border-bottom: none;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);  /* уменьшена тень */
}
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
        }

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

.logo-icon {
    width: 100px;  /* было 70px */
    height: 60px;  /* было 70px */
    background: transparent;
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: translateY(-2px) rotate(5deg);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo-text {
    font-size: 26px;  /* было 24px */
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0F2FE 50%, #FEF3C7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

        .nav-links {
            display: flex;
            list-style: none;
            gap: 32px;
            align-items: center;
        }

        .nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;  /* было 500 */
    font-size: 17px;   /* было 15px */
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 60%;
}
        .language-selector {
            position: relative;
        }
        .language-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 16px;  /* было 8px 12px */
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;  /* было 500 */
    font-size: 16px;   /* было 14px */
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

        .language-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            border-color: var(--primary-mint);
            color: var(--primary-mint);
            box-shadow: var(--shadow-md);
        }

        .language-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 8px;
            margin-top: 8px;
            box-shadow: var(--shadow-lg);
            min-width: 120px;
            display: none;
opacity: 1;    
        }

        .language-dropdown.active {
            display: block;
            animation: fadeInUp 0.3s ease;
        }
        .platform-selector {
    position: relative;
}

.thread-input {
    width: 100%;
    border: none;
    background: transparent;
    resize: none;
    min-height: 80px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    padding: 8px 0;
}

.thread-input:focus {
    outline: none;
}

.thread-input::placeholder {
    color: var(--text-light);
}

.platform-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
}

.platform-btn:hover {
    background: var(--bg-primary);
    border-color: var(--primary-mint);
    color: var(--primary-mint);
    box-shadow: var(--shadow-md);
}

.platform-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 8px;
    margin-top: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 100;
}

.platform-dropdown.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.platform-option {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.platform-option:hover {
    background: var(--bg-secondary);
    color: var(--primary-mint);
}

.platform-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}
.thread-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.thread-item {
    position: relative;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    background: white;
}

.thread-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

.thread-input {
    width: 100%;
    border: none;
    background: transparent;
    resize: none;
    min-height: 80px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
}

.add-thread-btn {
    width: 100%;
    padding: 12px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-thread-btn:hover {
    border-color: var(--primary-mint);
    color: var(--primary-mint);
    background: rgba(16, 185, 129, 0.05);
}

.image-upload-container {
    margin-top: 12px;
}
.image-upload-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.image-upload-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.image-upload-btn:hover svg {
    fill: var(--primary-mint);
}


.uploaded-images {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.uploaded-images:empty {
    display: none;
}
.uploaded-image {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.uploaded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
}
.ai-demo-wrapper {
    position: relative;
    background: linear-gradient(135deg, var(--primary-mint), var(--primary-blue), var(--accent-yellow));
    border-radius: 20px;
    padding: 3px;
    border: none;
}


.ai-demo-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-mint), var(--primary-blue), var(--accent-yellow));
    border-radius: 23px;
    z-index: -1;
}

.demo-input {
    position: relative;
    background: var(--bg-primary);
    border-radius: 17px;
    z-index: 1;
}

.demo-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1), 0 0 20px rgba(16, 185, 129, 0.1);
    background: var(--bg-primary);
    transform: scale(1.01);
}



.thread-input:focus {
    outline: none;
}

.thread-input::placeholder {
    
    color: var(--text-light);
}

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .language-option {
            display: block;
            padding: 8px 12px;
            color: var(--text-secondary);
            text-decoration: none;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .language-option:hover {
            background: var(--bg-secondary);
            color: var(--primary-mint);
        }

        .auth-buttons {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        .login-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;  /* было 8px 16px */
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;  /* было 500 */
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;  /* было 14px */
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--primary-mint);
    color: var(--primary-mint);
    box-shadow: var(--shadow-md);
}
/* Profile Button */
.profile-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.profile-btn svg {
    fill: white;
}
main {
    margin-top: 60px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page {
    display: none;
    min-height: calc(100vh - 60px);
    flex: 1;
}

.page > section {
    flex: 1;
}

        .page.active {
            display: block;
        }

        /* Hero Section */
        .hero {
    text-align: center;
    padding: 80px 0 40px;
    background: 
        radial-gradient(ellipse at top, rgba(240, 253, 244, 0.6) 0%, transparent 50%);
    position: relative;
    backdrop-filter: blur(10px);
}
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 56px;
            font-weight: 800;
            margin-bottom: 24px;
            background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-mint) 50%, var(--primary-blue) 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.1;
            letter-spacing: -0.02em;
        }

        .hero .highlight {
            background: linear-gradient(135deg, var(--primary-mint), var(--accent-yellow));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            font-size: 20px;
            color: var(--text-secondary);
            margin-bottom: 40px;
            line-height: 1.6;
            font-weight: 400;
        }

       .hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 48px auto;
    max-width: 1000px;
    justify-items: center;
}
       .feature-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-primary);
    padding: 12px 16px;
    border-radius: 24px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    white-space: nowrap;
    width: 100%;
    max-width: 240px;
}
.feature-badge::before {
            flex-shrink: 0;
        }
        
        .feature-badge::before {
            content: "✅";
            font-size: 16px;
        }

        .cta-btn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 
        0 8px 24px rgba(16, 185, 129, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 1 !important;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(16, 185, 129, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cta-btn.hero-primary {
    font-size: 18px;
    padding: 18px 40px;
    box-shadow: 
        0 6px 16px rgba(16, 185, 129, 0.45),
        0 2px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    font-weight: 700;
}

.cta-btn.hero-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 
        0 12px 32px 0 rgba(16, 185, 129, 0.45),
        0 0 0 4px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.02);
}

        .cta-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
        }

        .cta-btn:hover::before {
            left: 100%;
        }

        .cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }
        .cta-btn.secondary {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 
        0 4px 14px 0 rgba(16, 185, 129, 0.4),
        0 0 0 3px rgba(16, 185, 129, 0.1);
    font-weight: 700;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 
        0 6px 20px 0 rgba(16, 185, 129, 0.5),
        0 0 0 4px rgba(16, 185, 129, 0.15);
    transform: translateY(-3px);
}
/* Billing Toggle Switch */
.billing-toggle {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.billing-toggle.active {
    background: linear-gradient(135deg, var(--primary-mint), var(--primary-blue));
    color: white;
    border-color: var(--primary-mint);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.billing-toggle:hover {
    transform: translateY(-2px);
    border-color: var(--primary-mint);
}