/* CSS Reset and Optimized Design System */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-body: #0b0f19;
    --bg-card: #151d2a;
    --bg-card-alt: #1a2332;
    --primary-orange: #ff9900;
    --primary-orange-hover: #e68a00;
    --accent-blue: #00d2ff;
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --border-color: #232e42;
}

html {
    scroll-behavior: smooth;
    font-display: swap;
}

body {
    background-color: var(--bg-body);
    color: var(--text-white);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Top Bar / Header */
.header {
    background-color: #070a12;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-orange);
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--text-white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary-orange);
}

.btn-header {
    background-color: var(--primary-orange);
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.btn-header:hover {
    background-color: var(--primary-orange-hover);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
}

/* Hero Section Optimized for LCP */
.hero-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #070a12 0%, var(--bg-body) 100%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 153, 0, 0.12);
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-text p {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-main {
    background-color: var(--primary-orange);
    color: #000;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}

.btn-main:hover {
    background-color: var(--primary-orange-hover);
}

.btn-sec {
    background-color: var(--bg-card);
    color: var(--text-white);
    border: 1px solid var(--border-color);
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.hero-img-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--primary-orange);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
    background-color: var(--bg-card-alt);
    aspect-ratio: 1/1;
}

.hero-box h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.hero-box .rating {
    color: #ffc107;
    font-size: 14px;
    margin-top: 5px;
}

/* App Details Table */
.info-section {
    padding: 40px 0 20px 0;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.info-table th, .info-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.info-table th {
    width: 35%;
    background-color: var(--bg-card-alt);
    color: var(--primary-orange);
    font-weight: 700;
}

/* SEO Article Content Section */
.content-section {
    padding: 30px 0;
}

.content-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
}

.content-box h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
    margin-top: 25px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

.content-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-top: 20px;
    margin-bottom: 12px;
}

.content-box p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content-box ol, .content-box ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.content-box li {
    margin-bottom: 8px;
    font-size: 15px;
}

.content-box .alert-box {
    background-color: rgba(255, 153, 0, 0.08);
    border-left: 4px solid var(--primary-orange);
    padding: 15px;
    border-radius: 0 6px 6px 0;
    margin-top: 20px;
}

.content-box .alert-box p {
    color: var(--text-white);
    margin-bottom: 0;
}

/* Download Section */
.download-box-section {
    padding: 50px 0;
    background-color: var(--bg-card-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.download-inner {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}

.download-inner h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.download-inner p {
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* Features Responsive Grid */
.features-section {
    padding: 50px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-card i {
    font-size: 32px;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* FAQ Accordion Section */
.faq-section {
    padding: 50px 0;
    background-color: var(--bg-card-alt);
}

.faq-container {
    max-width: 800px;
    margin: 30px auto 0;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-header {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-body {
    padding: 0 20px 18px 20px;
    display: none;
    color: var(--text-gray);
    font-size: 14px;
}

/* Footer */
footer {
    background-color: #05070c;
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    font-size: 14px;
    color: var(--text-gray);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a, .footer-links button {
    color: var(--text-gray);
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-links a:hover, .footer-links button:hover {
    color: var(--primary-orange);
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    max-width: 650px;
    width: 100%;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-height: 85vh;
    overflow-y: auto;
}

.modal-content h3 {
    font-size: 20px;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-gray);
    font-size: 22px;
    cursor: pointer;
    background: none;
    border: none;
}

.close-btn:hover {
    color: var(--primary-orange);
}

/* ------------------------------------ */
/* RESPONSIVE MEDIA QUERIES (FULL FIX) */
/* ------------------------------------ */

/* Tablets & Medium Screens (768px - 1024px) */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Tablets & Mobile Devices (Max 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #070a12;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .badge {
        margin: 0 auto 15px auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title::after, .content-box h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .info-table th {
        width: 45%;
    }

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Ultra Small Screens (Max 480px) */
@media (max-width: 480px) {
    .content-box {
        padding: 20px 15px;
    }

    .btn-main, .btn-sec {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
}
