:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg: #0f172a;
    --card: #1e293b;
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --border: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
    text-decoration: none;
}

.header-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.online-info {
    color: #10b981;
    font-weight: 500;
}

.time-info {
    color: var(--text-light);
}

.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Hero */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.logo-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 700;
}

.hero p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.btn-upload {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-upload:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* File Info */
.file-info {
    background: var(--card);
    padding: 1.2rem;
    border-radius: 12px;
    margin: 2rem auto 1.5rem;
    max-width: 500px;
    font-size: 1.1rem;
    color: var(--text);
    border: 1px solid var(--border);
}

.file-info strong {
    color: #93c5fd;
}

.file-info span {
    color: #a78bfa;
}

/* Download Button */
.download-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 600px;
    flex-wrap: wrap;
}

.stat {
    background: var(--card);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    min-width: 130px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat strong {
    display: block;
    font-size: 1.3rem;
    color: #60a5fa;
}

.stat small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Plans */
.plans {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 4rem auto;
    max-width: 800px;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.plan {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease;
}

.plan:hover {
    transform: translateY(-5px);
}

.plan h3 {
    font-size: 1.4rem;
    color: #93c5fd;
    margin-bottom: 0.5rem;
}

.plan .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.plan ul {
    list-style: none;
    margin: 1.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.plan ul li {
    margin: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.plan ul li::before {
    content: "✓";
    color: #10b981;
    position: absolute;
    left: 0;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: var(--card);
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid var(--border);
}

.popup-content h3 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.popup-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.popup-content .btn {
    margin: 0 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 4rem;
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--primary);
    margin: 0 0.5rem;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn-upload {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }
    .plans {
        flex-direction: column;
        align-items: center;
    }
}
