/* ZainDesk - Premium File Transfer */
/* Modern Glassmorphism Design with Dark/Light Theme */

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #06b6d4;
    --accent: #f43f5e;
    --accent-light: #fb7185;
    --success: #10b981;
    --success-light: #34d399;
    --warning: #f59e0b;
    
    --radius-xl: 24px;
    --radius: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme (Default) */
[data-theme="dark"], :root {
    --dark: #030712;
    --dark-light: #111827;
    --dark-lighter: #1f2937;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --light: #f3f4f6;
    --white: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --bg-primary: #030712;
    --bg-secondary: #111827;
    --bg-card: rgba(255, 255, 255, 0.03);
    
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-dark: linear-gradient(180deg, rgba(17, 24, 39, 0.8) 0%, rgba(3, 7, 18, 0.95) 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.3);
    --shadow-glow-cyan: 0 0 60px rgba(6, 182, 212, 0.3);
}

/* Light Theme */
[data-theme="light"] {
    --dark: #ffffff;
    --dark-light: #f8fafc;
    --dark-lighter: #e2e8f0;
    --gray: #64748b;
    --gray-light: #64748b;
    --light: #1e293b;
    --white: #1e293b;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: rgba(0, 0, 0, 0.02);
    --header-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #ffffff;
    
    --gradient-dark: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-hover: rgba(0, 0, 0, 0.03);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.1);
    --shadow-glow-cyan: 0 0 60px rgba(6, 182, 212, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Stunning Animated Background */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-primary);
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Light theme background adjustments */
[data-theme="light"] .bg-animated::before {
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(244, 63, 94, 0.04) 0%, transparent 50%);
}

[data-theme="light"] .bg-animated::after {
    background: 
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 25%);
}

.bg-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(244, 63, 94, 0.08) 0%, transparent 50%);
    animation: aurora 15s ease-in-out infinite;
}

.bg-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 25%);
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes aurora {
    0%, 100% { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    33% { 
        opacity: 0.8;
        transform: translateY(-2%) scale(1.02);
    }
    66% { 
        opacity: 0.9;
        transform: translateY(1%) scale(0.98);
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(1%, 2%) rotate(0.5deg); }
    50% { transform: translate(-1%, 1%) rotate(-0.5deg); }
    75% { transform: translate(2%, -1%) rotate(0.5deg); }
}

/* Header - Glassmorphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 1.5rem;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

/* Mobile menu button - ensure it's always clickable */
.mobile-menu-btn {
    position: relative;
    z-index: 1002;
}

.header.scrolled {
    padding: 0.75rem 1.5rem;
    background: rgba(3, 7, 18, 0.9);
}

/* Light theme header */
[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav a {
    color: var(--gray-light);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav a:hover {
    color: var(--white);
    background: var(--glass-hover);
}

.nav a.active {
    color: var(--white);
    background: rgba(139, 92, 246, 0.15);
}

/* Theme Toggle Link in Nav */
.theme-toggle-link {
    display: none;
}

@media (max-width: 992px) {
    .theme-toggle-link {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }
}

.mobile-menu-btn {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    color: var(--white);
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition-fast);
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    z-index: 1001;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    background: var(--glass-hover);
}

/* Hero Section - Stunning */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-cta {
    margin-bottom: 3rem;
}

.hero-cta .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero h1 {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.5;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--gray-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Feature Cards - Premium Glass Effect */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--glass-hover);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.45);
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--gray-light);
    font-size: 0.875rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Styles */
.section {
    padding: 5rem 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-title p {
    color: var(--gray-light);
    font-size: 1.0625rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Transfer Box - Premium Glass */
.transfer-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

@media (min-width: 640px) {
    .transfer-box {
        padding: 2.5rem;
    }
}

/* Drag Drop Zone - Beautiful Interactive */
.drop-zone {
    border: 2px dashed rgba(139, 92, 246, 0.35);
    border-radius: var(--radius);
    padding: 3rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.drop-zone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    box-shadow: inset 0 0 30px rgba(139, 92, 246, 0.1);
}

.drop-zone:hover::before,
.drop-zone.dragover::before {
    opacity: 1;
}

.drop-zone.dragover {
    transform: scale(1.01);
    border-style: solid;
}

.drop-zone-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.3));
    transition: var(--transition);
}

.drop-zone:hover .drop-zone-icon {
    transform: translateY(-5px) scale(1.1);
}

.drop-zone h3 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.drop-zone p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.drop-zone input[type="file"] {
    display: none;
}

/* Buttons - Premium Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.45);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn-block {
    width: 100%;
}

/* Code Display - Stunning */
.code-display {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.code-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--gradient-primary);
}

.code-display h4 {
    color: var(--gray-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.code-number {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.code-copy-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.code-copy-btn:hover {
    background: var(--glass-hover);
    transform: translateY(-2px);
}

/* Receive Section */
.receive-box {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.code-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.code-input {
    flex: 1;
    min-width: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.3rem;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
}

.code-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.code-input::placeholder {
    color: var(--gray);
    letter-spacing: 0.15rem;
}

/* Progress Bar - Animated */
.progress-container {
    margin-top: 2rem;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 5px;
    transition: width 0.3s ease;
    width: 0%;
    position: relative;
}

.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 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-light);
}

/* Screen Share Section */
.screen-share-box {
    max-width: 100%;
    margin: 0 auto;
}

.screen-preview {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.screen-preview video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.screen-placeholder {
    text-align: center;
    color: var(--gray);
    padding: 2rem;
}

.screen-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.6;
}

.screen-placeholder p {
    font-size: 0.9375rem;
}

.screen-controls {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tabs - Modern Pills */
.tabs {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 1.5rem;
    background: var(--glass-bg);
    padding: 0.375rem;
    border-radius: var(--radius-md);
    justify-content: center;
    border: 1px solid var(--glass-border);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--gray-light);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.tab-btn i {
    font-size: 0.875rem;
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.tab-btn:hover:not(.active) {
    background: var(--glass-hover);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn {
    from { 
        opacity: 0; 
        transform: translateY(15px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* File List - Clean Cards */
.file-list {
    margin-top: 1.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.625rem;
    transition: var(--transition-fast);
}

.file-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.2);
}

.file-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
    word-break: break-word;
    font-size: 0.9375rem;
}

.file-size {
    font-size: 0.8125rem;
    color: var(--gray-light);
}

.file-remove {
    background: rgba(244, 63, 94, 0.1);
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.file-remove:hover {
    background: rgba(244, 63, 94, 0.2);
    transform: scale(1.1);
}

/* Footer - Modern */
.footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 1.5rem 2rem;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--white);
    font-weight: 600;
}

.footer-section p {
    color: var(--gray-light);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.625rem;
}

.footer-section ul li a {
    color: var(--gray-light);
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
    transform: translateX(3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--gray);
    font-size: 0.8125rem;
}

/* Contact Form - Premium */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.08);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-control::placeholder {
    color: var(--gray);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

/* Alert Messages - Clean */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--success-light);
}

.alert-error {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: var(--accent-light);
}

/* Page Header - Elegant */
.page-header {
    padding: 7rem 1.5rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, transparent 100%);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.page-header h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.page-header p {
    color: var(--gray-light);
    font-size: 1.0625rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Content Pages - Readable */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.content-page h2 {
    font-size: 1.375rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary-light);
    font-weight: 600;
}

.content-page h2:first-of-type {
    margin-top: 0;
}

.content-page p {
    color: var(--gray-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page ul {
    color: var(--gray-light);
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.content-page ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.content-page a {
    color: var(--primary-light);
}

.content-page a:hover {
    text-decoration: underline;
}

/* Ad Slots */
.ad-slot {
    background: var(--glass-bg);
    border: 1px dashed var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    margin: 1.5rem 0;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-slot.header-ad {
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.ad-slot.sidebar-ad {
    min-height: 250px;
}

/* Status Indicators - Polished */
.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.status-waiting {
    background: rgba(245, 158, 11, 0.12);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-connected {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success-light);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

/* Loader */
.loader {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hidden */
.hidden {
    display: none !important;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First Approach
   ============================================ */

/* Tablets and below */
@media (max-width: 992px) {
    .header {
        position: fixed;
    }
    
    .header-content {
        position: relative;
    }
    
    .nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 0.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .nav.active {
        display: flex !important;
        animation: slideDown 0.3s ease;
    }
    
    .nav a {
        color: var(--text-primary);
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav a {
        padding: 1rem 1.25rem;
        border-radius: var(--radius-sm);
        width: 100%;
    }
    
    .nav a:hover {
        background: var(--glass-hover);
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .header {
        padding: 0.875rem 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 span::after {
        display: none;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .feature-card {
        padding: 1.75rem 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .section {
        padding: 3.5rem 1rem;
    }
    
    .transfer-box {
        padding: 1.5rem;
        border-radius: var(--radius);
    }
    
    .drop-zone {
        padding: 2.5rem 1rem;
    }
    
    .drop-zone-icon {
        font-size: 3rem;
    }
    
    .drop-zone h3 {
        font-size: 1.25rem;
    }
    
    .tabs {
        width: 100%;
    }
    
    .tab-btn {
        flex: 1;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .code-input-group {
        flex-direction: column;
    }
    
    .code-input {
        min-width: 100%;
    }
    
    .code-input-group .btn {
        width: 100%;
    }
    
    .screen-controls {
        flex-direction: column;
    }
    
    .screen-controls .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .page-header {
        padding: 6rem 1rem 2.5rem;
    }
    
    .content-page {
        padding: 2rem 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .header {
        padding: 0.75rem;
    }
    
    .logo span {
        display: none;
    }
    
    .hero {
        padding: 5.5rem 0.75rem 2.5rem;
    }
    
    .hero p {
        font-size: 0.9375rem;
    }
    
    .feature-card {
        padding: 1.5rem 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .transfer-box {
        padding: 1.25rem;
    }
    
    .drop-zone {
        padding: 2rem 0.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
    }
    
    .code-display {
        padding: 1.5rem 1rem;
    }
    
    .file-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .file-icon {
        width: 38px;
        height: 38px;
    }
    
    .file-name {
        font-size: 0.875rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section ul li a:hover {
        transform: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .feature-card:active {
        transform: scale(0.99);
    }
    
    .drop-zone:hover .drop-zone-icon {
        transform: none;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        margin-bottom: 1.5rem;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .bg-animated::before,
    .bg-animated::after {
        opacity: 0.8;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .bg-animated::before,
    .bg-animated::after {
        animation: none;
    }
}

/* Dark mode enhancements (already dark, but for system preference) */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

/* Light theme footer */
[data-theme="light"] .footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .footer h4 {
    color: var(--text-primary);
}

[data-theme="light"] .footer p,
[data-theme="light"] .footer a {
    color: var(--text-secondary);
}

[data-theme="light"] .footer a:hover {
    color: var(--primary);
}

/* Ad Slots for Transfer Page */
.transfer-page-layout {
    display: flex;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ad-sidebar {
    width: 160px;
    min-width: 160px;
    flex-shrink: 0;
}

.ad-sidebar .ad-slot {
    position: sticky;
    top: 100px;
    min-height: 600px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 0.75rem;
}

.transfer-main-content {
    flex: 1;
    max-width: 700px;
    margin: 0 auto;
}

.ad-bottom {
    max-width: 728px;
    min-width: 300px;
    margin: 2rem auto;
    min-height: 90px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 0.75rem;
}

@media (max-width: 1200px) {
    .ad-sidebar {
        display: none;
    }
    
    .transfer-page-layout {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ad-bottom {
        margin: 1.5rem 1rem;
    }
}

/* SEO Content Styles */
.seo-content {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.seo-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-secondary);
}

.seo-text h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.seo-text h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.seo-text h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.seo-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.seo-text ul, .seo-text ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.seo-text li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.seo-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.seo-text a {
    color: var(--primary);
    text-decoration: none;
}

.seo-text a:hover {
    text-decoration: underline;
}

.faq-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
}

.faq-section h4 {
    color: var(--primary);
    margin-top: 1.5rem;
}

.faq-section h4:first-child {
    margin-top: 0;
}

.comparison-table {
    background: var(--glass-bg);
    border-radius: var(--radius);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    border-bottom: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .seo-text h2 {
        font-size: 1.5rem;
    }
    
    .seo-text h3 {
        font-size: 1.25rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem !important;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-light);
    border-top: 1px solid var(--glass-border);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
}

.cookie-content a {
    color: var(--primary);
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Auth Code Buttons for Secure Transfer */
.auth-code-btn {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: monospace;
    background: var(--bg-secondary);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-code-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

.auth-code-btn:active {
    transform: scale(0.95);
}

/* Light mode specific fixes */
[data-theme="light"] .transfer-box,
[data-theme="light"] .receive-box {
    background: var(--bg-secondary);
}

[data-theme="light"] .code-display {
    background: var(--bg-secondary);
}

[data-theme="light"] .code-number {
    color: var(--text-primary);
}

[data-theme="light"] h3,
[data-theme="light"] h4 {
    color: var(--text-primary);
}

/* SEO Content Section */
.seo-content {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.seo-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

.seo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.seo-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.seo-card h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.seo-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.seo-cta {
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .seo-grid {
        grid-template-columns: 1fr;
    }
    
    .seo-card {
        padding: 1.5rem;
    }
}
