/* ==========================================================================
   ABA ALI HABIB SECURITIES (PVT) LTD — OUTSIDE-THE-BOX LUXURY ARCHITECTURE
   Version 3.0: Floating Executive Island Header & Spacious Panoramic Stage
   Zero Clutter • 100% Authentic Imagery • Distinct from abaalihabib-1
   ========================================================================== */

/* Root Architectural Tokens */
:root {
  --a2-bg-surface: var(--bg-base, #ffffff);
  --a2-bg-peach: var(--bg-subtle, #f8f9fc);
  --a2-bg-sky: var(--bg-subtle, #f8f9fc);
  --a2-text-primary: var(--navy-900, #1e2a6e);
  --a2-text-secondary: var(--text-600, #475569);
  --a2-text-muted: var(--text-400, #94a3b8);
  --a2-accent-blue: var(--blue-500, #3b66cf);
  --a2-accent-blue-deep: var(--navy-900, #1e2a6e);
  --a2-accent-emerald: #2e9e5b;
  --a2-border-subtle: var(--border, #eceef4);
  --a2-border-gold: var(--border, #eceef4);
  --a2-glass-bg: rgba(255, 255, 255, 0.96);
  --a2-glass-border: var(--border, #eceef4);
  --a2-shadow-float: var(--shadow-sm, 0 1px 2px rgba(20, 30, 90, 0.04));
}

/* --------------------------------------------------------------------------
   1. MINIMALIST FULL-WIDTH NAVBAR
   Simple full-width white bar: 72px height, 1px bottom border in --border,
   no shadow, no rounded container. Sticky at the top.
   -------------------------------------------------------------------------- */
.a2-header-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  margin: 0;
  pointer-events: auto;
  background-color: var(--bg-base);
}

.a2-header {
  pointer-events: auto;
  width: 100%;
  max-width: 100%;
  height: 72px;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  transition: background-color 200ms ease, border-color 200ms ease;
  position: relative;
}

.a2-header.scrolled {
  background-color: #ffffff;
  border-bottom-color: var(--border);
  box-shadow: none;
  transform: none;
}

/* Inner content uses the shared container: logo left, menu centered/left, actions right */
.a2-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  height: 72px;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(14px, 2vw, 32px);
  box-sizing: border-box;
  gap: clamp(10px, 1.5vw, 24px);
}

/* Brand Logo */
.a2-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.a2-logo {
  height: clamp(32px, 2.2vw, 36px);
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

/* Menu Navigation */
.a2-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(1px, 0.35vw, 6px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
  min-width: 0;
}

.a2-nav-item {
  position: relative;
  flex-shrink: 0;
}

/* Menu links: 0.875rem, weight 500, color --text-600, hover and active color --navy-900.
   Active page indicated by a 2px --navy-900 underline offset 8px under the text */
.a2-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px clamp(5px, 0.55vw, 9px);
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 0.85vw, 0.875rem);
  font-weight: 500;
  color: var(--text-600);
  text-decoration: none;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  transition: color 200ms ease;
  white-space: nowrap;
  outline: none;
  position: relative;
}

.a2-nav-link:hover,
.a2-nav-link:focus {
  color: var(--navy-900);
  background: transparent !important;
}

.a2-nav-link.active {
  color: var(--navy-900);
  font-weight: 600;
  background: transparent !important;
  text-decoration: underline;
  text-decoration-color: var(--navy-900);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.a2-nav-link i.fa-angle-down {
  font-size: 10px;
  color: var(--text-400);
  transition: transform 200ms ease, color 200ms ease;
}

.a2-nav-item:hover .a2-nav-link i.fa-angle-down {
  transform: rotate(180deg);
  color: var(--navy-900);
}

/* Dropdown panels: white, 1px --border, --r-md, --shadow-md, 8px padding, items with 10px 14px padding and a subtle --bg-subtle hover */
.a2-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background-color: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  z-index: 1050;
}

.a2-nav-item:hover .a2-dropdown,
.a2-nav-item:focus-within .a2-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.a2-dropdown.a2-dropdown--split {
  min-width: 480px;
  display: flex;
  gap: var(--space-12);
  padding: var(--space-12);
}

.a2-dropdown-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.a2-dropdown-col + .a2-dropdown-col {
  border-left: 1px solid var(--border);
  padding-left: var(--space-12);
}

.a2-dropdown-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px 4px;
}

.a2-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: var(--text-600);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  text-decoration: none;
  background: transparent;
  transition: background-color 150ms ease, color 150ms ease;
  white-space: nowrap;
}

.a2-dropdown a:hover,
.a2-dropdown a:focus,
.a2-dropdown a.active {
  background-color: var(--bg-subtle);
  color: var(--navy-900);
  padding-left: 14px;
}

.a2-dropdown a i {
  font-size: 11px;
  color: var(--text-400);
  transition: color 150ms ease, transform 150ms ease;
}

.a2-dropdown a:hover i {
  color: var(--navy-900);
  transform: translateX(2px);
}

/* Header Right Actions */
.a2-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(6px, 0.8vw, 10px);
  flex-shrink: 0;
}

/* "Client Login": secondary button style, icon kept, 38px height */
.a2-btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  min-height: 38px;
  padding: 0 clamp(10px, 0.9vw, 15px);
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 0.82vw, 0.875rem);
  font-weight: 500;
  line-height: 1;
  border-radius: var(--r-pill);
  background-color: transparent !important;
  color: var(--navy-900) !important;
  border: 1px solid var(--border) !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0 !important;
}

.a2-btn-login i {
  font-size: 0.8125rem;
  color: var(--navy-900);
}

.a2-btn-login:hover {
  background-color: var(--bg-subtle) !important;
  border-color: var(--navy-900) !important;
  color: var(--navy-900) !important;
}

/* "Open Account": primary button style, arrow icon kept, 38px height */
.a2-btn-aof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  min-height: 38px;
  padding: 0 clamp(12px, 1.1vw, 18px);
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 0.82vw, 0.875rem);
  font-weight: 500;
  line-height: 1;
  border-radius: var(--r-pill);
  background-color: var(--navy-900) !important;
  color: #ffffff !important;
  border: 1px solid var(--navy-900) !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0 !important;
}

.a2-btn-aof i {
  font-size: 0.75rem;
  color: #ffffff;
  transition: transform 200ms ease;
}

.a2-btn-aof:hover {
  background-color: var(--navy-700) !important;
  border-color: var(--navy-700) !important;
  color: #ffffff !important;
}

.a2-btn-login:focus-visible,
.a2-btn-aof:focus-visible,
.a2-mobile-toggle:focus-visible {
  outline: 2px solid var(--navy-900) !important;
  outline-offset: 2px !important;
}

/* Hamburger toggle button (below 1024px) */
.a2-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy-900);
  font-size: 16px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.a2-mobile-toggle:hover {
  background-color: var(--bg-subtle);
  border-color: var(--navy-900);
}

/* Mobile Slide-Down Panel */
.a2-mobile-drawer {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background-color: var(--bg-base);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, opacity 200ms ease;
  opacity: 0;
  z-index: 1000;
}

.a2-mobile-drawer.active {
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  opacity: 1;
}

.a2-mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  width: 100%;
}

.a2-mobile-menu > li {
  border-bottom: 1px solid var(--border);
  width: 100%;
}

/* Large tap targets: min 48px */
.a2-mobile-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 20px;
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  background: transparent;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.a2-mobile-menu > li > a:hover,
.a2-mobile-menu > li > a.active {
  background-color: var(--bg-subtle);
  color: var(--navy-900);
}

/* Mobile Collapsible Submenus */
.a2-mobile-collapsible {
  background: transparent;
  overflow: hidden;
}

.a2-mobile-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 20px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-900);
  cursor: pointer;
  text-align: left;
  transition: background-color 150ms ease;
}

.a2-mobile-toggle-btn:hover {
  background-color: var(--bg-subtle);
}

.a2-mobile-toggle-btn i {
  font-size: 11px;
  color: var(--text-400);
  transition: transform 200ms ease, color 200ms ease;
}

.a2-mobile-toggle-btn.open i {
  transform: rotate(180deg);
  color: var(--navy-900);
}

.a2-mobile-sublist {
  display: none;
  padding: 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.a2-mobile-sublist.open {
  display: flex;
  flex-direction: column;
}

.a2-mobile-group-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-400);
  padding: 10px 20px 4px;
}

.a2-mobile-sublink {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 20px 10px 32px !important;
  font-family: var(--font-sans);
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: var(--text-600) !important;
  background: transparent !important;
  border: none;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.a2-mobile-sublink:last-child {
  border-bottom: none;
}

.a2-mobile-sublink:hover,
.a2-mobile-sublink.active {
  background-color: #ffffff !important;
  color: var(--navy-900) !important;
}

/* Mobile Quick Action Buttons at the bottom of the panel */
.a2-mobile-action-first {
  border-bottom: none !important;
  padding: 16px 20px 8px;
}

.a2-mobile-action-item {
  border-bottom: none !important;
  padding: 4px 20px;
}

.a2-mobile-action-item:last-child {
  padding-bottom: 20px;
}

.a2-mobile-btn-aof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  min-height: 48px;
  background: var(--navy-900) !important;
  color: #ffffff !important;
  border: 1px solid var(--navy-900) !important;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 200ms ease;
}

.a2-mobile-btn-aof:hover {
  background: var(--navy-700) !important;
  color: #ffffff !important;
}

.a2-mobile-btn-portal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  min-height: 48px;
  background: transparent !important;
  color: var(--navy-900) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.a2-mobile-btn-portal:hover {
  background: var(--bg-subtle) !important;
  border-color: var(--navy-900) !important;
  color: var(--navy-900) !important;
}

.a2-mobile-btn-qr,
.a2-mobile-btn-calendar,
.a2-mobile-btn-cgp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.a2-mobile-btn-qr:hover,
.a2-mobile-btn-calendar:hover,
.a2-mobile-btn-cgp:hover {
  background: #ffffff;
  border-color: var(--navy-900);
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   2. HERO COCKPIT BANNER (MINIMAL & CALM EDITORIAL PRESENTATION)
   Flat --bg-base white, 64px top / 80px bottom padding on desktop,
   2 columns (text ~55%, phone ~45%), single quiet badge line,
   solid --navy-900 H1 with solid --blue-500 highlight, 48px pill buttons,
   quiet inline trust items.
   -------------------------------------------------------------------------- */
.appie-hero-area {
  position: relative;
  background-color: var(--bg-base);
  background-image: none !important;
  padding-top: 64px;
  padding-bottom: 80px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Remove all ambient glows, gradient blobs, and radial overlays */
.appie-hero-area::before,
.appie-hero-area::after {
  content: none !important;
  display: none !important;
}

/* Container & Grid Alignment */
.appie-hero-area .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-padding);
  box-sizing: border-box;
}

.appie-hero-area .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-inline: -15px;
}

/* Two columns on desktop: text left about 55%, phone right about 45% */
.appie-hero-area .col-lg-7 {
  flex: 0 0 55%;
  max-width: 55%;
  padding-inline: 15px;
  box-sizing: border-box;
}

.appie-hero-area .col-lg-5 {
  flex: 0 0 45%;
  max-width: 45%;
  padding-inline: 15px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Left Hero Content */
.appie-hero-content {
  position: relative;
  z-index: 5;
  padding: 0;
}

/* Eyebrow Badge: single quiet line with small text, --text-600, tiny gold dot before it, no border, no background */
.aahs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 0 var(--space-16) 0;
  color: var(--text-600);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.aahs-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-500);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Headline Typography: solid --navy-900, global H1 style. Highlight word 'Smartly' in --blue-500 solid (no gradient). Max width about 14ch per line pair */
.appie-hero-content .appie-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin: 0 0 var(--space-20) 0;
  max-width: 15ch;
}

.appie-hero-content .appie-title .highlight {
  color: var(--blue-500) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  display: inline;
}

/* Body Copy Paragraph: max-width 520px, --text-600, 1.0625rem */
.appie-hero-content p {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-600);
  margin: 0 0 var(--space-32) 0;
  max-width: 520px;
}

/* Action Button Hub: 48px height, 16px gap, keep icons */
.appie-hero-content .info.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0 0 var(--space-32) 0;
  padding: 0;
}

/* Primary Pill Button (Digital Account Opening) */
.appie-hero-content .main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy-900) !important;
  color: #ffffff !important;
  border: 1px solid var(--navy-900) !important;
  padding: 0 24px;
  height: 48px;
  min-height: 48px;
  line-height: 1;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}

.appie-hero-content .main-btn i {
  font-size: 0.875rem;
  color: #ffffff;
  transform: none !important;
  transition: none !important;
}

.appie-hero-content .main-btn:hover {
  background: var(--navy-700) !important;
  border-color: var(--navy-700) !important;
  color: #ffffff !important;
}

/* Secondary Pill Button (Instant Raast QR Deposit) */
.appie-hero-content .main-btn.main-btn-2,
.appie-hero-content .open-payment-modal-btn {
  background: transparent !important;
  color: var(--navy-900) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-pill);
  padding: 0 24px;
  height: 48px;
  min-height: 48px;
  line-height: 1;
  box-shadow: none !important;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transform: none !important;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}

.appie-hero-content .main-btn.main-btn-2 i,
.appie-hero-content .open-payment-modal-btn i {
  color: var(--navy-900);
  font-size: 0.875rem;
  transform: none !important;
  transition: none !important;
}

.appie-hero-content .main-btn.main-btn-2:hover,
.appie-hero-content .open-payment-modal-btn:hover {
  background: var(--bg-subtle) !important;
  border-color: var(--navy-900) !important;
  color: var(--navy-900) !important;
}

/* Trust items: single quiet row (flex-wrap, gap 12px 28px) with small check icons in --navy-700 and 0.875rem --text-600. No chips, no borders, no backgrounds */
.aahs-hero-sub-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
}

.aahs-hero-sub-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-600);
  line-height: 1.4;
}

.aahs-hero-sub-badges i.fa-check-circle,
.aahs-hero-sub-badges i.fa-shield {
  color: var(--navy-700);
  font-size: 13px;
}

#openNoticeHeroBtn {
  cursor: pointer;
  transition: color 150ms ease;
}

#openNoticeHeroBtn:hover {
  color: var(--navy-900);
}

/* Right-Side Hero Phone Mockup: no heavy drop shadow or glow, soft shadow */
.appie-hero-thumb-6 {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.appie-hero-thumb-6 .thumb {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  transform: none !important;
}

.appie-hero-thumb-6 .thumb .aahs-hero-phone-img {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
  background: transparent;
  border: none;
  outline: none;
  filter: drop-shadow(0 12px 30px rgba(15, 23, 42, 0.08));
  transform: none !important;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (ZERO OVERFLOW, PERFECT ADAPTATION)
   -------------------------------------------------------------------------- */
/* Tier 2: Intermediate Desktop (1181px to 1280px) */
@media (min-width: 1181px) and (max-width: 1280px) {
  .a2-header-container {
    padding-inline: 16px;
    gap: 12px;
  }

  .a2-logo {
    height: 32px;
    max-width: 180px;
  }

  .a2-nav {
    gap: 2px;
  }

  .a2-nav-link {
    padding: 6px 6px;
    font-size: 0.835rem;
  }

  .a2-actions {
    gap: 6px;
  }

  .a2-btn-login {
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.8125rem;
  }

  .a2-btn-aof {
    height: 36px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.8125rem;
  }
}

/* Tier 3: Compact Desktop / Laptops (1024px to 1180px) - Zero Overflow, Single Row Guarantee */
@media (min-width: 1024px) and (max-width: 1180px) {
  .a2-header-container {
    padding-inline: 12px;
    gap: 8px;
  }

  .a2-logo {
    height: 28px;
    max-width: 155px;
  }

  .a2-nav {
    gap: 1px;
  }

  .a2-nav-link {
    padding: 5px 3.5px;
    font-size: 0.775rem;
    gap: 3px;
  }

  .a2-nav-link i.fa-angle-down {
    font-size: 8px;
  }

  .a2-dropdown.a2-dropdown--split {
    min-width: 440px;
  }

  .a2-actions {
    gap: 5px;
  }

  .a2-btn-login {
    height: 34px;
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.775rem;
    gap: 5px;
  }

  .a2-btn-login i {
    font-size: 0.75rem;
  }

  .a2-btn-aof {
    height: 34px;
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.775rem;
    gap: 5px;
  }

  .a2-btn-aof i {
    font-size: 0.7rem;
  }
}

@media (max-width: 1023.98px) {
  .a2-nav {
    display: none !important;
  }

  .a2-actions .a2-btn-login,
  .a2-actions .a2-btn-aof {
    display: none !important;
  }

  .a2-mobile-toggle {
    display: inline-flex !important;
  }

  .a2-mobile-drawer {
    display: block;
  }

  .appie-hero-content .appie-title {
    font-size: 42px;
  }
}

@media (max-width: 991px) {
  .appie-hero-area {
    padding: 60px 0 70px;
  }

  .appie-hero-area .col-lg-7,
  .appie-hero-area .col-lg-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .appie-hero-content {
    text-align: left;
    margin-bottom: 36px;
  }

  .appie-hero-content p {
    margin-left: 0;
    margin-right: 0;
  }

  .appie-hero-content .info {
    justify-content: flex-start;
  }

  .aahs-hero-sub-badges {
    justify-content: flex-start;
  }

  .appie-hero-thumb-6 {
    max-width: 360px;
    margin: 0 auto;
  }

  .aahs-hero-parallax-left {
    display: none;
  }
}

@media (max-width: 768px) {
  .a2-header-wrapper {
    position: sticky;
    top: 0;
    padding: 0;
  }

  .a2-header {
    height: 64px;
  }

  .a2-header-container {
    height: 64px;
    padding: 0 16px;
  }

  .a2-mobile-drawer {
    top: 64px;
  }

  .appie-hero-content .appie-title {
    font-size: 2.25rem;
  }

  .appie-hero-content p {
    font-size: 1rem;
  }

  .aahs-hero-sub-badges {
    gap: 10px 20px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 575px) {
  .appie-hero-area {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .appie-hero-content .appie-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .aahs-hero-badge {
    font-size: 0.75rem;
  }

  .appie-hero-content .info.hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .appie-hero-content .main-btn,
  .appie-hero-content .open-payment-modal-btn {
    width: 100%;
  }
}
