/* =============================================
   Q8 Dev – Shared Stylesheet
   To change the site-wide look, edit this file.
   ============================================= */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

a { color: #00ccff; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; }

ul { padding-left: 20px; }

hr { border: none; border-top: 1px solid #333; margin: 40px 0; }

/* ---------- Layout ---------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ---------- Header ---------- */
header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 2px solid #1a1a1a;
}

.logo {
    font-size: 48px;
    font-weight: 800;
    color: #00ff88;
    text-shadow: 0 0 20px #00ff88;
    letter-spacing: 2px;
}

.tagline {
    color: #888;
    font-size: 18px;
    margin-top: 10px;
}

/* ---------- Apps Grid (homepage) ---------- */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 60px 0;
}

.app-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.app-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }

.app-title {
    font-size: 20px;
    font-weight: 600;
    color: #00ff88;
    margin-bottom: 10px;
}

.app-description {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 16px;
}

.app-card ul { color: #888; font-size: 13px; margin: 12px 0; }
.app-card ul li { margin-bottom: 4px; }

.app-badge img { width: 150px; height: auto; margin-top: 12px; display: block; }

.learn-more { display: inline-block; margin-top: 12px; font-size: 14px; color: #00ccff; }

/* Coming-soon overlay */
.coming-soon { opacity: 0.55; }
.coming-soon::after {
    content: "Coming Soon";
    position: absolute;
    top: 16px; right: 16px;
    background: #00ccff;
    color: #0a0a0a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ---------- Contact Section ---------- */
.contact-section {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    margin: 60px 0;
}

.contact-section h2 { color: #00ff88; margin-bottom: 12px; }
.contact-section a { font-size: 18px; }

/* ---------- Footer ---------- */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 2px solid #333;
    color: #555;
    font-size: 14px;
}

footer a { color: #00ccff; margin: 0 12px; }
footer .footer-links { margin-bottom: 16px; }

/* ---------- App Detail Page ---------- */
.back-link { display: inline-block; margin-bottom: 24px; color: #00ccff; font-size: 14px; }

.app-detail-title {
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
    font-size: 32px;
    margin-bottom: 12px;
}

.app-detail-subtitle { font-size: 17px; color: #aaa; margin-bottom: 24px; }

.feature-list {
    background: rgba(0,255,136,0.05);
    padding: 20px 24px;
    border-radius: 8px;
    border-left: 3px solid #00ff88;
    margin-bottom: 24px;
}

.feature-list li { margin-bottom: 6px; color: #ccc; font-size: 15px; }

.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.screenshot { width: 100%; border-radius: 12px; border: 1px solid #333; }

.store-badge img { width: 200px; height: auto; margin: 20px 0; display: block; }

/* ---------- Legal / Support Pages ---------- */
.legal-content h1 { color: #00ff88; text-shadow: 0 0 10px #00ff88; margin-bottom: 8px; }
.legal-content .last-updated { color: #666; font-style: italic; margin-bottom: 32px; font-size: 14px; }
.legal-content h2 { color: #00ccff; margin: 32px 0 12px; }
.legal-content p, .legal-content li { color: #ccc; font-size: 15px; margin-bottom: 8px; }
.legal-content ul { margin-bottom: 16px; }

.faq-item {
    background: #1a1a1a;
    border-left: 3px solid #00ff88;
    padding: 16px;
    margin: 16px 0;
    border-radius: 0 8px 8px 0;
}

.faq-question { color: #00ff88; font-weight: 700; margin-bottom: 6px; }
.faq-answer { color: #aaa; font-size: 14px; }

/* ---------- Page nav (legal pages) ---------- */
.page-nav {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #333;
    font-size: 14px;
}

.page-nav a { margin: 0 10px; color: #00ccff; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .logo { font-size: 36px; }
    .tagline { font-size: 15px; }
    .apps-grid { grid-template-columns: 1fr; }
    .app-detail-title { font-size: 26px; }
}
