/* ============================================
   NANIVOLT TOOLS - STUNNING ANIMATIONS & EFFECTS
   ============================================ */

/* Import Theme Variables */
@import url('theme.css');

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */

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

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

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

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

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

@keyframes progress {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 0;
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
    }
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
}

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

/* ============================================
   HEADER
   ============================================ */

.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 40px;
    width: auto;
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.3));
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    font-size: 20px;
    animation: bounce 2s infinite;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--surface);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    animation: scaleIn 0.6s ease-out;
}

.badge-icon {
    font-size: 18px;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.gradient-text::after {
    content: '⚡';
    position: absolute;
    margin-left: 12px;
    animation: bounce 2s infinite;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   TOOL SECTION
   ============================================ */

.tool-section {
    padding: 80px 0;
}

.upload-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow);
    margin-bottom: 48px;
    transition: all 0.3s ease;
}

.upload-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ============================================
   DROPZONE
   ============================================ */

.dropzone {
    border: 3px dashed var(--border);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    background: var(--background);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dropzone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.05), transparent);
    transition: left 0.5s ease;
}

.dropzone:hover::before {
    left: 100%;
}

.dropzone:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.03);
    transform: scale(1.01);
}

.dropzone.drag-over {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.08);
    animation: pulse 0.5s ease;
}

.dropzone-content {
    position: relative;
    z-index: 1;
}

.upload-icon {
    color: var(--primary);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.upload-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.upload-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.upload-info {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.info-badge {
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.info-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pro-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    animation: glow 2s infinite;
}

/* ============================================
   SETTINGS PANEL
   ============================================ */

.settings-panel {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    animation: slideUp 0.5s ease-out;
}

.settings-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.compression-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-content {
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: all 0.3s ease;
    text-align: center;
}

.radio-card input[type="radio"]:checked + .radio-content {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.05);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
}

.radio-card:hover .radio-content {
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.radio-icon {
    font-size: 32px;
    margin-bottom: 12px;
    animation: bounce 2s infinite;
}

.radio-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.radio-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   FILE CARDS
   ============================================ */

.files-container {
    display: grid;
    gap: 20px;
    margin-bottom: 48px;
}

.file-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    animation: scaleIn 0.5s ease-out;
    transition: all 0.3s ease;
}

.file-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.file-icon {
    font-size: 48px;
    animation: bounce 1s ease-in-out;
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.file-size-change {
    color: var(--success);
    font-weight: 700;
}

.progress-bar {
    height: 8px;
    background: var(--background);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 999px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

.file-actions {
    display: flex;
    gap: 12px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--background);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.icon-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.icon-btn.success {
    background: var(--success);
    color: white;
    animation: pulse 0.5s ease;
}

/* ============================================
   FEATURES GRID
   ============================================ */

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

.feature-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-feature {
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.floating-card {
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 120px;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--text);
    color: var(--surface);
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .upload-card {
        padding: 32px 24px;
    }
    
    .dropzone {
        padding: 40px 20px;
    }
    
    .compression-options {
        grid-template-columns: 1fr;
    }
    
    .nav {
        gap: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-card {
        padding: 40px 24px;
    }
    
    .cta-title {
        font-size: 28px;
    }
}


/* ========================================
   HOMEPAGE STYLES
   ======================================== */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(124, 58, 237, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #7c3aed;
}

/* Hero Section */
.hero-home {
    padding: 140px 2rem 80px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    position: relative;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title-large {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle-large {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-trust {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.95rem;
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Stats Section */
.stats-section {
    padding: 60px 2rem;
    background: #f9fafb;
}

.stats-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card-home {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
    transition: all 0.3s ease;
}

.stat-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
}

.stat-number-home {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label-home {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Tools Section */
.tools-section {
    padding: 80px 2rem;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card-home {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 2.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card-home:hover::before {
    transform: scaleX(1);
}

.tool-card-home:hover {
    transform: translateY(-8px);
    border-color: #7c3aed;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.tool-icon-home {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.tool-card-home:hover .tool-icon-home {
    animation: bounce 0.6s ease-in-out infinite;
}

.tool-title-home {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.tool-desc-home {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tool-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tool-feature-tag {
    background: #f3f4f6;
    color: #7c3aed;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tool-cta {
    color: #7c3aed;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-card-home:hover .tool-cta {
    gap: 1rem;
}

/* Features Section */
.features-section {
    padding: 80px 2rem;
    background: #f9fafb;
}

.features-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card-home {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
    transition: all 0.3s ease;
}

.feature-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
}

.feature-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.feature-title-home {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-desc-home {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 2rem;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.step-content {
    flex-grow: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section-home {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
}

.cta-card-home {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 4rem 3rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-content-home {
    color: white;
}

.cta-title-home {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-subtitle-home {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-note {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-tagline {
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #7c3aed;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-column a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #7c3aed;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #7c3aed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title-large {
        font-size: 2.5rem;
    }

    .hero-subtitle-large {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .nav {
        display: none; /* Mobile menu would go here */
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .tools-grid,
    .features-grid-home,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-home {
        padding: 100px 1rem 60px;
    }

    .stats-grid-home {
        grid-template-columns: 1fr;
    }

    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-number-home {
        font-size: 2.5rem;
    }

    .cta-card-home {
        padding: 2.5rem 1.5rem;
    }

    .cta-title-home {
        font-size: 2rem;
    }

    .cta-subtitle-home {
        font-size: 1.1rem;
    }
}


/* ========================================
   SETTINGS PAGE STYLES
   ======================================== */

.settings-page {
    padding-top: 80px;
    min-height: 100vh;
    background: #f9fafb;
}

.settings-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Settings Sidebar */
.settings-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.settings-nav-item:hover {
    background: #f3f4f6;
    color: #7c3aed;
}

.settings-nav-item.active {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
}

.settings-nav-icon {
    font-size: 1.25rem;
}

.pro-badge {
    margin-left: auto;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
}

/* Settings Main Content */
.settings-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-section {
    display: none;
}

.settings-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.settings-header {
    margin-bottom: 2rem;
}

.settings-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.settings-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
}

.settings-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
    margin-bottom: 2rem;
}

.settings-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

/* Profile Photo Section */
.profile-photo-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.profile-photo-preview {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-photo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: none;
}

.profile-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.profile-photo-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Forms */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-control {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-control:disabled {
    background: #f9fafb;
    cursor: not-allowed;
}

.form-hint {
    font-size: 0.85rem;
    color: #9ca3af;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Password Strength */
.password-strength {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.password-strength.weak .password-strength-bar {
    width: 25%;
    background: #ef4444;
}

.password-strength.medium .password-strength-bar {
    width: 50%;
    background: #f59e0b;
}

.password-strength.good .password-strength-bar {
    width: 75%;
    background: #3b82f6;
}

.password-strength.strong .password-strength-bar {
    width: 100%;
    background: #10b981;
}

/* Login Methods */
.login-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-method-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
}

.login-method-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-method-icon {
    font-size: 1.5rem;
}

.login-method-name {
    font-weight: 600;
    color: #374151;
}

.login-method-status {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9ca3af;
}

/* Preferences */
.preference-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.preference-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.preference-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.preference-desc {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    display: inline-block;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e5e7eb;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Range Slider */
.form-range {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    cursor: pointer;
    border: none;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.range-labels span:nth-child(2) {
    font-weight: 700;
    color: #7c3aed;
}

/* Pro Gate */
.pro-gate-card {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 20px;
    border: 2px dashed #7c3aed;
}

.pro-gate-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.pro-gate-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.pro-gate-card p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* API Section */
.api-key-section {
    margin-bottom: 2rem;
}

.api-key-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.api-key-display code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-icon {
    padding: 0.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    border-color: #7c3aed;
    background: #f3f4f6;
}

.api-usage {
    margin: 2rem 0;
}

.api-usage h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.usage-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.usage-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    transition: width 0.3s ease;
}

.usage-text {
    font-size: 0.95rem;
    color: #6b7280;
}

.api-docs {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f3f4f6;
}

.api-docs h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.code-block {
    background: #1f2937;
    color: #10b981;
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Usage Stats */
.usage-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.usage-stat-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: 16px;
    border: 2px solid rgba(124, 58, 237, 0.1);
}

.usage-stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.usage-stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.usage-stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.usage-stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
}

.usage-stat-progress {
    height: 6px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.usage-stat-bar {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    transition: width 0.3s ease;
}

.usage-stat-limit {
    font-size: 0.85rem;
    color: #9ca3af;
}

.upgrade-prompt {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: 12px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Account Type Display */
.account-type-display {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    width: fit-content;
}

.account-type-icon {
    font-size: 1.5rem;
}

.account-type-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.feature-item {
    font-size: 0.95rem;
    color: #374151;
}

/* Danger Zone */
.danger-card {
    border: 2px solid #fca5a5;
    background: rgba(254, 226, 226, 0.3);
}

.danger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 2px solid rgba(252, 165, 165, 0.3);
}

.danger-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.danger-item:first-child {
    padding-top: 0;
}

.danger-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.danger-info strong {
    color: #991b1b;
    font-size: 1.05rem;
}

.danger-desc {
    font-size: 0.9rem;
    color: #6b7280;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-danger-outline {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.btn-danger-outline:hover {
    background: #dc2626;
    color: white;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 0 2rem 1rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.warning-box {
    padding: 1.5rem;
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.warning-box p {
    color: #991b1b;
    margin-bottom: 0.75rem;
}

.warning-box ul {
    margin-left: 1.5rem;
    color: #6b7280;
}

.warning-box li {
    margin-bottom: 0.5rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(150%);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.toast.show {
    transform: translateY(0);
}

.toast.error {
    background: #ef4444;
}

.toast-icon {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-sidebar {
        position: static;
    }

    .settings-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .settings-nav-item span:not(.settings-nav-icon):not(.pro-badge) {
        display: none;
    }

    .settings-title {
        font-size: 2rem;
    }

    .profile-photo-section {
        flex-direction: column;
        text-align: center;
    }

    .account-type-features {
        grid-template-columns: 1fr;
    }

    .danger-item {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .toast {
        left: 1rem;
        right: 1rem;
    }
}


/* ========================================
   FILE HISTORY PAGE STYLES
   ======================================== */

.history-page {
    padding-top: 80px;
    min-height: 100vh;
    background: #f9fafb;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 2rem;
}

.page-header-content h1.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
}

.page-header-actions {
    display: flex;
    gap: 1rem;
}

/* Filters */
.history-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #7c3aed;
    color: #7c3aed;
}

.filter-btn.active {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    border-color: #7c3aed;
    color: white;
}

.filter-select {
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.filter-search {
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-search:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

/* History Warning */
.history-warning {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    margin: 0 2rem 2rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.1));
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
}

.warning-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.warning-content {
    flex: 1;
}

.warning-content strong {
    display: block;
    font-size: 1.1rem;
    color: #92400e;
    margin-bottom: 0.25rem;
}

.warning-content p {
    color: #6b7280;
    margin: 0;
}

/* History Stats */
.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem 2rem;
}

.history-stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
    transition: all 0.3s ease;
}

.history-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
}

.history-stat-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.history-stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.history-stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.history-stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
}

/* History Grid */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem 2rem;
}

.history-file-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.history-file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
}

.file-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.file-card-icon {
    font-size: 3rem;
}

.file-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.file-menu-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.file-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-card-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
}

.file-stat {
    flex: 1;
    text-align: center;
}

.file-stat-label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.file-stat-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
}

.file-stat-arrow {
    font-size: 1.25rem;
    color: #7c3aed;
}

.file-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.compression-badge {
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
    color: #7c3aed;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.savings-badge {
    padding: 0.4rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.file-card-date {
    font-size: 0.85rem;
    color: #9ca3af;
}

.file-card-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #f3f4f6;
}

/* Empty State */
.empty-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.empty-state p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Loading State */
.loading-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #7c3aed;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state p {
    font-size: 1.1rem;
    color: #6b7280;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #7c3aed;
    color: #7c3aed;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 600;
}

/* File Details Modal */
.modal-large .modal-content {
    max-width: 800px;
}

.file-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.file-details-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-preview-container {
    width: 100%;
    aspect-ratio: 1;
    background: #f9fafb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.file-preview-icon {
    font-size: 6rem;
    opacity: 0.5;
}

.file-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-details-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    word-break: break-all;
}

.file-details-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 600;
}

.meta-value {
    font-size: 1.1rem;
    color: #374151;
    font-weight: 700;
}

.reduction-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
}

.file-details-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Share Modal */
.share-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.share-link-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.share-link-container .form-control {
    flex: 1;
}

.share-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-icon-large {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    padding: 0;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon-large:hover {
    border-color: #7c3aed;
    background: #f3f4f6;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 1rem;
    }

    .page-header-actions {
        width: 100%;
        flex-direction: column;
    }

    .history-filters {
        grid-template-columns: 1fr;
    }

    .history-grid {
        grid-template-columns: 1fr;
    }

    .file-details-grid {
        grid-template-columns: 1fr;
    }

    .file-details-meta {
        grid-template-columns: 1fr;
    }

    .history-warning {
        flex-direction: column;
        text-align: center;
    }
}


/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

.checkout-page {
    padding-top: 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Left Side */
.checkout-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.checkout-header {
    margin-bottom: 1rem;
}

.checkout-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.checkout-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
}

/* Plan Card */
.plan-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
}

.plan-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.plan-header {
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
}

.price-amount {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1.25rem;
    color: #6b7280;
}

.plan-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.feature-text {
    color: #374151;
    font-weight: 500;
}

/* Comparison Card */
.comparison-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    text-align: left;
    padding: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f3f4f6;
}

.comparison-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
}

.comparison-table td.highlight {
    color: #7c3aed;
    font-weight: 700;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.08);
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.trust-badge-icon {
    font-size: 1.25rem;
}

/* Right Side */
.checkout-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.checkout-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
}

.checkout-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

/* User Info */
.user-info-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.user-email {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Order Summary */
.order-summary {
    margin-bottom: 2rem;
}

.order-summary h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.summary-row.discount {
    color: #10b981;
}

.summary-price {
    font-weight: 600;
    color: #374151;
}

.summary-discount {
    font-weight: 700;
}

.summary-divider {
    height: 2px;
    background: #f3f4f6;
    margin: 1rem 0;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem 0 0;
}

.summary-total {
    font-size: 1.75rem;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.billing-info {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 12px;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
}

/* Promo Section */
.promo-section {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.promo-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.promo-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.promo-input:disabled {
    background: #f9fafb;
    cursor: not-allowed;
}

/* Payment Button */
.btn-block {
    width: 100%;
    justify-content: center;
}

/* Payment Methods */
.payment-methods {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 2px solid #f3f4f6;
    margin-top: 1rem;
}

.payment-methods-title {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.payment-method-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.payment-icon {
    font-size: 2rem;
}

/* Checkout Terms */
.checkout-terms {
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
    line-height: 1.6;
}

.checkout-terms a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
}

.checkout-terms a:hover {
    text-decoration: underline;
}

/* Guarantee Card */
.guarantee-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guarantee-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.guarantee-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Checkout FAQ */
.checkout-faq {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.checkout-faq h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.faq-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
}

.faq-answer {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.loading-content p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Success/Error Icons */
.success-icon,
.error-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: #1f2937;
    margin-bottom: 1rem;
}

.modal-content p {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-right {
        position: static;
    }

    .plan-features {
        grid-template-columns: 1fr;
    }
}

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

    .checkout-subtitle {
        font-size: 1rem;
    }

    .plan-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .price-amount {
        font-size: 3rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .trust-badges {
        flex-direction: column;
    }

    .checkout-card {
        padding: 1.5rem;
    }
}


/* ========================================
   FAQ PAGE STYLES
   ======================================== */

.faq-page {
    padding-top: 80px;
    min-height: 100vh;
    background: #f9fafb;
}

.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 3rem 2rem 0;
}

.faq-header h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.faq-header p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.faq-search {
    max-width: 500px;
    margin: 0 auto;
}

.faq-search input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0 2rem 2rem;
}

.faq-category-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover {
    border-color: #7c3aed;
    color: #7c3aed;
    transform: translateY(-2px);
}

.faq-category-btn.active {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    border-color: #7c3aed;
    color: white;
}

/* FAQ List */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-answer ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: #1f2937;
    font-weight: 600;
}

.faq-answer a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* FAQ Comparison Table */
.comparison-table-faq {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.comparison-table-faq th {
    text-align: left;
    padding: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    border-bottom: 2px solid #f3f4f6;
}

.comparison-table-faq td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
}

.comparison-table-faq td.highlight {
    color: #7c3aed;
    font-weight: 700;
}

/* No Results */
.no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.no-results-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.no-results p {
    font-size: 1.1rem;
    color: #6b7280;
}

/* FAQ CTA */
.faq-cta {
    max-width: 700px;
    margin: 3rem auto;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 24px;
    border: 2px solid rgba(124, 58, 237, 0.2);
}

.faq-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.faq-cta p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-header p {
        font-size: 1rem;
    }

    .faq-categories {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-category-btn {
        text-align: center;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-toggle {
        width: 28px;
        height: 28px;
        font-size: 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem;
    }

    .comparison-table-faq {
        font-size: 0.85rem;
    }

    .comparison-table-faq th,
    .comparison-table-faq td {
        padding: 0.5rem;
    }
}
