/* 📱 GETAPPVALLEY.COM - Verified Mobile App & APK Distribution Hub
   Aesthetic: Premium Mobile App Store / APK Repository (Apple App Store / APKMirror / Uptodown clean style)
   Fonts: Outfit (Modern App Display) + Inter (Crisp System Interface)
   Zero Cyberpunk - Ultra clean, Cupertino Frost, Soft Slate & Deep Cobalt App Accent
*/

:root {
  --bg-page: #0f172a;
  --bg-card: #1e293b;
  --bg-card-elevated: #334155;
  --surface-frost: rgba(30, 41, 59, 0.7);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: #38bdf8;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;
  
  --app-blue: #0284c7;
  --app-blue-hover: #0369a1;
  --app-cyan: #38bdf8;
  --verified-emerald: #10b981;
  --apple-gray: #f1f5f9;
  --badge-bg: rgba(56, 189, 248, 0.12);

  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-app: 20px;
  --radius-card: 14px;
  --radius-btn: 10px;
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 12px 30px -4px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-ui);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 📱 APP STORE NAV */
header.app-header {
  background: var(--surface-frost);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-icon-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: #fff;
}

.logo-text span {
  color: var(--app-cyan);
}

.search-bar-wrap {
  flex: 0 1 420px;
  position: relative;
}

.search-input {
  width: 100%;
  background: #1e293b;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 10px 18px 10px 42px;
  font-size: 14px;
  color: #fff;
  font-family: var(--font-ui);
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--app-cyan);
  background: #334155;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.search-icon-svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--text-dim);
}

/* 🚀 APP HERO */
.app-hero {
  padding: 48px 0 36px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #1e3a8a 0%, var(--bg-page) 65%);
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--verified-emerald);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.app-hero h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: #fff;
}

.app-hero p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto;
}

/* 📦 APP GRID */
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

.app-card:hover {
  transform: translateY(-2px);
  background: var(--bg-card-elevated);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: var(--shadow-hover);
}

.app-card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-app);
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.app-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card-info {
  flex: 1;
}

.app-card-info h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.app-version-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.app-desc-brief {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.app-download-btn:hover {
  background: var(--app-cyan);
  color: #0f172a;
}
