/* ==========================================================================
   AndroidRich - Executive-Grade Modern Mobile Software Design System
   ========================================================================== */

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

:root {
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Executive Sophisticated Palette */
  --brand-primary: #1e293b;
  --brand-indigo: #4f46e5;
  --brand-blue: #2563eb;
  --brand-slate: #334155;
  --brand-emerald: #059669;

  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Natural Refined Shadow System */
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-input: 0 1px 3px 0 rgba(15, 23, 42, 0.05);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  margin: 0;
  padding-top: 76px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Glass Header Navbar */
.glass-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: all 0.2s ease;
}

.brand-icon-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary) !important;
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary) !important;
}

/* Executive Hero */
.hero-executive {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.badge-executive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 50rem;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.2;
}

.hero-accent-text {
  background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Search Bar */
.search-exec-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 6px 8px 6px 20px;
  box-shadow: var(--shadow-input);
  transition: all 0.2s ease;
}

.search-exec-box:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-exec-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Tab Pill Buttons */
.tab-exec-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 10px;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-exec-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: #f8fafc;
}

.tab-exec-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Category Filter Chips */
.chip-exec {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 50rem;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.chip-exec:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.chip-exec.active {
  background: #334155;
  color: #ffffff;
  border-color: #334155;
}

/* Metric Counter Cards */
.stat-box-exec {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.stat-box-exec:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.stat-num-exec {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

/* Executive App Cards */
.app-card-exec {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.app-card-exec:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: #cbd5e1;
}

.app-icon-exec {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

.card-title-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.15s ease;
}

.card-title-link:hover {
  color: #2563eb;
}

.badge-platform-ios {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-platform-android {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-category-exec {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px 8px;
}

/* Primary Direct Link Buttons */
.btn-primary-exec {
  background: #0f172a;
  color: #ffffff !important;
  border: 1px solid #0f172a;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.88rem;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

.btn-primary-exec:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  color: #ffffff;
}

.btn-secondary-exec {
  background: #ffffff;
  color: #475569 !important;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.82rem;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: all 0.15s ease;
}

.btn-secondary-exec:hover {
  background: #f8fafc;
  color: #0f172a !important;
  border-color: #cbd5e1;
}

/* Footer Styling */
.footer-exec {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  color: #64748b;
  font-size: 0.88rem;
}
