/* Result Container */
.result-container {
    display: none;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-container.show {
    opacity: 1;
    transform: translateY(0);
}

.result-title {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon.success {
    color: var(--cyan-300);
}

.result-content {
    margin-top: 1.5rem;
}

.result-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.link-container {
    margin: 2rem 0;
}

.link-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    gap: 1rem;
    transition: all 0.3s ease;
}

.link-wrapper:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

#download-link {
    color: var(--cyan-300);
    text-decoration: none;
    flex-grow: 1;
    text-align: left;
    font-size: 0.85rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    background: rgba(34, 211, 238, 0.08);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(34, 211, 238, 0.2);
    word-break: break-all;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#download-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.1), transparent);
    transition: left 0.6s ease;
}

#download-link:hover::before {
    left: 100%;
}

#download-link:hover {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.4);
    color: var(--cyan-200);
}

#copy-button {
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

#copy-button::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.6s ease;
}

#copy-button:hover::before {
    left: 100%;
}

#copy-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

#copy-button:active {
    transform: scale(0.98);
}

#copy-button.success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.copy-icon {
    transition: all 0.3s ease;
}

.link-help {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
}

.copy-help {
    color: var(--cyan-300);
    font-size: 0.8rem;
    text-align: center;
    margin: 0.5rem 0 0 0;
    min-height: 1rem;
}

.file-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Privacy Page Styles */
.privacy-container {
    max-width: 800px;
    text-align: left;
    line-height: 1.7;
}

.privacy-container .header {
    text-align: center;
    margin-bottom: 2rem;
}

.privacy-container h1 {
    text-align: center;
    margin: 0;
}

.privacy-content {
    margin-top: 1rem;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-container h2 {
    color: var(--white);
    font-size: 1.375rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
    position: relative;
}

.privacy-container h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-400), var(--pink-400));
}

.privacy-container p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.privacy-container li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 0.5rem;
}

.privacy-container ul {
    padding-left: 1.5rem;
    margin: 1rem 0 1.5rem 0;
}

.privacy-container strong {
    color: var(--white);
    font-weight: 600;
}

.last-updated {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.important-notice {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    border-left: 4px solid #ef4444;
}

.notice-icon {
    color: #f87171;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.notice-content h3 {
    color: #fca5a5;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.notice-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

.privacy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}:root {
    --purple-900: #0f0820;
    --purple-800: #1e1b4b;
    --purple-700: #312e81;
    --purple-600: #4338ca;
    --purple-500: #6366f1;
    --purple-400: #8b5cf6;
    --purple-300: #a78bfa;
    --purple-200: #c4b5fd;
    --purple-100: #e0e7ff;
    --pink-600: #db2777;
    --pink-500: #ec4899;
    --pink-400: #f472b6;
    --pink-300: #f9a8d4;
    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;
    --cyan-300: #67e8f9;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

body {
    background: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-800) 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Liquid Background */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: blob 8s ease-in-out infinite;
    will-change: transform;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-500) 100%);
    animation-delay: 0s;
}

.blob-2 {
    top: 40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--cyan-400) 0%, var(--purple-500) 100%);
    animation-delay: 2s;
}

.blob-3 {
    bottom: -15%;
    left: 30%;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--purple-600) 100%);
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% {
        transform: translate(0px, 0px) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 40px) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(25px, -15px) scale(1.05) rotate(270deg);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    animation: ripple 2s linear infinite;
    pointer-events: none;
    width: 100px;
    height: 100px;
    transform: scale(0);
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Main Layout */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

.container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 560px;
    box-shadow:
        var(--shadow-xl),
        0 0 40px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--purple-400) 20%,
        var(--pink-400) 40%,
        var(--cyan-400) 60%,
        var(--purple-400) 80%,
        transparent 100%
    );
    opacity: 0.8;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.logo-icon {
    color: var(--purple-300);
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg,
        var(--white) 0%,
        var(--purple-200) 50%,
        var(--pink-300) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

/* Upload Form */
.upload-form {
    margin-bottom: 2rem;
}

.file-upload-area {
    position: relative;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-upload-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 160px;
}

.file-upload-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(139, 92, 246, 0.1),
        rgba(236, 72, 153, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.file-upload-area:hover .file-upload-label::before,
.file-upload-area.drag-over .file-upload-label::before {
    left: 100%;
}

.file-upload-area:hover .file-upload-label,
.file-upload-area.drag-over .file-upload-label {
    border-color: var(--purple-400);
    background: rgba(139, 92, 246, 0.08);
    transform: translateY(-2px);
    box-shadow:
        var(--shadow-lg),
        0 0 30px rgba(139, 92, 246, 0.2);
}

.file-upload-area.has-file .file-upload-label {
    border-color: var(--cyan-400);
    background: rgba(34, 211, 238, 0.08);
    border-style: solid;
}

.file-upload-area.error .file-upload-label {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.upload-icon-container {
    margin-bottom: 1rem;
}

.upload-icon {
    color: var(--purple-300);
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}

.file-upload-area:hover .upload-icon,
.file-upload-area.drag-over .upload-icon {
    color: var(--purple-200);
    transform: scale(1.1) rotate(5deg);
}

.file-upload-area.has-file .upload-icon {
    color: var(--cyan-300);
    transform: scale(1.05);
}

.upload-text {
    text-align: center;
}

.primary-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.secondary-text {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.file-upload-area.error .secondary-text {
    color: #fca5a5;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg,
        var(--purple-600) 0%,
        var(--purple-500) 30%,
        var(--pink-500) 70%,
        var(--pink-400) 100%
    );
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        var(--shadow-lg),
        0 0 20px rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

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

.submit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        var(--shadow-xl),
        0 0 40px rgba(139, 92, 246, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px) scale(1.01);
}

.submit-btn:disabled {
    background: var(--gray-600);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow);
}

.submit-btn:disabled::before {
    display: none;
}

.submit-btn.loading {
    background: var(--gray-600);
    cursor: wait;
}

.submit-btn.loading .btn-icon {
    animation: spin 1s linear infinite;
}

.btn-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.help-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: 0.75rem;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature {
    text-align: center;
    padding: 1.25rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
    background: rgba(139, 92, 246, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139, 92, 246, 0.2);
}

.feature-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 0.75rem;
    color: var(--purple-300);
    opacity: 0.9;
}

.feature-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.5rem 0;
}

.feature-description {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0;
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--purple-300);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-400), var(--pink-400));
    transition: width 0.3s ease;
}

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

.footer-separator {
    opacity: 0.5;
}

.footer-text {
    font-style: italic;
}

/* Processing Page Styles */
.processing-container {
    text-align: center;
}

.processing-content {
    margin-top: 2rem;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid var(--purple-400);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.step.completed {
    opacity: 1;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.step.active .step-icon {
    background: rgba(139, 92, 246, 0.2);
    color: var(--purple-300);
}

.step.completed .step-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.step-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-top: 2px solid var(--purple-400);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.step-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.step.active .step-text {
    color: var(--purple-200);
}

.step.completed .step-text {
    color: #86efac;
}

.processing-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.processing-subtext {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Result Container */
#result-container {
    display: none;
    text-align: center;
}

.result-title {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.link-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    gap: 1rem;
}

#download-link {
    color: var(--cyan-300);
    text-decoration: none;
    flex-grow: 1;
    text-align: left;
    font-size: 0.9rem;
    font-family: 'Monaco', 'Menlo', monospace;
    background: rgba(34, 211, 238, 0.1);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(34, 211, 238, 0.2);
    word-break: break-all;
    transition: all 0.3s ease;
}

#download-link:hover {
    background: rgba(34, 211, 238, 0.15);
    border-color: rgba(34, 211, 238, 0.3);
}

#copy-button {
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

#copy-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

#copy-button:active {
    transform: scale(0.98);
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-link:hover {
    color: var(--purple-300);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-1px);
}

/* Privacy Page Styles */
.privacy-container {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.privacy-container h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.privacy-container h2 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    position: relative;
}

.privacy-container h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-400), var(--pink-400));
}

.privacy-container p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.privacy-container li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.privacy-container ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-container strong {
    color: var(--white);
    font-weight: 600;
}

.last-updated {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    .container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        max-width: 100%;
    }

    h1 {
        font-size: 1.875rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .file-upload-label {
        padding: 2rem 1rem;
        min-height: 140px;
    }

    .upload-icon {
        width: 40px;
        height: 40px;
    }

    .primary-text {
        font-size: 1rem;
    }

    .secondary-text {
        font-size: 0.8rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature {
        padding: 1rem;
    }

    .feature-description {
        font-size: 0.8rem;
    }

    .link-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    #copy-button {
        width: 100%;
    }

    #download-link {
        text-align: center;
        margin-bottom: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
        border-radius: 16px;
    }

    h1 {
        font-size: 1.625rem;
    }

    .file-upload-label {
        padding: 1.5rem 0.75rem;
        min-height: 120px;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
    }

    .features {
        padding-top: 1.5rem;
    }

    .feature {
        padding: 0.75rem;
    }

    .blob-1, .blob-2, .blob-3 {
        filter: blur(40px);
    }
}

/* Accessibility & Focus States */
.file-upload-input:focus + .file-upload-label {
    outline: 2px solid var(--purple-400);
    outline-offset: 2px;
}

.submit-btn:focus-visible {
    outline: 2px solid var(--purple-400);
    outline-offset: 2px;
}

.footer-link:focus-visible {
    outline: 2px solid var(--purple-400);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .blob {
        animation: none;
    }

    .ripple {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .container {
        border: 2px solid var(--white);
        background: rgba(0, 0, 0, 0.8);
    }

    .file-upload-label {
        border: 2px solid var(--white);
    }

    .submit-btn {
        background: var(--white);
        color: var(--gray-900);
        border: 2px solid var(--white);
    }
}

