/* Basic CSS Reset & Variables */
:root {
    --primary-color: #1DB954; /* Spotify green example, change as needed */
    --bg-color: #f4f7f6;
    --text-color: #333;
    --card-bg: #fff;
    --border-radius: 8px;
}

/* 🔥 Added Smooth Scrolling */
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0; padding: 0; line-height: 1.6;
}

.container { width: 90%; max-width: 1000px; margin: 0 auto; }

/* Header */
.main-header { background: var(--card-bg); padding: 15px 0; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: bold; text-decoration: none; color: var(--primary-color); }
.main-nav a { margin-left: 15px; text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s ease; }
.main-nav a:hover { color: var(--primary-color); }

/* Hero Section */
.hero-section { background: var(--card-bg); padding: 30px; border-radius: var(--border-radius); margin-top: 30px; display: flex; gap: 20px; align-items: center; }
.app-icon img { border-radius: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.meta-data .badge { background: #eee; padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; margin-right: 5px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 20px; text-decoration: none; border-radius: var(--border-radius); font-weight: bold; text-align: center; cursor: pointer; transition: all 0.3s ease; border: none; }
.btn-primary { background: var(--primary-color); color: #fff; box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4); }
.btn-large { padding: 15px 30px; font-size: 1.1rem; margin-top: 15px; display: inline-block; }

/* Screenshots */
.screenshot-gallery { display: flex; overflow-x: auto; gap: 15px; padding-bottom: 15px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.screenshot-gallery img { height: 300px; border-radius: var(--border-radius); scroll-snap-align: start; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* 🔥 Custom Scrollbar for Screenshots (Premium Look) */
.screenshot-gallery::-webkit-scrollbar { height: 8px; }
.screenshot-gallery::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 10px; }
.screenshot-gallery::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.screenshot-gallery::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Responsive */
@media (max-width: 768px) {
    .hero-section { flex-direction: column; text-align: center; }
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.8rem; color: var(--text-color); cursor: pointer; transition: color 0.3s; }
.mobile-menu-btn:hover { color: var(--primary-color); }

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .main-nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; width: 100%; background: var(--card-bg); box-shadow: 0 4px 6px rgba(0,0,0,0.1); padding: 15px 0; z-index: 1000; text-align: center; }
    .main-nav.active { display: flex; animation: slideDown 0.3s ease forwards; }
    .main-nav a { margin: 10px 0; display: block; padding: 10px; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- CENTERED & UNIQUE HEADINGS --- */
h1, h2, h3 { text-align: center; color: #0f172a; font-weight: 800; margin-bottom: 30px; position: relative; padding-bottom: 10px; }
h1::after, h2::after, h3::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: var(--primary-color); border-radius: 5px; }

/* --- PREMIUM APP INFO TABLE --- */
.app-info-wrapper { background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); overflow: hidden; margin: 40px auto; max-width: 800px; border: 1px solid #e2e8f0; }
.app-info-table { width: 100%; border-collapse: collapse; }
.app-info-table tr:nth-child(odd) { background-color: #f8fafc; }
.app-info-table td { padding: 16px 20px; border-bottom: 1px solid #e2e8f0; color: #334155; font-size: 15px; }
.app-info-table tr:last-child td { border-bottom: none; }
.app-info-table td:first-child { font-weight: 700; color: #0f172a; width: 40%; border-right: 1px solid #e2e8f0; }
.app-info-table i { color: var(--primary-color); margin-right: 8px; width: 20px; text-align: center; }

/* --- FAQ ACCORDION DESIGN --- */
.faq-container { max-width: 800px; margin: 0 auto 40px; }
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 15px; overflow: hidden; transition: box-shadow 0.3s ease; }
.faq-item:hover { box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.faq-question { padding: 18px 20px; font-weight: bold; color: #0f172a; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #f8fafc; margin: 0; transition: background 0.3s; }
.faq-question:hover { background: #f1f5f9; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out; color: #475569; line-height: 1.6; }
.faq-item.active .faq-answer { padding: 20px; max-height: 1000px; border-top: 1px solid #e2e8f0; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary-color); }
.faq-question i { transition: transform 0.3s ease, color 0.3s ease; }
