/* =========================================================
   CANGKULAPP.COM - NEXT-GEN MODERN APP STORE & PORTAL UI
   Design System: Google Play / TapTap / Modern Glassmorphism
   ========================================================= */

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

:root {
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;

  /* Primary & Accent Palettes */
  --primary: #059669;
  --primary-rgb: 5, 150, 105;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --primary-glow: rgba(5, 150, 105, 0.25);

  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-purple: #7c3aed;
  --gold-star: #f59e0b;
  --danger: #ef4444;

  /* Light Theme Surface Colors */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-hover: #cbd5e1;
  --border-focus: #10b981;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --badge-green-bg: #d1fae5;
  --badge-green-text: #065f46;
  --badge-blue-bg: #dbeafe;
  --badge-blue-text: #1e40af;
  --badge-purple-bg: #f3e8ff;
  --badge-purple-text: #6b21a8;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px -4px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 35px -8px rgba(0,0,0,0.12);
  --shadow-glow: 0 10px 25px -5px var(--primary-glow);
}

/* Dark Mode Palette */
body.dark-mode {
  --bg-page: #0a0f1d;
  --bg-card: #111827;
  --bg-card-hover: #172033;
  --bg-subtle: #1e293b;
  --bg-glass: rgba(17, 24, 39, 0.88);

  --border-color: #1f293d;
  --border-subtle: #182234;
  --border-hover: #334155;
  --border-focus: #34d399;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --badge-green-bg: rgba(16, 185, 129, 0.15);
  --badge-green-text: #34d399;
  --badge-blue-bg: rgba(37, 99, 235, 0.15);
  --badge-blue-text: #60a5fa;
  --badge-purple-bg: rgba(124, 58, 237, 0.15);
  --badge-purple-text: #c084fc;

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-md: 0 12px 30px -4px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 45px -8px rgba(0,0,0,0.6);
  --shadow-glow: 0 10px 30px -5px rgba(16, 185, 129, 0.25);
}

/* =========================================================
   BASE & RESET
   ========================================================= */

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

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

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14.5px;
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.15s ease;
}

button {
  font-family: var(--font-main);
  border: none;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   TOP TICKER / ANNOUNCEMENT BAR
   ========================================================= */

.top-announcement-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.dark-mode .top-announcement-bar {
  background: #060911;
}

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

.announcement-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}

.announcement-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.announcement-right a:hover {
  color: #f8fafc;
}

/* =========================================================
   STICKY HEADER & NAVIGATION
   ========================================================= */

.cangkulapp-header {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.2s ease;
}

.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

/* Brand Logo */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-wrapper:hover .brand-icon-box {
  transform: scale(1.06) rotate(3deg);
}

.brand-logo-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.brand-title span {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 9.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Header Search */
.header-search-wrap {
  flex: 1;
  max-width: 540px;
  position: relative;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 3px 6px 3px 16px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input-group:focus-within {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-icon-inline {
  color: var(--text-muted);
  font-size: 15px;
  margin-right: 8px;
}

.search-input-field {
  width: 100%;
  border: none;
  background: transparent;
  padding: 8px 0;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  outline: none;
}

.search-input-field::placeholder {
  color: var(--text-muted);
}

.search-shortcut-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--radius-xs);
  margin-right: 6px;
  box-shadow: var(--shadow-xs);
}

.search-submit-btn {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-submit-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.35);
}

/* Search Dropdown */
.header-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  overflow-y: auto;
  z-index: 1010;
  display: none;
  animation: dropdownFadeIn 0.15s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-item:last-child {
  border-bottom: none;
}

.search-item:hover {
  background: var(--bg-subtle);
}

.search-item-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

/* Header Actions */
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-theme-toggle {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-theme-toggle:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: rotate(15deg) scale(1.05);
}

.btn-cms-studio {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cms-studio:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* =========================================================
   CATEGORY & PLATFORM PILLS BAR
   ========================================================= */

.platforms-nav-wrap {
  border-top: 1px solid var(--border-color);
  background: var(--bg-glass);
}

.platforms-nav-bar {
  display: flex;
  gap: 8px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.platforms-nav-bar::-webkit-scrollbar {
  display: none;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.platform-tab:hover {
  color: var(--text-primary);
  background: var(--bg-card);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.platform-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
  font-weight: 700;
}

/* =========================================================
   HERO SHOWCASE SECTION (EDITOR'S CHOICE)
   ========================================================= */

.hero-showcase-section {
  margin: 24px 0 28px;
  position: relative;
}

.hero-banner-card {
  background: linear-gradient(135deg, #091e3a 0%, #0d2f59 50%, #064e3b 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.hero-banner-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 15%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-banner-card::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 30%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-left-content {
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  color: #a7f3d0;
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.spotlight-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.spotlight-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin-bottom: 18px;
}

.hero-meta-chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-meta-chip {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-meta-chip.highlight {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.6);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-right-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-app-mockup-box {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  animation: floatApp 4s ease-in-out infinite;
}

@keyframes floatApp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-app-icon-img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

/* =========================================================
   TRUST & STATS STRIP
   ========================================================= */

.trust-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.trust-stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.trust-stat-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.trust-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.trust-stat-icon.green { background: var(--badge-green-bg); color: var(--badge-green-text); }
.trust-stat-icon.blue { background: var(--badge-blue-bg); color: var(--badge-blue-text); }
.trust-stat-icon.purple { background: var(--badge-purple-bg); color: var(--badge-purple-text); }
.trust-stat-icon.gold { background: #fef3c7; color: #b45309; }

body.dark-mode .trust-stat-icon.gold { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.trust-stat-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.trust-stat-desc {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* =========================================================
   SECTION HEADINGS & TOOLBAR
   ========================================================= */

.catalog-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-count-pill {
  background: var(--badge-green-bg);
  color: var(--badge-green-text);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.catalog-sort-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-select {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sort-select:hover, .sort-select:focus {
  border-color: var(--primary);
  color: var(--text-primary);
}

/* =========================================================
   NEXT-GEN APP STORE CARDS GRID
   ========================================================= */

.cangkulapp-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.cangkulapp-app-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  overflow: hidden;
}

.cangkulapp-app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cangkulapp-app-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-md), 0 10px 25px -5px rgba(16, 185, 129, 0.12);
  transform: translateY(-5px);
}

.cangkulapp-app-card:hover::before {
  opacity: 1;
}

/* Card Top Section */
.app-card-top-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.app-icon-container {
  position: relative;
  flex-shrink: 0;
}

.app-squircle-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.cangkulapp-app-card:hover .app-squircle-icon {
  transform: scale(1.05);
}

.app-badge-verified {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #10b981;
  color: #fff;
  font-size: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.app-card-header-info {
  flex: 1;
  min-width: 0;
}

.app-tags-pill-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.tag-category-pill {
  background: var(--badge-blue-bg);
  color: var(--badge-blue-text);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tag-version-pill {
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 600;
}

.app-card-title {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 38px;
}

.app-card-dev-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dev-check-icon {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

/* Card Stats Row */
.app-card-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  margin: 10px 0 14px;
  font-size: 12px;
}

.stat-item-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-item-rating .star {
  color: var(--gold-star);
}

.stat-review-count {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 11px;
}

.stat-item-size {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 11.5px;
}

/* Card Button */
.btn-card-download {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cangkulapp-app-card:hover .btn-card-download {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-card-download .dl-arrow {
  transition: transform 0.2s ease;
}

.cangkulapp-app-card:hover .btn-card-download .dl-arrow {
  transform: translateY(2px);
}

/* =========================================================
   DETAIL APP VIEW
   ========================================================= */

.detail-view-container {
  display: none;
  padding: 20px 0 60px;
  animation: fadeInDetail 0.25s ease;
}

@keyframes fadeInDetail {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.breadcrumbs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumbs-bar a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumbs-bar a:hover {
  text-decoration: underline;
}

.detail-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.detail-main-col {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

/* Detail Hero Block */
.detail-header-block {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.detail-app-big-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.detail-header-info {
  flex: 1;
}

.detail-header-info h1 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 6px;
}

.detail-developer-name {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.detail-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-rating-badge {
  background: #fef3c7;
  color: #92400e;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

body.dark-mode .detail-rating-badge {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
}

.security-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--badge-green-bg);
  color: var(--badge-green-text);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

/* Big CTA Box */
.detail-download-cta-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 28px;
}

.btn-big-download {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  padding: 15px 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-big-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
}

.detail-cta-subtext {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* =========================================================
   SCREENSHOT & MEDIA SHOWCASE CAROUSEL
   ========================================================= */

.screenshots-section-box {
  margin: 28px 0;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.screenshots-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.screenshots-heading {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.screenshots-nav-btns {
  display: flex;
  gap: 8px;
}

.btn-gallery-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-gallery-nav:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.08);
}

.screenshots-scroll-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.screenshot-card-wrap {
  flex: 0 0 auto;
  width: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  position: relative;
  transition: all 0.25s ease;
}

.screenshot-card-wrap:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.screenshot-thumb-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.screenshot-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption-text {
  color: #f8fafc;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
}

.btn-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* =========================================================
   PROS & CONS, SPECS & SIDEBAR
   ========================================================= */

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.pros-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
}

.cons-box {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
}

.pros-title {
  color: #10b981;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cons-title {
  color: #ef4444;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pro-con-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.pro-con-item:last-child {
  margin-bottom: 0;
}

/* Specs Table */
.specs-table-box {
  margin-top: 28px;
}

.specs-data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 13.5px;
}

.specs-data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.specs-data-table tr td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 35%;
}

.specs-data-table tr td:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

.specs-data-table tr:last-child td {
  border-bottom: none;
}

/* Sidebar */
.detail-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

/* =========================================================
   E-E-A-T AUTHORITY ARTICLE & SECURITY GUIDE
   ========================================================= */

.seo-authority-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 40px 0 32px;
  box-shadow: var(--shadow-sm);
}

.article-header-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.article-main-h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 12px;
}

.article-byline-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-paragraph {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.article-callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.article-callout-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
}

.article-callout-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.article-callout-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.article-section-h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audit-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.audit-stage-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
}

.audit-stage-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.audit-stage-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.audit-stage-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.technical-insight-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.technical-insight-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  background: var(--bg-subtle);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.article-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-step-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.article-step-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.article-table-container {
  overflow-x: auto;
  margin: 24px 0;
}

.article-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.article-comp-table th, .article-comp-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.article-comp-table th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-primary);
}

.article-faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.article-faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.article-faq-answer {
  padding: 0 20px 16px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

.article-faq-item.open .article-faq-answer {
  display: block;
}

.author-bio-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 32px;
}

.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.author-bio-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.author-bio-role {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.author-bio-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   FOOTER
   ========================================================= */

.cangkulapp-footer {
  background: #090e1a;
  color: #94a3b8;
  padding: 50px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 13px;
}

.footer-col ul li a:hover {
  color: #34d399;
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

/* =========================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================= */

@media (max-width: 1100px) {
  .cangkulapp-app-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .cangkulapp-app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
  }
  .hero-left-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-meta-chips-row, .hero-actions-row {
    justify-content: center;
  }
  .hero-right-visual {
    display: none;
  }
  .detail-layout-grid {
    grid-template-columns: 1fr;
  }
  .article-callout-grid, .audit-pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-nav-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .cangkulapp-app-grid {
    grid-template-columns: 1fr;
  }
  .trust-stats-strip {
    grid-template-columns: 1fr;
  }
  .header-main-row {
    flex-wrap: wrap;
  }
  .header-search-wrap {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .article-callout-grid, .audit-pipeline-grid {
    grid-template-columns: 1fr;
  }
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav-columns {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Contextual Internal Linking Styles */
.internal-links-card-box {
  background: var(--bg-card) !important;
  border-left: 4px solid var(--primary) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.internal-links-card-box:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary-hover) !important;
}

.internal-seo-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(16, 185, 129, 0.4);
  text-underline-offset: 3px;
  transition: all 0.15s ease-in-out;
  padding: 1px 4px;
  border-radius: 4px;
}

.internal-seo-link:hover {
  color: var(--primary-hover);
  background: var(--primary-light);
  text-decoration-color: var(--primary);
}

/* Info & Legal Modal Styling */
.info-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.info-modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.info-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-subtle);
}

.info-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-modal-icon {
  font-size: 22px;
}

.info-modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.btn-info-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
}

.btn-info-modal-close:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.info-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.info-modal-body h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 18px 0 8px 0;
}

.info-modal-body p {
  margin-bottom: 14px;
}

.info-modal-body ul, .info-modal-body ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.info-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 14px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-subtle);
}

/* Contact Form Inside Modal */
.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-input-field {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s;
}

.contact-input-field:focus {
  border-color: var(--primary);
}

/* FAQ Accordion Styling (Google SERP Ready) */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item-card:hover {
  border-color: var(--border-hover);
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: var(--bg-subtle);
  border: none;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s ease;
}

.faq-question-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-toggle-icon {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item-card.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer-box {
  display: none;
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
}

.faq-item-card.active .faq-answer-box {
  display: block;
}

/* User Star Rating Controls */
.user-star {
  transition: transform 0.15s ease, color 0.15s ease;
  user-select: none;
}

.user-star:hover, .user-star.active {
  color: #f59e0b !important;
  transform: scale(1.2);
}

/* Feature Graphic Landscape Banner */
.detail-header-banner-box {
  width: 100%;
  max-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  background: #0f172a;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.detail-header-banner-img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.detail-header-banner-box:hover .detail-header-banner-img {
  transform: scale(1.02);
}

/* Detail Play Store Verified Badges */
.detail-installs-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
}

.detail-package-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(56, 189, 248, 0.12);
  color: #0284c7;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-family: monospace;
  font-weight: 600;
}

body.dark-mode .detail-package-badge {
  color: #38bdf8;
}

.detail-keyword-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.28);
  padding: 4px 11px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

body.dark-mode .detail-keyword-badge {
  background: rgba(167, 139, 250, 0.18);
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.35);
}

/* Floating Quick Actions */
.btn-floating-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-floating-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.6);
}


