/*
Theme Name: Dixmax APK Clean Minimalist
Theme URI: https://glossywise.com
Author: Glossywise
Author URI: https://glossywise.com
Description: Ultra-fast, clean minimalism (White & Orange) micro-niche theme for Dixmax APK downloads, specs tables, and technical tutorials. Mobile-first, SEO optimized with FAQ schemas.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dixmax-theme
Tags: custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, micro-niche, mobile-ready, seo-friendly, right-sidebar, two-columns, white, orange, blog
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --primary: #f97316;
  --primary-hover: #ea580c;
  --primary-light: #fff7ed;
  --primary-border: #fed7aa;
  --accent: #f59e0b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg-page); color: #334155; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-dark); font-weight: 800; }
a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary-hover); }

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

/* Top Announcement Bar */
.top-bar { background: #ea580c; color: #fff; font-size: 12px; padding: 8px 0; font-weight: 600; text-align: center; }
.top-bar a { color: #fff; text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px); border-bottom: 1px solid var(--primary-border); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 20px; box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25); }
.brand-title { font-family: var(--font-heading); font-size: 24px; font-weight: 900; color: var(--text-dark); display: flex; align-items: center; gap: 6px; }
.brand-badge { background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; }

/* Navigation */
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; background: #f1f5f9; padding: 6px; border-radius: 9999px; }
.nav-menu li a { display: block; padding: 8px 20px; color: #475569; font-size: 14px; font-weight: 700; border-radius: 9999px; }
.nav-menu li.current-menu-item a, .nav-menu li a:hover { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3); }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff !important; font-weight: 800; font-size: 14px; padding: 12px 24px; border-radius: 12px; box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35); border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; color: var(--primary) !important; border: 2px solid var(--primary-border); font-weight: 800; font-size: 14px; padding: 10px 22px; border-radius: 12px; cursor: pointer; }
.btn-outline:hover { border-color: var(--primary); background: var(--primary-light); }

/* Hero Section */
.hero-section { padding: 48px 0 32px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media(min-width: 1024px) { .hero-grid { grid-template-columns: 1.25fr 1fr; align-items: center; } }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 9999px; border: 1px solid var(--primary-border); margin-bottom: 16px; }
.hero-title { font-size: 38px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.15; }
@media(min-width: 768px) { .hero-title { font-size: 48px; } }
.text-gradient-orange { background: linear-gradient(135deg, #ea580c, #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 16px; color: #475569; margin-bottom: 24px; line-height: 1.6; }

/* Specs Card */
.specs-card { background: var(--bg-card); border-radius: 24px; padding: 24px; border: 1px solid var(--primary-border); box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.15); }
.specs-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.specs-table tr { border-bottom: 1px solid #f1f5f9; }
.specs-table td { padding: 10px 4px; font-size: 13px; }
.specs-table td:first-child { color: var(--text-muted); font-weight: 600; }
.specs-table td:last-child { color: var(--text-dark); font-weight: 800; text-align: right; }

/* Features Grid */
.section-title { font-size: 28px; font-weight: 900; text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: #64748b; font-size: 15px; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 40px 0; }
.feature-card { background: var(--bg-card); border-radius: 20px; padding: 24px; border: 1px solid #e2e8f0; transition: all 0.2s ease; }
.feature-card:hover { border-color: var(--primary-border); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.feature-title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.feature-desc { font-size: 13px; color: #64748b; line-height: 1.6; }

/* FAQ Accordion */
.faq-box { background: var(--bg-card); border-radius: 20px; padding: 20px; border: 1px solid #e2e8f0; margin-bottom: 12px; }
.faq-question { font-size: 16px; font-weight: 800; color: var(--text-dark); cursor: pointer; }
.faq-answer { font-size: 14px; color: #64748b; margin-top: 10px; line-height: 1.6; }

/* Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin: 32px 0; }
.blog-card { background: var(--bg-card); border-radius: 20px; overflow: hidden; border: 1px solid #e2e8f0; transition: all 0.2s ease; display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--primary-border); box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.15); transform: translateY(-3px); }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-category-badge { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; margin-bottom: 12px; align-self: flex-start; }
.blog-card-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.blog-card-title a { color: var(--text-dark); }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }

/* Single Post */
.single-post-container { max-width: 860px; margin: 40px auto; background: var(--bg-card); border-radius: 24px; padding: 36px; border: 1px solid #e2e8f0; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.single-post-header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #f1f5f9; }
.single-post-title { font-size: 32px; font-weight: 900; margin-bottom: 14px; }
.single-post-meta { display: flex; gap: 16px; font-size: 13px; color: #64748b; }
.entry-content { font-size: 16px; line-height: 1.8; color: #334155; }
.entry-content h2 { font-size: 24px; margin: 32px 0 14px 0; border-bottom: 2px solid var(--primary-light); padding-bottom: 8px; }
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { margin: 16px 0 24px 28px; }
.entry-content li { margin-bottom: 8px; }

/* In-Article Download Box */
.download-callout-box { background: linear-gradient(135deg, var(--primary-light), #ffffff); border: 2px dashed var(--primary); border-radius: 20px; padding: 24px; margin: 32px 0; text-align: center; }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 60px 0 30px 0; margin-top: 60px; border-top: 1px solid #1e293b; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; margin-bottom: 40px; }
.footer-heading { color: #fb923c; font-size: 13px; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.footer-menu { list-style: none; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: #94a3b8; font-size: 14px; }
.footer-menu a:hover { color: #fb923c; }
.footer-contact-box { background: #1e293b; border-radius: 12px; padding: 16px; border: 1px solid #334155; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; font-size: 12px; color: #64748b; gap: 12px; }
@media(min-width: 768px) { .footer-bottom { flex-direction: row; } }
