/*
Theme Name: APK Developer Theme
Theme URI: https://example.com/apk-developer-theme
Author: APK Developer
Author URI: https://example.com
Description: A premium, SEO-optimized, multi-language WordPress theme for single-APK niche websites. Features dark/light mode, Rank Math compatibility, custom admin panel, and structured data support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apk-developer
Tags: dark-mode, one-page, seo-optimized, custom-colors, translation-ready
*/

/* ============================================
   DESIGN SYSTEM — CSS Custom Properties
   ============================================ */

/* ---- Dark Mode (Default) ---- */
body.theme-dark {
    --bg-primary: #0a0a14;
    --bg-secondary: #0f0f1e;
    --bg-card: #161630;
    --bg-card-hover: #1c1c3a;
    --bg-glass: rgba(22, 22, 48, 0.6);
    --bg-glass-border: rgba(255, 255, 255, 0.06);
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b82;
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.10);
    --gradient-subtle-bg: rgba(0, 212, 170, 0.12);
    --gradient-subtle-bg2: rgba(124, 58, 237, 0.12);
}

/* ---- Light Mode ---- */
body.theme-light {
    --bg-primary: #f4f5f9;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f1f5;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-glass-border: rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a2e;
    --text-secondary: #555570;
    --text-muted: #8888a0;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(0, 212, 170, 0.08);
    --gradient-subtle-bg: rgba(0, 212, 170, 0.08);
    --gradient-subtle-bg2: rgba(124, 58, 237, 0.08);
}

/* ---- Theme-independent variables ---- */
:root {
    --accent-primary: #00d4aa;
    --accent-secondary: #7c3aed;
    --accent-primary-dim: rgba(0, 212, 170, 0.15);
    --accent-secondary-dim: rgba(124, 58, 237, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --gradient-subtle: linear-gradient(135deg, var(--gradient-subtle-bg, rgba(0, 212, 170, 0.12)) 0%, var(--gradient-subtle-bg2, rgba(124, 58, 237, 0.12)) 100%);
    --gradient-btn: linear-gradient(135deg, var(--accent-primary) 0%, #00b894 50%, var(--accent-secondary) 100%);
    --star-filled: #fbbf24;
    --star-empty: #3b3b52;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s ease;
    --transition-med: 0.35s ease;
    --max-width: 1100px;
    --nav-height: 68px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: #00f5c4;
}

body.theme-light a:hover {
    color: #00a88a;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Screen reader only */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* ---- Section Base ---- */
.section {
    padding: 70px 0;
}

.section-title {
    font-size: 1.85rem;
    margin-bottom: 12px;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bg-glass-border), rgba(0, 212, 170, 0.15), var(--bg-glass-border), transparent);
    margin: 0;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(10, 10, 20, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--bg-glass-border);
    transition: background var(--transition-med);
}

body.theme-light .navbar {
    background: rgba(255, 255, 255, 0.85);
}

.navbar.scrolled {
    background: rgba(10, 10, 20, 0.95);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

body.theme-light .navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
}

.nav-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-lang-switcher {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--bg-glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
}

body.theme-light .nav-lang-switcher {
    background: rgba(0, 0, 0, 0.04);
}

.nav-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-btn);
    background-size: 200% 200%;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all var(--transition-med);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.25);
    text-decoration: none;
}

.nav-download-btn:hover {
    background-position: 100% 0;
    box-shadow: 0 6px 30px rgba(0, 212, 170, 0.4);
    transform: translateY(-1px);
    color: #fff;
}

.nav-spacer {
    height: var(--nav-height);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 16px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent-primary);
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumbs .current {
    color: var(--text-secondary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

body.theme-light .hero::before {
    background: radial-gradient(circle, rgba(0, 212, 170, 0.05) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--accent-primary-dim);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.15;
}

.hero-title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.stars {
    display: flex;
    gap: 3px;
}

.stars .star {
    color: var(--star-filled);
    font-size: 1.1rem;
}

.stars .star.empty {
    color: var(--star-empty);
}

.hero-rating-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-rating-text strong {
    color: var(--text-primary);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-download-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--gradient-btn);
    background-size: 200% 200%;
    border-radius: 60px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all var(--transition-med);
    box-shadow: 0 6px 30px rgba(0, 212, 170, 0.3);
    text-decoration: none;
}

.btn-download-hero:hover {
    background-position: 100% 0;
    box-shadow: 0 8px 40px rgba(0, 212, 170, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: 60px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-med);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-visual {
    flex-shrink: 0;
    position: relative;
}

.hero-app-icon {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-xl);
    background: var(--gradient-subtle);
    border: 2px solid var(--bg-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    overflow: hidden;
}

.hero-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-app-icon .icon-placeholder {
    font-size: 5rem;
}

.hero-version-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    padding: 6px 14px;
    background: var(--accent-secondary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* ============================================
   QUICK INFO BAR
   ============================================ */
.quick-info {
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-glass-border);
    border-bottom: 1px solid var(--bg-glass-border);
}

.quick-info-grid {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
}

.quick-info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 16px;
    min-width: 140px;
    border-right: 1px solid var(--bg-glass-border);
    transition: background var(--transition-fast);
}

.quick-info-item:last-child {
    border-right: none;
}

.quick-info-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

body.theme-light .quick-info-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.quick-info-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.quick-info-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.quick-info-value.accent {
    color: var(--accent-primary);
}

/* ============================================
   SCREENSHOT GALLERY
   ============================================ */
.screenshots {
    background: var(--bg-primary);
}

.screenshot-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0 20px;
}

.screenshot-track::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex-shrink: 0;
    width: 220px;
    height: 390px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 40px rgba(0, 212, 170, 0.12);
}

.screenshot-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.screenshot-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    color: var(--text-secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.screenshot-nav-btn:hover {
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
    border-color: rgba(0, 212, 170, 0.3);
}

/* ============================================
   DESCRIPTION
   ============================================ */
.description-section {
    background: var(--bg-secondary);
}

.description-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.description-text {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.8;
}

.description-text p {
    margin-bottom: 16px;
}

.description-text h2,
.description-text h3 {
    margin: 20px 0 10px;
    color: var(--text-primary);
}

.description-text ul,
.description-text ol {
    margin: 12px 0;
    padding-left: 24px;
}

.description-text li {
    margin-bottom: 6px;
}

.description-collapsed {
    max-height: 180px;
    overflow: hidden;
    position: relative;
}

.description-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--bg-card));
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 20px;
    background: var(--accent-primary-dim);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.read-more-btn:hover {
    background: rgba(0, 212, 170, 0.25);
}

/* ============================================
   FEATURES
   ============================================ */
.features-section {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-med);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 170, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature detail card (with screenshot) */
.feature-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    transition: all var(--transition-med);
}

.feature-detail-card:hover {
    border-color: rgba(0, 212, 170, 0.15);
    box-shadow: var(--shadow-card);
}

.feature-detail-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.feature-detail-body {
    padding: 24px;
}

.feature-detail-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.feature-detail-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 212, 170, 0.06), transparent 70%);
    pointer-events: none;
}

.download-box {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.download-box-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.25);
    overflow: hidden;
}

.download-box-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-box h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.download-box .version-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.download-file-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.download-file-info-item {
    text-align: center;
}

.download-file-info-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.download-file-info-item .value {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
}

.btn-download-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 50px;
    background: var(--gradient-btn);
    background-size: 200% 200%;
    border-radius: 60px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    transition: all var(--transition-med);
    box-shadow: 0 8px 35px rgba(0, 212, 170, 0.3);
    margin-bottom: 20px;
    text-decoration: none;
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-download-main:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 12px 45px rgba(0, 212, 170, 0.5);
    color: #fff;
    animation: none;
}

.download-mirrors {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.mirror-link {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bg-glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.mirror-link:hover {
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
    border-color: rgba(0, 212, 170, 0.2);
}

.safety-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 8px 18px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: #22c55e;
    font-weight: 600;
}

/* ============================================
   INSTALL GUIDE
   ============================================ */
.install-guide {
    background: var(--bg-primary);
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.install-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-med);
}

.install-step:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 170, 0.12);
    transform: translateX(6px);
}

.step-number {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.step-content h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Rich editor install content */
.install-content {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 700px;
    margin: 0 auto;
}

.install-content h3 {
    margin: 16px 0 8px;
}

.install-content p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.install-content ol,
.install-content ul {
    padding-left: 24px;
    color: var(--text-secondary);
}

.install-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ============================================
   APP INFO TABLE
   ============================================ */
.app-info-section {
    background: var(--bg-secondary);
}

.app-info-table {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.app-info-row {
    display: flex;
    align-items: center;
    padding: 16px 28px;
    border-bottom: 1px solid var(--bg-glass-border);
    transition: background var(--transition-fast);
}

.app-info-row:last-child {
    border-bottom: none;
}

.app-info-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

body.theme-light .app-info-row:hover {
    background: rgba(0, 0, 0, 0.02);
}

.app-info-key {
    flex: 0 0 200px;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.app-info-val {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 600;
}

/* ============================================
   WHAT'S NEW
   ============================================ */
.whats-new {
    background: var(--bg-primary);
}

.changelog-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.changelog-version {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: var(--accent-secondary-dim);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 18px;
}

.changelog-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.changelog-content {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.changelog-content ul {
    list-style: none;
}

.changelog-content li {
    position: relative;
    padding: 8px 0 8px 24px;
}

.changelog-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
}

/* ============================================
   OLD VERSIONS
   ============================================ */
.old-versions {
    background: var(--bg-secondary);
}

.old-versions-table {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.old-version-row {
    display: flex;
    align-items: center;
    padding: 18px 28px;
    border-bottom: 1px solid var(--bg-glass-border);
    gap: 20px;
    transition: background var(--transition-fast);
}

.old-version-row:last-child {
    border-bottom: none;
}

.old-version-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.old-version-info {
    flex: 1;
}

.old-version-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.old-version-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.old-version-size {
    color: var(--text-secondary);
    font-size: 0.85rem;
    min-width: 70px;
    text-align: center;
}

.old-version-download {
    padding: 8px 20px;
    background: var(--accent-primary-dim);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.old-version-download:hover {
    background: rgba(0, 212, 170, 0.25);
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-section {
    background: var(--bg-secondary);
}

.reviews-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.reviews-summary {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}

.reviews-average {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reviews-total {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
}

.rating-bar-label {
    flex: 0 0 14px;
    text-align: right;
    color: var(--text-muted);
    font-weight: 600;
}

.rating-bar-track {
    flex: 1;
    height: 8px;
    background: var(--bg-primary);
    border-radius: 50px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: var(--gradient-primary);
}

.rating-bar-count {
    flex: 0 0 30px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-primary);
}

.review-meta {
    flex: 1;
}

.review-name {
    font-weight: 600;
    font-size: 0.92rem;
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    background: var(--bg-primary);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item.active {
    border-color: rgba(0, 212, 170, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

body.theme-light .faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform var(--transition-med), color var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-med) ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CONCLUSION
   ============================================ */
.conclusion-section {
    background: var(--bg-secondary);
}

.conclusion-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.conclusion-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.conclusion-cta {
    text-align: center;
    margin-top: 28px;
}

/* ============================================
   RELATED APPS
   ============================================ */
.related-apps {
    background: var(--bg-primary);
}

.related-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.related-app-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-med);
    text-decoration: none;
}

.related-app-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 170, 0.12);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.related-app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-subtle);
    overflow: hidden;
    flex-shrink: 0;
}

.related-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-app-info h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.related-app-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   BLOG POSTS
   ============================================ */
.recent-blog {
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-med);
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(0, 212, 170, 0.12);
}

.blog-card-img {
    width: 100%;
    height: 180px;
    background: var(--gradient-subtle);
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-category {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.blog-card-meta {
    padding: 14px 20px;
    border-top: 1px solid var(--bg-glass-border);
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-glass-border);
    padding: 50px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links-group h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid var(--bg-glass-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 500px;
    text-align: right;
    line-height: 1.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 6px 30px rgba(0, 212, 170, 0.3);
    }

    50% {
        box-shadow: 0 6px 50px rgba(0, 212, 170, 0.5);
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-med);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
    border-color: rgba(0, 212, 170, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-rating {
        justify-content: center;
    }

    .reviews-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .section {
        padding: 50px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero-app-icon {
        width: 140px;
        height: 140px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-box {
        padding: 28px 20px;
    }

    .download-file-info {
        gap: 16px;
    }

    .app-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 14px 20px;
    }

    .app-info-key {
        flex: none;
    }

    .related-apps-grid {
        grid-template-columns: 1fr;
    }

    .quick-info-item {
        min-width: 110px;
        padding: 16px 10px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .old-version-row {
        flex-wrap: wrap;
    }
}