/* Xtream — download landing page */

:root {
    --xt-bg: #0a0a0a;
    --xt-bg-card: #141414;
    --xt-bg-elevated: #1c1c1c;
    --xt-text: #f5f5f5;
    --xt-text-muted: #9ca3af;
    --xt-yellow: #ffd700;
    --xt-orange: #ff8c00;
    --xt-red: #e63900;
    --xt-gradient: linear-gradient(135deg, var(--xt-yellow) 0%, var(--xt-orange) 55%, var(--xt-red) 100%);
    --xt-radius: 16px;
    --xt-font: "Cairo", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

.xt-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.xt-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.xt-logo {
    border-radius: 14px;
    object-fit: cover;
}

.xt-brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--xt-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero */
.xt-main {
    flex: 1;
}

.xt-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.xt-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.xt-logo-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.35) 0%, transparent 70%);
    filter: blur(24px);
    animation: xt-pulse 4s ease-in-out infinite;
}

@keyframes xt-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.xt-hero-logo {
    position: relative;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(255, 140, 0, 0.25);
}

.xt-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--xt-orange);
    margin-bottom: 1rem;
}

.xt-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.xt-lead {
    color: var(--xt-text-muted);
    font-size: 1.05rem;
    max-width: 48ch;
    margin-bottom: 2rem;
}

.xt-lead--note {
    margin-top: -1rem;
    padding: 1rem 1.25rem;
    background: var(--xt-bg-card);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: var(--xt-radius);
    color: var(--xt-text);
    font-weight: 500;
}

.xt-hero--review {
    padding-bottom: 2rem;
}

.xt-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.xt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-family: var(--xt-font);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.xt-btn:hover {
    transform: translateY(-2px);
}

.xt-btn-primary {
    background: var(--xt-gradient);
    color: #0a0a0a;
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.35);
}

.xt-btn-primary:hover {
    box-shadow: 0 12px 32px rgba(255, 140, 0, 0.45);
}

.xt-btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.xt-version {
    font-size: 0.9rem;
    color: var(--xt-text-muted);
    padding: 0.4rem 0.85rem;
    background: var(--xt-bg-elevated);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Features */
.xt-features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.xt-features h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
}

.xt-section-lead {
    text-align: center;
    color: var(--xt-text-muted);
    max-width: 52ch;
    margin: -1.5rem auto 2.5rem;
    font-size: 1.02rem;
    line-height: 1.7;
}

.xt-feature-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .xt-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .xt-feature-grid {
        grid-template-columns: 1fr;
    }
}

.xt-feature {
    background: var(--xt-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--xt-radius);
    padding: 1.5rem;
    transition: border-color 0.2s, transform 0.2s;
}

.xt-feature:hover {
    border-color: rgba(255, 140, 0, 0.3);
    transform: translateY(-3px);
}

.xt-feature-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.75rem;
}

.xt-feature h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.xt-feature p {
    font-size: 0.92rem;
    color: var(--xt-text-muted);
}

/* Download */
.xt-download {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.xt-download-card {
    background: var(--xt-bg-card);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    background-image: radial-gradient(ellipse at top, rgba(255, 140, 0, 0.08) 0%, transparent 60%);
}

.xt-download-logo {
    border-radius: 18px;
    margin-bottom: 1.25rem;
}

.xt-download-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.xt-download-card > p {
    color: var(--xt-text-muted);
    margin-bottom: 1.75rem;
}

.xt-download-note {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    font-size: 0.85rem !important;
    color: var(--xt-text-muted) !important;
}

/* Footer */
.xt-footer {
    padding: 1.5rem;
    text-align: center;
    color: var(--xt-text-muted);
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 768px) {
    .xt-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 1rem;
    }

    .xt-hero-visual {
        order: -1;
    }

    .xt-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .xt-actions {
        justify-content: center;
    }
}
