/* =========================================================
   Mobile Conferences 2026 — Design System & Styles
   ========================================================= */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Palette */
  --primary: #006576;
  --on-primary: #ffffff;
  --primary-container: #118093;
  --on-primary-container: #002026;

  /* Secondary Palette */
  --secondary: #904d00;
  --on-secondary: #ffffff;
  --secondary-container: #ffdcbe;
  --on-secondary-container: #2e1500;

  /* Surface Palette */
  --surface: #f7fafb;
  --on-surface: #181c1e;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f1f4f5;
  --surface-container: #ebedf0;
  --surface-container-high: #e5e8ea;
  --surface-container-highest: #dfe3e5;

  /* Outline */
  --outline-variant: #bec8cc;

  /* Typography */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 1.75rem;

  /* Shadows */
  --shadow-ambient: 0 20px 40px -10px rgba(24, 28, 30, 0.08);
  --shadow-card: 0 1px 3px rgba(24, 28, 30, 0.06);
  --shadow-elevated: 0 8px 30px rgba(24, 28, 30, 0.12);
  --shadow-hero: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 500ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* --- Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Ghost Border Utility --- */
.ghost-border {
  border: 1px solid rgba(190, 200, 204, 0.15);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(247, 250, 251, 0.7);
  border-bottom: 1px solid rgba(190, 200, 204, 0.15);
  transition: box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-card);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 101, 118, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-surface);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: linear-gradient(135deg, #006576 0%, #118093 100%);
  padding: 7rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  background: white;
  border-radius: 50%;
  filter: blur(128px);
  opacity: 0.10;
  pointer-events: none;
}

.hero-glow-tl {
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

.hero-glow-br {
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-logo-wrapper {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: float 3s ease-in-out infinite;
}

.hero-logo-img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

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

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--on-primary);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
}

.btn:active {
  transform: scale(0.97);
}

.btn-white {
  background: var(--surface-container-lowest);
  color: var(--primary);
  box-shadow: var(--shadow-card);
}

.btn-white:hover {
  background: var(--surface-container-low);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  color: var(--on-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.20);
}

.btn-submit {
  background: white;
  color: var(--primary);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-submit:hover {
  background: var(--surface-container-low);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center {
  text-align: center;
}

.section-eyebrow {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--on-surface);
  letter-spacing: -0.025em;
}

.section-desc {
  color: #5f6c72;
  max-width: 40rem;
  margin: 1rem auto 0;
}

/* =========================================================
   FEATURED CARDS
   ========================================================= */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.featured-card {
  background: var(--surface-container-lowest);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(190, 200, 204, 0.15);
  transition: all var(--transition-normal);
  opacity: 0;
  transform: translateY(20px);
  text-align: center;
}

.featured-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.featured-card:hover {
  box-shadow: var(--shadow-ambient);
  border-color: rgba(0, 101, 118, 0.3);
}

.featured-card-img {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 101, 118, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.featured-card:hover .featured-card-img img {
  transform: scale(1.05);
}

.featured-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  padding: 0.25rem 0.625rem;
  background: rgba(0, 101, 118, 0.10);
  color: var(--primary);
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--on-surface);
  transition: color var(--transition-fast);
}

.featured-card:hover .featured-card-title {
  color: var(--primary);
}

.featured-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #5f6c72;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.featured-card-meta svg {
  color: var(--primary);
  flex-shrink: 0;
}

.meta-dot {
  opacity: 0.3;
  margin: 0 0.125rem;
}

.featured-card-desc {
  color: #5f6c72;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: var(--surface-container-high);
  color: var(--primary);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-size: 0.875rem;
}

.featured-card-link:hover {
  background: var(--primary);
  color: var(--on-primary);
}

/* =========================================================
   DIRECTORY
   ========================================================= */
.directory-section {
  background: var(--surface-container-low);
}

.directory-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 3rem;
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--outline-variant);
  transition: color var(--transition-fast);
  pointer-events: none;
}

.search-wrapper:focus-within .search-icon {
  color: var(--primary);
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-md);
  border: 1px solid rgba(190, 200, 204, 0.15);
  color: var(--on-surface);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 101, 118, 0.15);
}

.search-input::placeholder {
  color: var(--outline-variant);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding: 0.375rem;
  background: var(--surface-container-highest);
  border-radius: var(--radius-md);
  border: 1px solid rgba(190, 200, 204, 0.15);
}

.filter-pill {
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  color: #5f6c72;
  white-space: nowrap;
}

.filter-pill:hover {
  color: var(--primary);
  background: var(--surface-container-lowest);
}

.filter-pill.active {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-card);
}

/* --- Directory List Items --- */
.directory-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dir-item {
  background: var(--surface-container-lowest);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(190, 200, 204, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-normal);
  animation: fadeIn 0.3s ease forwards;
}

.dir-item:hover {
  box-shadow: var(--shadow-ambient);
  border-color: rgba(0, 101, 118, 0.2);
}

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

.dir-item-info {
  flex: 1;
}

.dir-item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.dir-item-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-surface);
}

.platform-badge {
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platform-badge.ios {
  background: #dbeafe;
  color: #1d4ed8;
}

.platform-badge.android {
  background: #dcfce7;
  color: #15803d;
}

.platform-badge.cross {
  background: #f3e8ff;
  color: #7e22ce;
}

.dir-item-desc {
  color: #5f6c72;
  font-size: 0.875rem;
}

.dir-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.dir-meta-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--surface-container-high);
  border-radius: var(--radius-sm);
}

.dir-meta-chip svg {
  color: var(--primary);
  flex-shrink: 0;
}

.dir-meta-chip span {
  font-size: 0.875rem;
  font-weight: 600;
}

.dir-item-link {
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: 0;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.dir-item-link:hover {
  text-decoration: underline;
}

/* =========================================================
   SUBMIT SECTION
   ========================================================= */
.submit-section {
  padding: 4rem 0;
}

.submit-card {
  background: var(--primary);
  color: var(--on-primary);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}

.submit-glow {
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.submit-glow-tl {
  top: -2.5rem;
  left: -2.5rem;
  background: rgba(255, 255, 255, 0.10);
}

.submit-glow-br {
  bottom: -2.5rem;
  right: -2.5rem;
  background: rgba(144, 77, 0, 0.20);
}

.submit-inner {
  position: relative;
  z-index: 1;
}

.submit-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(12px);
}

.submit-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.submit-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  line-height: 1.7;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--surface-container);
  border-top: 1px solid var(--outline-variant);
  padding: 4rem 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 22rem;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 2rem;
  height: 2rem;
  background: rgba(0, 101, 118, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-title {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--primary);
}

.footer-brand-desc {
  color: #5f6c72;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--surface-container-high);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6c72;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  color: var(--primary);
  background: rgba(0, 101, 118, 0.1);
}

.footer-links-simple {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-link-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #5f6c72;
  transition: color var(--transition-fast);
}

.footer-link-item:hover {
  color: var(--primary);
}

.footer-link-item svg {
  flex-shrink: 0;
  color: var(--outline-variant);
  transition: color var(--transition-fast);
}

.footer-link-item:hover svg {
  color: var(--primary);
}

.footer-col-title {
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.footer-col-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  font-size: 0.875rem;
  color: #5f6c72;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid var(--outline-variant);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(95, 108, 114, 0.6);
  font-style: italic;
  max-width: 36rem;
}

.footer-made {
  color: #5f6c72;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.heart {
  color: var(--secondary);
}

.footer-link-sponsor {
  color: var(--secondary) !important;
}

.footer-link-sponsor svg {
  color: var(--secondary) !important;
  fill: rgba(144, 77, 0, 0.15);
}

.footer-link-sponsor:hover {
  color: #b85e00 !important;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */
.empty-state {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-md);
  border: 1px solid rgba(190, 200, 204, 0.15);
}

.empty-state.hidden {
  display: none;
}

.empty-icon {
  width: 4rem;
  height: 4rem;
  background: var(--surface-container-high);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--outline-variant);
}

.empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 0.5rem;
}

.empty-desc {
  color: #5f6c72;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
.animate-fade-up {
  animation: fadeUp 0.7s ease forwards;
}

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

/* =========================================================
   MOBILE APP SECTION
   ========================================================= */
.app-section {
  background: linear-gradient(160deg, #f0f8fa 0%, var(--surface) 100%);
  overflow: hidden;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

/* --- Screenshots Side --- */
.app-screenshots-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.app-screenshots-track-wrapper {
  width: 100%;
  max-width: 280px;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  position: relative;
}

/* subtle depth shadow around the phones */
.app-screenshots-track-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 32px 80px -10px rgba(0, 101, 118, 0.22), 0 2px 8px rgba(0,0,0,0.08);
  pointer-events: none;
  z-index: 2;
}

.app-screenshots-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-screenshot-frame {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #000;
  border: 2px solid rgba(0,0,0,0.12);
}

.app-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-2xl) - 2px);
}

/* Dots */
.app-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.app-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface-container-highest);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  padding: 0;
}

.app-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* --- Info Side --- */
.app-info-side {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.app-info-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--on-surface);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.app-info-desc {
  color: #5f6c72;
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 36rem;
}

/* Feature list */
.app-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.app-feature-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-surface);
}

.app-feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(0, 101, 118, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 101, 118, 0.12);
}

/* Download area: QR + badge */
.app-download-area {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* QR Code */
.app-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.app-qr-img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(190, 200, 204, 0.4);
  padding: 6px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.app-qr-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #5f6c72;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* App Store Badge */
.app-badge-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-store-link {
  display: inline-block;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.app-store-link:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.app-store-badge {
  width: 180px;
  height: auto;
  display: block;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }

  .btn {
    width: auto;
  }

  .footer-links-simple {
    justify-content: flex-end;
  }

  .submit-card {
    padding: 2.5rem 2rem;
  }
}

/* Desktop (md) */
@media (min-width: 768px) {
  .hero {
    padding: 8rem 1.5rem 6rem;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dir-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .dir-item-actions {
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .dir-item-link {
    margin-left: 0.5rem;
  }

  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .submit-title {
    font-size: 2rem;
  }

  .submit-desc {
    font-size: 1rem;
  }

  .app-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .app-screenshots-side {
    order: -1;
  }

  .app-screenshots-track-wrapper {
    max-width: 240px;
  }
}

/* Large Desktop (lg) */
@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .directory-controls {
    flex-direction: row;
    align-items: center;
  }

  .search-wrapper {
    max-width: 24rem;
  }

  .submit-card {
    padding: 2.5rem;
  }

  .app-screenshots-track-wrapper {
    max-width: 280px;
  }

  .app-info-title {
    font-size: 3rem;
  }
}


/* Mobile nav */
@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .nav-title {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
