/* BLACK & WHITE MODERN UI */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff;
    color: #000;
    min-height: 100vh;
    line-height: 1.5;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #fff;
}

.container {
    max-width: 600px;
    text-align: center;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.8s ease;
}

p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    animation: fadeIn 0.8s ease 0.1s both;
}

/* Download Section */
.download-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeIn 0.8s ease 0.2s both;
}

/* Download Counter */
.download-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}

.download-count {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.download-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* ============================================
   MODERN DOWNLOAD BUTTON
   ============================================ */

.download-link {
    background: #000;
    border: none;
    border-radius: 16px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: #fff;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-link:hover .download-btn {
    background: #1a1a1a;
}

.download-link:active {
    transform: scale(0.98);
}

/* Arrow animation */
.download-btn svg {
    transition: transform 0.3s ease;
}

.download-link:hover .download-btn svg {
    animation: arrowBounce 0.6s ease infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Progress ring (shows when downloading) */
.progress-ring {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: 12px;
    display: none;
}

.progress-ring.active {
    display: block;
}

/* Button with loading state */
.download-link.loading .download-btn {
    opacity: 0.7;
}

.download-link.loading .progress-ring {
    background: conic-gradient(#fff var(--progress, 0%), transparent 0);
}

/* Safety Notes */
.safety-notes {
    max-width: 380px;
}

.note-text, .note-beta {
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: start;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.note-text svg, .note-beta svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.note-beta {
    background: #f5f5f5;
    padding: 12px 16px;
    border-left: 3px solid #000;
    border-radius: 0 8px 8px 0;
}

.note-text strong, .note-beta strong {
    font-weight: 600;
    color: #000;
}

/* Mobile */
@media (max-width: 480px) {
    .hero { padding: 1.5rem; }
    .download-btn { padding: 16px 28px; font-size: 15px; }
    .download-count { font-size: 2.5rem; }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
