/* ============================================
   Encrypt My File — Dark Cybersecurity Theme
   ============================================ */

:root {
    --bg-deep:     #060a13;
    --bg-base:     #0a0e17;
    --bg-surface:  #111827;
    --bg-card:     #1a2332;
    --bg-elevated: #1f2b3d;
    --border:      #2a3a4a;
    --border-light:#3a4a5a;
    --accent:      #00d4ff;
    --accent-dim:  #0099bb;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --indigo:      #6366f1;
    --success:     #10b981;
    --warning:     #f59e0b;
    --error:       #ef4444;
    --text:        #e2e8f0;
    --text-dim:    #94a3b8;
    --text-muted:  #64748b;
    --radius:      12px;
    --radius-sm:   8px;
    --shadow:      0 4px 24px rgba(0,0,0,0.4);
    --transition:  0.2s ease;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Background pattern */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,212,255,0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(99,102,241,0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: #33dfff;
}

/* ---- Layout ---- */
.wrapper {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo svg {
    width: 36px;
    height: 36px;
    color: var(--accent);
}

.tagline {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

/* ---- Tabs ---- */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-surface);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.tab-btn {
    flex: 1;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--text);
    background: var(--bg-elevated);
}

.tab-btn.active {
    background: var(--accent);
    color: #000;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(0,212,255,0.3);
}

.tab-btn svg {
    width: 18px;
    height: 18px;
}

.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

/* ---- Card ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

/* ---- Drop Zone ---- */
.drop-zone {
    border: 2px dashed var(--border-light);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.drop-zone-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.drop-zone:hover .drop-zone-icon,
.drop-zone.dragover .drop-zone-icon {
    color: var(--accent);
}

.drop-zone-text {
    font-size: 0.95rem;
    color: var(--text-dim);
}

.drop-zone-text strong {
    color: var(--accent);
}

.drop-zone-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.drop-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* File selected state */
.file-info {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.file-info.visible {
    display: flex;
}

.file-info svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.file-info .name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-info .size {
    color: var(--text-muted);
    font-size: 0.82rem;
    flex-shrink: 0;
}

.file-info .remove-file {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    line-height: 1;
    font-size: 1.1rem;
    transition: color var(--transition);
}
.file-info .remove-file:hover {
    color: var(--error);
}

/* ---- Form Fields ---- */
.form-group {
    margin-top: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

select,
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text);
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

select:focus,
input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

select option {
    background: var(--bg-surface);
    color: var(--text);
}

.alg-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-style: italic;
}

/* Password wrapper */
.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 2.75rem;
}

.toggle-pass {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color var(--transition);
}

.toggle-pass:hover {
    color: var(--text);
}

.toggle-pass svg {
    width: 18px;
    height: 18px;
}

/* Password strength meter */
.strength-meter {
    height: 3px;
    border-radius: 2px;
    background: var(--border);
    margin-top: 0.5rem;
    overflow: hidden;
}

.strength-meter .fill {
    height: 100%;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.strength-label {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    color: var(--text-muted);
    text-align: right;
}

/* ---- Submit Button ---- */
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    margin-top: 1.75rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-encrypt {
    background: var(--accent);
    color: #000;
    box-shadow: 0 2px 16px rgba(0,212,255,0.25);
}

.btn-encrypt:hover:not(:disabled) {
    background: #33dfff;
    box-shadow: 0 4px 24px rgba(0,212,255,0.35);
    transform: translateY(-1px);
}

.btn-decrypt {
    background: var(--success);
    color: #000;
    box-shadow: 0 2px 16px rgba(16,185,129,0.25);
}

.btn-decrypt:hover:not(:disabled) {
    background: #34d399;
    box-shadow: 0 4px 24px rgba(16,185,129,0.35);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

.btn-submit .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn-submit.loading .spinner {
    display: block;
}

.btn-submit.loading .btn-label {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Alerts ---- */
.alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    border: 1px solid;
}

.alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.alert-error {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
    color: #6ee7b7;
}

.alert-info {
    background: rgba(0,212,255,0.08);
    border-color: rgba(0,212,255,0.2);
    color: var(--accent);
}

/* ---- Download Page ---- */
.download-card {
    text-align: center;
    padding: 3rem 2rem;
}

.download-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--success);
}

.download-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.download-card p {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.download-filename {
    font-family: 'Courier New', monospace;
    background: var(--bg-surface);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    word-break: break-all;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--success);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-download:hover {
    background: #34d399;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}

.btn-download svg {
    width: 20px;
    height: 20px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.btn-back:hover {
    color: var(--accent);
}

/* ---- Info Section ---- */
.info-section {
    margin-top: 2.5rem;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.info-heading svg {
    color: var(--accent);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-item h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.info-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item li {
    font-size: 0.84rem;
    color: var(--text-dim);
    line-height: 1.65;
    padding-left: 1rem;
    position: relative;
}

.info-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--border-light);
}

.info-item li strong {
    color: var(--text);
    font-weight: 500;
}

@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .info-section {
        padding: 1.25rem;
    }
}

/* ---- Footer ---- */
.site-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.site-footer a {
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

/* ---- Privacy Page ---- */
.privacy-content {
    padding: 2rem;
}

.privacy-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.privacy-content h2 {
    font-size: 1.1rem;
    margin: 1.75rem 0 0.6rem;
    color: var(--text);
}

.privacy-content p,
.privacy-content li {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.7;
}

.privacy-content ul {
    padding-left: 1.5rem;
    margin-top: 0.4rem;
}

.privacy-content li {
    margin-bottom: 0.35rem;
}

/* ---- Features Banner ---- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.feature {
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border);
}

.feature svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.feature-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    display: block;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .wrapper {
        padding: 1.25rem 1rem 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .feature {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-align: left;
        padding: 0.75rem 1rem;
    }

    .feature svg {
        margin-bottom: 0;
    }

    .card {
        padding: 1.25rem;
    }

    .drop-zone {
        padding: 1.75rem 1rem;
    }
}

/* ---- Ad Slots ---- */
.ad-slot {
    margin: 1.5rem 0;
    text-align: center;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.ad-banner {
    min-height: 90px;
}

.ad-rectangle {
    min-height: 250px;
}

/* Placeholder styling (remove when real ads are active) */
.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: inherit;
    background: var(--bg-surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
}

.ad-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---- Progress Modal ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(6, 10, 19, 0.92);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    color: var(--accent);
}

.modal-icon .lock-spin {
    width: 100%;
    height: 100%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(0,212,255,0.3)); }
    50%      { filter: drop-shadow(0 0 16px rgba(0,212,255,0.6)); }
}

.modal-icon.success {
    color: var(--success);
}

.modal-icon.success .lock-spin {
    animation: none;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.modal-status {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

.progress-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar-track {
    flex: 1;
    height: 8px;
    background: var(--bg-surface);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent), var(--indigo));
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-percent {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    min-width: 3rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.modal-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Modal success state */
.modal-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    margin-top: 1.25rem;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
}

.modal-download-btn:hover {
    background: #33dfff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.modal-download-btn svg {
    width: 20px;
    height: 20px;
}

.modal-expiry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.modal-expiry svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.modal-close-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
}

.modal-close-btn:hover {
    color: var(--text);
    border-color: var(--text-dim);
}

/* Modal error state */
.modal-icon.error svg {
    color: var(--error);
}

.modal-error-details {
    margin-top: 1rem;
    text-align: left;
    width: 100%;
}

.modal-error-details summary {
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modal-error-details pre {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    color: var(--text-dim);
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 150px;
    overflow-y: auto;
}

/* ---- Buy Me a Coffee Banner ---- */
.bmac-banner {
    background: linear-gradient(90deg, #ff813f, #ffdd00);
    color: #1a1a1a;
    position: relative;
    z-index: 100;
}

.bmac-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    font-weight: 500;
}

.bmac-btn {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: #1a1a1a;
    color: #ffdd00 !important;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity var(--transition);
}

.bmac-btn:hover {
    opacity: 0.85;
    color: #ffdd00 !important;
}

.bmac-close {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0.6;
    line-height: 1;
    padding: 4px;
    transition: opacity var(--transition);
}

.bmac-close:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .bmac-inner {
        font-size: 0.8rem;
        padding: 0.5rem 2.5rem 0.5rem 1rem;
        gap: 0.5rem;
    }
}

/* ---- Desktop App Promo Box ---- */
.desktop-promo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(0, 209, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

.desktop-promo:hover {
    border-color: var(--accent);
    background: rgba(0, 209, 255, 0.08);
}

.desktop-promo > svg:first-child {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.desktop-promo-text {
    flex: 1;
    min-width: 0;
}

.desktop-promo-text strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.desktop-promo-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.desktop-promo-arrow {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.desktop-promo:hover .desktop-promo-arrow {
    transform: translateX(2px);
    color: var(--accent);
}

/* ---- Download Hero (Desktop App Page) ---- */
.download-hero {
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.download-hero-icon {
    margin: 0 auto 1.25rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 209, 255, 0.08);
    border-radius: 50%;
    color: var(--accent);
}

.download-hero-icon svg {
    width: 40px;
    height: 40px;
}

.download-hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.download-hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin: 0 0 1.75rem;
}

.download-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--accent);
    color: #000 !important;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--transition);
}

.download-hero-btn:hover {
    background: #33dfff;
    transform: translateY(-1px);
}

.download-hero-meta {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .download-hero {
        padding: 2rem 1rem;
    }
    .download-hero-title {
        font-size: 1.3rem;
    }
}

/* ---- Cookie Consent Banner ---- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
}

.cookie-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cookie-inner p {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 0;
}

.cookie-inner p a {
    color: var(--accent);
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.55rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.cookie-btn-accept {
    background: var(--accent);
    color: #000;
}

.cookie-btn-accept:hover {
    background: #33dfff;
}

.cookie-btn-essential {
    background: var(--bg-elevated);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.cookie-btn-essential:hover {
    color: var(--text);
    border-color: var(--border-light);
}

@media (max-width: 600px) {
    .cookie-inner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 0.75rem;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}
