/* File Encryptor Tool Styles - Scoped */
    .file-encryptor-wrapper {
        font-family: 'Inter', sans-serif;
        background: linear-gradient(135deg, #170310 0%, #2d1a28 50%, #170310 100%);
        min-height: 100vh;
        padding: 0;
    }

    .file-encryptor-wrapper * {
        box-sizing: border-box;
    }

    /* Hero Section */
    .fe-hero-section {
        background: linear-gradient(135deg, #170310 0%, #2d1a28 100%);
        padding: 60px 0 40px;
        position: relative;
        overflow: hidden;
    }

    .fe-hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23675a55' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .fe-hero-title {
        color: #ffffff;
        font-size: 2.8rem;
        font-weight: 800;
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
    }

    .fe-hero-title span {
        background: linear-gradient(135deg, #ffffff 0%, #b8a9a3 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .fe-hero-subtitle {
        color: #b8a9a3;
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 30px;
        position: relative;
        z-index: 1;
    }

    .fe-rating-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.1);
        padding: 12px 24px;
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        z-index: 1;
    }

    .fe-rating-stars {
        color: #ffc107;
        font-size: 1.1rem;
    }

    .fe-rating-text {
        color: #ffffff;
        font-size: 0.95rem;
        font-weight: 500;
    }

    /* Main Content Area */
    .fe-main-content {
        padding: 40px 0 60px;
        background: linear-gradient(180deg, #170310 0%, #1a0812 100%);
    }

    /* Ad Containers */
    .fe-ad-container {
        background: rgba(103, 90, 85, 0.1);
        border: 2px dashed rgba(103, 90, 85, 0.3);
        border-radius: 12px;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #675a55;
        font-size: 0.9rem;
        text-align: center;
        padding: 20px;
        position: sticky;
        top: 20px;
    }

    .fe-ad-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        opacity: 0.7;
    }

    /* Tool Card */
    .fe-tool-card {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
        border: 1px solid rgba(103, 90, 85, 0.3);
        border-radius: 24px;
        padding: 40px;
        backdrop-filter: blur(10px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    /* Mode Toggle */
    .fe-mode-toggle {
        display: flex;
        background: rgba(23, 3, 16, 0.5);
        border-radius: 16px;
        padding: 6px;
        margin-bottom: 30px;
        border: 1px solid rgba(103, 90, 85, 0.3);
    }

    .fe-mode-btn {
        flex: 1;
        padding: 16px 24px;
        border: none;
        background: transparent;
        color: #b8a9a3;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .fe-mode-btn:hover {
        color: #ffffff;
    }

    .fe-mode-btn.active {
        background: linear-gradient(135deg, #675a55 0%, #4a4340 100%);
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(103, 90, 85, 0.4);
    }

    .fe-mode-btn i {
        font-size: 1.2rem;
    }

    /* Upload Area */
    .fe-upload-area {
        border: 2px dashed rgba(103, 90, 85, 0.4);
        border-radius: 20px;
        padding: 50px 30px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background: rgba(23, 3, 16, 0.3);
        position: relative;
        overflow: hidden;
    }

    .fe-upload-area:hover {
        border-color: #675a55;
        background: rgba(103, 90, 85, 0.1);
    }

    .fe-upload-area.drag-over {
        border-color: #675a55;
        background: rgba(103, 90, 85, 0.2);
        transform: scale(1.02);
    }

    .fe-upload-area.has-file {
        border-color: #28a745;
        background: rgba(40, 167, 69, 0.1);
    }

    .fe-upload-icon {
        font-size: 4rem;
        color: #675a55;
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }

    .fe-upload-area:hover .fe-upload-icon {
        transform: translateY(-5px);
        color: #b8a9a3;
    }

    .fe-upload-text {
        color: #ffffff;
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .fe-upload-subtext {
        color: #b8a9a3;
        font-size: 0.95rem;
    }

    .fe-file-input {
        display: none;
    }

    /* File Info */
    .fe-file-info {
        display: none;
        background: rgba(40, 167, 69, 0.1);
        border: 1px solid rgba(40, 167, 69, 0.3);
        border-radius: 12px;
        padding: 20px;
        margin-top: 20px;
    }

    .fe-file-info.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .fe-file-details {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .fe-file-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #675a55 0%, #4a4340 100%);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 1.5rem;
    }

    .fe-file-name {
        color: #ffffff;
        font-weight: 600;
        font-size: 1rem;
        word-break: break-all;
    }

    .fe-file-size {
        color: #b8a9a3;
        font-size: 0.85rem;
    }

    .fe-remove-file {
        margin-left: auto;
        background: rgba(220, 53, 69, 0.2);
        border: none;
        color: #dc3545;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .fe-remove-file:hover {
        background: #dc3545;
        color: #ffffff;
    }

    /* Password Input */
    .fe-password-section {
        margin-top: 30px;
    }

    .fe-input-label {
        color: #ffffff;
        font-weight: 600;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .fe-input-label i {
        color: #675a55;
    }

    .fe-password-wrapper {
        position: relative;
    }

    .fe-password-input {
        width: 100%;
        padding: 16px 50px 16px 20px;
        background: rgba(23, 3, 16, 0.5);
        border: 2px solid rgba(103, 90, 85, 0.3);
        border-radius: 12px;
        color: #ffffff;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .fe-password-input:focus {
        outline: none;
        border-color: #675a55;
        box-shadow: 0 0 0 4px rgba(103, 90, 85, 0.2);
    }

    .fe-password-input::placeholder {
        color: #675a55;
    }

    .fe-toggle-password {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #675a55;
        cursor: pointer;
        padding: 5px;
        transition: color 0.3s ease;
    }

    .fe-toggle-password:hover {
        color: #b8a9a3;
    }

    /* Password Strength */
    .fe-password-strength {
        margin-top: 12px;
        display: none;
    }

    .fe-password-strength.show {
        display: block;
    }

    .fe-strength-bar {
        height: 4px;
        background: rgba(103, 90, 85, 0.3);
        border-radius: 2px;
        overflow: hidden;
        margin-bottom: 8px;
    }

    .fe-strength-fill {
        height: 100%;
        border-radius: 2px;
        transition: all 0.3s ease;
        width: 0%;
    }

    .fe-strength-fill.weak {
        width: 25%;
        background: #dc3545;
    }

    .fe-strength-fill.fair {
        width: 50%;
        background: #ffc107;
    }

    .fe-strength-fill.good {
        width: 75%;
        background: #17a2b8;
    }

    .fe-strength-fill.strong {
        width: 100%;
        background: #28a745;
    }

    .fe-strength-text {
        font-size: 0.85rem;
        font-weight: 500;
    }

    .fe-strength-text.weak { color: #dc3545; }
    .fe-strength-text.fair { color: #ffc107; }
    .fe-strength-text.good { color: #17a2b8; }
    .fe-strength-text.strong { color: #28a745; }

    /* Confirm Password */
    .fe-confirm-password-section {
        margin-top: 20px;
        display: none;
    }

    .fe-confirm-password-section.show {
        display: block;
    }

    /* Action Buttons */
    .fe-action-buttons {
        margin-top: 30px;
        display: flex;
        gap: 15px;
    }

    .fe-btn-primary {
        flex: 1;
        padding: 18px 30px;
        background: linear-gradient(135deg, #675a55 0%, #4a4340 100%);
        border: none;
        border-radius: 12px;
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .fe-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(103, 90, 85, 0.4);
    }

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

    .fe-btn-secondary {
        padding: 18px 30px;
        background: transparent;
        border: 2px solid rgba(103, 90, 85, 0.5);
        border-radius: 12px;
        color: #b8a9a3;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .fe-btn-secondary:hover {
        border-color: #675a55;
        background: rgba(103, 90, 85, 0.1);
        color: #ffffff;
    }

    /* Progress Section */
    .fe-progress-section {
        display: none;
        margin-top: 30px;
    }

    .fe-progress-section.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .fe-progress-bar-container {
        background: rgba(23, 3, 16, 0.5);
        border-radius: 10px;
        overflow: hidden;
        height: 12px;
    }

    .fe-progress-bar {
        height: 100%;
        background: linear-gradient(135deg, #675a55 0%, #b8a9a3 100%);
        border-radius: 10px;
        transition: width 0.3s ease;
        width: 0%;
    }

    .fe-progress-text {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        color: #b8a9a3;
        font-size: 0.9rem;
    }

    /* Result Section */
    .fe-result-section {
        display: none;
        margin-top: 30px;
    }

    .fe-result-section.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .fe-result-card {
        background: rgba(40, 167, 69, 0.1);
        border: 1px solid rgba(40, 167, 69, 0.3);
        border-radius: 16px;
        padding: 30px;
        text-align: center;
    }

    .fe-result-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 2.5rem;
        color: #ffffff;
    }

    .fe-result-title {
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .fe-result-text {
        color: #b8a9a3;
        margin-bottom: 25px;
    }

    .fe-download-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 16px 40px;
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        border: none;
        border-radius: 12px;
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .fe-download-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
        color: #ffffff;
    }

    /* Features Section */
    .fe-features-section {
        margin-top: 60px;
    }

    .fe-section-title {
        color: #ffffff;
        font-size: 2rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 40px;
    }

    .fe-feature-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(103, 90, 85, 0.2);
        border-radius: 16px;
        padding: 30px;
        text-align: center;
        transition: all 0.3s ease;
        height: 100%;
    }

    .fe-feature-card:hover {
        transform: translateY(-5px);
        border-color: #675a55;
        background: rgba(103, 90, 85, 0.1);
    }

    .fe-feature-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #675a55 0%, #4a4340 100%);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 1.8rem;
        color: #ffffff;
    }

    .fe-feature-title {
        color: #ffffff;
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .fe-feature-text {
        color: #b8a9a3;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Content Section */
    .fe-content-section {
        margin-top: 60px;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 24px;
        padding: 50px;
    }

    .fe-content-title {
        color: #ffffff;
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .fe-content-text {
        color: #b8a9a3;
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .fe-content-list {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }

    .fe-content-list li {
        color: #b8a9a3;
        padding: 10px 0;
        padding-left: 30px;
        position: relative;
    }

    .fe-content-list li::before {
        content: '\f00c';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        left: 0;
        color: #28a745;
    }

    /* FAQ Section */
    .fe-faq-section {
        margin-top: 60px;
    }

    .fe-accordion-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(103, 90, 85, 0.2);
        border-radius: 12px;
        margin-bottom: 15px;
        overflow: hidden;
    }

    .fe-accordion-header {
        padding: 0;
        margin: 0;
    }

    .fe-accordion-button {
        width: 100%;
        padding: 20px 25px;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 1.05rem;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
    }

    .fe-accordion-button:hover {
        background: rgba(103, 90, 85, 0.1);
    }

    .fe-accordion-button i {
        transition: transform 0.3s ease;
        color: #675a55;
    }

    .fe-accordion-button.active i {
        transform: rotate(180deg);
    }

    .fe-accordion-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .fe-accordion-body.show {
        max-height: 500px;
    }

    .fe-accordion-content {
        padding: 0 25px 20px;
        color: #b8a9a3;
        line-height: 1.7;
    }

    /* Modal/Popup Styles */
    .fe-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(23, 3, 16, 0.9);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        padding: 20px;
    }

    .fe-modal-overlay.show {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .fe-modal {
        background: linear-gradient(145deg, #2d1a28 0%, #170310 100%);
        border: 1px solid rgba(103, 90, 85, 0.3);
        border-radius: 20px;
        max-width: 450px;
        width: 100%;
        padding: 40px;
        text-align: center;
        position: relative;
        animation: slideIn 0.3s ease;
    }

    .fe-modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        color: #675a55;
        font-size: 1.5rem;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .fe-modal-close:hover {
        color: #ffffff;
    }

    .fe-modal-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        font-size: 2.5rem;
    }

    .fe-modal-icon.success {
        background: rgba(40, 167, 69, 0.2);
        color: #28a745;
    }

    .fe-modal-icon.error {
        background: rgba(220, 53, 69, 0.2);
        color: #dc3545;
    }

    .fe-modal-icon.warning {
        background: rgba(255, 193, 7, 0.2);
        color: #ffc107;
    }

    .fe-modal-icon.info {
        background: rgba(23, 162, 184, 0.2);
        color: #17a2b8;
    }

    .fe-modal-title {
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .fe-modal-text {
        color: #b8a9a3;
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .fe-modal-btn {
        padding: 14px 40px;
        background: linear-gradient(135deg, #675a55 0%, #4a4340 100%);
        border: none;
        border-radius: 10px;
        color: #ffffff;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .fe-modal-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(103, 90, 85, 0.4);
    }

    /* Related Tools Section */
    .fe-related-section {
        margin-top: 60px;
    }

    .fe-related-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(103, 90, 85, 0.2);
        border-radius: 16px;
        padding: 25px;
        text-align: center;
        transition: all 0.3s ease;
        text-decoration: none;
        display: block;
        height: 100%;
    }

    .fe-related-card:hover {
        transform: translateY(-5px);
        border-color: #675a55;
        background: rgba(103, 90, 85, 0.1);
    }

    .fe-related-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #675a55 0%, #4a4340 100%);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 1.5rem;
        color: #ffffff;
    }

    .fe-related-title {
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .fe-related-text {
        color: #b8a9a3;
        font-size: 0.9rem;
    }

    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Spinner */
    .fe-spinner {
        width: 20px;
        height: 20px;
        border: 2px solid transparent;
        border-top-color: #ffffff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Responsive */
    @media (max-width: 1200px) {
        .fe-ad-container {
            min-height: 200px;
            position: static;
            margin-bottom: 30px;
        }
    }

    @media (max-width: 768px) {
        .fe-hero-title {
            font-size: 2rem;
        }

        .fe-tool-card {
            padding: 25px;
        }

        .fe-mode-btn {
            padding: 12px 15px;
            font-size: 0.9rem;
        }

        .fe-action-buttons {
            flex-direction: column;
        }

        .fe-content-section {
            padding: 30px 20px;
        }
    }