/* ==========================================================================
   AXOM Player 2.0 — homepage layer (index.html only).
   Loaded after assets/css/style.css; every rule is scoped to body.home2
   so the shared stylesheet and the other pages are untouched.
   ========================================================================== */

.home2 {
    --h2-surface: rgba(15, 23, 42, 0.55);
    --h2-line: rgba(148, 163, 184, 0.14);
    --h2-line-strong: rgba(148, 163, 184, 0.26);
    --h2-violet: #a78bfa;
    --h2-amber: #fbbf24;
    --h2-green: #34d399;
    --h2-radius: 20px;
}

/* Calmer, premium look for this page: no CRT scanlines, no dotted mesh. */
.home2 .scanlines { display: none; }
.home2::before { display: none; }

.home2 main { position: relative; z-index: 1; overflow-x: clip; }
.home2 img { max-width: 100%; height: auto; display: block; }
.home2 figure { margin: 0; }

/* ---------- Header ---------- */
.home2 .h2-logo { display: inline-flex; align-items: center; }
.home2 .h2-logo img { height: 34px; width: auto; }
.home2 .nav-links { gap: 30px; }
.home2 .h2-nav-cta { padding: 10px 22px; font-size: 0.9rem; }

@media (max-width: 1080px) and (min-width: 769px) {
    .home2 .nav-links { gap: 20px; }
    .home2 .nav-links a:not(.btn) { font-size: 0.9rem; }
}

/* ---------- Shared building blocks ---------- */
.home2 .h2-section { padding: 110px 0; position: relative; }

.home2 .h2-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}
.home2 .h2-eyebrow-violet { color: var(--h2-violet); }
.home2 .h2-eyebrow-amber { color: var(--h2-amber); }

.home2 .h2-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.home2 .h2-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.home2 .h2-head p { color: var(--text-muted); font-size: 1.1rem; }

.home2 .h2-grad {
    background: linear-gradient(120deg, #22d3ee 0%, #3b82f6 55%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.home2 .h2-caption {
    margin-top: 28px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dark);
    color: #6b7280;
}

.home2 .h2-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid currentColor;
    white-space: nowrap;
}
.home2 .h2-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.home2 .h2-status-ok { color: var(--h2-green); background: rgba(52, 211, 153, 0.08); }
.home2 .h2-status-test { color: var(--h2-amber); background: rgba(251, 191, 36, 0.08); }
.home2 .h2-status-later { color: var(--h2-violet); background: rgba(167, 139, 250, 0.08); }

/* ---------- A. Hero ---------- */
.home2 .h2-hero {
    position: relative;
    padding: 150px 0 70px;
    background:
        radial-gradient(ellipse 60% 55% at 78% 40%, rgba(6, 182, 212, 0.16) 0%, transparent 65%),
        radial-gradient(ellipse 50% 45% at 15% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 65%);
}

.home2 .h2-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: center;
}

.home2 .h2-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-glow);
    background: rgba(6, 182, 212, 0.08);
    font-size: 0.85rem;
    font-weight: 600;
    color: #a5f3fc;
    margin-bottom: 24px;
}
.home2 .h2-badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    animation: h2-pulse 2.4s ease-in-out infinite;
}
@keyframes h2-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.home2 .h2-hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.9rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}

.home2 .h2-lead { font-size: 1.15rem; color: #cbd5e1; max-width: 560px; margin-bottom: 30px; }

.home2 .h2-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.home2 .h2-btn-main { box-shadow: 0 10px 30px rgba(6, 182, 212, 0.28); }
.home2 .h2-hero-note { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 22px; }

.home2 .h2-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.home2 .h2-chips li {
    font-size: 0.82rem;
    color: #cbd5e1;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--h2-line);
    background: rgba(255, 255, 255, 0.03);
}

/* TV + phone mockups */
.home2 .h2-hero-visual { position: relative; padding-bottom: 40px; }

.home2 .h2-tv { position: relative; }
.home2 .h2-tv-screen {
    padding: 10px;
    border-radius: 18px;
    background: linear-gradient(160deg, #1e293b, #0b1120 60%);
    border: 1px solid var(--h2-line-strong);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 0 90px rgba(6, 182, 212, 0.12);
}
.home2 .h2-tv-screen img { border-radius: 9px; width: 100%; }
.home2 .h2-tv-stand {
    width: 28%;
    height: 12px;
    margin: 0 auto;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, #1e293b, #0f172a);
    border: 1px solid var(--h2-line);
    border-top: none;
}

.home2 .h2-phone {
    padding: 7px;
    border-radius: 30px;
    background: linear-gradient(160deg, #273449, #0b1120 70%);
    border: 1px solid var(--h2-line-strong);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}
.home2 .h2-phone img { border-radius: 23px; width: 100%; }

.home2 .h2-phone-float {
    position: absolute;
    right: -18px;
    bottom: 0;
    width: 24%;
    min-width: 110px;
    animation: h2-float 7s ease-in-out infinite;
}
@keyframes h2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- B. Feature rows ---------- */
.home2 .h2-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
}
.home2 .h2-feature-rev { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); }
.home2 .h2-feature-rev .h2-feature-text { order: 2; }
.home2 .h2-feature-rev .h2-shot { order: 1; }

.home2 .h2-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(6, 182, 212, 0.1);
    margin-bottom: 16px;
}
.home2 .h2-feature h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 14px; }
.home2 .h2-feature-text > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 20px; }

.home2 .h2-checks { padding: 0; display: grid; gap: 10px; }
.home2 .h2-checks li { position: relative; padding-left: 30px; color: #e2e8f0; font-size: 0.98rem; }
.home2 .h2-checks li::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.home2 .h2-shot {
    border-radius: var(--h2-radius);
    padding: 8px;
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.9), rgba(11, 17, 32, 0.9));
    border: 1px solid var(--h2-line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}
.home2 .h2-shot img { border-radius: 13px; width: 100%; }
.home2 .h2-shot:hover { transform: translateY(-4px); border-color: var(--border-glow); }

.home2 .h2-subhead { text-align: center; font-size: 1.6rem; font-weight: 800; margin: 20px 0 36px; }

.home2 .h2-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.home2 .h2-card {
    padding: 28px;
    border-radius: var(--h2-radius);
    background: var(--h2-surface);
    border: 1px solid var(--h2-line);
    transition: border-color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.home2 .h2-card:hover { border-color: var(--border-glow); transform: translateY(-3px); }
.home2 .h2-card h4 { font-size: 1.1rem; margin: 16px 0 8px; }
.home2 .h2-card p { color: var(--text-muted); font-size: 0.95rem; }
.home2 .h2-icon {
    display: inline-flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--border-glow);
}
.home2 .h2-icon svg {
    width: 22px; height: 22px;
    fill: none; stroke: #22d3ee; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Phone & tablet ---------- */
.home2 .h2-touch {
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.45) 30%, rgba(15, 23, 42, 0.45) 70%, transparent);
}
.home2 .h2-touch-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 56px;
    align-items: center;
}
.home2 .h2-touch-text h2 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.home2 .h2-touch-text p { color: var(--text-muted); font-size: 1.05rem; }

.home2 .h2-phones {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}
.home2 .h2-phone-fig:nth-child(2) { margin-top: 40px; }
.home2 .h2-phone-fig figcaption { text-align: center; margin-top: 12px; font-size: 0.88rem; color: var(--text-muted); }

/* ---------- C. Compatibility ---------- */
.home2 .h2-devices {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
}
.home2 .h2-dev {
    padding: 30px;
    border-radius: var(--h2-radius);
    background: var(--h2-surface);
    border: 1px solid var(--h2-line);
}
.home2 .h2-dev-now { border-color: rgba(52, 211, 153, 0.3); }
.home2 .h2-dev h3 { font-size: 1.3rem; margin: 18px 0 8px; }
.home2 .h2-dev p { color: var(--text-muted); font-size: 0.95rem; }
.home2 .h2-dev-list { padding: 0; margin: 18px 0 12px; display: grid; gap: 8px; }
.home2 .h2-dev-list li { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: #fff; }

/* ---------- D. Premium (future) ---------- */
.home2 .h2-premium-wrap { padding-top: 30px; padding-bottom: 50px; }
.home2 .h2-adv { padding-top: 50px; }
.home2 .h2-premium {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 40px;
    border-radius: 28px;
    border: 1px dashed rgba(167, 139, 250, 0.4);
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.14), transparent 70%), rgba(15, 23, 42, 0.4);
}
.home2 .h2-premium-head { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.home2 .h2-premium-head .h2-eyebrow { margin-bottom: 0; }
.home2 .h2-premium h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.home2 .h2-premium p { color: var(--text-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.home2 .h2-premium .h2-premium-note { margin-top: 18px; font-size: 0.9rem; color: #c4b5fd; }

/* ---------- E. Advertise ---------- */
.home2 .h2-adv-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
    padding: 56px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(15, 23, 42, 0.6) 55%);
    border: 1px solid rgba(251, 191, 36, 0.22);
}
.home2 .h2-adv-intro h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.home2 .h2-adv-intro p { color: #cbd5e1; font-size: 1.05rem; margin-bottom: 26px; }
.home2 .h2-adv-cta { border-color: rgba(251, 191, 36, 0.5); color: #fde68a; }
.home2 .h2-adv-cta:hover { background: rgba(251, 191, 36, 0.12); border-color: var(--h2-amber); color: #fff; }
.home2 .h2-aud { display: grid; gap: 14px; }
.home2 .h2-aud-item {
    padding: 20px 22px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid var(--h2-line);
}
.home2 .h2-aud-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.home2 .h2-aud-item p { color: var(--text-muted); font-size: 0.93rem; }

/* ---------- F. Downloads ---------- */
.home2 .h2-dl {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 20px;
}
.home2 .h2-dl-main {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 36px;
    border-radius: var(--h2-radius);
    background: linear-gradient(150deg, rgba(6, 182, 212, 0.1), rgba(15, 23, 42, 0.6) 60%);
    border: 1px solid var(--border-glow);
}
.home2 .h2-dl-icon { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; background: #0f1d35; padding: 6px; }
.home2 .h2-dl-main h3 { font-size: 1.4rem; margin-bottom: 8px; }
.home2 .h2-dl-main p { color: var(--text-muted); margin-bottom: 14px; }
.home2 .h2-dl-main .h2-dl-free { color: #a5f3fc; font-size: 0.92rem; margin-bottom: 24px; }
.home2 .h2-dl-side { display: grid; gap: 20px; }
.home2 .h2-dl-play, .home2 .h2-dl-legal {
    padding: 26px 28px;
    border-radius: var(--h2-radius);
    background: var(--h2-surface);
    border: 1px solid var(--h2-line);
}
.home2 .h2-dl-play { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.home2 .h2-dl-play h3, .home2 .h2-dl-legal h3 { font-size: 1.1rem; }
.home2 .h2-dl-legal p { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }

/* ---------- G. Footer ---------- */
.home2 .h2-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)) minmax(0, 1.8fr);
    gap: 24px;
    margin-bottom: 56px;
}
.home2 .h2-footer-brand .h2-logo img { height: 32px; width: auto; }
.home2 .h2-footer-brand p { color: var(--text-muted); font-size: 0.92rem; margin-top: 16px; max-width: 280px; }
.home2 .h2-footer .footer-column h4 { margin-bottom: 18px; font-size: 0.82rem; }
.home2 .h2-footer .footer-links a { font-size: 0.9rem; overflow-wrap: anywhere; }
.home2 .h2-footer .footer-links a.h2-mail { overflow-wrap: normal; white-space: nowrap; font-size: 0.88rem; }
.home2 .h2-mail-label { font-size: 0.85rem; color: var(--text-dark); color: #6b7280; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .home2 .h2-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home2 .h2-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    .home2 .h2-hero { padding-top: 130px; }
    .home2 .h2-hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .home2 .h2-lead { margin-left: auto; margin-right: auto; }
    .home2 .h2-ctas, .home2 .h2-chips { justify-content: center; }
    .home2 .h2-hero-visual { max-width: 720px; margin: 0 auto; width: 100%; }
    .home2 .h2-phone-float { right: 0; }

    .home2 .h2-feature,
    .home2 .h2-feature-rev { grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; }
    .home2 .h2-feature-rev .h2-feature-text { order: 0; }
    .home2 .h2-feature-rev .h2-shot { order: 1; }

    .home2 .h2-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home2 .h2-touch-grid { grid-template-columns: 1fr; text-align: center; }
    .home2 .h2-touch-text { max-width: 640px; margin: 0 auto; }
    .home2 .h2-phones { max-width: 640px; margin: 0 auto; width: 100%; }
    .home2 .h2-devices { grid-template-columns: 1fr 1fr; }
    .home2 .h2-dev-now { grid-column: 1 / -1; }
    .home2 .h2-adv-box { grid-template-columns: 1fr; padding: 40px; }
    .home2 .h2-dl { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .home2 .h2-section { padding: 76px 0; }
    .home2 .h2-hero { padding-top: 112px; }
    .home2 .h2-premium-wrap { padding-top: 10px; padding-bottom: 30px; }
    .home2 .h2-adv { padding-top: 30px; }
    .home2 .container { padding: 0 16px; }
    .home2 .h2-logo img { height: 28px; }
    .home2 .nav-links .h2-nav-cta { width: 80%; }
    .home2 .h2-head { margin-bottom: 44px; }
    .home2 .h2-lead { font-size: 1.05rem; }
    .home2 .h2-ctas .btn { flex: 1 1 100%; }
    .home2 .h2-phone-float { width: 26%; min-width: 0; right: -4px; border-radius: 18px; padding: 4px; }
    .home2 .h2-phone-float img { border-radius: 14px; }
    .home2 .h2-tv-screen { padding: 6px; border-radius: 12px; }
    .home2 .h2-tv-screen img { border-radius: 7px; }
    .home2 .h2-cards { grid-template-columns: 1fr; }
    .home2 .h2-card { padding: 22px; }
    .home2 .h2-phones { gap: 10px; }
    .home2 .h2-phone { padding: 4px; border-radius: 18px; }
    .home2 .h2-phone img { border-radius: 14px; }
    .home2 .h2-phone-fig:nth-child(2) { margin-top: 24px; }
    .home2 .h2-devices { grid-template-columns: 1fr; }
    .home2 .h2-premium { padding: 40px 22px; }
    .home2 .h2-adv-box { padding: 28px 20px; border-radius: 22px; }
    .home2 .h2-adv-cta { width: 100%; }
    .home2 .h2-dl-main { flex-direction: column; padding: 26px 22px; }
    .home2 .h2-dl-main .btn { width: 100%; }
    .home2 .h2-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .home2 .h2-footer-grid .footer-column:last-child { grid-column: 1 / -1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .home2 .reveal { opacity: 1; transform: none; transition: none; }
    .home2 .h2-badge-dot,
    .home2 .h2-phone-float { animation: none; }
    .home2 .h2-shot,
    .home2 .h2-card { transition: none; }
    .home2 .h2-shot:hover,
    .home2 .h2-card:hover { transform: none; }
    .home2::after { animation: none; }
}
