/* ================================================================
   LuxApps Theme — Main Stylesheet
   SmartSites-inspired layout: top bar, sticky header, hero, sections
   All colors use CSS custom properties set by Customizer
   ================================================================ */

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--luxapps-text, #1a1a2e);
    background-color: var(--luxapps-body-bg, #ffffff);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--luxapps-heading, #0a0a1a);
    line-height: 1.2;
    font-weight: 700;
}

a { color: var(--luxapps-link, #0066FF); text-decoration: none; transition: all 0.3s ease; }
a:hover { opacity: 0.85; }

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

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

.text-center { text-align: center; }
.mt-lg { margin-top: 3rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-accent {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary { background: var(--luxapps-primary, #0066FF); color: var(--luxapps-btn-text, #fff); }
.btn-primary:hover { background: var(--luxapps-secondary, #00D4AA); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

.btn-secondary { background: transparent; color: var(--luxapps-primary, #0066FF); border: 2px solid var(--luxapps-primary, #0066FF); }
.btn-secondary:hover { background: var(--luxapps-primary, #0066FF); color: var(--luxapps-btn-text, #fff); }

.btn-accent { background: var(--luxapps-accent, #FF6B35); color: var(--luxapps-btn-text, #fff); }

.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-xl { padding: 20px 50px; font-size: 18px; border-radius: 12px; }

/* ── Top Bar (SmartSites-style) ──────────────────────────── */
.topbar {
    background: var(--luxapps-topbar-bg, #0a0a1a);
    color: var(--luxapps-topbar-text, #fff);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-badge { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar-badge i { color: var(--luxapps-accent, #FF6B35); }

.topbar-right { display: flex; align-items: center; gap: 20px; }

.topbar-link {
    color: var(--luxapps-topbar-text, #fff) !important;
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; opacity: 0.9;
}
.topbar-link:hover { opacity: 1; }

.topbar-cta {
    background: var(--luxapps-accent, #FF6B35);
    color: var(--luxapps-btn-text, #fff) !important;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.topbar-cta:hover { opacity: 0.9; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
    background: var(--luxapps-header-bg, #fff);
    padding: 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1000;
}

.site-header.sticky-header {
    position: sticky;
    top: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 75px;
}

.header-logo a { display: inline-flex; align-items: center; }
.header-logo img { max-height: 45px; width: auto; }
.site-title-link { text-decoration: none; }
.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--luxapps-header-text, #1a1a2e);
    letter-spacing: -0.5px;
}

.main-nav { display: flex; align-items: center; gap: 8px; }

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0; padding: 0;
}

.nav-list li { position: relative; }

.nav-list li a {
    display: block;
    padding: 10px 16px;
    color: var(--luxapps-header-text, #1a1a2e);
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-list li a:hover,
.nav-list li.current-menu-item > a {
    background: rgba(0,102,255,0.06);
    color: var(--luxapps-primary, #0066FF);
}

/* Dropdown */
.nav-list li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--luxapps-header-bg, #fff);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 8px;
    min-width: 220px;
    z-index: 100;
    list-style: none;
}
.nav-list li:hover > ul.sub-menu { display: block; }
.nav-list li ul.sub-menu li a { padding: 10px 16px; font-size: 14px; }

/* Mega Menu */
.mega-menu-item { position: static; }
.mega-menu-item > ul.mega-sub-menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--luxapps-header-bg, #fff);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    border-radius: 0 0 16px 16px;
    padding: 32px;
    list-style: none;
    flex-wrap: wrap;
    gap: 16px;
    z-index: 100;
}
.mega-menu-item:hover > ul.mega-sub-menu { display: flex; }
.mega-sub-menu li { flex: 1; min-width: 180px; }
.mega-sub-menu li a {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}
.mega-sub-menu li a:hover {
    background: rgba(0,102,255,0.06);
}

.nav-list li a .fa-chevron-down { margin-left: 4px; opacity: 0.5; }

.header-cta { margin-left: 12px; }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--luxapps-header-text, #1a1a2e);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ── Hero Section ────────────────────────────────────────── */
.hero-section {
    background: var(--luxapps-hero-bg, #0a0a1a);
    color: var(--luxapps-hero-text, #fff);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,26,0.92), rgba(0,102,255,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.hero-badge i { color: var(--luxapps-accent, #FF6B35); }

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: inherit !important;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 36px;
    max-width: 600px;
    color: inherit !important;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat { text-align: left; }
.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--luxapps-accent, #FF6B35);
}
.stat-label { font-size: 14px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }

.hero-tags { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.tag-light { background: rgba(255,255,255,0.15); color: #fff; }

/* ── Section Headers ─────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: clamp(28px, 3vw, 42px);
    margin-bottom: 12px;
}
.section-header p {
    font-size: 17px;
    color: var(--luxapps-text, #666);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
    background: var(--luxapps-hero-bg, #0a0a1a);
    color: var(--luxapps-hero-text, #fff);
    padding: 60px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,10,26,0.85);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 12px; color: inherit; }
.page-hero p { font-size: 18px; opacity: 0.8; max-width: 600px; margin: 0 auto; color: inherit; }
.post-meta-hero { margin-top: 12px; font-size: 14px; opacity: 0.7; display: flex; gap: 16px; justify-content: center; }

/* ── Clients / Logos ─────────────────────────────────────── */
.clients-section {
    padding: 40px 0;
    background: var(--luxapps-body-bg, #f8f9fb);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.clients-title {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--luxapps-text, #888);
    margin-bottom: 24px;
    font-weight: 500;
}
.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.client-item img { max-height: 40px; opacity: 0.5; filter: grayscale(100%); transition: all 0.3s ease; }
.client-item img:hover { opacity: 1; filter: none; }
.client-name-text { font-size: 18px; font-weight: 700; color: var(--luxapps-text, #999); opacity: 0.5; }

/* ── Services ────────────────────────────────────────────── */
.services-section { padding: 100px 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    display: block;
    padding: 36px;
    background: var(--luxapps-body-bg, #fff);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--luxapps-primary, #0066FF), var(--luxapps-secondary, #00D4AA));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--luxapps-primary, #0066FF), var(--luxapps-secondary, #00D4AA));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.service-icon i { font-size: 22px; color: #fff; }

.service-card h3 { font-size: 20px; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 700; }
.service-card p { font-size: 15px; line-height: 1.6; opacity: 0.75; }

.service-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-size: 14px; font-weight: 600;
    color: var(--luxapps-primary, #0066FF);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* ── Portfolio / Apps ────────────────────────────────────── */
.portfolio-section { padding: 100px 0; background: #f8f9fb; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }

.portfolio-image { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover .portfolio-image img { transform: scale(1.05); }

.portfolio-overlay {
    position: absolute; inset: 0;
    background: rgba(0,102,255,0.85);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-info { padding: 24px; }
.portfolio-info h3 { font-size: 18px; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.portfolio-info h3 a { color: var(--luxapps-heading, #0a0a1a); }
.portfolio-info p { font-size: 14px; opacity: 0.7; margin-bottom: 12px; }

.portfolio-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
    background: rgba(0,102,255,0.08);
    color: var(--luxapps-primary, #0066FF);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.no-apps-notice { text-align: center; padding: 60px 20px; font-size: 16px; opacity: 0.6; }

/* Filter bar */
.filter-bar { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
    padding: 8px 20px; border-radius: 20px;
    border: 2px solid rgba(0,0,0,0.1);
    background: transparent;
    font-size: 14px; font-weight: 500;
    cursor: pointer; transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--luxapps-primary, #0066FF);
    color: var(--luxapps-btn-text, #fff);
    border-color: var(--luxapps-primary, #0066FF);
}

/* ── About / Why Us ──────────────────────────────────────── */
.about-section { padding: 100px 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img { border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }

.about-content h2 { font-size: 36px; margin-bottom: 16px; }
.about-desc { font-size: 16px; opacity: 0.8; margin-bottom: 32px; line-height: 1.8; }

.about-points { display: flex; flex-direction: column; gap: 20px; }
.about-point {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    transition: background 0.3s ease;
}
.about-point:hover { background: #f8f9fb; }

.point-icon { flex-shrink: 0; }
.point-icon i { font-size: 24px; color: var(--luxapps-secondary, #00D4AA); }

.about-point h4 { font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 4px; }
.about-point p { font-size: 14px; opacity: 0.7; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-section { padding: 100px 0; background: #f8f9fb; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: #fff;
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }

.testimonial-stars { margin-bottom: 16px; }
.testimonial-stars i { color: #FFB800; font-size: 16px; }
.testimonial-stars .fa-regular { color: #ddd; }

.testimonial-card blockquote {
    font-size: 15px; line-height: 1.7;
    font-style: italic; opacity: 0.85;
    margin-bottom: 24px;
    border: none; padding: 0;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.author-avatar-placeholder {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--luxapps-primary, #0066FF), var(--luxapps-secondary, #00D4AA));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
}

.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author span { font-size: 13px; opacity: 0.6; }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--luxapps-primary, #0066FF), var(--luxapps-secondary, #00D4AA));
    color: #fff;
    text-align: center;
}
.cta-content h2 { font-size: clamp(28px, 3vw, 42px); color: #fff; margin-bottom: 16px; }
.cta-content p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 36px; }
.cta-section .btn-primary {
    background: #fff;
    color: var(--luxapps-primary, #0066FF);
}
.cta-section .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--luxapps-footer-bg, #0a0a1a);
    color: var(--luxapps-footer-text, #b0b0c0);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {}
.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 12px;
}
.footer-tagline { font-size: 14px; opacity: 0.7; margin-bottom: 20px; line-height: 1.6; }

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--luxapps-footer-text, #b0b0c0) !important;
    transition: all 0.3s ease;
}
.footer-socials a:hover { background: var(--luxapps-primary, #0066FF); border-color: var(--luxapps-primary, #0066FF); color: #fff !important; }

.footer-widget h4, .widget-title {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget ul li { margin-bottom: 10px; }
.footer-widget ul li a {
    color: var(--luxapps-footer-text, #b0b0c0) !important;
    font-size: 14px;
    transition: color 0.2s ease;
}
.footer-widget ul li a:hover { color: #fff !important; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}
.footer-bottom p { font-size: 13px; opacity: 0.6; }

.footer-nav { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.footer-nav li a { font-size: 13px; color: var(--luxapps-footer-text, #b0b0c0) !important; opacity: 0.6; }
.footer-nav li a:hover { opacity: 1; }

/* ── Blog / Posts ────────────────────────────────────────── */
.blog-section { padding: 60px 0; }
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.posts-grid-3 { grid-template-columns: repeat(3, 1fr); }

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.post-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.post-card-body { padding: 20px; }
.post-meta { font-size: 12px; color: var(--luxapps-text, #888); margin-bottom: 8px; display: flex; gap: 12px; }
.post-card-body h2 { font-size: 18px; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.post-card-body h2 a { color: var(--luxapps-heading, #0a0a1a); }
.post-card-body p { font-size: 14px; opacity: 0.7; margin-bottom: 12px; }

.read-more {
    font-size: 14px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--luxapps-primary, #0066FF);
}

.blog-sidebar { padding: 20px; }
.sidebar-widget { margin-bottom: 30px; }

.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination a, .pagination span {
    padding: 8px 16px; border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 14px;
}
.pagination .current { background: var(--luxapps-primary, #0066FF); color: #fff; border-color: var(--luxapps-primary); }

/* ── Single Post / Page ──────────────────────────────────── */
.page-content-section { padding: 60px 0; }
.single-content-section { padding: 60px 0; }
.single-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

.single-featured-image { margin-bottom: 32px; }
.single-featured-image img { border-radius: 12px; width: 100%; }

.entry-content { line-height: 1.8; font-size: 16px; }
.entry-content h2 { margin: 32px 0 16px; }
.entry-content h3 { margin: 24px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content img { border-radius: 8px; margin: 20px 0; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 16px; }

.post-tags, .app-categories { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ── Author Bio Box ──────────────────────────────────────── */
.author-bio-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 48px;
    padding: 32px;
    background: #f8f9fb;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
}
.author-bio-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.author-bio-info h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 4px;
}
.author-bio-name {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
}
.author-bio-desc {
    font-size: 14px;
    opacity: 0.75;
    line-height: 1.7;
    margin-bottom: 12px;
}
.author-bio-link {
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--luxapps-primary, #0066FF);
}

/* ── Related Posts ───────────────────────────────────────── */
.related-posts-section { padding: 80px 0; background: #f8f9fb; }

/* ── App Single Page Extras ──────────────────────────────── */
.app-meta-bar {
    display: flex;
    gap: 32px;
    padding: 24px 32px;
    background: #f8f9fb;
    border-radius: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.app-meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    font-weight: 600;
    display: flex; align-items: center; gap: 6px;
}
.meta-value { font-size: 16px; font-weight: 600; }

.app-screenshots { margin-top: 48px; }
.app-screenshots h3 { font-family: 'Inter', sans-serif; margin-bottom: 20px; }
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.screenshot-item img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    width: 100%;
}
.screenshot-item:hover img { transform: scale(1.03); }

.app-tech-stack { margin-top: 32px; }
.app-tech-stack h3 { font-family: 'Inter', sans-serif; margin-bottom: 16px; }
.tech-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tech-tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0,102,255,0.08), rgba(0,212,170,0.08));
    border: 1px solid rgba(0,102,255,0.12);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--luxapps-primary, #0066FF);
}

.app-download-buttons {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.app-download-buttons .btn-primary i,
.app-download-buttons .btn-secondary i { margin-right: 8px; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }

.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item i { font-size: 20px; color: var(--luxapps-primary, #0066FF); margin-top: 4px; }
.contact-item h4 { font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 14px; opacity: 0.8; }
.contact-item a { color: var(--luxapps-primary, #0066FF); }

.form-placeholder {
    padding: 40px;
    background: #f8f9fb;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* ── Team Page ───────────────────────────────────────────── */
.team-section { padding: 80px 0; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.team-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.team-photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--luxapps-primary, #0066FF), var(--luxapps-secondary, #00D4AA));
    display: flex; align-items: center; justify-content: center;
}
.team-photo-placeholder span {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
}
.team-info { padding: 24px; }
.team-info h3 { font-size: 18px; font-family: 'Inter', sans-serif; margin-bottom: 4px; }
.team-role {
    display: block;
    font-size: 13px;
    color: var(--luxapps-primary, #0066FF);
    font-weight: 500;
    margin-bottom: 12px;
}
.team-bio { font-size: 13px; opacity: 0.7; line-height: 1.6; margin-bottom: 16px; }
.team-socials { display: flex; justify-content: center; gap: 12px; }
.team-socials a {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--luxapps-text, #666);
    font-size: 14px;
    transition: all 0.3s ease;
}
.team-socials a:hover {
    background: var(--luxapps-primary, #0066FF);
    color: #fff;
    border-color: var(--luxapps-primary, #0066FF);
}

/* ── Pricing Page ────────────────────────────────────────── */
.pricing-section { padding: 80px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    border: 2px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.pricing-featured {
    border-color: var(--luxapps-primary, #0066FF);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0,102,255,0.15);
}
.pricing-featured:hover { transform: scale(1.05) translateY(-6px); }
.pricing-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--luxapps-primary, #0066FF);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pricing-name {
    font-size: 22px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
}
.pricing-price { margin-bottom: 16px; }
.price-amount {
    font-size: 42px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    color: var(--luxapps-heading, #0a0a1a);
}
.price-period { font-size: 14px; opacity: 0.5; }
.pricing-desc { font-size: 14px; opacity: 0.7; margin-bottom: 24px; }
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pricing-features li i { color: var(--luxapps-secondary, #00D4AA); font-size: 14px; }
.pricing-btn { width: 100%; }

/* ── FAQ Page ────────────────────────────────────────────── */
.faq-section { padding: 80px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item.active { border-color: var(--luxapps-primary, #0066FF); box-shadow: 0 4px 20px rgba(0,102,255,0.08); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--luxapps-heading, #0a0a1a);
    text-align: left;
}
.faq-question i { transition: transform 0.3s ease; color: var(--luxapps-primary, #0066FF); }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}
.faq-answer p { font-size: 15px; line-height: 1.7; opacity: 0.8; }

/* ── Comments ────────────────────────────────────────────── */
.comments-section { padding: 60px 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid, .portfolio-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .posts-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .topbar-left { display: none; }
    .topbar-right { width: 100%; justify-content: center; gap: 12px; }

    .mobile-toggle { display: flex; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--luxapps-header-bg, #fff);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
    }
    .main-nav.open { display: flex; }

    .nav-list { flex-direction: column; }
    .nav-list li a { padding: 12px 16px; }
    .nav-list li ul.sub-menu,
    .mega-menu-item > ul.mega-sub-menu { position: static; box-shadow: none; padding: 0 0 0 16px; display: block; flex-direction: column; }

    .header-cta { margin-left: 0; width: 100%; text-align: center; }

    .hero-section { padding: 60px 0; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 16px; }

    .services-grid, .portfolio-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .blog-layout, .single-layout, .contact-grid { grid-template-columns: 1fr; }
    .posts-grid, .posts-grid-3 { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }

    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .author-bio-box { flex-direction: column; align-items: center; text-align: center; }

    .app-meta-bar { flex-direction: column; gap: 16px; }

    .pricing-featured { transform: none; }
    .pricing-featured:hover { transform: translateY(-6px); }
}
