/* ==========================================================================
   Dream Apps Labs — Luxury Tech Blog & Article Styling
   Theme: True OLED Black, Glassmorphism, Neon Accents, JetBrains Mono
   ========================================================================== */

:root {
    --bg-color: #030712;
    --bg-surface: rgba(15, 23, 42, 0.65);
    --bg-surface-elevated: rgba(30, 41, 59, 0.75);
    --bg-surface-hover: rgba(30, 41, 59, 0.9);
    --grid-color: rgba(255, 255, 255, 0.035);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-green: #10b981;
    --accent-emerald: #00ff87;
    --accent-blue: #38bdf8;
    --accent-purple: #818cf8;
    --accent-amber: #fbbf24;
    --accent-rose: #f43f5e;
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-glow: rgba(56, 189, 248, 0.3);
    --glow-color: rgba(56, 189, 248, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Ambient Background Light Orbs */
.ambient-glow-1 {
    position: absolute;
    top: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
}

.ambient-glow-2 {
    position: absolute;
    top: 800px;
    left: -150px;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.08) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px;
    position: relative;
}

.article-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 24px 20px;
    position: relative;
}

/* Navigation Bar */
header.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    margin-bottom: 40px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    position: sticky;
    top: 20px;
    z-index: 100;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00ff87 0%, #38bdf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #030712;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 0 16px rgba(0, 255, 135, 0.35);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo span {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--accent-blue);
    font-weight: 600;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--accent-blue);
}

.breadcrumbs .separator {
    color: var(--text-muted);
}

/* Category & Status Pills */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.pill-emerald {
    background: rgba(0, 255, 135, 0.1);
    color: var(--accent-emerald);
    border: 1px solid rgba(0, 255, 135, 0.25);
}

.pill-blue {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.pill-purple {
    background: rgba(129, 140, 248, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(129, 140, 248, 0.25);
}

.pill-amber {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-amber);
    border: 1px solid rgba(251, 191, 36, 0.25);
}

/* Blog Article Header */
.article-header {
    display: block !important;
    position: static !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 36px;
    width: 100%;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.article-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.75px;
    color: #ffffff;
    margin-bottom: 20px;
}

.article-title span {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #38bdf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #030712;
}

.author-meta h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.author-meta p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Feature Image */
.article-featured-image {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    background: rgba(15, 23, 42, 0.4);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Table of Contents */
.toc-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.5) 100%);
    border: 1px solid var(--card-border-glow);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
}

.toc-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.toc-list li a:hover {
    color: var(--accent-emerald);
    transform: translateX(4px);
}

/* Article Content Typography */
.article-content {
    font-size: 1.08rem;
    color: #e2e8f0;
    line-height: 1.85;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 48px;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-top: 36px;
    margin-bottom: 14px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
    color: #cbd5e1;
}

.article-content strong {
    color: #ffffff;
    font-weight: 600;
}

.article-content a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.article-content a:hover {
    color: var(--accent-emerald);
}

/* Callout Box */
.callout {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 16px;
    padding: 22px 24px;
    margin: 32px 0;
    border-left: 4px solid var(--accent-emerald);
    border-top: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.callout-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.callout-emerald {
    border-left-color: var(--accent-emerald);
}
.callout-emerald .callout-title {
    color: var(--accent-emerald);
}

.callout-blue {
    border-left-color: var(--accent-blue);
}
.callout-blue .callout-title {
    color: var(--accent-blue);
}

.callout-amber {
    border-left-color: var(--accent-amber);
}
.callout-amber .callout-title {
    color: var(--accent-amber);
}

.callout p:last-child {
    margin-bottom: 0;
}

/* Code Snippet / Terminal Style */
pre.code-block {
    background: #090d16;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px;
    margin: 28px 0;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #38bdf8;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

code.inline-code {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-blue);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.88em;
}

/* Comparison Table */
.table-wrapper {
    overflow-x: auto;
    margin: 36px 0;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.comparison-table th {
    background: rgba(30, 41, 59, 0.9);
    padding: 16px 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.check-green {
    color: var(--accent-emerald);
    font-weight: 700;
}

.cross-red {
    color: var(--accent-rose);
    font-weight: 700;
}

/* Metric / Stat Cards Grid */
.stat-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.stat-highlight-card {
    background: var(--bg-surface);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.stat-highlight-card:hover {
    transform: translateY(-2px);
    border-color: var(--card-border-glow);
}

.stat-highlight-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-emerald);
    margin-bottom: 6px;
}

.stat-highlight-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* In-Article Screenshots */
.article-image-box {
    margin: 36px 0;
    text-align: center;
}

.article-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    background: #000000;
}

.article-image-box .caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
}

/* App Download CTA Card */
.download-cta-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid var(--card-border-glow);
    border-radius: 24px;
    padding: 36px 32px;
    margin: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    box-shadow: 0 12px 40px rgba(0, 255, 135, 0.1);
    position: relative;
    overflow: hidden;
}

.download-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.download-cta-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.download-cta-text p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 0;
    max-width: 500px;
}

.btn-playstore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #030712;
    padding: 12px 26px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-playstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 255, 135, 0.3);
    background: #f0fdf4;
}

/* FAQ Accordion Section */
.faq-section {
    margin: 48px 0;
}

.faq-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.faq-card {
    background: var(--bg-surface);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 14px;
    transition: border-color 0.2s;
}

.faq-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Author Full Bio Box */
.author-bio-card {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 28px;
    background: var(--bg-surface);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    margin: 48px 0;
}

.author-bio-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #38bdf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #030712;
    flex-shrink: 0;
}

.author-bio-details h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.author-bio-details p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
}

.related-posts-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-border-glow);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #090d16;
}

.blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-card-snippet {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

.read-more-link {
    color: var(--accent-emerald);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Blog Hub / Index Page Specifics */
.blog-hub-hero {
    text-align: center;
    padding: 40px 0 50px 0;
    max-width: 840px;
    margin: 0 auto;
}

.blog-hub-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.75px;
}

.blog-hub-hero h1 span {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-hub-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.featured-article-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
    border: 1px solid var(--card-border-glow);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.featured-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 255, 135, 0.15);
}

.featured-card-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    background: #090d16;
}

.featured-card-body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.95rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 14px 0 12px 0;
}

.featured-card-snippet {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Footer */
footer {
    margin-top: 80px;
    padding: 40px 0;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .featured-article-card {
        grid-template-columns: 1fr;
    }
    .featured-card-img {
        min-height: 220px;
        max-height: 280px;
    }
    .article-title {
        font-size: 2.2rem;
    }
    .blog-hub-hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 640px) {
    header {
        border-radius: 20px;
        padding: 12px 18px;
    }
    .nav-links {
        display: none;
    }
    .article-title {
        font-size: 1.8rem;
    }
    .download-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    .btn-playstore {
        width: 100%;
        justify-content: center;
    }
    .author-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
