/* ==========================================================================
   DIRECT PLATFORM — NEO-LUXURY DARK DESIGN SYSTEM
   Optimized for Mobile PWA & Desktop iPhone Frame Simulator
   ========================================================================== */

:root {
  /* Colors */
  --bg-main: #080c14;
  --bg-card: #0f1726;
  --bg-card-hover: #152238;
  --bg-card-active: #182842;
  --bg-input: #111a2b;
  --bg-glass: rgba(15, 23, 38, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-cyan: rgba(0, 229, 255, 0.35);
  --border-cyan-active: #00e5ff;

  --cyan-primary: #00e5ff;
  --cyan-hover: #33ecff;
  --cyan-glow: rgba(0, 229, 255, 0.28);
  --cyan-gradient: linear-gradient(135deg, #00f2fe 0%, #00b4d8 100%);
  --cyan-badge-bg: rgba(0, 229, 255, 0.12);

  --orange-primary: #ff6b35;
  --orange-badge-bg: rgba(255, 107, 53, 0.15);
  --amber-primary: #f59e0b;
  --amber-badge-bg: rgba(245, 158, 11, 0.15);
  --emerald-primary: #10b981;
  --emerald-badge-bg: rgba(16, 185, 129, 0.15);
  --gold-primary: #fbbf24;

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

  /* Sizing & Radius */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;

  --bottom-nav-height: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --transition-snappy: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  background: #03060a;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior-x: contain;
  user-select: none;
  -webkit-user-select: none;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-primary);
}

/* ============================================================
   RESPONSIVE PLATFORM WRAPPER & CONTAINER
   Desktop: Full Luxury Web App | Mobile: Native Edge-to-Edge PWA
   ============================================================ */
.site-main-wrapper,
.desktop-viewport-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #050912;
  position: relative;
  padding: 0;
  overflow-x: hidden;
}

/* Atmospheric Artistic Tech City Vector Background (Vietnam Skyline & Cyber Grid) */
.site-main-wrapper::before,
.desktop-viewport-wrapper::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(ellipse at calc(50% + 35px) 15%, rgba(0, 229, 255, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5, 9, 18, 0.82) 0%, rgba(5, 9, 18, 0.65) 35%, rgba(3, 6, 12, 0.9) 75%, #03060c 100%),
    url('../img/bg-city-mobile.jpg');
  background-position: calc(50% + 35px) bottom;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.52;
  filter: blur(1.2px);
  transform: scale(1.04);
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 769px) {
  .site-main-wrapper::before,
  .desktop-viewport-wrapper::before {
    background-image: 
      radial-gradient(ellipse at calc(50% + 75px) 18%, rgba(0, 229, 255, 0.06) 0%, transparent 65%),
      linear-gradient(180deg, rgba(5, 9, 18, 0.86) 0%, rgba(5, 9, 18, 0.7) 35%, rgba(3, 6, 12, 0.92) 75%, #03060c 100%),
      url('../img/bg-city-desktop.jpg');
    background-position: calc(50% + 75px) 30%;
    background-size: cover;
    opacity: 0.52;
  }
}

/* Hide obsolete simulator bar and fake status bar */
.desktop-simulator-bar,
.phone-status-bar {
  display: none !important;
}

/* Device Frame / Platform Container */
.device-frame {
  width: 100%;
  max-width: 1240px;
  min-height: 100vh;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Desktop Main Navigation Bar */
.desktop-main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-main-nav .nav-item-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.desktop-main-nav .nav-item-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.desktop-main-nav .nav-item-btn.active {
  color: #050b14;
  background: var(--cyan-primary);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 16px var(--cyan-glow);
  font-weight: 700;
}

/* ============================================================
   APP HEADER
   ============================================================ */
.app-header {
  height: auto;
  min-height: calc(54px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 90;
  flex-shrink: 0;
  box-sizing: border-box;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16) 0%, rgba(0, 140, 255, 0.1) 100%);
  border: 1px solid rgba(0, 229, 255, 0.45);
  color: var(--cyan-primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.header-back-btn:hover {
  background: rgba(0, 229, 255, 0.25);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
}

.header-back-btn:active {
  transform: scale(0.95) translateX(-2px);
}

.header-back-btn.hidden {
  display: none !important;
}

.brand-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.brand-d-logo {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #101c2e 0%, #09101a 100%);
  border: 1px solid var(--cyan-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.2px;
  color: var(--cyan-primary);
  box-shadow: 0 0 14px var(--cyan-glow);
  flex-shrink: 0;
}
.brand-d-text {
  display: flex;
  flex-direction: column;
}
.brand-d-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  white-space: nowrap;
}
.brand-d-sub {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--cyan-primary);
  letter-spacing: 1px;
}

.header-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pwa-install-header-btn {
  background: var(--cyan-badge-bg);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s;
}
.pwa-install-header-btn:hover {
  background: var(--cyan-primary);
  color: #000;
  box-shadow: 0 0 12px var(--cyan-glow);
}

.btn-icon-header {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
.btn-icon-header:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}
.req-count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--orange-primary);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-main);
}

/* ============================================================
   ENCLOSED VISUAL ROADMAP BAR (Lộ trình trực quan đóng khung)
   ============================================================ */
.roadmap-track-container {
  width: 100%;
  padding: 10px 14px 6px;
  display: flex;
  justify-content: center;
  z-index: 85;
}

.roadmap-pill-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #101e30 0%, #08121f 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.75),
              0 0 16px rgba(0, 229, 255, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  max-width: 100%;
  overflow: hidden;
}

.roadmap-pill-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: #ffb703;
  letter-spacing: 0.8px;
  flex-shrink: 0;
  padding-right: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.roadmap-steps-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}
.roadmap-steps-scroll::-webkit-scrollbar {
  display: none;
}

.roadmap-step-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.roadmap-step-pill:hover {
  color: #fff;
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
}

.roadmap-step-pill.active {
  background: var(--cyan-primary);
  color: #030a14;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 14px var(--cyan-glow);
}

.step-badge-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
}

.roadmap-step-pill.active .step-badge-num {
  background: #030a14;
  color: var(--cyan-primary);
}

.roadmap-separator {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: bold;
}

/* ============================================================
   SCREEN CONTAINER & SPA TRANSITIONS
   ============================================================ */
.app-screen-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 16px);
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.app-screen {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease-out, transform 0.22s ease-out;
  padding: 16px 18px 24px;
}

.app-screen.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SCREEN 1: ONBOARDING / MUA NHÀ ONLINE
   ============================================================ */
.hero-onboarding {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 18px;
  max-width: 440px;
  margin: 0 auto;
}

.tag-pill-cyan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cyan-badge-bg);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.hero-main-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 26px;
}
.hero-main-title .cyan-highlight {
  color: var(--cyan-primary);
  text-shadow: 0 0 20px var(--cyan-glow);
}

/* Feature Pills - Clickable Tactile Frames */
.feature-pills-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.hero-cta-btn {
  width: 100%;
  max-width: 440px;
  margin: 24px auto 0 !important;
  height: 54px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 45%, #ea580c 100%) !important;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 900;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 10px 28px -4px rgba(234, 88, 12, 0.75), 0 0 24px rgba(255, 107, 0, 0.4) !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(234, 88, 12, 0.9), 0 0 32px rgba(255, 107, 0, 0.55) !important;
  background: linear-gradient(135deg, #ff7a1a 0%, #ff9626 45%, #f97316 100%) !important;
}

.hero-cta-btn:active {
  transform: scale(0.98);
}

/* How It Works Explainer Block (Ultra-clean & Minimal) */
.how-it-works-box {
  margin-top: 24px;
  background: rgba(13, 27, 54, 0.45);
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 18px;
  padding: 14px 18px;
  text-align: left;
  max-width: 440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(8px);
}

.how-it-works-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--cyan-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.how-it-works-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.how-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.how-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--cyan-primary);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-step-text {
  font-size: 13.5px;
  color: #f1f5f9;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: left;
}

.feature-pill-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(155deg, rgba(19, 33, 54, 0.85) 0%, rgba(12, 21, 36, 0.9) 100%);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 18px;
  padding: 15px 20px;
  cursor: default;
  position: relative;
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.75),
              0 0 16px rgba(0, 229, 255, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.feature-pill-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left !important;
  flex: 1;
  min-width: 0;
}

.pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff, 0 0 4px #fff;
  flex-shrink: 0;
}

.pill-dot.orange {
  background: #ff7a45;
  box-shadow: 0 0 10px #ff7a45, 0 0 4px #fff;
}

.pill-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
  text-align: left !important;
  line-height: 1.35;
}

.pill-arrow {
  color: #00e5ff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.pill-arrow.orange {
  color: #ff7a45;
}

/* Primary Cyan CTA Button - High Vibrancy Gradient */
.btn-cyan-primary {
  width: 100%;
  height: 54px;
  background: linear-gradient(100deg, #00f0ff 0%, #00bcff 50%, #0080ff 100%);
  color: #020813;
  font-size: 16.5px;
  font-weight: 900;
  border-radius: var(--radius-pill);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(0, 200, 255, 0.5),
              0 0 20px rgba(0, 229, 255, 0.3),
              inset 0 1px 1px rgba(255, 255, 255, 0.7);
  transition: all 0.22s var(--transition-snappy);
  letter-spacing: 0.3px;
}

.btn-cyan-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 200, 255, 0.7),
              0 0 26px rgba(0, 229, 255, 0.45),
              inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.btn-cyan-primary:active {
  transform: scale(0.98);
}

.hint-subtext {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ============================================================
   SCREEN 2: ROLE DECISION (Vai trò hôm nay)
   ============================================================ */
.screen-header-block {
  margin-bottom: 20px;
}
.step-breadcrumb-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.screen-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.role-cards-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.role-card-modern {
  border-radius: 20px;
  padding: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.24s var(--transition-snappy);
}
.role-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: background 0.2s;
}

.role-card-modern.investor {
  background: linear-gradient(155deg, #10243d 0%, #091626 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.45);
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.85),
              0 0 25px rgba(0, 229, 255, 0.16),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.role-card-modern.investor:hover, .role-card-modern.investor.selected {
  border-color: #00e5ff;
  background: linear-gradient(155deg, #153052 0%, #0c1c30 100%);
  transform: translateY(-3px);
  box-shadow: 0 20px 48px -4px rgba(0, 0, 0, 0.95),
              0 0 32px rgba(0, 229, 255, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.role-card-modern.investor:hover::before {
  background: var(--cyan-primary);
}

.role-card-modern.broker {
  background: linear-gradient(155deg, #2c1f0f 0%, #151108 100%);
  border: 1.5px solid rgba(255, 158, 11, 0.5);
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.85),
              0 0 25px rgba(255, 158, 11, 0.16),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.role-card-modern.broker:hover, .role-card-modern.broker.selected {
  border-color: #ffb703;
  background: linear-gradient(155deg, #382713 0%, #1d160b 100%);
  transform: translateY(-3px);
  box-shadow: 0 20px 48px -4px rgba(0, 0, 0, 0.95),
              0 0 32px rgba(255, 158, 11, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.role-card-modern.broker:hover::before {
  background: var(--amber-primary);
}

.role-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.role-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.role-icon-box.cyan {
  background: var(--cyan-badge-bg);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-primary);
  box-shadow: 0 0 16px var(--cyan-glow);
}
.role-icon-box.amber {
  background: var(--amber-badge-bg);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--amber-primary);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.role-tag-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.role-heading-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.role-desc-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-card-action.cyan {
  border: none;
  color: #020813;
  background: var(--cyan-primary);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.45);
}
.btn-card-action.cyan:hover {
  background: #33ecff;
  box-shadow: 0 6px 22px rgba(0, 229, 255, 0.65);
}
.btn-card-action.amber {
  border: none;
  color: #020813;
  background: var(--amber-primary);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45);
}
.btn-card-action.amber:hover {
  background: #fbbf24;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.65);
}

.trust-safety-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #0a1f1b 0%, #061411 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  color: #a7f3d0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ============================================================
   SCREEN 3: SURVEY INTRO (Phương án A & B)
   ============================================================ */
.option-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.survey-option-card {
  background: linear-gradient(155deg, #132238 0%, #0b1524 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  border-radius: 20px;
  padding: 20px;
  cursor: pointer;
  box-shadow: 0 14px 36px -4px rgba(0, 0, 0, 0.8),
              0 0 20px rgba(0, 229, 255, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.24s var(--transition-snappy);
}
.survey-option-card:hover {
  border-color: #00e5ff;
  background: linear-gradient(155deg, #182a46 0%, #0f1c30 100%);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -4px rgba(0, 0, 0, 0.9),
              0 0 28px rgba(0, 229, 255, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.plan-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--cyan-primary);
  margin-bottom: 6px;
  text-shadow: 0 0 10px var(--cyan-glow);
}
.plan-label.amber {
  color: var(--amber-primary);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.plan-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Quick Tools Row */
.quick-tools-section {
  background: linear-gradient(180deg, #101c2e 0%, #09111c 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.quick-tools-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.quick-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.btn-tool-pill {
  background: linear-gradient(135deg, #16263f 0%, #0d1726 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 12px 10px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
}
.btn-tool-pill:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  background: linear-gradient(135deg, #1c3050 0%, #111e32 100%);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.25);
}

/* ============================================================
   SCREEN 4: PRODUCT CATALOG F0
   ============================================================ */
.catalog-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.catalog-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.catalog-filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-pill-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-pill-tab.active {
  background: var(--cyan-primary);
  color: #000;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.property-card-dark {
  background: linear-gradient(180deg, #132135 0%, #0c1524 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 14px 36px -4px rgba(0, 0, 0, 0.8),
              0 0 16px rgba(0, 229, 255, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.24s var(--transition-snappy);
}
.property-card-dark:hover {
  border-color: #00e5ff;
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -4px rgba(0, 0, 0, 0.9),
              0 0 28px rgba(0, 229, 255, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.property-thumb-wrap {
  position: relative;
  height: 160px;
  width: 100%;
  overflow: hidden;
}
.property-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.property-card-dark:hover .property-thumb-img {
  transform: scale(1.05);
}

.badge-round-orange {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange-primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.badge-match-score {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.property-info-body {
  padding: 14px;
}
.property-main-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.property-dev-loc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.property-price-discount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}
.price-tag-big {
  font-size: 15px;
  font-weight: 800;
  color: var(--cyan-primary);
}
.discount-tag-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-primary);
  background: var(--orange-badge-bg);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* Quick recommendations section */
.quick-rec-section {
  margin-top: 20px;
}
.quick-rec-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.quick-rec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quick-rec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
}
.quick-rec-item:hover {
  border-color: var(--border-cyan);
}
.quick-rec-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}
.quick-rec-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================================
   SCREEN 5: SURVEY / REQUEST FORM
   ============================================================ */
.survey-form-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}
.field-input-dark {
  height: 46px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 14px;
  color: #fff;
  font-size: 13.5px;
  font-family: inherit;
  transition: all 0.2s;
}
.field-input-dark:focus {
  outline: none;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.field-input-dark::placeholder {
  color: var(--text-dim);
}
select.field-input-dark {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2300e5ff' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
select.field-input-dark option {
  background: #0b1322;
  color: #f1f5f9;
  padding: 10px 14px;
}

/* Advisor Picker Component */
.advisor-picker-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-top: 4px;
}

.advisor-segment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-pill);
  padding: 3px;
  margin-bottom: 12px;
}
.segment-tab-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
}
.segment-tab-btn.active {
  background: var(--cyan-primary);
  color: #000;
  font-weight: 800;
}

/* Selected Advisor Card (Trần Minh Hoàng) */
.advisor-selected-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 12px;
}
.advisor-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--cyan-primary);
}
.advisor-text-col {
  flex: 1;
}
.advisor-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.advisor-name-bold {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
}
.advisor-star-rating {
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 700;
}
.advisor-title-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.badge-pro-tag {
  background: var(--cyan-badge-bg);
  color: var(--cyan-primary);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-cyan);
}

.legal-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 10px;
}
.legal-checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  accent-color: var(--cyan-primary);
  margin-top: 2px;
  cursor: pointer;
}
.legal-text-sm {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ============================================================
   SCREEN 6: BROKER PORTAL (Cổng Nhà Tư Vấn)
   ============================================================ */
.broker-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.broker-menu-card {
  background: linear-gradient(155deg, #132236 0%, #0b1422 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.28);
  border-radius: 20px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.24s var(--transition-snappy);
  position: relative;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.8),
              0 0 16px rgba(0, 229, 255, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.broker-menu-card:hover {
  border-color: #00e5ff;
  background: linear-gradient(155deg, #182c46 0%, #0e1a2c 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.9),
              0 0 24px rgba(0, 229, 255, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.broker-menu-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.broker-menu-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--cyan-primary);
}
.broker-menu-title.orange {
  color: var(--orange-primary);
}
.broker-menu-title.green {
  color: var(--emerald-primary);
}
.broker-menu-arrow {
  color: var(--text-muted);
  font-size: 16px;
}

.broker-sub-highlight {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.broker-sub-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   SCREEN 7: COMMISSION DETAIL (Cơ Chế 70% Phí Cơ Sở)
   ============================================================ */
.commission-detail-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.commission-icon-halo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cyan-badge-bg);
  border: 1.5px solid var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  box-shadow: 0 0 24px var(--cyan-glow);
}

.commission-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  text-align: left;
  margin: 20px 0 26px;
}

.benefit-num-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.benefit-num-badge {
  font-size: 16px;
  font-weight: 900;
  color: var(--cyan-primary);
  line-height: 1;
  padding-top: 2px;
}
.benefit-text-body {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
}
.benefit-text-body strong {
  color: var(--cyan-primary);
}

/* ============================================================
   SCREEN 8: HOMEPAGE COMBINED (Tổng Quan Song Song)
   ============================================================ */
.role-dual-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 18px;
}
.dual-switch-tab {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.dual-switch-tab.active {
  background: var(--cyan-primary);
  color: #000;
  font-weight: 800;
  box-shadow: 0 0 14px var(--cyan-glow);
}

.dual-panel-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 20px;
}

.dual-features-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 20px;
}
.dual-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
}
.check-cyan-icon {
  color: var(--cyan-primary);
  font-weight: 900;
}

/* Trust Badges Footer Row */
.trust-badges-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.trust-badge-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.trust-badge-icon {
  font-size: 16px;
}
.trust-badge-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ============================================================
   BOTTOM NAVIGATION BAR (4 TABS)
   ============================================================ */
.bottom-nav-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 100;
}

.nav-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 0;
  transition: all 0.2s;
  position: relative;
}

.nav-tab-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s;
}

.nav-tab-btn .tab-name {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.nav-tab-btn.active {
  color: var(--cyan-primary);
}
.nav-tab-btn.active svg {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px var(--cyan-primary));
}
.nav-tab-btn.active .tab-name {
  font-weight: 800;
}
.nav-tab-btn.active::after {
  content: '';
  position: absolute;
  top: 4px;
  width: 4px;
  height: 4px;
  background: var(--cyan-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-primary);
}

/* ============================================================
   MODALS SYSTEM (Neo-Luxury Dark Theme)
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  align-items: flex-end; /* Bottom sheet on mobile */
  justify-content: center;
  z-index: 9999;
  padding: 0;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

@media (min-width: 769px) {
  .modal-overlay {
    align-items: center;
    padding: 20px;
  }
}

.modal-overlay.open {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

.modal-box-dark {
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  background: #0d1522;
  border: 1px solid var(--border-cyan);
  border-radius: 28px 28px 0 0;
  padding: 24px 20px 32px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 229, 255, 0.15);
  transform: translateY(20px);
  transition: transform 0.25s var(--transition-snappy);
}

@media (min-width: 769px) {
  .modal-box-dark {
    border-radius: 24px;
    transform: scale(0.95);
  }
}

.modal-overlay.open .modal-box-dark {
  transform: translateY(0);
}
@media (min-width: 769px) {
  .modal-overlay.open .modal-box-dark {
    transform: scale(1);
  }
}

.modal-close-round {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close-round:hover {
  background: var(--cyan-primary);
  color: #000;
}

/* ============================================================
   PWA INSTALL PROMPT BOTTOM SHEET
   ============================================================ */
.pwa-step-guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pwa-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
}
.pwa-step-badge {
  background: var(--cyan-badge-bg);
  color: var(--cyan-primary);
  font-size: 11px;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(15, 23, 38, 0.95);
  border: 1px solid var(--cyan-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--cyan-glow);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--transition-snappy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Zalo Floating Button (Upper Slot) */
.zalo-minimal-btn {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 68px);
  right: 14px;
  width: 44px;
  height: 44px;
  background: #0068ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 104, 255, 0.5);
  z-index: 85;
  font-size: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.zalo-minimal-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.7);
}

/* AI Assistant Floating Button (Lower Slot, Directly Below Zalo) */
.ai-assistant-btn {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 14px);
  right: 14px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #00e5ff 0%, #7c3aed 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.55);
  z-index: 85;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: aiPulseGlow 3s infinite ease-in-out;
}
.ai-assistant-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.85);
}

@keyframes aiPulseGlow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.75);
    border-color: rgba(0, 229, 255, 0.8);
  }
}

/* ============================================================
   RESPONSIVE MODES: REAL DESKTOP WEB vs NATIVE MOBILE PWA
   ============================================================ */

/* 1. Mobile Experience (<= 768px) */
@media (max-width: 768px) {
  .desktop-main-nav {
    display: none !important;
  }
  .device-frame {
    max-width: 100% !important;
    width: 100% !important;
    height: 100dvh !important;
    overflow: hidden !important;
  }
  .app-header {
    height: auto !important;
    min-height: calc(56px + env(safe-area-inset-top, 0px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    padding-bottom: 6px !important;
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
    box-sizing: border-box !important;
  }
  .bottom-nav-bar {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    padding-left: max(4px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(4px, env(safe-area-inset-right, 0px)) !important;
    box-sizing: border-box !important;
  }
  .bottom-nav-bar .tab-name {
    font-size: 10.5px !important;
  }
  .app-screen-viewport {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 20px) !important;
  }
  .zalo-minimal-btn {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 68px) !important;
    right: max(14px, env(safe-area-inset-right, 0px)) !important;
  }
  .ai-assistant-btn {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 14px) !important;
    right: max(14px, env(safe-area-inset-right, 0px)) !important;
  }
}

/* 2. Desktop Web Experience (>= 769px) */
@media (min-width: 769px) {
  .bottom-nav-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 64px !important;
    padding: 0 !important;
    background: rgba(8, 12, 20, 0.95) !important;
    backdrop-filter: blur(24px) !important;
    border-top: 1px solid rgba(0, 229, 255, 0.2) !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.75) !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 999 !important;
  }
  .bottom-nav-bar .nav-tab-btn {
    max-width: 170px !important;
    flex: 1 !important;
    flex-direction: row !important;
    gap: 10px !important;
    padding: 10px 18px !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
  }
  .bottom-nav-bar .nav-tab-btn:hover {
    background: rgba(0, 229, 255, 0.08) !important;
    color: #fff !important;
  }
  .bottom-nav-bar .nav-tab-btn.active {
    background: rgba(0, 229, 255, 0.14) !important;
    color: var(--cyan-primary) !important;
  }
  .bottom-nav-bar .nav-tab-btn svg {
    width: 20px !important;
    height: 20px !important;
  }
  .bottom-nav-bar .nav-tab-btn .tab-name {
    font-size: 13.5px !important;
    font-weight: 700 !important;
  }
  .device-frame {
    max-width: 1200px !important;
    width: 100% !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }
  .app-header {
    height: 72px !important;
    padding: 0 28px !important;
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    background: rgba(8, 12, 20, 0.9) !important;
    backdrop-filter: blur(24px) !important;
    z-index: 100 !important;
  }
  .app-screen-viewport {
    padding-bottom: 96px !important;
    overflow-y: visible !important;
  }
  .app-screen {
    padding: 32px 28px 96px !important;
  }
  .zalo-minimal-btn {
    bottom: 76px !important;
    right: 28px !important;
  }

  /* Screen 1: Hero & Features on Desktop */
  .hero-onboarding {
    max-width: 980px !important;
    margin: 24px auto 0 !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-main-title {
    font-size: 38px !important;
    line-height: 1.15 !important;
    margin-bottom: 24px !important;
  }
  .feature-pills-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
  }
  .feature-pill-card {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 16px 22px !important;
    width: 100% !important;
    cursor: default !important;
  }
  .btn-cyan-primary {
    max-width: 440px !important;
    margin: 0 auto !important;
    height: 54px !important;
    font-size: 16px !important;
  }
  .hero-cta-btn {
    max-width: 440px !important;
    margin: 24px auto 0 !important;
  }

  /* Screen 2: Role Selection on Desktop */
  .screen-header-block {
    text-align: center !important;
    margin-bottom: 32px !important;
  }
  .screen-title {
    font-size: 28px !important;
  }
  .role-cards-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
    max-width: 880px !important;
    margin: 0 auto 28px !important;
  }
  .trust-safety-badge {
    max-width: 600px !important;
    margin: 0 auto !important;
  }

  /* Screen 3: Survey Intro on Desktop */
  .option-cards-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
    max-width: 880px !important;
    margin: 0 auto 32px !important;
  }
  .quick-tools-section {
    max-width: 880px !important;
    margin: 0 auto !important;
  }
  .quick-tools-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }

  /* Screen 4: Real Estate Catalog Grid on Desktop */
  .catalog-filter-tabs {
    justify-content: center !important;
    gap: 12px !important;
    margin-bottom: 28px !important;
  }
  .catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }

  /* Screen 5: Survey Form on Desktop */
  .survey-form-container {
    max-width: 680px !important;
    margin: 0 auto !important;
  }

  /* Screen 6: Broker Portal on Desktop */
  .broker-menu-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    max-width: 1040px !important;
    margin: 0 auto 32px !important;
  }
  .broker-commission-banner,
  .calc-card-embedded {
    max-width: 920px !important;
    margin: 0 auto 28px !important;
  }

  /* Screen 7 & 8: Success & Advisor Settings on Desktop */
  .success-card-block,
  .dual-portal-container {
    max-width: 880px !important;
    margin: 24px auto !important;
  }

  /* Zalo Button on Desktop */
  .zalo-minimal-btn {
    bottom: 78px !important;
    right: 32px !important;
    width: 50px !important;
    height: 50px !important;
  }
}

/* ==========================================================================
   MINIMALIST STEP-BY-STEP FLOW (THEO CHUẨN THIẾT KẾ GỌN GÀNG TỐI GIẢN CỦA USER)
   ========================================================================== */

/* Hide global header inside wizard steps; KEEP bottom nav bar for quick navigation */
body.in-wizard-flow .app-header,
body.in-wizard-flow .roadmap-track-container {
  display: none !important;
}

body.in-wizard-flow .screen-viewport {
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 20px) !important;
}

body.in-wizard-flow .app-screen {
  padding: 0 0 calc(var(--bottom-nav-height) + var(--safe-bottom) + 24px) 0 !important;
}

/* Dedicated Clean Step Top Bar */
.step-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  padding-bottom: 14px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 18, 0.95);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  box-sizing: border-box;
}

.step-nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-back-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.step-back-circle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateX(-2px);
}

.step-back-circle-btn:active {
  transform: scale(0.92) translateX(-2px);
}

.step-title-col {
  display: flex;
  flex-direction: column;
}

.step-title-col .step-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.step-title-col .step-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #38bdf8;
  margin-top: 2px;
  text-transform: uppercase;
}

.step-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.step-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

/* Minimalist Clean Heading */
.clean-heading-section {
  padding: 32px 20px 28px;
  max-width: 620px;
  margin: 0 auto;
}

.clean-main-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.22;
  color: #ffffff;
  letter-spacing: -0.8px;
}

@media (max-width: 480px) {
  .clean-main-title {
    font-size: 27px;
  }
}

/* Minimalist Cards List & Items */
.minimal-cards-list {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}

.minimal-role-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Investor Card (Blue Glow) */
.minimal-role-card.investor {
  background: linear-gradient(135deg, rgba(13, 27, 54, 0.92) 0%, rgba(7, 15, 30, 0.98) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.45);
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.8), 0 0 28px rgba(37, 99, 235, 0.25);
}

.minimal-role-card.investor:hover {
  border-color: #3b82f6;
  box-shadow: 0 18px 40px -4px rgba(0, 0, 0, 0.9), 0 0 36px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

/* Broker Card (Orange/Amber Glow) */
.minimal-role-card.broker {
  background: linear-gradient(135deg, rgba(52, 22, 10, 0.92) 0%, rgba(26, 11, 5, 0.98) 100%);
  border: 1.5px solid rgba(234, 88, 12, 0.45);
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.8), 0 0 28px rgba(234, 88, 12, 0.25);
}

.minimal-role-card.broker:hover {
  border-color: #f97316;
  box-shadow: 0 18px 40px -4px rgba(0, 0, 0, 0.9), 0 0 36px rgba(234, 88, 12, 0.4);
  transform: translateY(-2px);
}

/* Emerald Card */
.minimal-role-card.emerald {
  background: linear-gradient(135deg, rgba(8, 38, 24, 0.92) 0%, rgba(4, 18, 12, 0.98) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.8), 0 0 28px rgba(16, 185, 129, 0.25);
}

.minimal-role-card.emerald:hover {
  border-color: #10b981;
  box-shadow: 0 18px 40px -4px rgba(0, 0, 0, 0.9), 0 0 36px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.minimal-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.minimal-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.minimal-icon-box.blue {
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.45);
  color: #60a5fa;
}

.minimal-icon-box.orange {
  background: rgba(234, 88, 12, 0.18);
  border: 1px solid rgba(234, 88, 12, 0.45);
  color: #fb923c;
}

.minimal-icon-box.emerald {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.minimal-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.35;
}

.minimal-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  pointer-events: none;
  flex-shrink: 0;
  margin-left: 16px;
}

.minimal-card-btn.blue {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
}

.minimal-card-btn.orange {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
}

.minimal-card-btn.emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

/* 5 Budget Chips Selector */
.budget-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.budget-chip-btn {
  background: rgba(13, 27, 54, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.budget-chip-btn:hover {
  border-color: rgba(0, 229, 255, 0.4);
  color: #ffffff;
  background: rgba(0, 229, 255, 0.08);
  transform: translateY(-1px);
}

.budget-chip-btn.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(37, 99, 235, 0.3) 100%);
  border-color: #00e5ff;
  color: #00e5ff;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
  font-weight: 700;
}

.minimal-card-btn.orange {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.55);
}

.minimal-card-btn.emerald {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.55);
}

/* Minimal Tools Row */
.minimal-tools-wrap {
  display: flex;
  gap: 10px;
  padding: 20px 20px 0;
  max-width: 620px;
  margin: 0 auto;
}

.minimal-tool-pill {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.minimal-tool-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Minimal Policy Card */
.minimal-policy-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(15, 23, 38, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px 18px;
}

.policy-icon-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--cyan-primary);
  color: var(--cyan-primary);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-text-wrap {
  display: flex;
  flex-direction: column;
}

.policy-title-bold {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.policy-desc-muted {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 3px;
  line-height: 1.4;
}

/* Minimal Trust Note at Bottom */
.clean-footer-trust {
  margin-top: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #10b981;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  padding: 0 20px;
}

.clean-footer-trust svg {
  flex-shrink: 0;
  color: #10b981;
}

/* ============================================================
   IOS STANDALONE PWA SAFE-AREA ENHANCEMENTS
   Fix status bar overlap on iPhone Home Screen installed apps
   ============================================================ */
@media (display-mode: standalone), (display-mode: fullscreen) {
  .app-header {
    min-height: calc(54px + max(48px, env(safe-area-inset-top, 48px))) !important;
    padding-top: max(48px, env(safe-area-inset-top, 48px)) !important;
    padding-bottom: 8px !important;
  }
  .step-nav-bar {
    padding-top: max(48px, calc(14px + env(safe-area-inset-top, 48px))) !important;
  }
  .bottom-nav-bar {
    padding-bottom: max(20px, env(safe-area-inset-bottom, 20px)) !important;
    height: calc(56px + max(20px, env(safe-area-inset-bottom, 20px))) !important;
  }
  .pwa-install-header-btn {
    display: none !important;
  }
}

.ios-standalone-pwa .app-header {
  min-height: calc(54px + max(48px, env(safe-area-inset-top, 48px))) !important;
  padding-top: max(48px, env(safe-area-inset-top, 48px)) !important;
  padding-bottom: 8px !important;
}

.ios-standalone-pwa .step-nav-bar {
  padding-top: max(48px, calc(14px + env(safe-area-inset-top, 48px))) !important;
}

.ios-standalone-pwa .bottom-nav-bar {
  padding-bottom: max(20px, env(safe-area-inset-bottom, 20px)) !important;
  height: calc(56px + max(20px, env(safe-area-inset-bottom, 20px))) !important;
}

.ios-standalone-pwa .pwa-install-header-btn {
  display: none !important;
}

.ios-standalone-pwa .zalo-minimal-btn {
  bottom: calc(56px + max(20px, env(safe-area-inset-bottom, 20px)) + 68px) !important;
  right: 14px !important;
}

.ios-standalone-pwa .ai-assistant-btn {
  bottom: calc(56px + max(20px, env(safe-area-inset-bottom, 20px)) + 14px) !important;
  right: 14px !important;
}

/* ============================================================
   SCREEN 7: ABOUT US (VỀ ĐẠI CHÚNG PROPERTIES)
   ============================================================ */
.about-hero-card {
  text-align: center;
  padding: 32px 20px 24px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, rgba(8, 12, 20, 0.6) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.about-logo-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan-primary) 0%, #0077ff 100%);
  color: #050b14;
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 0 24px var(--cyan-glow);
}

.about-company-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
  line-height: 1.35;
}

.about-slogan {
  font-size: 12.5px;
  color: var(--cyan-primary);
  font-weight: 600;
}

.about-manifesto-box {
  background: rgba(13, 21, 39, 0.7);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--cyan-primary);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 24px;
  position: relative;
}

.manifesto-quote-icon {
  font-size: 32px;
  line-height: 1;
  color: var(--cyan-primary);
  opacity: 0.5;
  margin-bottom: 4px;
  font-family: serif;
}

.manifesto-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: #cbd5e1;
}

.manifesto-text strong {
  color: #fff;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.about-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.2s ease;
}
.about-pillar-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-2px);
}

.pillar-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.pillar-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.about-contact-card {
  background: rgba(13, 21, 39, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.about-contact-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-info-row:last-of-type {
  border-bottom: none;
}

.contact-icon-box {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-row-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-row-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #f1f5f9;
  margin-top: 2px;
  line-height: 1.4;
}

.contact-row-val.link {
  color: var(--cyan-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-row-val.link:hover {
  text-decoration: underline;
}

.about-action-btns {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 480px) {
  .about-action-btns {
    flex-direction: column;
  }
}

.btn-zalo-direct {
  background: #0068ff;
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-zalo-direct:hover {
  background: #0056d6;
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.5);
}

/* ============================================================
   AI ASSISTANT CHATBOT MODAL
   ============================================================ */
.modal-box-ai {
  background: #080d1a;
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 229, 255, 0.25);
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  height: 600px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ai-header {
  padding: 16px 18px;
  background: rgba(13, 21, 39, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.ai-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #080d1a;
  border-radius: 50%;
}

.ai-title-col {
  display: flex;
  flex-direction: column;
}

.ai-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
}

.ai-sub {
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
}

.ai-msg-bubble {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
  word-wrap: break-word;
}

.ai-msg-bubble.assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}

.ai-msg-bubble.assistant strong {
  color: #00e5ff;
}

.ai-msg-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0088ff 0%, #00e5ff 100%);
  color: #050b14;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.ai-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ai-chip-btn {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.ai-chip-btn:hover {
  background: rgba(0, 229, 255, 0.25);
  border-color: var(--cyan-primary);
  transform: translateY(-1px);
}

.ai-input-bar {
  padding: 12px 14px;
  background: rgba(13, 21, 39, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-input-field {
  flex: 1;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  transition: all 0.2s;
}
.ai-input-field:focus {
  outline: none;
  border-color: var(--cyan-primary);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.ai-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff 0%, #0077ff 100%);
  border: none;
  color: #050b14;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.ai-send-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.6);
}


