/* ============================================
   Remote Support - Alzavision
   styles.css
   ============================================ */

/* --- Design Tokens --- */
:root {
    --bg: #0a0f1a;
    --surface: #111827;
    --surface-hover: #1a2236;
    --border: #1e2a3e;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --accent-light: #60a5fa;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --success: #22c55e;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 16px;
    --radius-pill: 100px;
    --shadow-card: 0 8px 24px rgba(59, 130, 246, 0.12);
    --shadow-glow: 0 8px 32px rgba(59, 130, 246, 0.25);
    --transition-base: 0.25s ease;
    --transition-slow: 0.3s ease;
}

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

/* --- Base --- */
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ambient background glow */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* --- Layout --- */
.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Header --- */
.header {
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    background: rgba(10, 15, 26, 0.8);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--white);
}

.logo__accent {
    color: var(--accent);
}

.header__badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--surface);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    letter-spacing: 0.03em;
}

/* --- Main --- */
.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.container {
    max-width: 680px;
    width: 100%;
    text-align: center;
}

/* --- Hero Icon --- */
.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent), #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    animation: hero-float 3s ease-in-out infinite;
}

.hero-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* --- Typography --- */
.title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

/* --- Download Grid --- */
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* --- Download Card --- */
.download-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-glow), transparent);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.download-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.download-card:hover::before {
    opacity: 1;
}

/* Recommended variant */
.download-card--recommended::after {
    content: 'Recomandat';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--accent);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    z-index: 2;
}

/* Card inner elements — z-index above ::before overlay */
.download-card__icon,
.download-card__label,
.download-card__meta,
.download-card__arrow {
    position: relative;
    z-index: 1;
}

.download-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-card__icon svg {
    width: 36px;
    height: 36px;
    fill: var(--text-muted);
    transition: fill var(--transition-base);
}

.download-card:hover .download-card__icon svg {
    fill: var(--accent-light);
}

.download-card__label {
    font-weight: 600;
    font-size: 1rem;
}

.download-card__meta {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.download-card__arrow {
    margin-top: 0.25rem;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.download-card:hover .download-card__arrow {
    background: var(--accent);
}

.download-card__arrow svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-light);
    transition: fill var(--transition-base);
}

.download-card:hover .download-card__arrow svg {
    fill: var(--white);
}

/* --- Steps --- */
.steps {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.steps__title {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step:last-child {
    margin-bottom: 0;
}

.step__num {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.step__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.step__text strong {
    color: var(--text);
}

/* --- Security Notice --- */
.security-notice {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.03));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.security-notice__icon {
    flex-shrink: 0;
}

.security-notice__icon svg {
    width: 22px;
    height: 22px;
    fill: var(--accent-light);
}

.security-notice__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.security-notice__text strong {
    color: var(--accent-light);
}

/* --- Footer --- */
.footer {
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.8rem;
}

.footer a {
    color: var(--accent-light);
    text-decoration: none;
}

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

/* --- Page Load Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 520px) {
    .download-grid {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 1rem 1.25rem;
    }

    .steps {
        padding: 1.25rem;
    }
}
