/**
 * Elaz Support Center - Main Stylesheet
 * Elegant, Google Play compliant developer portal
 */

:root {
  --primary: #d4af37;           /* Metallic Gold */
  --primary-glow: rgba(212, 175, 55, 0.25);
  --primary-hover: #b89628;
  --secondary: #3b82f6;         /* Royal Blue */
  --secondary-glow: rgba(59, 130, 246, 0.2);
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;

  --bg-main: #070a13;
  --bg-surface: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #283548;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-card: rgba(30, 41, 59, 0.65);

  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(212, 175, 55, 0.35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px var(--primary-glow);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

body.light-theme {
  --primary: #b89123;
  --primary-glow: rgba(184, 145, 35, 0.18);
  --primary-hover: #9e7b1a;
  --secondary: #2563eb;
  --secondary-glow: rgba(37, 99, 235, 0.15);

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #f1f5f9;
  --bg-card-hover: #e2e8f0;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(241, 245, 249, 0.8);

  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-card: rgba(0, 0, 0, 0.09);
  --border-gold: rgba(184, 145, 35, 0.3);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px var(--primary-glow);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  width: 100%;
}

body.nav-menu-open {
  overflow: hidden;
}

/* BACKGROUND AMBIENT GLOWS */
.ambient-glow {
  position: fixed;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: fixed;
  bottom: 10%;
  left: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .ambient-glow {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -80px;
    opacity: 0.6;
  }
  .ambient-glow-2 {
    width: 320px;
    height: 320px;
    bottom: 5%;
    left: -100px;
    opacity: 0.6;
  }
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
}

/* HEADER & NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-normal);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
  min-width: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.3));
  flex-shrink: 0;
  transition: height var(--transition-fast);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

body.light-theme .brand-title {
  background: linear-gradient(135deg, #0f172a 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-sub);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

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

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Mobile Nav Toggle & Drawer Styles */
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  cursor: pointer;
  padding: 8px;
  transition: all var(--transition-fast);
}

.nav-toggle-btn:hover {
  border-color: var(--primary);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-cta {
  display: none;
}

.nav-backdrop {
  display: none;
}

@media (max-width: 992px) {
  .nav-toggle-btn {
    display: flex;
  }
  .nav-cta-group .nav-desktop-cta,
  .btn.nav-desktop-cta {
    display: none !important;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }
  .navbar.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu-wrapper {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--border-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 1.5rem 1.25rem 2rem 1.25rem;
    z-index: 99;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navbar.nav-open .nav-menu-wrapper {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .nav-link {
    display: flex;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
  }
  .nav-link:hover, .nav-link.active {
    background: var(--bg-card);
    border-color: var(--border-gold);
    color: var(--primary);
  }
  .nav-mobile-cta {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
  }
}

@media (max-width: 640px) {
  .navbar-inner {
    height: 64px;
  }
  .nav-menu-wrapper {
    top: 64px;
    max-height: calc(100vh - 64px);
    padding: 1.25rem 1rem 1.75rem 1rem;
  }
  .brand-logo {
    height: 36px;
  }
  .brand-title {
    font-size: 1.08rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
  }
}

@media (max-width: 380px) {
  .brand-title {
    font-size: 0.98rem;
  }
  .brand-subtitle {
    display: none;
  }
  .brand-wrapper {
    gap: 0.5rem;
  }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #e2bf4b 100%);
  color: #070a13;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-card);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
}

.btn-danger-outline {
  background: transparent;
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 0.5rem 0.9rem;
  font-size: 0.825rem;
}

.btn-danger-outline:hover {
  background: rgba(244, 63, 94, 0.12);
  border-color: var(--accent-rose);
}

.btn-gold-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-gold);
  padding: 0.5rem 0.9rem;
  font-size: 0.825rem;
}

.btn-gold-outline:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
}

.btn-playstore {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.8rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-playstore:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

body.light-theme .btn-playstore {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}

body.light-theme .btn-playstore:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

/* HERO SECTION */
.hero-section {
  padding: 4.5rem 0 3.5rem 0;
  text-align: center;
  position: relative;
}

@media (max-width: 992px) {
  .hero-section {
    padding: 3.25rem 0 2.5rem 0;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 2.25rem 0 1.75rem 0;
  }
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.hero-pill-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.85rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, var(--primary) 70%, #ffdf78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .hero-title .gradient-text {
  background: linear-gradient(135deg, #0f172a 30%, var(--primary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: var(--text-sub);
  max-width: 760px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.55;
  font-weight: 400;
}

/* HERO ACTION BUTTONS */
.hero-action-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-action-btns .btn {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .hero-action-btns {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-action-btns .btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.925rem;
  }
}

@media (max-width: 480px) {
  .hero-action-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-action-btns .btn {
    width: 100%;
  }
}

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.5rem auto 3rem auto;
  max-width: 980px;
}

@media (max-width: 992px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.25rem auto 2.5rem auto;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin: 1rem auto 2rem auto;
  }
  .stat-card {
    padding: 0.85rem 0.6rem;
  }
  .stat-number {
    font-size: 1.45rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }
}

@media (max-width: 330px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* PLAY CONSOLE URL TOOL CARD */
.tool-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: visible;
}

body.light-theme .tool-banner {
  background: linear-gradient(135deg, rgba(184, 145, 35, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
}

@media (max-width: 768px) {
  .tool-banner {
    padding: 1.5rem 1.25rem;
    margin-bottom: 2.5rem;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 520px) {
  .tool-banner {
    padding: 1.25rem 1rem;
  }
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(212, 175, 55, 0.15);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.tool-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .tool-title {
    font-size: 1.2rem;
  }
}

.tool-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.tool-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .tool-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.tool-field {
  position: relative;
}

.tool-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-sub);
}

.tool-field select,
.tool-field input {
  width: 100%;
  height: 46px;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
  color: var(--text-main);
  font-family: inherit;
  font-size: 16px; /* prevent mobile zoom */
}

/* CUSTOM SCROLLABLE SELECT DROPDOWN WITH VISIBLE SCROLLER */
.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  height: 46px;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
  color: var(--text-main);
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  transition: all var(--transition-fast);
}

body.light-theme .custom-select-trigger {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.custom-select-trigger:hover {
  border-color: var(--primary);
  background: var(--bg-card);
}

body.light-theme .custom-select-trigger:hover {
  background: #f8fafc;
}

.custom-select-container.open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.custom-select-current {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
}

.custom-select-current .app-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.custom-select-current .app-title {
  font-weight: 600;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
  line-height: 1.2;
}

.custom-select-current .app-tag-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.app-tag-pill.offline {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

body.light-theme .app-tag-pill.offline {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.app-tag-pill.account {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

body.light-theme .app-tag-pill.account {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.custom-select-caret {
  font-size: 0.75rem;
  color: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.custom-select-container.open .custom-select-caret {
  transform: rotate(180deg);
}

/* DROPDOWN MENU */
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px -5px rgba(0, 0, 0, 0.65), 0 0 15px var(--primary-glow);
  z-index: 150;
  display: none;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: dropdownFadeIn 0.18s ease-out;
}

body.light-theme .custom-select-dropdown {
  background: #ffffff;
  border-color: var(--border-gold);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

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

.custom-select-container.open .custom-select-dropdown {
  display: flex;
}

/* SEARCH INPUT INSIDE DROPDOWN */
.dropdown-search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

body.light-theme .dropdown-search-wrapper {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

.search-mini-icon {
  position: absolute;
  left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
}

.dropdown-search-input {
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 2.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--transition-fast);
}

body.light-theme .dropdown-search-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.dropdown-search-input:focus {
  outline: none;
  border-color: var(--primary);
}

.dropdown-search-clear {
  position: absolute;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.25rem;
  line-height: 1;
}

/* THE SCROLLER LIST - ALWAYS VISIBLE SCROLLER TRACK & THUMB */
.dropdown-list-scroller {
  max-height: 250px;
  overflow-y: scroll; /* Force visible scroll track */
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch; /* Momentum touch scroll */
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-card);
}

body.light-theme .dropdown-list-scroller {
  scrollbar-color: var(--primary) #f1f5f9;
}

/* CUSTOM VISIBLE SCROLLER BAR */
.dropdown-list-scroller::-webkit-scrollbar {
  width: 8px;
  display: block;
}

.dropdown-list-scroller::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 4px;
}

body.light-theme .dropdown-list-scroller::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.dropdown-list-scroller::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
  border: 2px solid var(--bg-card);
}

body.light-theme .dropdown-list-scroller::-webkit-scrollbar-thumb {
  border-color: #f1f5f9;
}

.dropdown-list-scroller::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

.dropdown-options-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
}

.dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  min-height: 48px; /* Touch target accessibility */
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover,
.dropdown-option:focus-visible {
  background: var(--bg-card-hover);
  color: var(--primary);
  outline: none;
}

body.light-theme .dropdown-option:hover,
body.light-theme .dropdown-option:focus-visible {
  background: #f1f5f9;
}

.dropdown-option.selected {
  background: var(--primary-glow);
  color: var(--primary);
  font-weight: 700;
}

body.light-theme .dropdown-option.selected {
  background: rgba(184, 145, 35, 0.12);
}

.option-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1;
  min-width: 0;
}

.option-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.option-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.option-name {
  font-size: 0.92rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.option-name-ar {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}

.option-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.option-checkmark {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  display: none;
}

.dropdown-option.selected .option-checkmark {
  display: inline-block;
}

.dropdown-no-results {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.tool-outputs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.output-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  min-width: 0;
}

.output-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.output-url-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.output-url {
  flex: 1;
  background: var(--bg-card);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .output-url-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .output-url {
    width: 100%;
    word-break: break-all;
    white-space: normal;
    font-size: 0.78rem;
    padding: 0.65rem 0.75rem;
  }
  .output-box .copy-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
}

.copy-btn {
  background: var(--primary);
  color: #000;
  border: none;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.copy-btn:hover {
  filter: brightness(1.15);
}

/* TESTER INVITATION BANNER */
.tester-banner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(20, 29, 47, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
}

body.light-theme .tester-banner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
  .tester-banner {
    padding: 1.35rem 1.15rem;
    gap: 1.25rem;
    border-radius: var(--radius-md);
  }
}

.tester-content {
  flex: 1;
  min-width: 260px;
}

.tester-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

body.light-theme .tester-badge {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
}

.tester-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

@media (max-width: 640px) {
  .tester-title {
    font-size: 1.18rem;
  }
}

.tester-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 0;
}

.tester-notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(59, 130, 246, 0.12);
  border-left: 3px solid #3b82f6;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

body.light-theme .tester-notice {
  background: rgba(59, 130, 246, 0.08);
  border-left-color: #2563eb;
  color: #1e293b;
}

.tester-notice strong {
  color: #60a5fa;
}

body.light-theme .tester-notice strong {
  color: #1d4ed8;
}

.tester-notice em {
  font-style: normal;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

body.light-theme .tester-notice em {
  background: rgba(0, 0, 0, 0.05);
}

.btn-tester {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-tester:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .btn-tester {
    width: 100%;
    justify-content: center;
  }
}

/* SECTION TITLES */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

@media (max-width: 640px) {
  .section-header {
    margin: 0 auto 1.75rem auto;
  }
}

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

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.6rem;
  }
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .section-desc {
    font-size: 0.88rem;
  }
}

/* SEARCH & FILTER CONTROLS */
.controls-wrapper {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .controls-wrapper {
    padding: 1.15rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
  }
}

.search-box-row {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 1.25rem;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.95rem 3rem 0.95rem 3.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 16px; /* prevent mobile auto-zoom */
  font-family: inherit;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-clear-btn {
  position: absolute;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  padding: 0.4rem;
}

.filter-chips-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.35rem 0.25rem 0.5rem 0.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-chips-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-chip:hover {
  color: var(--text-main);
  border-color: var(--primary);
}

.filter-chip.active {
  background: var(--primary);
  color: #070a13;
  font-weight: 700;
  border-color: var(--primary);
  box-shadow: 0 2px 10px var(--primary-glow);
}

.results-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-dim);
}

@media (max-width: 540px) {
  .results-count-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* APP CARDS GRID */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}

@media (max-width: 992px) {
  .apps-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
  }
}

@media (max-width: 640px) {
  .apps-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-bottom: 3rem;
  }
}

.app-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

@media (max-width: 480px) {
  .app-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.app-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
  .app-icon-bubble {
    width: 46px;
    height: 46px;
    font-size: 1.5rem;
  }
}

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

.app-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

@media (max-width: 480px) {
  .app-card-title {
    font-size: 1.12rem;
  }
}

.app-card-title-ar {
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  color: var(--primary);
  direction: rtl;
  margin-bottom: 0.35rem;
}

.app-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.app-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.badge-account {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

.badge-offline {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.app-card-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex: 1;
}

.app-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.action-row {
  display: flex;
  gap: 0.5rem;
}

.action-row .btn {
  flex: 1;
}

@media (max-width: 480px) {
  .action-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .action-row .btn,
  .action-row .badge-offline-pill {
    width: 100%;
    min-height: 40px;
  }
}

/* NO RESULTS */
.no-results {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--bg-glass-card);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-card);
  grid-column: 1 / -1;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ACCOUNT DELETION SPOTLIGHT SECTION */
.deletion-spotlight {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  margin-bottom: 4.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

body.light-theme .deletion-spotlight {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-color: rgba(239, 68, 68, 0.2);
}

.deletion-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.deletion-content {
  width: 100%;
  min-width: 0;
}

.deletion-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: break-word;
}

.deletion-content p {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: break-word;
}

.deletion-highlights {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

.deletion-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-main);
}

.deletion-highlights li:last-child {
  margin-bottom: 0;
}

.deletion-highlights li span.check {
  color: var(--accent-emerald);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.5;
  flex-shrink: 0;
  display: inline-block;
}

.deletion-highlights li span:not(.check) {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.deletion-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.deletion-actions .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  padding: 0.8rem 1.25rem;
}

.deletion-card-side {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 0;
  box-sizing: border-box;
}

.deletion-card-side .lock-icon {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 860px) {
  .deletion-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .deletion-spotlight {
    padding: 2.25rem 1.75rem;
    margin-bottom: 3.5rem;
    border-radius: var(--radius-lg);
  }
  .deletion-content h3 {
    font-size: 1.55rem;
  }
}

@media (max-width: 540px) {
  .deletion-spotlight {
    padding: 1.35rem 1rem;
    margin-bottom: 2.5rem;
    border-radius: var(--radius-md);
  }
  .deletion-content h3 {
    font-size: 1.35rem;
  }
  .deletion-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .deletion-actions .btn {
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }
  .deletion-card-side {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 380px) {
  .deletion-spotlight {
    padding: 1.15rem 0.75rem;
  }
  .deletion-content h3 {
    font-size: 1.2rem;
  }
  .deletion-highlights li {
    font-size: 0.85rem;
    gap: 0.5rem;
  }
  .deletion-actions .btn {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }
}

/* CSAE BANNER */
.csae-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .csae-banner {
    padding: 1.35rem 1.25rem;
    margin-bottom: 3.5rem;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 600px) {
  .csae-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 1.15rem;
  }
  .csae-banner .btn {
    width: 100%;
    justify-content: center;
  }
}

.csae-text-block h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.csae-text-block p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* CONTACT SECTION */
.contact-section {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  margin-bottom: 4.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-section {
    padding: 2.25rem 1.75rem;
    margin-bottom: 3.5rem;
    border-radius: var(--radius-lg);
  }
  .contact-info-col h3 {
    font-size: 1.55rem;
  }
  .form-box {
    padding: 1.5rem;
  }
}

@media (max-width: 540px) {
  .contact-section {
    padding: 1.5rem 1rem;
    margin-bottom: 2.75rem;
    border-radius: var(--radius-md);
  }
  .contact-info-col h3 {
    font-size: 1.35rem;
  }
  .form-box {
    padding: 1.25rem 0.85rem;
  }
  .contact-card {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }
  .contact-val {
    font-size: 0.85rem;
    word-break: break-all;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* prevent mobile auto-zoom */
    padding: 0.75rem 0.85rem;
  }
  #copyEmailBtn {
    width: 100%;
  }
}

.contact-info-col h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info-col p {
  color: var(--text-sub);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* FORM ELEMENTS */
.form-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-sub);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 16px; /* prevent mobile auto-zoom */
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* FAQ ACCORDION */
.faq-section {
  max-width: 860px;
  margin: 0 auto 5rem auto;
}

@media (max-width: 640px) {
  .faq-section {
    margin: 0 auto 3.5rem auto;
  }
  .faq-question {
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
    gap: 0.75rem;
  }
  .faq-answer {
    padding: 0 1.15rem;
    font-size: 0.88rem;
  }
  .faq-item.open .faq-answer {
    padding-bottom: 1.15rem;
  }
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}

.faq-question .arrow {
  transition: transform var(--transition-fast);
  color: var(--primary);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  padding-bottom: 1.25rem;
}

/* FOOTER */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem 0;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) and (min-width: 641px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 2.5rem 0 1.75rem 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 380px;
}

.footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

/* SHARED TOP BAR & RESPONSIVE TABLES */
#elaz-top-bar {
  flex-wrap: wrap;
}

@media (max-width: 520px) {
  #elaz-top-bar {
    padding: 0.5rem 0.85rem !important;
    gap: 0.5rem;
  }
  #elaz-top-bar .elaz-bar-brand {
    font-size: 0.85rem !important;
    gap: 0.4rem !important;
  }
  #elaz-top-bar .elaz-bar-brand img {
    height: 22px !important;
  }
  #elaz-top-bar .elaz-bar-back {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.75rem !important;
  }
}

.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

