/* ==========================================================================
   InetConnector Apps Portal & PWA - Stylesheet
   Design: Cyber-Dark, Glassmorphism, Micro-Animations, Premium Aesthetics
   ========================================================================== */

:root {
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);
  --border-glow: rgba(56, 189, 248, 0.3);

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

  --accent-cyan: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;
  --accent-blue: #3b82f6;

  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
  --gradient-glow: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.15));

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 40px -10px rgba(99, 102, 241, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Ambient Background Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: 10%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
}
.glow-2 {
  width: 700px;
  height: 700px;
  top: 150px;
  right: 5%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, transparent 70%);
}
.glow-3 {
  width: 500px;
  height: 500px;
  top: 800px;
  left: 25%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
}

/* Typography & Utilities */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}
.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}
.btn-md {
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
}
.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.4);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}
.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Badges */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}
.badge-cyan { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.25); }
.badge-purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.25); }
.badge-emerald { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-amber { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-rose { background: rgba(244, 63, 94, 0.12); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.25); }
.badge-blue { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.badge-white { background: rgba(255, 255, 255, 0.1); color: #f8fafc; border: 1px solid rgba(255, 255, 255, 0.2); }

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Header & 2-Row Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}
.brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-text-col {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}
.brand-subtitle {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Row 2: Sub-Row Navigation */
.nav-sub-row {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(11, 16, 27, 0.6);
}
.nav-sub-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar {
  display: none;
}
.nav-filter-link {
  display: block;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-filter-link:hover, .nav-filter-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-filter-link.active {
  color: var(--accent-cyan);
  font-weight: 600;
}

.nav-quick-search {
  position: relative;
  width: 220px;
}
.nav-quick-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 0.35rem 1.8rem 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  outline: none;
  transition: all 0.2s ease;
}
.nav-quick-search input:focus {
  border-color: var(--accent-indigo);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.25);
}
.nav-quick-search .search-icon {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 3.5rem 0 2rem 0;
  text-align: center;
}
.hero-badge-wrap {
  margin-bottom: 1.25rem;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #c7d2fe;
}
.hero-headline {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-subline {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* Store Highlight Banner */
.store-banner-card {
  max-width: 960px;
  margin: 0 auto 2.5rem auto;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  backdrop-filter: blur(12px);
  text-align: left;
}
.store-banner-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}
.store-icon-box {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
  flex-shrink: 0;
}
.store-banner-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.store-banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.store-banner-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.store-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Metrics Bar */
.metrics-bar {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1rem 1.5rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
}
.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* Filter & Search Bar */
.filter-section {
  position: relative;
  z-index: 10;
  padding: 1.5rem 0;
}
.filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.category-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.pill-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(99, 102, 241, 0.2));
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.search-box-large {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 420px;
}
.search-box-large input {
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 0.92rem;
  padding: 0.65rem 2.5rem 0.65rem 2.4rem;
  border-radius: var(--radius-lg);
  outline: none;
  transition: all 0.2s ease;
}
.search-box-large input:focus {
  border-color: var(--accent-indigo);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}
.search-icon-lg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  opacity: 0.6;
}
.clear-btn {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}
.clear-btn:hover {
  color: #ffffff;
}

/* Apps Grid */
.apps-section {
  position: relative;
  z-index: 10;
  padding: 1rem 0 4rem 0;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.app-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(99, 102, 241, 0.15);
}
.app-card:hover::before {
  opacity: 1;
}

.card-highlight {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, rgba(20, 27, 45, 0.8), rgba(15, 23, 42, 0.9));
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.app-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.app-emoji {
  font-size: 1.75rem;
}
.app-emoji-svg {
  color: #ffffff;
}
.card-badges {
  display: flex;
  gap: 0.4rem;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}
.app-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.app-tagline {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}
.app-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.feature-tag {
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.card-footer {
  margin-top: auto;
}
.arrow-icon {
  transition: transform 0.2s ease;
}
.app-card:hover .arrow-icon {
  transform: translateX(4px);
}

/* No Results Card */
.no-results-card {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 500px;
  margin: 2rem auto;
}
.no-results-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.no-results-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.no-results-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Ecosystem Architecture Section */
.ecosystem-section {
  position: relative;
  z-index: 10;
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
  background: rgba(11, 16, 27, 0.4);
}
.section-header {
  max-width: 680px;
  margin: 0 auto 3rem auto;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
}
.text-center {
  text-align: center;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.arch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease;
}
.arch-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.3);
}
.arch-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.arch-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
}
.arch-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  background: #060910;
  padding: 4rem 0 2rem 0;
}
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 340px;
}
.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.footer-social-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent-cyan);
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2rem;
  }
  .store-banner-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .store-banner-left {
    flex-direction: column;
  }
  .store-badges {
    justify-content: center;
  }
  .store-banner-actions {
    width: 100%;
  }
  .store-banner-actions .btn {
    width: 100%;
  }
  .metrics-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .metric-divider {
    display: none;
  }
  .filter-container {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box-large {
    max-width: 100%;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .nav-quick-search {
    display: none;
  }
}

/* Legal & AI Act Art. 50 Compliance Badges */
.badge-ai-act {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.28);
  letter-spacing: 0.02em;
}

.badge-gdpr-zero {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
  letter-spacing: 0.02em;
}

.legal-sub-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-sub-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.legal-sub-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-sub-links a:hover {
  color: var(--accent-cyan);
}

