/*
Theme Name: Loka Publisher
Theme URI: https://lokapublisher.com
Author: Loka Publisher Team
Author URI: https://lokapublisher.com
Description: A futuristic, ultra-modern, high-performance light-theme WordPress website for Loka Publisher — showcasing Microsoft Windows Store Apps, macOS/iOS Applications, and Amazon KDP Books.
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
Text Domain: lokapublisher
Tags: software-showcase, app-store, amazon-kdp, light-theme, futuristic, glassmorphism, responsive, custom-post-types
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES & DESIGN TOKENS (LIGHT MODE ONLY)
   ========================================================================== */
:root {
  /* Brand Gradients & Accents */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.25);

  --secondary: #06b6d4;
  --secondary-hover: #0891b2;
  --secondary-light: #ecfeff;

  --accent-purple: #7c3aed;
  --accent-purple-light: #f5f3ff;
  --accent-emerald: #059669;
  --accent-emerald-light: #ecfdf5;
  --accent-amber: #d97706;
  --accent-amber-light: #fffbeb;
  --accent-rose: #e11d48;
  --accent-rose-light: #fff1f2;

  /* Surfaces & Backgrounds - Pure Light Aesthetics */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.85);
  --bg-surface-glass-subtle: rgba(255, 255, 255, 0.65);
  --bg-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-subtle-alt: #e2e8f0;

  /* Text & Content */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-focus: #3b82f6;
  --border-glass: rgba(226, 232, 240, 0.8);

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.2);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(124, 58, 237, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(37, 99, 235, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Background Micro Grid Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 32px 32px;
  background-image: linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

/* ==========================================================================
   CONTAINER & LAYOUT HELPERS
   ========================================================================== */
.loca-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.loca-container-narrow {
  max-width: 900px;
}

.loca-container-wide {
  max-width: 1440px;
}

.loca-section {
  padding: 5.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .loca-section {
    padding: 3.5rem 0;
  }
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-title .text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .section-description {
    font-size: 1rem;
  }
}

/* ==========================================================================
   GLASSMORPHISM & CARDS
   ========================================================================== */
.glass-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: rgba(37, 99, 235, 0.3);
}

.glass-panel {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.8125rem 1.625rem;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-focus);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-amazon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #111827;
  font-weight: 800;
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.35);
}

.btn-amazon:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(245, 158, 11, 0.45);
}

.btn-microsoft {
  background: #0078d4;
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(0, 120, 212, 0.35);
}

.btn-microsoft:hover {
  background: #0063b1;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-apple {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(15, 23, 42, 0.25);
}

.btn-apple:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn-icon-only {
  padding: 0.625rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   NAVIGATION / HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-subtle);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-trigger-btn:hover {
  background: var(--bg-surface);
  border-color: var(--border-focus);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.search-shortcut-kbd {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.125rem 0.35rem;
  color: var(--text-muted);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 99;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 5rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.45rem 1.125rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 40%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

@media (max-width: 992px) {
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

@media (max-width: 992px) {
  .hero-cta-group {
    justify-content: center;
  }
}

/* Stats Counter Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-number .stat-plus {
  color: var(--primary);
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Visual Showcase */
.hero-visual-card {
  position: relative;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-2xl);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.window-controls {
  display: flex;
  gap: 6px;
}

.win-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.win-red { background-color: #ef4444; }
.win-yellow { background-color: #f59e0b; }
.win-green { background-color: #10b981; }

.hero-preview-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-preview-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.hero-preview-item:hover {
  transform: translateX(4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.hero-preview-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.hero-preview-info {
  flex-grow: 1;
}

.hero-preview-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-preview-sub {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.hero-preview-badge {
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   FLAGSHIP BENTO GRID
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-col-8 {
  grid-column: span 8;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

@media (max-width: 992px) {
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
}

.bento-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bento-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.bento-app-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.bento-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.tag-windows { background: #e0f2fe; color: #0369a1; }
.tag-mac { background: #f1f5f9; color: #334155; }
.tag-kdp { background: #fef3c7; color: #b45309; }
.tag-security { background: #ede9fe; color: #6d28d9; }

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.bento-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.bento-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.bento-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.bento-features-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.bento-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   INTERACTIVE LIVE FILTER & CATALOG
   ========================================================================== */
.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: var(--bg-surface);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.filter-tab-btn {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab-btn:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.filter-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.catalog-search-box {
  position: relative;
  min-width: 280px;
}

.catalog-search-input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.catalog-search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon-inside {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  margin-bottom: 1.125rem;
}

.product-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title-group {
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.badge-version {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  padding: 0.125rem 0.4rem;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 600;
}

.product-rating {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.product-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.product-tag-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-subtle);
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   AMAZON KDP 3D BOOKSHELF
   ========================================================================== */
.bookshelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.25rem;
}

.book-card-3d {
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.book-card-3d:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.4);
}

.book-3d-wrapper {
  width: 170px;
  height: 246px;
  margin-bottom: 1.25rem;
  position: relative;
  transition: transform var(--transition-smooth);
  transform-style: preserve-3d;
}

.book-card-3d:hover .book-3d-wrapper {
  transform: rotateY(-14deg) rotateX(4deg) scale(1.04);
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 12px 12px 8px;
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.25), 
              -4px 0 8px 0 rgba(15, 23, 42, 0.1);
  border-left: 4px solid rgba(0, 0, 0, 0.2);
}

.book-spine-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.4) 0%, rgba(0,0,0,0.15) 100%);
  border-radius: 8px 0 0 8px;
  pointer-events: none;
}

.book-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.book-genre-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  background: var(--accent-amber-light);
  color: var(--accent-amber);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.book-kdp-meta {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

/* ==========================================================================
   MAC & IOS SHOWCASE SECTION
   ========================================================================== */
.mac-ios-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
  .mac-ios-card {
    padding: 2rem 1.25rem;
  }
}

.mac-ios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 992px) {
  .mac-ios-grid {
    grid-template-columns: 1fr;
  }
}

.apple-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .apple-features-list {
    grid-template-columns: 1fr;
  }
}

.apple-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.apple-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   WHY LOKA PUBLISHER / ENGINEERING PILLARS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.review-quote {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.reviewer-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.reviewer-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-focus);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   NEWSLETTER SECTION
   ========================================================================== */
.newsletter-banner {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #06b6d4 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.newsletter-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.newsletter-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 580px;
  margin: 0 auto 2rem auto;
}

.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.9375rem;
  color: var(--text-main);
  outline: none;
}

.newsletter-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0 2rem 0;
  margin-top: 5rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   DYNAMIC MODAL & SEARCH OVERLAY
   ========================================================================== */
.loca-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.loca-modal-overlay.open {
  display: flex;
}

.loca-modal-box {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border-light);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--bg-subtle-alt);
  color: var(--text-main);
}

.modal-content-wrap {
  padding: 2.25rem;
}

@media (max-width: 640px) {
  .modal-content-wrap {
    padding: 1.5rem;
  }
}


/* ==========================================================================
   ADVANCED RESPONSIVE DESIGN, ACCESSIBILITY & CROSS-BROWSER OPTIMIZATION
   ========================================================================== */

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 99999;
  transition: top var(--transition-fast);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

/* Fluid Typography Scalers */
.hero-title {
  font-size: clamp(2.1rem, 5vw + 0.5rem, 3.75rem);
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.75rem);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 1.25rem 2rem 1.25rem;
  box-shadow: var(--shadow-2xl);
  z-index: 999;
}
.mobile-nav-drawer.open {
  display: block;
  animation: drawerSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: var(--primary-light);
  color: var(--primary);
}

/* Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .mac-ios-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .apple-features-list {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

/* Tablets in Portrait (max-width: 768px) */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .search-label-text {
    display: none;
  }
  .search-shortcut-kbd {
    display: none;
  }
  .hero-section {
    padding: 3rem 0 3.5rem 0;
  }
  .loca-section {
    padding: 3.5rem 0;
  }
  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    width: 100%;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .bookshelf-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .apple-features-list {
    grid-template-columns: 1fr;
  }
}

/* Standard & Small Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .header-store-btn {
    display: none;
  }
  .bookshelf-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .bento-card {
    padding: 1.35rem;
  }
  .newsletter-banner {
    padding: 2.75rem 1.25rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Touch Hardware Physics Adjustments */
@media (hover: none) and (pointer: coarse) {
  .product-card, .book-card-3d, .bento-card, .pillar-card {
    transform: none !important;
  }
}

/* Print Mode */
@media print {
  .site-header, .site-footer, .newsletter-banner, .catalog-controls, .header-actions, .loca-modal-overlay {
    display: none !important;
  }
}


/* ==========================================================================
   MULTILINGUAL LANGUAGE SELECTOR & TRANSLATION ENGINE STYLES
   ========================================================================== */

/* Header Language Selector Trigger */
.lang-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.lang-trigger-btn:hover {
  background: var(--primary-light);
  border-color: var(--border-focus);
  color: var(--primary);
  transform: translateY(-1px);
}

.lang-globe-icon {
  font-size: 0.9375rem;
  line-height: 1;
}

.current-lang-code {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer Language Trigger */
.footer-lang-trigger {
  background: none;
  border: none;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.footer-lang-trigger:hover {
  background: var(--primary-light);
}

/* Language Picker Modal Grid */
.lang-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.75rem;
  max-height: 380px;
  overflow-y: auto;
  padding: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.lang-item-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.875rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition-fast);
  color: var(--text-main);
}

.lang-item-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.lang-item-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.lang-item-btn.active .lang-en-name {
  color: rgba(255, 255, 255, 0.85);
}

.lang-flag {
  font-size: 1.35rem;
  line-height: 1;
}

.lang-names-wrap {
  display: flex;
  flex-direction: column;
}

.lang-native-name {
  font-size: 0.875rem;
  font-weight: 700;
}

.lang-en-name {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Hide intrusive Google Translate top banner & tooltips */
body {
  top: 0 !important;
  position: static !important;
}

.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
}

#goog-gt-tt, .goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.goog-te-gadget {
  display: none !important;
}

/* Automatic Right-to-Left (RTL) Support for Arabic & Hebrew */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .hero-preview-item {
  direction: rtl;
}

[dir="rtl"] .brand-logo {
  direction: ltr;
}

[dir="rtl"] .search-icon-inside {
  left: auto !important;
  right: 1rem !important;
}

[dir="rtl"] .catalog-search-input {
  padding-left: 1.25rem !important;
  padding-right: 2.75rem !important;
}


/* ==========================================================================
   SINGLE PRODUCT & APP LANDING PAGE STYLES
   ========================================================================== */
.single-app-rich-content h1,
.single-app-rich-content h2,
.single-app-rich-content h3,
.single-app-rich-content h4,
.single-book-rich-content h1,
.single-book-rich-content h2,
.single-book-rich-content h3,
.single-book-rich-content h4,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 800;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.single-app-rich-content p,
.single-book-rich-content p,
.entry-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: #334155;
}

.single-app-rich-content ul,
.single-app-rich-content ol,
.single-book-rich-content ul,
.single-book-rich-content ol,
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #334155;
  line-height: 1.75;
}

.single-app-rich-content li,
.single-book-rich-content li,
.entry-content li {
  margin-bottom: 0.5rem;
}

.single-app-rich-content blockquote,
.entry-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-subtle);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
}

/* Static Content Boxes (Zero Mouse Movement / Zero Tilt) */
.app-content-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
  transform: none !important;
}

.single-app-rich-content,
.single-app-hero-grid,
.app-content-box {
  transform: none !important;
  perspective: none !important;
}
