/* ===== CSS Reset & Variables ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
}
button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
:root {
    --primary: #e50914;
    --primary-hover: #ff1a25;
    --bg-dark: #0a0a0f;
    --bg-card: #141420;
    --bg-card-hover: #1a1a2e;
    --bg-section: #0f0f18;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b80;
    --border-color: #2a2a3a;
    --gradient-primary: linear-gradient(135deg, #e50914 0%, #ff6b35 100%);
    --shadow-glow: 0 0 40px rgba(229,9,20,0.15);
}
/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
    padding: 5px 0;
}
.header.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}
.logo-icon {
    width: auto;
    height: auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    background: rgba(229, 9, 20, 0.1);
}
.nav-links a.active {
    color: var(--primary);
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 8px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}
/* ===== Footer ===== */
.footer {
    background: #08080d;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}
.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 350px;
    margin-top: 16px;
}
.footer-nav h4, .footer-social h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.footer-nav a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s;
}
.footer-nav a:hover {
    color: var(--primary);
}
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.social-icons {
    display: flex;
    gap: 12px;
}
.social-icons a {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.footer-divider {
    height: 1px;
    background: var(--border-color);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
    color: var(--text-muted);
}
.footer-bottom-links {
    display: flex;
    gap: 24px;
}
.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 13px;
}
.footer-bottom-links a:hover {
    color: var(--primary);
}
/* ===== Buttons & Sections ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.4);
}
.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.section {
    padding: 80px 0;
}
.section-alt {
    background: var(--bg-section);
}
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}
.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}
.text-center {
    text-align: center;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
/* ===== Hero & Home Elements ===== */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(229, 9, 20, 0.08) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero h1 span {
    color: var(--primary);
}
.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 520px;
}
.hero-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}
.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}
.hero-feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.hero-image-placeholder {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 3/4;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}
.hero-image-placeholder::after {
    content: '📱';
    font-size: 120px;
    filter: drop-shadow(0 0 30px rgba(229,9,20,0.3));
}
.about-grid, .compat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.about-text h2, .compat-left h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.about-text p, .compat-left > p, .compat-right > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}
.about-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.about-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
}
.about-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-glow);
}
.about-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.about-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.features-grid, .why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.why-grid {
    grid-template-columns: repeat(3, 1fr);
}
.feature-item, .why-card {
    display: flex;
    gap: 16px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
}
.why-card {
    flex-direction: column;
}
.feature-item:hover, .why-card:hover {
    border-color: rgba(229, 9, 20, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}
.feature-icon, .why-card-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: auto;
}
.why-card-icon {
    margin-bottom: 16px;
}
.feature-item h4, .why-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.feature-item p, .why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.content-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 5/4;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.content-card-bg {
    position: absolute;
    inset: 0;
    filter: brightness(0.5);
    transition: all 0.5s;
}
.content-card:hover .content-card-bg {
    filter: brightness(0.7);
    transform: scale(1.05);
}
.content-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}
.content-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(229, 9, 20, 0.8);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.content-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
}
.compat-devices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}
.compat-device {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}
.compat-device:hover {
    border-color: var(--primary);
}
.compat-device-icon {
    font-size: 36px;
    margin-bottom: 10px;
}
.compat-device p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.compat-right h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}
.step {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
}
.step:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}
.step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: white;
}
.step h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* ===== FAQ Elements ===== */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: all 0.3s;
}
.faq-item:hover {
    border-color: rgba(229, 9, 20, 0.3);
}
.faq-item.open {
    border-color: var(--primary);
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}
.faq-q-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}
.faq-question h4 {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.faq-toggle {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.3s;
}
.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer {
    max-height: 300px;
}
.faq-answer-inner {
    padding: 0 24px 20px 70px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}
.faq-hero, .blog-hero, .dl-hero {
    padding: 120px 0 40px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 30%, rgba(229, 9, 20, 0.08) 0%, transparent 60%);
}
.faq-hero h1, .blog-hero h1, .dl-hero h1 {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.faq-hero p, .blog-hero p, .dl-hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}
/* ===== Download Page Elements ===== */
.dl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}
.dl-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 32px 0 16px;
}
.dl-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}
.dl-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.dl-info-item {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    text-align: center;
}
.dl-info-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.dl-info-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
.install-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.install-step {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}
.install-step:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}
.install-step-num {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: white;
    margin: 0 auto 16px;
}
.install-step h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.install-step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.tv-code-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--bg-card);
    border: 2px dashed var(--primary);
    border-radius: 14px;
    margin: 20px 0 32px;
}
.tv-code-box span {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 4px;
}
.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: auto;
    margin-top: 32px;
    max-width: 1200px;
}
.safety-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}
.safety-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #22c55e;
}
.safety-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}
/* ===== Blog Elements ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 60px 0 80px;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 9, 20, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.blog-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-muted);
    position: relative;
}
.blog-card-body {
    padding: 24px;
}
.blog-card-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.blog-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s;
}
.read-more:hover {
    gap: 10px;
}
/* ===== Animations & Responsive ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    text-align: center;
}
@media (max-width: 1024px) {
    .hero .container, .about-grid, .compat-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero-image {
        order: -1;
    }
    .features-grid, .why-grid, .install-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-social {
        align-items: flex-start;
    }
    .dl-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.open {
        display: flex;
    }
    .mobile-toggle {
        display: flex;
    }
    .hero h1, .dl-hero h1, .faq-hero h1, .blog-hero h1, .section-title {
        font-size: 28px;
    }
    .features-grid, .why-grid, .install-steps, .content-grid, .blog-grid, .safety-grid {
        grid-template-columns: 1fr;
    }
    .dl-buttons {
        flex-direction: column;
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .section {
        padding: 50px 0;
    }
    .compat-devices {
        grid-template-columns: 1fr;
    }
}
