﻿/* ==========================================
   FILETRANSFER - Premium File Transfer System
   Complete Stylesheet v2 - Clear & Readable
   ========================================== */

:root {
    --primary: #6C5CE7;
    --primary-light: #a29bfe;
    --primary-dark: #5A4BD1;
    --secondary: #00CEC9;
    --accent: #FD79A8;
    --bg-dark: #0d0d1f;
    --bg-body: #12122a;
    --bg-card: #1a1a3e;
    --bg-card-hover: #222255;
    --bg-input: #1e1e45;
    --bg-nav: rgba(13, 13, 31, 0.95);
    --text-primary: #eaeaff;
    --text-secondary: #b0b0d0;
    --text-muted: #7a7a9a;
    --border-color: #2d2d5a;
    --border-hover: #4a4a8a;
    --gradient-1: linear-gradient(135deg, #6C5CE7, #00CEC9);
    --gradient-2: linear-gradient(135deg, #FD79A8, #6C5CE7);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(108,92,231,0.12);
    --shadow-lg: 0 20px 60px rgba(108,92,231,0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; color: #fff; }
p { color: var(--text-secondary); line-height: 1.8; }
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

.text-gradient { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-muted { color: var(--text-muted) !important; }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--bg-nav) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(45, 45, 90, 0.6);
    padding: 10px 0;
    z-index: 1050;
}

.navbar-brand {
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.navbar-brand i { -webkit-text-fill-color: initial; color: var(--primary); }

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 7px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: #fff !important;
    background: rgba(108, 92, 231, 0.12);
}

.nav-link i { margin-right: 5px; font-size: 0.82rem; }

.premium-badge {
    background: rgba(255, 215, 0, 0.12) !important;
    border: 1px solid rgba(255, 215, 0, 0.25);
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    animation: glow 2s ease-in-out infinite;
    cursor: default;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 215, 0, 0.15); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
}

.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    margin-top: 8px;
}

.dropdown-item {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 0.88rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(108, 92, 231, 0.1);
    color: #fff;
}

.dropdown-divider { border-color: var(--border-color); margin: 4px 0; }

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse at 25% 40%, rgba(108, 92, 231, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 60%, rgba(0, 206, 201, 0.06) 0%, transparent 60%);
    animation: heroFloat 25s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, 20px) rotate(1deg); }
    66% { transform: translate(20px, -10px) rotate(-1deg); }
}

.hero-content { position: relative; z-index: 1; }
.min-vh-80 { min-height: 80vh; }

.hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 14px;
    background: rgba(108, 92, 231, 0.06);
    border-radius: 50px;
    border: 1px solid rgba(45, 45, 90, 0.5);
}

/* ===== UPLOAD CARD ===== */
.upload-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.upload-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.upload-card-header { text-align: center; margin-bottom: 25px; }
.upload-card-header h3 { font-weight: 700; font-size: 1.35rem; }

.upload-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 12px;
    animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(108, 92, 231, 0.03);
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
    box-shadow: inset 0 0 30px rgba(108, 92, 231, 0.05);
}

.file-info-card {
    background: var(--bg-card-hover);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border-color);
}

.file-details { flex: 1; text-align: left; }
.file-name { font-weight: 600; font-size: 0.9rem; word-break: break-all; color: #fff; }
.file-size { font-size: 0.8rem; color: var(--text-secondary); }

/* ===== UPLOAD SUCCESS ===== */
.upload-success-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.link-box .form-control {
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.link-box .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 600;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.88rem;
}

.btn-primary {
    background: var(--gradient-1) !important;
    border: none !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 26px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary) !important;
    color: var(--primary-light) !important;
    background: transparent !important;
    border-radius: 50px !important;
}

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.12);
    color: var(--text-secondary);
    border-radius: 50px;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 50px;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.btn-lg { padding: 13px 30px; font-size: 1rem; }
.btn-sm { font-size: 0.8rem; padding: 5px 12px; }

/* ===== SECTION PADDING ===== */
.section-padding { padding: 100px 0; }

/* ===== CARDS ===== */
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.1);
}

.step-number {
    position: absolute;
    top: -16px; left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.step-card h4 { margin-top: 12px; font-size: 1.1rem; }

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.08);
}

.feature-icon {
    width: 56px; height: 56px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 18px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(108, 92, 231, 0.2);
    transform: scale(1.05);
}

.feature-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; margin-bottom: 0; }

/* ===== PRICING CARDS ===== */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.pricing-card:hover { transform: translateY(-6px); border-color: var(--border-hover); }

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.15);
    transform: scale(1.03);
}

.pricing-card.popular:hover { transform: scale(1.03) translateY(-6px); }

.popular-badge {
    position: absolute;
    top: 18px; right: -32px;
    background: var(--gradient-1);
    color: #fff;
    padding: 4px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h4 { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 8px; }
.price h2 { font-size: 2.5rem; margin-bottom: 2px; }
.price p { font-size: 0.82rem; margin-bottom: 0; }

.pricing-body ul li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
}

.pricing-body ul li i { width: 20px; }

.pricing-footer { margin-top: 24px; }

.payment-methods-showcase .payment-method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 16px 22px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    min-width: 100px;
}

.payment-methods-showcase .payment-method-item:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.payment-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    transition: var(--transition);
}

.payment-icon-circle.bkash-icon { background: linear-gradient(135deg, #E2136E, #c41060); }
.payment-icon-circle.nagad-icon { background: linear-gradient(135deg, #F2682A, #e05a1c); }
.payment-icon-circle.rocket-icon { background: linear-gradient(135deg, #E1184B, #c41240); }
.payment-icon-circle.visa-icon { background: linear-gradient(135deg, #1A1F71, #2d34a0); }
.payment-icon-circle.mc-icon { background: linear-gradient(135deg, #EB001B, #d4001a); }

.payment-methods-showcase .payment-method-item:hover .payment-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ===== STATS SECTION ===== */
.stats-section .stat-card {
    padding: 30px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stats-section .stat-card:hover { border-color: var(--primary); }
.stats-section .stat-card h2 { font-size: 2.2rem; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stats-section .stat-card p { font-size: 0.82rem; margin-bottom: 0; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border-color); }
.testimonial-author strong { font-size: 0.88rem; color: #fff; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gradient-1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-weight: 700; color: #fff; font-size: 1rem;
    overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonials-section .stars { font-size: 0.85rem; }

/* ===== ACCORDION ===== */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    padding: 18px 24px;
    font-size: 0.92rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-card-hover);
    color: var(--primary-light);
}

.accordion-button::after {
    filter: invert(0.6);
}

.accordion-body {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 0 24px 18px;
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 0;
}

.social-links { display: flex; gap: 10px; }

.social-link {
    width: 38px; height: 38px;
    background: var(--bg-card-hover);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links li { margin-bottom: 8px; }
.footer-links li a {
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--primary-light) !important;
    transform: translateX(3px);
}

.payment-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.payment-badge.bkash { background: #E2136E; color: #fff; }
.payment-badge.nagad { background: #F2682A; color: #fff; }
.payment-badge.rocket { background: #E1184B; color: #fff; }
.payment-badge.visa { background: #1A1F71; color: #fff; }
.payment-badge.mastercard { background: #EB001B; color: #fff; }

/* ===== AUTH PAGES ===== */
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    box-shadow: var(--shadow-md);
}

.auth-card .input-group-text {
    background: var(--bg-input);
    border-color: var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.auth-card .form-control {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 11px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.92rem;
}

.auth-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.08);
    background: var(--bg-input);
    color: var(--text-primary);
}

.auth-card .input-group:focus-within .input-group-text {
    border-color: var(--primary);
}

/* ===== DOWNLOAD PAGE ===== */
.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.info-item {
    background: var(--bg-card-hover);
    border-radius: var(--radius-sm);
    padding: 14px;
    border: 1px solid var(--border-color);
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-weight: 600;
    font-size: 0.92rem;
    word-break: break-all;
    color: #fff;
}

/* ===== DASHBOARD ===== */
.main-content { padding-top: 80px; }

.dashboard-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.dashboard-stat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.dashboard-stat-card .stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dashboard-stat-card h4 { font-size: 1.3rem; color: #fff; }
.dashboard-stat-card small { font-size: 0.75rem; }

/* Dashboard Table */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.dashboard-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(45, 45, 90, 0.4);
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.dashboard-table tbody tr:hover {
    background: rgba(108, 92, 231, 0.04);
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
}

.dashboard-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-card-body {
    padding: 20px;
}

/* Premium Status Card */
.premium-status-card {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(0, 206, 201, 0.08));
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

/* ===== ADMIN PANEL ===== */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.admin-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-body {
    padding: 0;
}

/* Admin Navigation */
.admin-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px;
}

.admin-nav a {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
}

.admin-nav a:hover {
    background: rgba(108, 92, 231, 0.08);
    color: #fff;
}

.admin-nav a.active {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary-light);
}

.admin-nav a i { width: 18px; text-align: center; }

/* Admin Stats Cards */
.stats-card {
    border-radius: var(--radius-md);
    padding: 22px;
    color: #fff;
    transition: var(--transition);
}

.stats-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.stats-label {
    font-size: 0.78rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stats-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

.bg-gradient-purple { background: linear-gradient(135deg, #6C5CE7, #a29bfe); }
.bg-gradient-green { background: linear-gradient(135deg, #00b894, #00CEC9); }
.bg-gradient-orange { background: linear-gradient(135deg, #e17055, #fdcb6e); }
.bg-gradient-blue { background: linear-gradient(135deg, #0984e3, #74b9ff); }
.bg-white-10 { background: rgba(255,255,255,0.15); }

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.admin-table td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(45, 45, 90, 0.4);
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.admin-table tbody tr:hover {
    background: rgba(108, 92, 231, 0.04);
}

.fw-medium { font-weight: 600; color: #fff; }

/* Package Cards (Admin) */
.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.package-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.package-card.border-primary {
    border-color: var(--primary) !important;
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.1);
}

.package-popular {
    position: absolute;
    top: 16px; right: -30px;
    background: var(--gradient-1);
    color: #fff;
    padding: 3px 36px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.package-card-header {
    padding: 22px 22px 16px;
    border-bottom: 1px solid var(--border-color);
}

.package-price {
    margin-top: 8px;
}

.package-price .currency {
    font-size: 1rem;
    vertical-align: top;
    color: var(--primary-light);
}

.package-price .amount {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.package-price .period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.package-card-body {
    padding: 18px 22px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-features li i { width: 16px; text-align: center; }

.package-card-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.15);
}

/* ===== SETTINGS PAGE ===== */
.settings-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}

.settings-section h5 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.card { border-radius: var(--radius-md); }
.card.bg-dark { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
.card-header { border-radius: var(--radius-md) var(--radius-md) 0 0 !important; border-bottom: 1px solid var(--border-color) !important; background: transparent; }

.table {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    border-color: var(--border-color);
    padding: 12px 16px;
    vertical-align: middle;
}

.table thead th {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr:hover { background: rgba(108, 92, 231, 0.03); }
.table tbody td { color: var(--text-secondary); }

code {
    color: var(--secondary);
    background: rgba(0, 206, 201, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.82em;
}

/* ===== FORM CONTROLS ===== */
.form-control, .form-select {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1) !important;
    background: var(--bg-input) !important;
    color: var(--text-primary) !important;
}

.form-control::placeholder { color: var(--text-muted); font-size: 0.85rem; }
.form-label { color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; margin-bottom: 5px; }

/* ===== ALERTS ===== */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.88rem;
}

.alert-danger { background: rgba(255, 71, 87, 0.1); color: #ff6b7a; border: 1px solid rgba(255, 71, 87, 0.2); }
.alert-success { background: rgba(0, 184, 148, 0.1); color: #00d2a0; border: 1px solid rgba(0, 184, 148, 0.2); }
.alert-info { background: rgba(108, 92, 231, 0.1); color: var(--primary-light); border: 1px solid rgba(108, 92, 231, 0.2); }
.alert-warning { background: rgba(255, 215, 0, 0.08); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.15); }

/* ===== MODAL ===== */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.modal-header, .modal-footer {
    border-color: var(--border-color);
}

.modal-header .btn-close { filter: invert(0.8) brightness(1.5); }

/* ===== MISC ===== */
.progress {
    background: rgba(255,255,255,0.06);
    border-radius: 50px;
}

.progress-bar {
    border-radius: 50px;
}

.badge { font-weight: 500; letter-spacing: 0.3px; }
.bg-primary-subtle { background: rgba(108, 92, 231, 0.12); color: var(--primary-light); }
.bg-success-subtle { background: rgba(0, 184, 148, 0.12); color: #00d2a0; }
.bg-warning-subtle { background: rgba(255, 215, 0, 0.12); color: #ffd700; }
.bg-info-subtle { background: rgba(0, 206, 201, 0.12); color: var(--secondary); }
.bg-danger-subtle { background: rgba(255, 71, 87, 0.12); color: #ff6b7a; }
.bg-secondary { background: rgba(120, 120, 150, 0.3) !important; color: var(--text-muted); }

.badge-method {
    background: rgba(108, 92, 231, 0.08);
    color: var(--primary-light);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.guest-notice {
    background: rgba(108, 92, 231, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.payment-history-item { padding: 6px 0; }
.payment-history-item small { color: var(--text-secondary); }

.toast { border-radius: var(--radius-sm); font-size: 0.88rem; }

.text-white-50 { color: rgba(255,255,255,0.6); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .hero-stats .stat-item { font-size: 0.8rem; padding: 5px 12px; }
    .pricing-card { padding: 28px 22px; }
}

@media (max-width: 991px) {
    .hero-section { text-align: center; padding-top: 80px; min-height: auto; }
    .hero-section h1.display-4 { font-size: 2.5rem; }
    .hero-content { margin-bottom: 40px; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 8px !important; }
    .hero-stats .stat-item { font-size: 0.78rem; padding: 5px 12px; }
    .section-padding { padding: 60px 0; }
    .upload-card { padding: 25px; margin: 0 10px; }
    .pricing-card { margin-bottom: 20px; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-6px); }
    .feature-card { padding: 24px; }
    .feature-card h4 { font-size: 0.95rem; }
    .feature-card p { font-size: 0.82rem; }
    .step-card { padding: 30px 20px; margin-bottom: 20px; }
    .stats-section .stat-card { padding: 24px 16px; }
    .stats-section .stat-card h2 { font-size: 1.8rem; }
    .footer { text-align: center; }
    .social-links { justify-content: center; }
    .accordion-button { padding: 14px 18px; font-size: 0.85rem; }
    .accordion-body { padding: 0 18px 14px; font-size: 0.82rem; }
}

@media (max-width: 767px) {
    .hero-section h1.display-4 { font-size: 2rem; }
    .hero-section .lead { font-size: 0.95rem; }
    .hero-stats { flex-direction: column; align-items: center; gap: 6px !important; }
    .hero-stats .stat-item { width: 100%; max-width: 250px; justify-content: center; }
    .upload-card { padding: 20px; margin: 0; }
    .upload-card-header h3 { font-size: 1.15rem; }
    .upload-zone { padding: 25px 15px; }
    .upload-zone p { font-size: 0.85rem; }
    .upload-options .row.g-3 > div { width: 100%; }
    .installer-card { padding: 30px 20px; }
    .auth-card { padding: 25px 20px; }
    .download-card { padding: 25px 20px; }
    .footer { text-align: center; }
    .social-links { justify-content: center; }
    .payment-methods-showcase .payment-method-item { padding: 10px 14px; }
    .admin-nav { overflow-x: auto; flex-wrap: nowrap; }
    .admin-nav a { white-space: nowrap; font-size: 0.8rem; padding: 8px 14px; }
    .pricing-card { padding: 24px 18px; }
    .pricing-header h4 { font-size: 0.95rem; }
    .price h2 { font-size: 2rem; }
    .pricing-body ul li { font-size: 0.82rem; padding: 6px 0; }
    .feature-card { padding: 20px; }
    .feature-icon { width: 44px; height: 44px; font-size: 1.2rem; }
    .step-card { padding: 25px 16px; }
    .step-card h4 { font-size: 0.95rem; }
    .stats-section .stat-card { padding: 20px 12px; }
    .stats-section .stat-card h2 { font-size: 1.5rem; }
    .stats-section .stat-card p { font-size: 0.78rem; }
    .section-padding { padding: 40px 0; }
    .navbar-brand { font-size: 1.15rem; }
    .nav-link { font-size: 0.82rem; padding: 6px 12px !important; }
    .payment-methods-showcase { gap: 6px; }
    .payment-methods-showcase .payment-method-item { font-size: 0.72rem; padding: 8px 12px; }
    .upload-progress-wrapper { padding: 14px; }
    .upload-progress-file { max-width: 120px; font-size: 0.78rem; }
    .upload-progress-percent { font-size: 1rem; }
    .btn-lg { padding: 11px 24px; font-size: 0.9rem; }
    .popular-badge { font-size: 0.6rem; padding: 3px 32px; top: 14px; right: -28px; }
}

@media (max-width: 575px) {
    .hero-section h1.display-4 { font-size: 1.7rem; }
    .hero-section p.lead { font-size: 0.88rem; }
    .hero-section { padding: 70px 0 40px; }
    .upload-card { padding: 16px; }
    .upload-card-header h3 { font-size: 1.05rem; }
    .upload-card-header { margin-bottom: 16px; }
    .upload-zone { padding: 20px 12px; }
    .upload-zone p.mb-2 { font-size: 0.8rem; }
    .upload-icon { font-size: 2.2rem; }
    .file-info-card { padding: 10px 12px; }
    .file-details .file-name { font-size: 0.78rem; }
    .file-details .file-size { font-size: 0.7rem; }
    .form-label { font-size: 0.8rem; }
    .form-control, .form-select { font-size: 0.85rem; padding: 8px 10px; }
    .guest-notice .form-check-label { font-size: 0.75rem; }
    .step-card { margin-bottom: 16px; }
    .step-number { width: 30px; height: 30px; font-size: 0.85rem; top: -14px; }
    .accordion-button { padding: 12px 14px; font-size: 0.82rem; }
    .accordion-body { padding: 0 14px 12px; font-size: 0.8rem; }
    .section-title h2 { font-size: 1.4rem; }
    .section-title p { font-size: 0.85rem; }
    .footer { padding: 40px 0 20px; }
    .footer h5 { font-size: 0.95rem; }
    .footer p, .footer-links li a { font-size: 0.8rem; }
    .social-link { width: 32px; height: 32px; font-size: 0.78rem; }
}

@media (max-width: 400px) {
    .hero-section h1.display-4 { font-size: 1.4rem; }
    .hero-section p.lead { font-size: 0.82rem; }
    .upload-card { padding: 12px; }
    .upload-card-header h3 { font-size: 0.95rem; }
    .upload-zone { padding: 16px 10px; }
    .upload-zone p.mb-2 { font-size: 0.75rem; }
    .btn-lg { padding: 9px 18px; font-size: 0.82rem; }
    .pricing-card { padding: 20px 14px; }
    .price h2 { font-size: 1.7rem; }
    .feature-card { padding: 16px; }
    .feature-icon { width: 38px; height: 38px; font-size: 1rem; }
    .stats-section .stat-card h2 { font-size: 1.3rem; }
    .section-padding { padding: 30px 0; }
}

/* ==========================================
   ADVANCED ANIMATIONS & EFFECTS v2
   ========================================== */

/* Page Load Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(108, 92, 231, 0.3); }
    50% { box-shadow: 0 0 25px rgba(108, 92, 231, 0.6); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* Animation Classes */
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-in-left { animation: fadeInLeft 0.6s ease forwards; }
.animate-fade-in-right { animation: fadeInRight 0.6s ease forwards; }
.animate-fade-in-scale { animation: fadeInScale 0.5s ease forwards; }
.animate-slide-down { animation: slideDown 0.5s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }
.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}
.animate-gradient {
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}
.animate-heartbeat { animation: heartbeat 2s ease-in-out infinite; }
.animate-rotate { animation: rotate 1s linear infinite; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Stagger animation for children */
.stagger-children > * { opacity: 0; animation: fadeInUp 0.5s ease forwards; }
.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(7) { animation-delay: 0.35s; }
.stagger-children > *:nth-child(8) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(9) { animation-delay: 0.45s; }
.stagger-children > *:nth-child(10) { animation-delay: 0.5s; }

/* Upload Progress Bar */
.upload-progress-wrapper {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.upload-progress-wrapper.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.upload-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.upload-progress-file {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.upload-progress-percent {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.upload-progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 10px;
}

.upload-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-1);
    background-size: 200% 200%;
    animation: gradientShift 2s ease infinite;
    border-radius: 50px;
    transition: width 0.3s ease;
}

.upload-progress-bar-fill.paused {
    animation: none;
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.upload-progress-bar-fill.complete {
    animation: none;
    background: linear-gradient(135deg, #00b894, #00CEC9);
}

.upload-progress-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.upload-progress-speed {
    display: flex;
    align-items: center;
    gap: 4px;
}

.upload-progress-eta {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Advanced Card Effects */
.card-3d {
    perspective: 1000px;
}

.card-3d-inner {
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.card-3d:hover .card-3d-inner {
    transform: rotateY(5deg) rotateX(2deg);
}

.glass-card {
    background: rgba(26, 26, 62, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gradient-border {
    position: relative;
    border: none !important;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: var(--gradient-1);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 100%;
}

.skeleton-text.short { width: 60%; }
.skeleton-title { height: 24px; width: 40%; margin-bottom: 16px; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; }

/* Ripple Button Effect */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Notification Badge Pulse */
.badge-pulse {
    animation: pulseGlow 1.5s ease-in-out infinite;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(108, 92, 231, 0.15);
}

/* Number Counter Animation */
.counter-animate {
    display: inline-block;
}

/* Gradient Text Animation */
.text-gradient-animate {
    background: var(--gradient-1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Neon Glow */
.neon-glow {
    box-shadow:
        0 0 5px rgba(108, 92, 231, 0.3),
        0 0 10px rgba(108, 92, 231, 0.2),
        0 0 20px rgba(108, 92, 231, 0.1);
}

.neon-glow:hover {
    box-shadow:
        0 0 10px rgba(108, 92, 231, 0.5),
        0 0 20px rgba(108, 92, 231, 0.3),
        0 0 40px rgba(108, 92, 231, 0.15);
}

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-transition.active {
    opacity: 1;
}

/* File Type Badge Colors */
.file-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.file-type-pdf { background: rgba(255, 71, 87, 0.15); color: #ff6b7a; }
.file-type-image { background: rgba(0, 206, 201, 0.15); color: var(--secondary); }
.file-type-video { background: rgba(108, 92, 231, 0.15); color: var(--primary-light); }
.file-type-audio { background: rgba(255, 215, 0, 0.15); color: #ffd700; }
.file-type-archive { background: rgba(253, 121, 168, 0.15); color: var(--accent); }
.file-type-code { background: rgba(0, 184, 148, 0.15); color: #00d2a0; }
.file-type-doc { background: rgba(9, 132, 227, 0.15); color: #74b9ff; }

/* Empty State Animation */
@keyframes emptyBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-8px); }
    75% { transform: translateY(-4px); }
}

.empty-state-icon {
    animation: emptyBounce 2s ease-in-out infinite;
}

/* Confetti Effect */
@keyframes confetti-fall {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 9998;
    pointer-events: none;
    animation: confetti-fall 3s ease-in forwards;
}

/* Tooltip Glow */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card-hover);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 100;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.2s ease;
}

/* Feature Comparison Table */
.compare-table { font-size: 0.9rem; }
.compare-table thead th { border-bottom: 2px solid var(--border-color); background: var(--bg-card); }
.compare-table thead th[onclick]:hover { background: var(--bg-card-hover) !important; }
.compare-table tbody tr:hover td { background: var(--bg-card-hover); }
.compare-table td, .compare-table th { transition: background 0.2s ease; white-space: nowrap; }
@media (max-width: 768px) {
    .compare-table { font-size: 0.78rem; }
    .compare-table th, .compare-table td { padding: 10px 8px !important; min-width: 120px !important; }
}

/* ============ SITE-WIDE 3D PREMIUM UPGRADE ============ */
.site-3d { position: relative; }

/* --- floating hero orbs --- */
.site-3d .hero-section::after {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    right: 10%; bottom: 6%;
    background: radial-gradient(circle at 30% 30%, rgba(253,121,168,.32), transparent 70%);
    border-radius: 50%;
    filter: blur(45px);
    z-index: 0;
    pointer-events: none;
    animation: siteOrbFloat 16s ease-in-out infinite;
}
@keyframes siteOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-45px, 35px) scale(1.18); }
}
.site-3d .hero-section h1 { filter: drop-shadow(0 8px 20px rgba(108,92,231,.35)); }

/* --- upload card --- */
.site-3d .upload-card {
    box-shadow: 0 30px 70px -20px rgba(108,92,231,.4), inset 0 1px 0 rgba(255,255,255,.06);
    will-change: transform;
}
.site-3d .upload-zone {
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-3d .upload-zone:hover, .site-3d .upload-zone.dragover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px -14px rgba(108,92,231,.45), inset 0 0 30px rgba(108,92,231,.05);
}

/* --- auth / download / upload-success cards --- */
.site-3d .auth-card,
.site-3d .download-card,
.site-3d .upload-success-card,
.site-3d .image-upload-card {
    position: relative;
    overflow: hidden;
    will-change: transform;
}
.site-3d .auth-card { box-shadow: 0 30px 70px -20px rgba(108,92,231,.4), inset 0 1px 0 rgba(255,255,255,.06); }
.site-3d .download-card { box-shadow: 0 30px 70px -20px rgba(108,92,231,.38), inset 0 1px 0 rgba(255,255,255,.06); }
.site-3d .upload-success-card { box-shadow: 0 30px 70px -20px rgba(108,92,231,.4), inset 0 1px 0 rgba(255,255,255,.06); }
.site-3d .image-upload-card { box-shadow: 0 30px 70px -20px rgba(108,92,231,.4), inset 0 1px 0 rgba(255,255,255,.06); }
.site-3d .info-item { box-shadow: 0 8px 22px -14px rgba(108,92,231,.3); }

/* --- scroll reveal (uses `translate`, separate from `transform`, so 3D tilt is not overridden) --- */
.site-3d .reveal {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .7s ease, translate .7s cubic-bezier(.2,.9,.3,1.15);
    will-change: opacity, translate;
}
.site-3d .reveal.reveal-in { opacity: 1; translate: 0 0; }
.site-3d .row > .reveal:nth-child(2) { transition-delay: .08s; }
.site-3d .row > .reveal:nth-child(3) { transition-delay: .16s; }
.site-3d .row > .reveal:nth-child(4) { transition-delay: .24s; }
.site-3d .row > .reveal:nth-child(5) { transition-delay: .32s; }
.site-3d .row > .reveal:nth-child(6) { transition-delay: .4s; }
.site-3d .row > .reveal:nth-child(7) { transition-delay: .48s; }
.site-3d .row > .reveal:nth-child(8) { transition-delay: .56s; }

/* --- 3D depth + glare for cards --- */
.site-3d .step-card,
.site-3d .feature-card,
.site-3d .pricing-card,
.site-3d .testimonial-card,
.site-3d .stat-card,
.site-3d .auth-card,
.site-3d .download-card,
.site-3d .upload-success-card {
    position: relative;
    overflow: hidden;
    will-change: transform;
}
.site-3d .step-card { box-shadow: 0 22px 50px -22px rgba(108,92,231,.35); }
.site-3d .feature-card { box-shadow: 0 18px 45px -20px rgba(108,92,231,.3); }
.site-3d .pricing-card { box-shadow: 0 22px 55px -22px rgba(108,92,231,.35); }
.site-3d .testimonial-card { box-shadow: 0 16px 40px -20px rgba(108,92,231,.28); }
.site-3d .stat-card { box-shadow: 0 18px 45px -20px rgba(108,92,231,.3); }

/* glare sweep */
.site-3d .step-card::after,
.site-3d .feature-card::after,
.site-3d .pricing-card::after,
.site-3d .testimonial-card::after,
.site-3d .stat-card::after,
.site-3d .auth-card::after,
.site-3d .download-card::after,
.site-3d .upload-success-card::after,
.site-3d .image-upload-card::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 55%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.12), transparent);
    transform: skewX(-18deg);
    transition: left .8s ease;
    pointer-events: none;
    z-index: 1;
}
.site-3d .step-card:hover::after,
.site-3d .feature-card:hover::after,
.site-3d .pricing-card:hover::after,
.site-3d .testimonial-card:hover::after,
.site-3d .stat-card:hover::after,
.site-3d .auth-card:hover::after,
.site-3d .download-card:hover::after,
.site-3d .upload-success-card:hover::after,
.site-3d .image-upload-card:hover::after { left: 130%; }

/* feature icon chips */
.site-3d .feature-icon {
    background: linear-gradient(135deg, rgba(108,92,231,.18), rgba(0,206,201,.14));
    border: 1px solid rgba(108,92,231,.25);
    box-shadow: inset 0 2px 4px rgba(255,255,255,.18), 0 12px 24px -12px rgba(108,92,231,.55);
    animation: float 4s ease-in-out infinite;
}

/* step icons */
.site-3d .step-card i.fa-3x {
    background: linear-gradient(135deg, #00CEC9, #6C5CE7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 16px rgba(108,92,231,.45));
    animation: float 4s ease-in-out infinite;
}

/* step number 3D */
.site-3d .step-number {
    box-shadow: 0 6px 16px rgba(108,92,231,.4), inset 0 1px 0 rgba(255,255,255,.35);
}

/* popular pricing glow */
.site-3d .pricing-card.popular { animation: popularGlow 3s ease-in-out infinite; }
@keyframes popularGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(108,92,231,.18); }
    50% { box-shadow: 0 0 65px rgba(108,92,231,.38); }
}

/* stat card icons */
.site-3d .stat-card i { animation: float 3.5s ease-in-out infinite; }

/* author avatar ring */
.site-3d .author-avatar {
    box-shadow: 0 0 0 3px rgba(108,92,231,.22), 0 10px 20px -8px rgba(108,92,231,.5);
}

/* payment method items 3D */
.site-3d .payment-methods-showcase .payment-method-item {
    will-change: transform;
    box-shadow: 0 12px 30px -16px rgba(108,92,231,.35);
}
.site-3d .payment-icon-circle { box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); }

/* buttons 3D */
.site-3d .btn-primary,
.site-3d .btn-outline-primary {
    transition: transform .3s cubic-bezier(.2,.9,.3,1.4), box-shadow .3s ease, background .3s ease, color .3s ease;
}

/* trust bar icons */
.site-3d .trust-bar i { animation: float 3.5s ease-in-out infinite; }

/* CTA icon */
.site-3d .cta-section i.fa-paper-plane { animation: float 4s ease-in-out infinite; }

/* accordion 3D */
.site-3d .accordion-item {
    box-shadow: 0 10px 30px -18px rgba(108,92,231,.3);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.site-3d .accordion-item:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -18px rgba(108,92,231,.4); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .site-3d *,
    .site-3d *::before,
    .site-3d *::after {
        animation: none !important;
        transition: none !important;
        translate: none !important;
    }
    .site-3d .reveal { opacity: 1 !important; }
}

/* --- Image Upload page --- */
.img-upload-zone {
    border: 2px dashed rgba(108,92,231,.45);
    border-radius: 14px;
    padding: 46px 20px;
    cursor: pointer;
    transition: border-color .3s ease, background .3s ease, transform .3s ease;
    background: rgba(108,92,231,.05);
}
.img-upload-zone:hover,
.img-upload-zone.dragover {
    border-color: var(--primary, #6C5CE7);
    background: rgba(108,92,231,.1);
    transform: scale(1.01);
}
.img-upload-zone i { font-size: 3rem; color: var(--primary, #6C5CE7); margin-bottom: 12px; display: block; }
.img-upload-zone.selected { border-color: #2ecc71; background: rgba(46,204,113,.08); }
.img-upload-zone.selected i { color: #2ecc71; }
.recent-img-card {
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 18px 45px -20px rgba(108,92,231,.3);
}
.recent-img-card:hover { transform: translateY(-4px); box-shadow: 0 26px 55px -20px rgba(108,92,231,.42); }
.recent-img-thumb { height: 150px; overflow: hidden; background: #0d0d1f; }
.recent-img-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ============================================
   3D HOME ENHANCEMENTS (additive, scoped to .site-3d)
   ============================================ */

/* --- hero polish --- */
.site-3d .hero-content .badge {
    box-shadow: 0 6px 18px rgba(108,92,231,.28), inset 0 1px 0 rgba(255,255,255,.08);
    border: 1px solid rgba(108,92,231,.3);
}
.site-3d .hero-content .btn-primary {
    box-shadow: 0 10px 30px rgba(108,92,231,.4), inset 0 1px 0 rgba(255,255,255,.15);
}
.site-3d .hero-content .btn-primary:hover {
    box-shadow: 0 16px 40px rgba(108,92,231,.55);
}
.site-3d .hero-stats .stat-item {
    box-shadow: 0 10px 24px -12px rgba(108,92,231,.5), inset 0 1px 0 rgba(255,255,255,.07);
    transition: transform .3s ease, box-shadow .3s ease;
    will-change: transform;
}
.site-3d .hero-stats .stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -12px rgba(108,92,231,.6), inset 0 1px 0 rgba(255,255,255,.1);
}

/* --- section header badges + titles --- */
.site-3d section .text-center .badge {
    box-shadow: 0 4px 14px rgba(108,92,231,.25);
    animation: sectionBadgeGlow 3s ease-in-out infinite;
}
@keyframes sectionBadgeGlow {
    0%, 100% { box-shadow: 0 4px 14px rgba(108,92,231,.22); }
    50% { box-shadow: 0 6px 24px rgba(108,92,231,.5); }
}
.site-3d section .text-center h2.display-6 {
    filter: drop-shadow(0 6px 18px rgba(108,92,231,.28));
}

/* --- trust bar --- */
.site-3d .trust-bar .row > div {
    transition: transform .3s ease;
    will-change: transform;
}
.site-3d .trust-bar .row > div:hover { transform: translateY(-3px); }

/* --- "why" check items --- */
.site-3d .why-item {
    box-shadow: 0 12px 28px -16px rgba(108,92,231,.4), inset 0 1px 0 rgba(255,255,255,.05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    will-change: transform;
}
.site-3d .why-item:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(108,92,231,.5) !important;
    box-shadow: 0 20px 42px -16px rgba(108,92,231,.55), inset 0 1px 0 rgba(255,255,255,.08);
}
.site-3d .why-item i { animation: float 3.5s ease-in-out infinite; }

/* --- security box --- */
.site-3d .security-box {
    box-shadow: 0 30px 70px -24px rgba(108,92,231,.5), inset 0 1px 0 rgba(255,255,255,.08);
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.site-3d .security-box::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 55%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.1), transparent);
    transform: skewX(-18deg);
    transition: left .8s ease;
    pointer-events: none;
    z-index: 1;
}
.site-3d .security-box:hover::after { left: 130%; }
.site-3d .security-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 38px 85px -24px rgba(108,92,231,.6);
}
.site-3d .security-box .col-4 > div {
    transition: transform .3s ease, box-shadow .3s ease;
    will-change: transform;
}
.site-3d .security-box .col-4 > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -12px rgba(108,92,231,.45);
}

/* --- compare table card --- */
.site-3d #compare .container > div[style*="overflow-x"] {
    background: linear-gradient(160deg, rgba(26,26,62,.7), rgba(16,16,42,.75));
    border: 1px solid rgba(108,92,231,.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px -26px rgba(108,92,231,.45);
    padding: 10px;
}
.site-3d #compare .compare-table thead th[onclick] {
    transition: transform .2s ease, background .2s ease;
}
.site-3d #compare .compare-table thead th[onclick]:hover {
    transform: translateY(-2px);
}

/* --- CTA section --- */
.site-3d .cta-section {
    border-top: 1px solid rgba(108,92,231,.22) !important;
    border-bottom: 1px solid rgba(108,92,231,.22) !important;
    position: relative;
    overflow: hidden;
}
.site-3d .cta-section .container { position: relative; z-index: 1; }
.site-3d .cta-section::before {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(108,92,231,.16), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: ctaOrb 8s ease-in-out infinite alternate;
}
@keyframes ctaOrb {
    from { transform: translate(-50%, -50%) scale(1); }
    to { transform: translate(-42%, -58%) scale(1.2); }
}
.site-3d .cta-section h2 {
    filter: drop-shadow(0 6px 18px rgba(108,92,231,.35));
    position: relative;
}

/* --- home banner slide --- */
.site-3d .home-banner-slide {
    border: 1px solid rgba(108,92,231,.2);
    box-shadow: 0 20px 50px -24px rgba(108,92,231,.5);
}

/* ============================================
   FOOTER 3D (theme-aware, public pages)
   ============================================ */
.footer-3d {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-card-hover), var(--bg-card)) !important;
    border-top: 1px solid var(--border-color) !important;
}
.footer-3d::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6C5CE7, #00CEC9, #FD79A8, #6C5CE7);
    background-size: 200% 100%;
    animation: gradientShift 6s ease infinite;
    z-index: 1;
}
.footer-3d .social-link {
    box-shadow: 0 8px 20px -10px rgba(108,92,231,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.footer-3d .social-link:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 14px 30px -10px rgba(108,92,231,.6);
}
.footer-3d .payment-badge { box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); }
.footer-3d h5, .footer-3d h6 {
    filter: drop-shadow(0 4px 10px rgba(108,92,231,.25));
}
@media (prefers-reduced-motion: reduce) {
    .footer-3d::before { animation: none !important; }
}

[data-theme="light"] .recent-img-thumb { background: #eef0f5; }
