/* ================================
   Home Page - Modern Hero Design
   ================================ */

/* Hero Main Section */
.hero-main {
    padding: 3rem 0 4rem;
}

.hero-main__content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    /* align-items: center; */
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hero-main__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Hero Text */
.hero-main__text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
    border: 1px solid var(--color-primary);
    border-radius: 20px;
}

.hero-badge__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hero-main__title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin: 0;
}

.hero-main__title-accent {
    display: block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-main__subtitle {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 0;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 0.5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat__number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-stat__label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
    line-height: 1.4;
}

/* Upload Zone */
.hero-main__upload {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dropzone-modern {
    background: var(--color-bg);
    border: 2px dashed var(--color-border);
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropzone-modern::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.dropzone-modern:hover {
    border-color: transparent;
    background: var(--color-bg-subtle);
}

.dropzone-modern:hover::before {
    opacity: 1;
}

.dropzone-modern .dz-message {
    margin: 0;
}

.upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.upload-zone__icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dropzone-modern:hover .upload-zone__icon {
    background: var(--color-primary);
    transform: translateY(-4px);
}

.upload-zone__icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dropzone-modern:hover .upload-zone__icon svg {
    color: var(--color-white);
}

.upload-zone__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.upload-zone__subtitle {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.upload-zone__browse {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.upload-zone__formats {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.format-tag {
    padding: 0.375rem 0.875rem;
    background: var(--color-bg-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

/* Format Examples */
.format-examples {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.format-example {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.125rem;
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    flex: 1;
    min-width: 140px;
}

.format-example__icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat__number {
        font-size: 1.5rem;
    }
    
    .format-examples {
        flex-direction: column;
    }
    
    .format-example {
        min-width: auto;
    }
}

/* Templates Section - 简约美观设计 */
.pexels-templates {
    margin: 3rem 0;
    padding: 2.5rem 0;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.8) 0%, 
        rgba(0, 0, 0, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1024px) {
    .pexels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pexels-templates {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .pexels-section-title {
        font-size: 1.375rem;
        margin-bottom: 1.25rem;
        gap: 0.5rem;
    }
    
    .pexels-section-icon {
        width: 22px;
        height: 22px;
    }
    
    .pexels-badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.625rem;
    }
    
    .pexels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .pexels-template-card {
        padding: 1.25rem 1rem;
    }
    
    .pexels-template-icon-wrapper {
        width: 44px;
        height: 44px;
        margin-bottom: 0.875rem;
    }
    
    .pexels-template-icon {
        width: 22px;
        height: 22px;
    }
    
    .pexels-template-title {
        font-size: 0.875rem;
    }
    
    .pexels-template-desc {
        font-size: 0.75rem;
    }
}

.pexels-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 1.75rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.pexels-section-icon {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
    flex-shrink: 0;
    stroke-width: 2.5;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pexels-badge {
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, 
        rgba(42, 219, 92, 0.12) 0%, 
        rgba(42, 219, 92, 0.08) 100%);
    color: var(--color-primary);
    border: 1.5px solid rgba(42, 219, 92, 0.25);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(42, 219, 92, 0.08);
}

/* Grid - 紧凑优化 */
.pexels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.875rem;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Template Cards - 简约美观设计 */
.pexels-template-card {
    background: var(--color-bg);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pexels-template-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(42, 219, 92, 0.05) 0%, 
        rgba(42, 219, 92, 0.02) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pexels-template-card:hover::before {
    opacity: 1;
}

.pexels-template-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 24px rgba(42, 219, 92, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.8);
    border-color: rgba(42, 219, 92, 0.5);
}

.pexels-template-icon-wrapper {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.875rem;
    background: linear-gradient(135deg, 
        rgba(42, 219, 92, 0.1) 0%, 
        rgba(42, 219, 92, 0.06) 100%);
    border: 1.5px solid rgba(42, 219, 92, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.pexels-template-card:hover .pexels-template-icon-wrapper {
    background: linear-gradient(135deg, var(--color-primary) 0%, #24c350 100%);
    border-color: var(--color-primary);
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 4px 12px rgba(42, 219, 92, 0.2);
}

.pexels-template-icon {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    transition: all 0.25s ease;
    flex-shrink: 0;
    stroke-width: 2.5;
}

.pexels-template-card:hover .pexels-template-icon {
    color: var(--color-white);
    transform: scale(1.05);
}

.pexels-template-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.375rem;
    position: relative;
    z-index: 1;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
}

.pexels-template-card:hover .pexels-template-title {
    color: var(--color-primary);
}

.pexels-template-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
    line-height: 1.5;
    font-weight: 500;
}

/* Process/Progress Cards */
.pexels-process-card,
.pexels-progress-card,
.pexels-result-card {
    max-width: 800px;
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    margin: 2rem auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.pexels-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.pexels-card-icon {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
    padding: 0.5rem;
    background: var(--color-primary-light);
    flex-shrink: 0;
}

/* Button */
.pexels-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
    text-decoration: none;
    gap: 0.5rem;
}

.pexels-button--primary {
    background: linear-gradient(145deg, 
        rgba(42, 219, 92, 1) 0%, 
        rgba(31, 175, 71, 1) 100%);
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(42, 219, 92, 0.35),
                0 2px 6px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(42, 219, 92, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pexels-button--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.pexels-button--primary:hover {
    background: linear-gradient(145deg, 
        rgba(47, 235, 102, 1) 0%, 
        rgba(35, 190, 78, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 219, 92, 0.5),
                0 3px 10px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pexels-button--primary:hover::before {
    left: 100%;
}

.pexels-button--primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(42, 219, 92, 0.4),
                0 1px 4px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.pexels-button--secondary {
    background: linear-gradient(145deg, 
        rgba(20, 20, 20, 0.9) 0%, 
        rgba(15, 15, 15, 0.95) 100%);
    color: var(--color-text);
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pexels-button--secondary:hover {
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.95) 0%, 
        rgba(25, 25, 25, 1) 100%);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pexels-button--secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .pexels-header__title {
        font-size: 1.875rem;
    }
    
    .pexels-upload-card {
        padding: 2rem 1.5rem;
    }
    
    .pexels-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .pexels-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Home Page - Original Design (Legacy)
   ================================ */

/* ===== Layout ===== */
.hero-section {
    position: relative;
    /* padding-block: var(--space-6); */
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    inset: auto;
    width: clamp(22rem, 42vw, 36rem);
    height: clamp(22rem, 42vw, 36rem);
    filter: blur(120px);
    opacity: 0.7;
    pointer-events: none;
}

.hero-section::before {
    top: -12rem;
    left: -14rem;
    background: none;
    display: none;
}

.hero-section::after {
    bottom: -14rem;
    right: -12rem;
    background: none;
    display: none;
}

/* .sections-container > * + * {
    margin-top: var(--space-16);
} */

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: stretch;
    max-width: 68rem;
    margin: 0 auto;
}

/* ===== Dropzone Preview (for multiple files) ===== */
/* 简约大方的文件预览卡片 - 优化版 */
.dropzone-modern .dz-preview,
.dropzone .dz-preview {
    margin: 0 !important;
    min-height: 0;
    width: 100%;
    /* max-width: 520px; */
    display: block;
    animation: fadeInScale 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.dropzone-modern .dz-preview:hover,
.dropzone .dz-preview:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(42, 219, 92, 0.3), 0 2px 8px rgba(0, 0, 0, 0.9);
    /* transform: translateY(-2px); */
}

.dropzone-modern .dz-preview .dz-image,
.dropzone .dz-preview .dz-image {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    transition: all 0.3s ease;
}

.dropzone-modern .dz-preview .dz-image img,
.dropzone-modern .dz-preview .dz-image video,
.dropzone .dz-preview .dz-image img,
.dropzone .dz-preview .dz-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.dropzone-modern .dz-preview:hover .dz-image img,
.dropzone-modern .dz-preview:hover .dz-image video,
.dropzone .dz-preview:hover .dz-image img,
.dropzone .dz-preview:hover .dz-image video {
    transform: scale(1.02);
}

/* 文件信息区域 - 优化设计 */
.dropzone-modern .dz-preview .dz-details,
.dropzone .dz-preview .dz-details {
    padding: 1rem 1.25rem 0.625rem;
    background: var(--color-bg);
    display: flex !important;
    flex-direction: column;
    gap: 0.375rem;
    border-bottom: 1px solid var(--color-border-subtle);
}

/* 文件大小 - 顶部显示 */
.dropzone-modern .dz-preview .dz-size,
.dropzone .dz-preview .dz-size {
    display: none !important;
    margin: 0;
    order: -1;
}

.dropzone-modern .dz-preview .dz-size span,
.dropzone .dz-preview .dz-size span {
    display: inline !important;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.dropzone-modern .dz-preview .dz-size strong,
.dropzone .dz-preview .dz-size strong {
    display: none !important;
}

/* 文件名 - 下方显示 */
.dropzone-modern .dz-preview .dz-filename,
.dropzone .dz-preview .dz-filename {
    display: block !important;
    margin: 0;
}

.dropzone-modern .dz-preview .dz-filename span,
.dropzone .dz-preview .dz-filename span {
    display: block !important;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}

.dropzone-modern .dz-preview .dz-remove,
.dropzone .dz-preview .dz-remove {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-secondary);
    font-size: 0;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.dropzone-modern .dz-preview .dz-remove::before,
.dropzone .dz-preview .dz-remove::before {
    content: '×';
    display: block;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    color: var(--color-text-secondary);
    transition: all 0.25s ease;
}

.dropzone-modern .dz-preview .dz-remove:hover,
.dropzone .dz-preview .dz-remove:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.dropzone-modern .dz-preview .dz-remove:hover::before,
.dropzone .dz-preview .dz-remove:hover::before {
    color: white;
    transform: rotate(90deg);
}

.dropzone-modern .dz-preview .dz-remove:active,
.dropzone .dz-preview .dz-remove:active {
    transform: scale(0.95);
}


/* 隐藏Dropzone默认的成功/错误标记图标 */
.dropzone-modern .dz-preview .dz-success-mark,
.dropzone-modern .dz-preview .dz-error-mark,
.dropzone .dz-preview .dz-success-mark,
.dropzone .dz-preview .dz-error-mark {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 上传进度条 - 现代样式 */
.dropzone-modern .dz-preview .dz-progress,
.dropzone .dz-preview .dz-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 1;
}

/* .dropzone-modern .dz-preview .dz-progress .dz-upload,
.dropzone .dz-preview .dz-progress .dz-upload {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background: var(--color-primary);
    transition: width 0.3s ease;
} */

/* 错误消息 */
.dropzone-modern .dz-preview .dz-error-message,
.dropzone .dz-preview .dz-error-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(239, 68, 68, 0.95);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    max-width: 80%;
    text-align: center;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 隐藏空的错误消息 */
.dropzone-modern .dz-preview .dz-error-message:has(span:empty),
.dropzone .dz-preview .dz-error-message:has(span:empty) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ===== Premium Audio Cover Art ===== */
.audio-cover-premium {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%); */
    overflow: hidden;
}

.audio-cover-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.audio-cover-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gap: 1rem; */
}

.audio-cover-icon {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.3));
}

.audio-cover-label {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #10b981;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
    animation: fadeInUp 0.6s ease-out;
    display: none;
}

.audio-cover-format {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(16, 185, 129, 0.7);
    padding: 0.375rem 0.875rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: fadeInUp 0.8s ease-out;
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Audio cover responsive design */
@media (max-width: 640px) {
    .audio-cover-icon {
        width: 100px;
        height: 100px;
    }
    
    .audio-cover-label {
        font-size: 1.25rem;
    }
    
    .audio-cover-format {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }
}

/* ===== Media Info Tags (Size, Dimensions, Format) ===== */
.media-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem 1rem;
    background: var(--color-bg);
    animation: slideInUp 0.35s ease-out 0.1s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-info-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.875rem;
    background: var(--color-bg-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.media-info-tag:hover {
    background: var(--color-bg-subtle);
    /* border-color: var(--color-primary); */
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(42, 219, 92, 0.3);
}

.media-info-tag svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    opacity: 0.8;
}

.media-info-tag.media-info-format {
    background: linear-gradient(135deg, var(--color-primary-light), rgba(42, 219, 92, 0.05));
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
}

.media-info-tag.media-info-format svg {
    stroke: var(--color-primary);
    opacity: 1;
}

.media-info-tag.media-info-size {
    background: var(--color-bg-muted);
    border-color: var(--color-border);
    color: var(--color-text-secondary);
}

.media-info-size svg {
    stroke: #3b82f6;
}

.media-info-dimensions {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(168, 85, 247, 0.15));
    border-color: rgba(168, 85, 247, 0.4);
    color: #a855f7;
}

.media-info-dimensions svg {
    stroke: #a855f7;
}

/* Media Type Indicator (Top-left corner) */
.media-type-indicator {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 20;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.media-type-indicator:hover {
    transform: scale(1.1);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.media-type-video {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.15));
    border-color: rgba(239, 68, 68, 0.4);
}

.media-type-video svg {
    fill: #ef4444;
}

.media-type-image {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.15));
    border-color: rgba(16, 185, 129, 0.4);
}

.media-type-image svg {
    fill: #10b981;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dropzone .dz-preview {
        max-width: 100%;
    }
    
    .dropzone .dz-preview .dz-image {
        height: 240px;
    }
}

@media (max-width: 640px) {
    .media-info-tags {
        padding: 0.625rem 1rem 0.875rem;
        gap: 0.375rem;
    }
    
    .media-info-tag {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .media-info-tag svg {
        width: 13px;
        height: 13px;
    }
    
    .media-type-indicator {
        width: 32px;
        height: 32px;
        top: 10px;
        left: 10px;
    }
    
    .media-type-indicator svg {
        width: 14px;
        height: 14px;
    }
}

/* ===== Audio Info Tags ===== */
.audio-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem 1rem;
    background: var(--color-bg);
    animation: slideInUp 0.35s ease-out 0.1s both;
}

.audio-info-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.875rem;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.audio-info-tag:hover {
    background: var(--color-bg-subtle);
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.audio-info-tag svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    opacity: 0.8;
}

.audio-info-tag.audio-info-format {
    background: linear-gradient(135deg, var(--color-primary-light), rgba(42, 219, 92, 0.05));
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
}

.audio-info-tag.audio-info-format svg {
    stroke: var(--color-primary);
    opacity: 1;
}

.audio-info-tag.audio-info-size {
    background: var(--color-bg-muted);
    border-color: var(--color-border);
    color: var(--color-text-secondary);
}

.audio-info-tag.audio-info-size svg {
    stroke: var(--color-text-muted);
}

.audio-info-tag.audio-info-duration {
    background: var(--color-bg-muted);
    border-color: var(--color-border);
    color: var(--color-text-secondary);
}

.audio-info-tag.audio-info-duration svg {
    stroke: var(--color-text-muted);
}

/* Audio Type Indicator */
.media-type-audio {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.15));
    border-color: rgba(16, 185, 129, 0.4);
}

.media-type-audio svg {
    fill: #10b981;
}

/* Audio tags responsive */
@media (max-width: 640px) {
    .audio-info-tags {
        padding: 0.625rem 1rem 0.875rem;
        gap: 0.375rem;
    }
    
    .audio-info-tag {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .audio-info-tag svg {
        width: 13px;
        height: 13px;
    }
}

/* 视频标记图标样式 - 精致升级 */
.dropzone-modern .dz-preview .dz-image .video-icon,
.dropzone .dz-preview .dz-image .video-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75));
    backdrop-filter: blur(12px);
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.dropzone-modern .dz-preview:hover .dz-image .video-icon,
.dropzone .dz-preview:hover .dz-image .video-icon {
    transform: scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dropzone .dz-preview {
        width: 100%;
        max-width: 100%;
    }
    
    .dropzone .dz-preview .dz-image {
        height: 240px;
    }
    
    .dropzone .dz-preview .dz-details {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }
    
    .dropzone .dz-preview .dz-filename span {
        font-size: 0.875rem;
    }
    
    .dropzone .dz-preview .dz-size span {
        font-size: 0.8125rem;
    }
    
    .dropzone .dz-preview .dz-remove {
        width: 32px;
        height: 32px;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .dropzone .dz-preview .dz-remove::before {
        font-size: 20px;
    }
}

/* 移除桌面端双列布局 - 改为全宽垂直布局 */

.hero-text-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    color: var(--color-text-secondary);
    text-align: center;
    align-items: center;
}

.hero-heading-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    align-items: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #ffffff 0%, #2adb5c 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
    margin-bottom: var(--space-3);
    position: relative;
    text-align: center;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 56rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-align: center;
}

@media (min-width: 768px) {
    /* .hero-description {
        font-size: 1.125rem;
        line-height: 1.9;
    }
     */
    .hero-title {
        margin-bottom: var(--space-4);
        font-size: clamp(2.5rem, 5.5vw, 3.5rem);
    }
}

.hero-highlights {
    display: grid;
    gap: var(--space-6);
    width: 85%;
    max-width: 56rem;
}

@media (min-width: 768px) {
    .hero-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-6);
    }
}

.hero-highlight-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    text-align: center;
}

.hero-highlight-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-primary) 50%, 
        transparent 100%);
    opacity: 0.6;
}

.hero-highlight-label {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-top: var(--space-4);
}

.hero-highlight-value {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.8;
    font-weight: 400;
}

@media (max-width: 767px) {
    .hero-highlights {
        gap: var(--space-8);
        width: 90%;
    }
    
    .hero-highlight-label {
        font-size: 0.625rem;
    }
    
    .hero-highlight-value {
        font-size: 0.8125rem;
    }
}

/* ===== Upload Card ===== */
/* ===== Upload Card Container ===== */
.upload-card-container {
    padding: 0 !important;
    overflow: hidden;
}

.upload-card-container .dropzone {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

.upload-card-container .dropzone.dz-started {
    background: transparent;
    border: none;
}

/* ===== Quick Templates Selector ===== */
.template-selector-card {
    margin-top: var(--space-8);
    padding: var(--space-6) !important;
}

.template-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.template-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
}

.new-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #2adb5c, #25c451);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    margin-left: auto;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(42, 219, 92, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(42, 219, 92, 0); }
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-4);
}

.template-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-5) var(--space-4);
    background: rgba(42, 219, 92, 0.04);
    border: 1.5px solid rgba(42, 219, 92, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.template-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42, 219, 92, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-btn:hover::before {
    opacity: 1;
}

.template-btn:hover {
    background: rgba(42, 219, 92, 0.1);
    border-color: rgba(42, 219, 92, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(42, 219, 92, 0.15), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.template-btn:active {
    transform: translateY(-2px);
    transition-duration: 0.1s;
}

/* Selected state for template buttons */
.template-btn.template-selected {
    background: linear-gradient(135deg, rgba(42, 219, 92, 0.15), rgba(24, 243, 162, 0.1)) !important;
    border-color: #2adb5c !important;
    box-shadow: 0 0 20px rgba(42, 219, 92, 0.3), 0 8px 20px rgba(42, 219, 92, 0.15) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

.template-btn.template-selected::before {
    opacity: 1;
}

.template-btn.template-selected .template-emoji {
    transform: scale(1.15);
    color: #2adb5c;
    filter: drop-shadow(0 0 8px rgba(42, 219, 92, 0.5));
}

.template-btn.template-selected .template-name {
    color: #2adb5c;
    font-weight: 700;
}

.template-emoji {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: var(--space-1);
    position: relative;
    z-index: 1;
    color: var(--color-primary);
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

.template-btn:hover .template-emoji {
    transform: scale(1.1);
    color: var(--color-primary-hover);
}

.template-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.template-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
    
    .template-btn {
        padding: var(--space-4) var(--space-3);
    }
    
    .template-emoji {
        width: 2rem;
        height: 2rem;
    }
    
    .template-name {
        font-size: 0.875rem;
    }
    
    .template-desc {
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    .template-selector-card {
        padding: var(--space-5) var(--space-4) !important;
    }
    
    .template-title {
        font-size: 1.125rem;
        flex-wrap: wrap;
    }
    
    .new-badge {
        font-size: 0.625rem;
        padding: 0.2rem 0.6rem;
    }
}

/* ===== FFmpeg 8.0 Features Showcase ===== */
.ffmpeg-showcase {
    padding: var(--space-16) 0;
    text-align: center;
}

.showcase-header {
    margin-bottom: var(--space-12);
}

.version-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #2adb5c, #25c451);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    margin-right: 0.75rem;
    box-shadow: 0 4px 12px rgba(42, 219, 92, 0.3);
    animation: pulse-version 3s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes pulse-version {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 4px 12px rgba(42, 219, 92, 0.3); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 6px 20px rgba(42, 219, 92, 0.5); 
    }
}

.showcase-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.showcase-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.capability-card {
    padding: var(--space-6);
    background: linear-gradient(145deg, rgba(42, 219, 92, 0.05), rgba(32, 201, 151, 0.02));
    border: 1.5px solid rgba(42, 219, 92, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capability-card:hover::before {
    opacity: 1;
}

.capability-card:hover {
    transform: translateY(-8px);
    border-color: rgba(42, 219, 92, 0.5);
    background: linear-gradient(145deg, rgba(42, 219, 92, 0.1), rgba(32, 201, 151, 0.05));
    box-shadow: 0 12px 32px rgba(42, 219, 92, 0.3), 0 4px 12px rgba(0, 0, 0, 0.9);
}

.capability-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto var(--space-4);
    display: block;
    color: var(--color-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.capability-card:hover .capability-icon {
    transform: scale(1.15) rotate(-5deg);
    color: var(--color-primary-hover);
}

.capability-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.capability-desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.capability-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.feature-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(42, 219, 92, 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(42, 219, 92, 0.2);
    transition: all 0.3s ease;
}

.capability-card:hover .feature-tag {
    background: rgba(42, 219, 92, 0.15);
    border-color: rgba(42, 219, 92, 0.3);
}

@media (max-width: 768px) {
    .ffmpeg-showcase {
        padding: var(--space-12) 0;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    
    .showcase-title {
        font-size: 1.75rem;
    }
    
    .showcase-subtitle {
        font-size: 1rem;
    }
    
    .version-badge {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }
    
    .capability-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .capability-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .capability-card {
        padding: var(--space-5);
    }
    
    .capability-desc {
        font-size: 0.875rem;
    }
}

/* ===== Premium Dropzone ===== */
.dropzone-modern,
.dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    background: var(--color-bg);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 当有文件上传后，容器居左对齐 */
.dropzone-modern.dz-started,
.dropzone.dz-started {
    justify-content: flex-start;
    align-items: flex-start;
    /* padding: 1.5rem; */
    padding: 0;
    min-height: auto;
    background: transparent;
    border: none;
}

/* 隐藏上传提示信息 */
.dropzone-modern.dz-started .dz-message,
.dropzone.dz-started .dz-message {
    display: none !important;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dropzone-modern:hover,
.dropzone:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-subtle);
}

.dz-message {
    text-align: center;
    padding: 4rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0!important;
}

@media (min-width: 480px) {
    .dz-message {
        padding: 3.5rem 2rem;
        /* min-height: 22rem; */
    }
}

@media (min-width: 768px) {
    .dz-message {
        /* min-height: 28rem; */
        /* padding: clamp(3.5rem, 7vw, 6rem) var(--space-10); */
    }
}

@media (max-width: 479px) {
    .dz-message {
        padding: 2.5rem 1.25rem;
        min-height: 18rem;
    }
}

.dropzone-icon {
    margin: 0 auto 2rem;
    height: 5rem;
    width: 5rem;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 1.5;
}

@media (min-width: 768px) {
    .dropzone-icon {
        height: 5.5rem;
        width: 5.5rem;
    }
}

.dropzone-modern:hover .upload-zone__icon,
.dropzone:hover .dropzone-icon {
    transform: translateY(-4px);
}

.dropzone-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .dropzone-title {
        font-size: 2rem;
    }
}

.dropzone-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 400;
}

.dropzone-formats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.format-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.format-text {
    color: var(--color-primary);
    font-weight: 600;
}

.format-size {
    color: var(--color-text-secondary);
    padding-left: 0.75rem;
    border-left: 1.5px solid var(--color-border);
}

@media (max-width: 768px) {
    .dropzone-formats {
        font-size: 0.8125rem;
        gap: 0.75rem;
    }
    
    .format-size {
        padding-left: 0.5rem;
    }
}

@media (max-width: 479px) {
    .dropzone-formats {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .format-label {
        width: 100%;
        text-align: center;
    }
    
    .format-size {
        border-left: none;
        padding-left: 0;
    }
}

/* ===== AI Smart Suggestions ===== */
.ai-suggestions {
    margin-top: var(--space-6);
    padding: var(--space-5);
    background: linear-gradient(145deg, rgba(42, 219, 92, 0.04), rgba(32, 201, 151, 0.02));
    border-left: 3px solid var(--color-primary);
    box-shadow: 0 2px 8px rgba(42, 219, 92, 0.08);
}

.ai-suggestions-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.ai-suggestions-icon {
    width: 1.375rem;
    height: 1.375rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.ai-suggestions-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.ai-suggestions-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.ai-suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3);
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(42, 219, 92, 0.2);
    transition: all 0.3s ease;
}

.ai-suggestion-item:hover {
    background: rgba(21, 21, 21, 0.9);
    border-color: rgba(42, 219, 92, 0.4);
    transform: translateX(4px);
}

.suggestion-bullet {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    color: var(--color-primary);
}

.suggestion-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ai-suggestions {
        padding: var(--space-4);
    }
    
    .ai-suggestion-item {
        padding: var(--space-2);
    }
    
    .suggestion-text {
        font-size: 0.8125rem;
    }
}

/* ===== Process Card ===== */
.process-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.process-card-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary);
}

.process-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.process-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--color-surface);
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    color: var(--color-text);
    transition: all var(--transition-normal) var(--ease-out);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.7;
    resize: vertical;
    min-height: 120px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.process-textarea:focus {
    outline: none;
    background: var(--color-surface-strong);
    border-color: rgba(42, 219, 92, 0.45);
    border-width: 1.5px;
    box-shadow: 0 4px 12px rgba(42, 219, 92, 0.15), 0 2px 6px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.process-textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.process-help-text {
    margin-top: var(--space-2);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.process-textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.process-textarea:valid {
    border-color: rgba(42, 219, 92, 0.4);
}

/* ===== AI Analysis Toggle ===== */
.ai-analysis-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(145deg, 
        rgba(15, 25, 20, 0.6) 0%,
        rgba(10, 20, 15, 0.5) 50%,
        rgba(8, 18, 12, 0.55) 100%
    );
    border: 2px solid rgba(42, 219, 92, 0.2);
    margin: 1.5rem 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(42, 219, 92, 0.08);
}

.ai-analysis-toggle-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(42, 219, 92, 0.03) 0%,
        transparent 50%,
        rgba(42, 219, 92, 0.02) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ai-analysis-toggle-wrapper:hover {
    background: linear-gradient(145deg, 
        rgba(18, 28, 23, 0.7) 0%,
        rgba(13, 23, 18, 0.6) 50%,
        rgba(10, 20, 15, 0.65) 100%
    );
    border-color: rgba(42, 219, 92, 0.35);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35),
                0 2px 8px rgba(42, 219, 92, 0.15),
                inset 0 1px 0 rgba(42, 219, 92, 0.12);
    transform: translateY(-1px);
}

.ai-analysis-toggle-wrapper:hover::before {
    opacity: 1;
}

.ai-analysis-toggle {
    position: relative;
    display: inline-block;
    width: 3.5rem;
    height: 2rem;
    flex-shrink: 0;
}

.ai-analysis-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ai-analysis-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.95) 0%, 
        rgba(40, 40, 40, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Remove ::after for cleaner look */

.ai-analysis-toggle-slider:before {
    position: absolute;
    content: "";
    height: 1.75rem;
    width: 1.75rem;
    left: 0.125rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25),
                0 1px 3px rgba(0, 0, 0, 0.15),
                inset 0 -1px 2px rgba(0, 0, 0, 0.1);
}

.ai-analysis-toggle-slider:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3),
                0 3px 12px rgba(0, 0, 0, 0.25);
}

.ai-analysis-toggle input:checked + .ai-analysis-toggle-slider {
    background: linear-gradient(145deg, 
        rgba(42, 219, 92, 1) 0%, 
        rgba(31, 175, 71, 1) 100%);
    border-color: rgba(42, 219, 92, 0.5);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),
                0 2px 12px rgba(42, 219, 92, 0.4),
                0 0 20px rgba(42, 219, 92, 0.2);
}

/* Remove checked ::after for cleaner look */

.ai-analysis-toggle input:checked + .ai-analysis-toggle-slider:before {
    /* transform: translate(1.625rem, -50%); */
    transform: translate(0.85rem, -50%);
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    box-shadow: 0 4px 12px rgba(42, 219, 92, 0.4),
                0 2px 6px rgba(0, 0, 0, 0.2),
                inset 0 -1px 3px rgba(0, 0, 0, 0.08);
}

.ai-analysis-toggle input:focus + .ai-analysis-toggle-slider {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3),
                0 0 0 4px rgba(42, 219, 92, 0.15),
                0 2px 12px rgba(42, 219, 92, 0.25);
}

.ai-analysis-toggle:hover .ai-analysis-toggle-slider:before {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3),
                0 2px 4px rgba(0, 0, 0, 0.2),
                inset 0 -1px 2px rgba(0, 0, 0, 0.1);
}

.ai-analysis-toggle-label {
    flex: 1;
    position: relative;
    z-index: 1;
}

.ai-analysis-toggle-title {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.ai-analysis-toggle-title svg {
    filter: drop-shadow(0 2px 4px rgba(42, 219, 92, 0.3));
}

.ai-analysis-toggle-description {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .ai-analysis-toggle-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .ai-analysis-toggle {
        order: -1;
    }
}

/* ===== Progress Card ===== */
.progress-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.progress-card-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary);
    animation: spin 1s linear infinite;
    filter: drop-shadow(0 12px 20px rgba(42, 219, 92, 0.4));
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Loading Animation ===== */
.loading-container {
    margin-bottom: var(--space-6);
    text-align: center;
}

.loading-bar-wrapper {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(135deg, rgba(241, 243, 245, 0.95), rgba(229, 231, 235, 0.9));
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.loading-bar {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(42, 219, 92, 0.3),
        rgba(42, 219, 92, 0.6),
        rgba(42, 219, 92, 1),
        rgba(42, 219, 92, 0.6),
        rgba(42, 219, 92, 0.3),
        transparent
    );
    animation: loading-slide 1.5s ease-in-out infinite;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(226, 232, 240, 0.4),
        transparent
    );
    animation: shimmer-loading 1s ease infinite;
}

@keyframes loading-slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(350%);
    }
}

@keyframes shimmer-loading {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.loading-text {
    margin-top: var(--space-4);
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.progress-bar-wrapper {
    width: 100%;
    background: linear-gradient(135deg,
        rgba(241, 243, 245, 0.95),
        rgba(229, 231, 235, 0.9)
    );
    height: 2.75rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: var(--space-6);
    position: relative;
}

.progress-bar {
    background: var(--gradient-primary);
    height: 2.75rem;
    transition: width 0.4s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    min-width: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(42, 219, 92, 0.3);
}

.progress-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(226, 232, 240, 0.25),
        transparent
    );
    animation: shimmer 2s ease infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    50%, 100% { transform: translateX(100%); }
}

.progress-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    font-size: 0.875rem;
}

.progress-info-item {
    background: rgba(10, 10, 10, 0.9);
    padding: var(--space-4);
    border: 1px solid rgba(42, 219, 92, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.progress-info-label {
    color: rgba(74, 85, 104, 0.8);
    margin-bottom: var(--space-1);
    font-size: 0.8125rem;
}

.progress-info-value {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9375rem;
}

/* ===== Result Card ===== */
.result-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    /* color: var(--color-white); */
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.result-card-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary);
}

.result-preview {
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(21, 21, 21, 0.9));
    padding: var(--space-6);
    border: 1px solid rgba(42, 219, 92, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.result-preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(42, 219, 92, 0.3);
    overflow: hidden;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

/* ===== Feature Section ===== */
.feature-icon-wrapper {
    width: 3rem;
    height: 3rem;
    background: rgba(42, 219, 92, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(42, 219, 92, 0.28);
    /* box-shadow: 0 15px 35px -25px rgba(42, 219, 92, 0.5); */
}

.feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.feature-description {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===== Sections Container ===== */
.sections-container {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    padding: 0 var(--space-6) var(--space-16);
}

.two-column-layout {
    display: grid;
    gap: 2rem;
}

.two-column-layout:has(#process-card.hidden):has(#progress-card.hidden) {
    display: none;
}

/* @media (min-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1.1fr 0.9fr;
    }
} */

/* ===== Miscellaneous ===== */
.svg-icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}

.svg-icon-md {
    width: 1.5rem;
    height: 1.5rem;
}

.svg-icon-lg {
    width: 2rem;
    height: 2rem;
}

@media (max-width: 768px) {
    .sections-container {
        padding: 0 var(--space-4) var(--space-12);
        gap: var(--space-10);
    }

    .hero-section::before,
    .hero-section::after {
        width: clamp(18rem, 60vw, 28rem);
        height: clamp(18rem, 60vw, 28rem);
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        line-height: 1.2;
    }

    .result-preview {
        padding: var(--space-5);
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .dropzone-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .dropzone-subtitle {
        font-size: 0.9375rem;
    }
    
    .dropzone-icon {
        height: 4.5rem;
        width: 4.5rem;
    }
}

@media (max-width: 479px) {
    .sections-container {
        padding: 0 1rem var(--space-10);
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .dropzone-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .dropzone-subtitle {
        font-size: 0.875rem;
    }
    
    .dropzone-icon {
        height: 4rem;
        width: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .dz-message {
        padding: 3rem 1.5rem;
    }
}

