/* .fylr Quiet Luxury CSS */

/* ===== GLOBAL SCROLLBAR - MINIMAL & NON-INTRUSIVE ===== */
html {
  overflow-x: hidden;
  overflow-y: scroll;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

body {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

/* ===== CUSTOM SCROLLBAR - CLAUDE-STYLE MINIMAL ===== */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 0, 0.3);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 0, 0.5);
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 107, 0, 0.3) transparent;
}

/* Hide scrollbar when not scrolling (auto-hide effect) */
html {
  scrollbar-gutter: stable;
}

/* ===== REACTIVE UNDERLINE (Global Floating Text Links) ===== */
a:not(.btn):not(.btn-orange):not(.btn-glass):not(.btn-slim-pill):not(.cta-float-link):not(.btn-signin-submit):not(.btn-google):not(.btn-add-expense) {
  text-decoration: none !important;
  transition: color 0.3s ease;
}

a:not(.btn):not(.btn-orange):not(.btn-glass):not(.btn-slim-pill):not(.cta-float-link):not(.btn-signin-submit):not(.btn-google):not(.btn-add-expense):hover {
  color: #FF6B00 !important;
  text-decoration: underline !important;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* ===== NEON PULSE ANIMATION ===== */
@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 2px 0 #FF6B00, 0 0 8px rgba(255, 107, 0, 0.4);
  }
  50% {
    box-shadow: 0 2px 0 #FF6B00, 0 0 20px rgba(255, 107, 0, 0.8);
  }
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 4px #00D084;
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 12px #00D084;
  }
}

/* ===== HEADER LOCKDOWN ===== */
.navbar-luxury {
  position: fixed;
  top: 0;
  width: 100%;
  height: 120px;
  z-index: 1050;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #222;
  padding: 0 60px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar-luxury .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Liberation - 48px desktop (weight 900), 32px mobile */
.logo-luxury,
.navbar-luxury .logo-luxury {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 48px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.logo-luxury .logo-dot {
  color: #FF6B00 !important;
}

.logo-luxury .logo-text {
  color: #FFFFFF !important;
}

@media (max-width: 1023px) {
  .logo-luxury,
  .navbar-luxury .logo-luxury {
    font-size: 32px !important;
    font-weight: 700 !important;
  }
}

/* Desktop Navigation */
.nav-luxury {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-luxury-link {
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 18px !important;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-luxury-link:hover,
.nav-luxury-link.active {
  color: #FFFFFF;
}

.nav-luxury-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #FF6B00;
}

/* Auth Buttons */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Unified Auth Links */
.nav-auth-unified {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-auth-link,
.action-link {
  color: #FFFFFF !important;
  background: none !important;
  border: none !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 0 !important;
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav-auth-link:hover,
.action-link:hover {
  color: #FF6B00 !important;
}

.nav-auth-link.active,
.action-link.active {
  color: #FF6B00 !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #FF6B00;
  padding-bottom: 2px !important;
}

.nav-auth-slash {
  color: #FFFFFF !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 0 15px !important;
}

/* Mobile Hamburger Menu */
.hamburger-luxury {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger-luxury span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  transition: all 0.3s ease;
}

.hamburger-luxury.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-luxury.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-luxury.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-luxury {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 11, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1060;
  padding: 100px 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-luxury.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-luxury a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid #222;
  transition: color 0.2s ease;
}

.mobile-menu-luxury a:hover {
  color: #FF6B00;
}

/* ===== RESPONSIVE NAVIGATION ===== */
@media (max-width: 1023px) {
  .nav-luxury-links,
  .nav-auth {
    display: none;
  }
  
  .hamburger-luxury {
    display: flex;
  }
  
  .mobile-menu-luxury {
    display: flex;
  }
}

/* ===== COMMAND CENTER DASHBOARD ===== */
.command-center {
  padding-top: 140px;
  padding-bottom: 3rem;
  min-height: 100vh;
}

.dashboard-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Vitals Column */
.col-vitals {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vitals-card {
  background: rgba(26, 26, 29, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
}

.vitals-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #C0C0C0;
  margin-bottom: 0.5rem;
}

.vitals-value {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.vitals-value.liability {
  color: #EF4444;
}

.vitals-value.savings {
  color: #00D084;
}

.audit-risk-bar {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
  position: relative;
  overflow: visible;
}

.audit-risk-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #00D084, #F59E0B, #EF4444);
  transition: width 0.6s ease;
}

.audit-risk-label {
  font-size: 0.875rem;
  color: #C0C0C0;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}

/* Activity Column */
.col-activity {
  display: flex;
  flex-direction: column;
}

.activity-card {
  background: rgba(26, 26, 29, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.activity-title {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.activity-subtitle {
  font-size: 0.8rem;
  color: #aaaaaa;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.activity-item:hover {
  background: rgba(255, 107, 0, 0.05);
  border-color: rgba(255, 107, 0, 0.2);
}

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 107, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6B00;
  font-size: 0.9rem;
}

.activity-content {
  flex: 1;
}

.activity-name {
  font-size: 0.9rem;
  color: #FFFFFF;
  margin-bottom: 0.15rem;
}

.activity-meta {
  font-size: 0.875rem;
  color: #C0C0C0;
}

.activity-amount {
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* Insights Column */
.col-insights {
  display: flex;
  flex-direction: column;
}

.insights-card {
  background: rgba(26, 26, 29, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1;
}

.insights-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.insights-header i {
  color: #FF6B00;
}

.insights-title {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.insight-tip {
  background: rgba(255, 107, 0, 0.05);
  border-left: 3px solid #FF6B00;
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1rem;
}

.insight-tip-text {
  font-size: 0.9rem;
  color: #aaaaaa;
  line-height: 1.5;
}

.insight-tip-meta {
  font-size: 0.875rem;
  color: #C0C0C0;
  margin-top: 0.5rem;
}

/* Dashboard Responsive */
@media (max-width: 1023px) {
  .dashboard-3col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .col-vitals {
    order: 1;
  }
  
  .col-activity {
    order: 2;
  }
  
  .col-insights {
    order: 3;
  }
}

/* ===== SEQUENTIAL INTAKE CARDS ===== */
.intake-luxury {
  padding-top: 140px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.intake-card-flow {
  max-width: 600px;
  width: 100%;
  position: relative;
}

.intake-progress {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.intake-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  transition: all 0.3s ease;
}

.intake-progress-dot.active {
  background: #FF6B00;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.intake-progress-dot.completed {
  background: #00D084;
}

.intake-card {
  background: rgba(26, 26, 29, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  visibility: hidden;
}

.intake-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  visibility: visible;
}

.intake-card.exit-left {
  opacity: 0;
  transform: translateX(-40px);
}

.intake-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  text-align: center;
}

.intake-card-subtitle {
  font-size: 0.95rem;
  color: #aaaaaa;
  text-align: center;
  margin-bottom: 2rem;
}

.intake-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.intake-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.intake-option:hover {
  background: rgba(255, 107, 0, 0.05);
  border-color: rgba(255, 107, 0, 0.3);
}

.intake-option.selected {
  background: rgba(255, 107, 0, 0.1);
  border-color: #FF6B00;
}

.intake-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 107, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6B00;
  font-size: 1.1rem;
}

.intake-option-text {
  flex: 1;
}

.intake-option-title {
  font-size: 1rem;
  font-weight: 500;
  color: #FFFFFF;
}

.intake-option-desc {
  font-size: 0.8rem;
  color: #aaaaaa;
}

.intake-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.intake-btn-back {
  color: #aaaaaa;
  background: none;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  transition: color 0.2s ease;
}

.intake-btn-back:hover {
  color: #FFFFFF;
}

.intake-btn-next {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
  border: none;
  color: #FFFFFF;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.intake-btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.intake-btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Currency Input Fix */
.currency-input-wrapper {
  position: relative;
}

.currency-input-wrapper .currency-symbol {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #aaaaaa;
  font-size: 1rem;
  pointer-events: none;
}

.currency-input-wrapper input {
  padding-left: 45px !important;
}

/* ===== SLIM HORIZONTAL FOOTER (SUB-100PX) ===== */
.footer-luxury {
  background-color: #292929;
  border-top: 1px solid rgba(230, 126, 34, 0.4);
  padding: 1rem 0 0.5rem;
}

.footer-luxury .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Single Row Flexbox: Logo | Nav | Utils */
.footer-horizontal-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 0.5rem;
}

/* Far Left: Logo */
.footer-brand-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Center: 2-Row Navigation */
.footer-nav-center {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  flex: 1;
}

/* Row 1: Titles (Orange, Bold, 16px) */
.footer-nav-titles {
  display: flex;
  gap: 3rem;
  justify-content: center;
}

.footer-nav-title {
  color: rgba(230, 126, 34, 1);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Row 2: Links (Horizontal groups under titles) */
.footer-nav-links-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
}

.footer-nav-links-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-nav-links-group a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.footer-nav-links-group a:hover {
  color: rgba(230, 126, 34, 1);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Far Right: Language & Status */
.footer-right-utils {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
  position: relative;
  flex-shrink: 0;
}

.lang-button-footer {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.lang-button-footer:hover {
  color: rgba(230, 126, 34, 1);
}

.lang-button-footer i {
  font-size: 14px;
}

.footer-status {
  color: #aaaaaa;
  font-size: 14px;
  font-weight: 500;
}

/* Copyright Row */
.footer-copyright-row {
  text-align: center;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright-row span {
  color: #aaaaaa;
  font-size: 14px;
}

/* Status Widget */
.status-widget {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 14px;
  color: #C0C0C0;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00D084;
  animation: statusPulse 2s ease-in-out infinite;
}

/* Footer Responsive */
@media (max-width: 1023px) {
  .footer-luxury {
    max-height: none;
    padding: 1.25rem 0 0.75rem;
  }

  .footer-horizontal-grid {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-brand-left {
    order: 1;
  }

  .footer-nav-center {
    order: 2;
  }

  .footer-right-utils {
    order: 3;
    align-items: center;
  }

  .footer-nav-titles {
    gap: 2rem;
  }

  .footer-nav-links-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-nav-links-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-nav-titles {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 14px;
  }
}

/* Mobile Overflow Prevention (375px) */
@media (max-width: 375px) {
  .footer-luxury .container {
    padding: 0 1rem;
  }

  .footer-nav-titles {
    gap: 1rem;
  }

  .footer-nav-links-row {
    gap: 0.25rem;
  }

  .footer-nav-links-group {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* ===== AI CHAT IMPROVEMENTS ===== */
.chat-container-luxury {
  scroll-behavior: smooth;
}

.chat-send-link {
  color: #FF6B00;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
}

.chat-send-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #FF6B00;
}

.chat-send-link:hover {
  color: #FF8533;
}

/* ===== FILING YEAR SWITCHER IN HEADER ===== */
.year-switcher-header {
  position: relative;
  margin: 0 2rem;
}

.year-select-luxury {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.year-select-luxury:hover {
  color: #FF6B00;
}

.year-select-luxury:hover .fa-chevron-down {
  color: #FF6B00;
}

.year-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}

.year-value {
  font-size: 20px;
  font-weight: 700;
}

.year-select-luxury .fa-chevron-down {
  font-size: 14px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.year-dropdown-luxury {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(26, 26, 29, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1100;
}

.year-dropdown-luxury.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

a.year-option,
.year-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  color: #888890 !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

a.year-option:hover,
.year-option:hover {
  background: rgba(255, 107, 0, 0.1);
  color: #FF6B00 !important;
}

a.year-option.active,
.year-option.active {
  background: rgba(255, 107, 0, 0.12);
  color: #FF6B00 !important;
  font-weight: 600;
  border-bottom: 2px solid #FF6B00;
  border-radius: 8px 8px 4px 4px;
}

@keyframes year-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.year-switching {
  animation: year-pulse 0.7s ease-in-out infinite;
}

.year-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.year-status-dot.in-progress {
  background: #00f5d4;
}

.year-status-dot.complete {
  background: #00D084;
}

.year-status-label {
  font-size: 11px;
  font-weight: 400;
  margin-left: auto;
}

.year-status-label.in-progress {
  color: #00f5d4;
}

.year-status-label.complete {
  color: #00D084;
}

@media (max-width: 1023px) {
  .year-switcher-header {
    margin: 0 1rem;
  }

  .year-select-luxury {
    font-size: 14px;
    padding: 0.25rem 0.5rem;
  }
}

/* Mobile 375px - Prevent Logo/Hamburger Overlap */
@media (max-width: 375px) {
  .navbar-luxury {
    padding: 0 1rem;
    height: 100px;
  }

  .logo-luxury,
  .navbar-luxury .logo-luxury {
    font-size: 28px !important;
    font-weight: 700 !important;
  }

  .hamburger-luxury {
    padding: 0.25rem;
  }

  .hamburger-luxury span {
    width: 20px;
  }

  .year-switcher-header {
    margin: 0 0.5rem;
  }

  .year-select-luxury {
    font-size: 12px;
    padding: 0.25rem 0.4rem;
  }

  .year-label {
    display: none;
  }
}

  .year-label {
    font-size: 14px;
  }

  .year-value {
    font-size: 16px;
  }
}

/* ===== DASHBOARD STATS CARDS (4 IN HORIZONTAL ROW) ===== */
.summary-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: rgba(26, 26, 29, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFFFF;
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #aaaaaa;
  font-weight: 500;
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
  .summary-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-value {
    font-size: 2rem;
  }
}

/* ===== SLIM PILL TECHSTYLE BUTTONS ===== */
.btn-glass,
.btn-orange,
.btn-add-expense {
  border-radius: 50px !important;
  padding: 0.5rem 1.5rem !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.2s ease !important;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #FFFFFF !important;
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #FF6B00 !important;
  color: #FF6B00 !important;
}

.btn-orange {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%) !important;
  border: none !important;
  color: white !important;
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.4);
}

.btn-sm {
  padding: 0.375rem 1rem !important;
  font-size: 14px !important;
}

/* ===== FILTER DROPDOWNS - FLOATING TEXT + ARROW ===== */
.filter-select {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 0 !important;
  color: #FFFFFF !important;
  padding: 0.5rem 1.5rem 0.5rem 0 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FFFFFF' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  transition: all 0.2s ease;
}

.filter-select:hover {
  border-bottom-color: #FF6B00 !important;
  color: #FF6B00 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FF6B00' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
}

.filter-select:focus {
  outline: none;
  border-bottom-color: #FF6B00 !important;
}

.filter-select option {
  background: #1A1A1D;
  color: #FFFFFF;
}

/* ===== LANGUAGE SWITCHER IN FOOTER ===== */
.language-switcher-footer {
  position: relative;
  margin-right: 1.5rem;
}

.lang-button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.lang-button:hover {
  color: #FF6B00;
}

.lang-button i {
  font-size: 14px;
}

.lang-dropdown {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: rgba(26, 26, 29, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1100;
  margin-bottom: 0.5rem;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-option:hover {
  background: rgba(255, 107, 0, 0.1);
  color: #FF6B00;
}

.lang-option.active {
  background: rgba(255, 107, 0, 0.2);
  color: #FF6B00;
  font-weight: 600;
}

/* ===== PRICING CARD ENHANCEMENTS ===== */
.pricing-title {
  color: #FFFFFF !important;
  font-size: 24px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.pricing-card:hover .pricing-title {
  color: #FF6B00 !important;
}

/* Ensure all pricing titles are white by default */
.pricing-card .text-center h5,
.pricing-card h5.pricing-title {
  color: #FFFFFF !important;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pricing-features li {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  font-size: 18px;
  color: #E5E5E5;
  margin-bottom: 1rem;
  padding: 0.5rem;
  text-align: center;
  line-height: 2.0;
}

.pricing-features li::before {
  content: "✓";
  color: #00D084;
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  margin-right: 0;
}

/* ===== BUSINESS CREDIT SECTION ===== */
.business-credit-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(10, 10, 11, 0.8) 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.business-credit-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.business-credit-text {
  font-size: 18px;
  color: #aaaaaa;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.business-credit-link {
  color: #FFFFFF !important;
  background: none !important;
  border: none !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  padding: 0 !important;
  transition: all 0.2s ease;
  display: inline-block;
  box-shadow: none !important;
  text-transform: none !important;
}

.business-credit-link:hover {
  color: #FF6B00 !important;
  background: none !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-underline-offset: 8px !important;
  text-decoration-thickness: 2px !important;
}

/* ===== Z-INDEX ARCHITECTURE ===== */
/* Ensures proper layering of all interactive components */

/* Plaid Link Container - Must appear above navbar */
#plaid-link-container,
.plaid-link-iframe,
iframe[src*="plaid.com"] {
  z-index: 2000 !important;
  position: relative;
}

/* Modal Overlays - Must appear above all content */
.modal,
.modal-backdrop,
.modal-overlay {
  z-index: 2000 !important;
}

/* AI Suggestion Modals */
.ai-suggestion-modal,
.suggestion-overlay {
  z-index: 2000 !important;
}

/* ===== ADA COMPLIANCE - MINIMUM TAP TARGETS ===== */
/* Ensures all interactive elements meet 44x44px minimum for accessibility */

button,
.btn,
.btn-glass,
.btn-orange,
.btn-add-expense,
a.btn,
input[type="submit"],
input[type="button"],
[role="button"] {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Specific targets for Smart Ledger actions */
.btn-group .btn,
button[onclick*="toggleBusiness"],
button[onclick*="Sync"],
button[onclick*="Download"] {
  min-height: 44px;
  min-width: 44px;
}

/* Hamburger menu tap target */
.hamburger-luxury {
  min-height: 44px;
  min-width: 44px;
}
