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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 100vh;
    color: #333;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    content: '';
    width: 40px;
    height: 40px;
    background: url('../favicons/android-chrome-192x192.png') center/cover;
    border-radius: 8px;
    position: absolute;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    padding: 10px;
}

/* Mobile-first overrides (will be activated under 768px) */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; right: 20px; top: 64px; background: rgba(255,255,255,0.98); flex-direction: column; padding: 10px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
    .nav-links.show { display: flex; }
    .nav-links a { padding: 10px 14px; display: block; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .download-btn { padding: 10px 14px; font-size: 0.95rem; }
    .btn { padding: 12px 16px; font-size: 0.95rem; }
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transition: width 0.3s ease;
}

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

.download-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.9);
    color: #2980b9;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
    background: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Demo Section */
.demo-section {
    background: white;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-container {
    background: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Demo button styling */
#demo-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
    margin-top: 30px;
}

#demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
}

.file-explorer {
    background: #2d3748;
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    margin: 20px 0;
}

.file-explorer-header {
    background: #4a5568;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
}

.file-list {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #e2e8f0;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
}

.file-item:nth-child(n) {
    animation-delay: calc(var(--i) * 0.1s);
}

.file-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin-right: 10px;
}

.file-icon.document { background: #60a5fa; }
.file-icon.image { background: #34d399; }
.file-icon.video { background: #f59e0b; }
.file-icon.audio { background: #ec4899; }
.file-icon.archive { background: #8b5cf6; }

.organizing-animation {
    text-align: center;
    padding: 40px 0;
    font-size: 1.2rem;
    color: #3498db;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-icon.smart { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); }
.feature-icon.fast { background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); }
.feature-icon.safe { background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%); }

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: white;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(100% - 20px);
    width: calc(100% - 40px);
    height: 2px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    opacity: 0.3;
}

.step:last-child::after {
    display: none;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    opacity: 0.8;
    margin-top: 5px;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 40px 0;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .download-stats { flex-direction: column; gap: 30px; }
    .steps::after { display: none; }
}
