/* Coming Soon page */
.coming-wrap {
  position: relative;
  min-height: calc(100vh - var(--header-height, 64px));
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  isolation: isolate;
}

/* Avatar circle */
.avatar-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  display: grid;
  place-items: center;
}
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.avatar-circle span { font-weight: 600; color: var(--heading-color); }

.coming-card {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  text-align: center;
  backdrop-filter: blur(var(--blur-strength));
}

.coming-icon {
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--primary);
  display: inline-block;
}

.coming-title {
  display: block;
  margin-top: 0.5rem;
  color: var(--heading-color);
}

.coming-body {
  display: block;
  max-width: 56ch;
  margin: 0.5rem auto 0;
  color: var(--text-secondary);
}

.coming-actions {
  margin-top: 1rem;
}

/* RTL adjustments */
html[dir="rtl"] .coming-card {
  text-align: right;
}

html[dir="rtl"] .coming-body {
  margin-right: 0;
  margin-left: auto;
}

/* Decorative background */
.coming-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--background);
}

.coming-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(60% 40% at 50% -10%, rgba(75, 126, 236, 0.25), transparent),
              radial-gradient(45% 35% at 80% 10%, rgba(108, 92, 231, 0.15), transparent),
              radial-gradient(40% 30% at 20% 15%, rgba(46, 204, 113, 0.12), transparent);
  filter: saturate(1.1);
}

.coming-blur {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(75, 126, 236, 0.4), transparent 60%);
  filter: blur(60px);
  z-index: 1;
  top: 10%;
  left: 10%;
}

.coming-blur-2 {
  background: radial-gradient(circle at 70% 70%, rgba(108, 92, 231, 0.35), transparent 60%);
  top: auto;
  bottom: 12%;
  left: auto;
  right: 14%;
}

.coming-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.25;
  mask-image: radial-gradient(circle at center, black, transparent 65%);
}

/* Shine hint */
.coming-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 30%, transparent 60%);
  transform: translateX(-100%);
  animation: shine 3.6s ease-in-out 0.6s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  40% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* Dark mode tuning */
body.rz-appearance-dark .coming-card {
  background: var(--surface);
  border-color: var(--border-color);
}
/*
 * ==========================================================================
 * QForm - Layout Stylesheet
 * ==========================================================================
 * 
 * All layout-related styles:
 *   1. Main Layout & Body
 *   2. App Header & Navigation
 *   3. Mobile Navigation
 *   4. Content Area
 *   5. Login Layout
 *   6. Landing Page (Hero, Features, CTA)
 *   7. Assessment Cards
 *   8. Breadcrumbs
 *   9. Responsive Breakpoints
 * ==========================================================================
 */

/* ==========================================================================
   1. MAIN LAYOUT & BODY
   ========================================================================== */

.main-layout {
  min-height: 100vh;
  position: relative;
  color: #1c2340;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  background: inherit;
}

body.rz-appearance-dark .main-layout {
  color: #e6ebff;
}

.custom-body {
  padding-left: 0;
  background: transparent;
  transition: none;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

.custom-body .content-wrapper {
  background: transparent;
  min-height: calc(100vh - var(--header-height));
  width: 100%;
  padding: var(--layout-padding);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.main-content-card {
  background: var(--surface);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--blur-strength));
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Sidebar removed */
.custom-sidebar {
  display: none !important;
}

.rz-sidebar-overlay {
  display: none !important;
}

/* ==========================================================================
   2. APP HEADER & NAVIGATION
   ========================================================================== */

.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #2f3a85 0%, #4b7bec 100%);
  box-shadow: 0 4px 20px rgba(21, 35, 115, 0.3);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  max-width: var(--layout-max-width);
  width: 100%;
  margin: 0 auto;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-inner > * {
  min-width: 0;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.logo-link:hover {
  opacity: 0.9;
  text-decoration: none;
}

.logo-link .rz-icon {
  font-size: 1.75rem;
}

.logo-text {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  row-gap: 0.25rem;
  margin-left: clamp(1rem, 2vw, 2rem);
  flex: 1 1 40%;
  min-width: 220px;
  flex-wrap: wrap;
}

.desktop-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}

.desktop-nav .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.desktop-nav .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.desktop-nav .nav-link .rz-icon {
  font-size: 1.1rem;
}

/* Header Actions (right side) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}

.header-action-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Culture Picker in header */
.culture-picker-wrapper .culture-picker-container {
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
}

.culture-picker-wrapper .culture-btn {
  min-width: 50px !important;
  height: 32px !important;
  font-size: 0.8rem !important;
  padding: 0 0.5rem !important;
}

/* Resume button in header */
.resume-wrapper .rz-button {
  font-size: 0.75rem !important;
  padding: 0.35rem 0.75rem !important;
  height: auto !important;
  white-space: nowrap;
}

.culture-picker-wrapper,
.resume-wrapper {
  display: flex;
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(180deg);
}

.theme-toggle .rz-icon {
  font-size: 1.25rem;
}

/* Login Button */
.login-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  text-decoration: none;
}

/* Profile Menu */
.profile-menu {
  display: flex;
  align-items: center;
}

.profile-menu.rz-profile-menu {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.profile-menu .rz-profile-menu-button {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  min-height: auto !important;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 25px;
  transition: background 0.2s ease;
}

.profile-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.user-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-avatar,
.profile-menu .rz-gravatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  object-fit: cover;
}

/* ==========================================================================
   3. MOBILE NAVIGATION
   ========================================================================== */

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle .rz-icon {
  font-size: 1.5rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(30, 40, 80, 0.98);
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
}

.mobile-nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
}

.mobile-nav-link .rz-icon {
  font-size: 1.25rem;
}

/* ==========================================================================
   5. LOGIN LAYOUT
   ========================================================================== */

.login-layout {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: radial-gradient(circle at top right, rgba(130, 146, 255, 0.25) 0%, rgba(234, 239, 255, 0.55) 35%, rgba(239, 245, 255, 0.92) 100%);
}

body.rz-appearance-dark .login-layout {
  background: radial-gradient(circle at top right, rgba(91, 103, 204, 0.45) 0%, rgba(22, 29, 54, 0.95) 50%, rgba(10, 13, 26, 0.98) 100%);
}

.culture-picker-floating {
  position: absolute;
  top: 1.6rem;
  right: 2rem;
  z-index: 20;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  box-shadow: 0 16px 34px -24px rgba(35, 51, 117, 0.7);
}

body.rz-appearance-dark .culture-picker-floating {
  background: rgba(8, 13, 30, 0.72);
  color: #f6f8ff;
}

.login-card {
  width: min(960px, 100%);
  overflow: hidden;
  position: relative;
  border-radius: var(--border-radius-lg);
}

.login-brand-section {
  position: relative;
  background: linear-gradient(160deg, rgba(69, 96, 230, 0.9) 0%, rgba(118, 75, 236, 0.85) 100%);
  display: grid;
  place-items: center;
  padding: 3rem 2rem;
  color: white;
  overflow: hidden;
}

.login-brand-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.26) 0%, transparent 55%);
  pointer-events: none;
}

.login-form-section {
  padding: 3rem 3.25rem;
  background: rgba(255, 255, 255, 0.95);
}

body.rz-appearance-dark .login-form-section {
  background: rgba(16, 20, 34, 0.92);
}

.login-form {
  display: grid;
  gap: 1.25rem;
}

/* Password visibility toggle */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper .rz-textbox,
.password-input-wrapper .rz-password {
  flex: 1;
  padding-right: 44px;
}

.password-toggle-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary, #666);
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 1;
}

.password-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-primary, #333);
}

body.rz-appearance-dark .password-toggle-btn {
  color: #9ca3af;
}

body.rz-appearance-dark .password-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}

.password-toggle-btn .rz-icon {
  font-size: 1.25rem;
}

.login-footer {
  margin-top: 2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.6;
}

.brand-logo {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  margin: 0 auto 2rem auto;
  box-shadow: 0 24px 60px -28px rgba(2, 15, 64, 0.6);
}

/* ==========================================================================
   6. LANDING PAGE (HERO, FEATURES, CTA)
   ========================================================================== */

.hero-section {
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(3rem, 6vw, 4.5rem) var(--layout-padding);
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
  background: linear-gradient(135deg, #fdfbfb 0%, #f4eeed 100%);
  box-sizing: border-box;
}

body.rz-appearance-dark .hero-section {
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
}

.hero-content {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 560px;
}

.hero-visual {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

.hero-visual-container {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brain-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brain-icon {
  font-size: 8rem;
  color: var(--brand-red);
  z-index: 2;
  filter: drop-shadow(0 10px 30px rgba(157, 31, 21, 0.25));
}

body.rz-appearance-dark .brain-icon {
  color: #ff6b5e;
}

.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(157, 31, 21, 0.15);
  animation: pulse-ring 3s ease-in-out infinite;
}

body.rz-appearance-dark .visual-ring {
  border-color: rgba(255, 107, 94, 0.2);
}

.visual-ring.ring-1 {
  width: 60%;
  height: 60%;
  animation-delay: 0s;
}

.visual-ring.ring-2 {
  width: 80%;
  height: 80%;
  animation-delay: 0.5s;
}

.visual-ring.ring-3 {
  width: 100%;
  height: 100%;
  animation-delay: 1s;
}

.visual-badge {
  position: absolute;
  background: #ffffff;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 8px 25px -10px rgba(0, 0, 0, 0.2);
  animation: float-badge 4s ease-in-out infinite;
  max-width: calc(100% - 1.5rem);
  box-sizing: border-box;
}

body.rz-appearance-dark .visual-badge {
  background: rgba(30, 35, 50, 0.95);
  color: #e6ebff;
}

.visual-badge .rz-icon {
  color: var(--brand-red);
  font-size: 1rem;
}

body.rz-appearance-dark .visual-badge .rz-icon {
  color: #ff6b5e;
}

.visual-badge.badge-1 {
  top: 10%;
  right: 0;
  animation-delay: 0s;
}

.visual-badge.badge-2 {
  bottom: 25%;
  left: 0;
  animation-delay: 1.3s;
}

.visual-badge.badge-3 {
  bottom: 10%;
  right: 10%;
  animation-delay: 2.6s;
}

/* Trust Bar */
.trust-bar {
  background: var(--brand-red);
  color: #ffffff;
  padding: 1.5rem 0;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

/* Features & CTA Sections */
.features-section,
.cta-section {
  width: 100%;
  padding: clamp(3rem, 6vw, 6rem) var(--layout-padding);
  box-sizing: border-box;
}

.feature-card {
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}

.hero-cta-primary {
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
}

/* How It Works Dialog */
.how-it-works-dialog {
  padding: 0.5rem 0.25rem 0.25rem;
}

.how-it-works-dialog .rz-text-body1 {
  line-height: 1.6;
}

.how-it-works-list {
  padding-left: 1.25rem;
  margin: 0;
  list-style: disc;
}

.how-it-works-list li {
  margin-bottom: 0.4rem;
}

.how-it-works-warning {
  margin-top: 0.5rem;
}

/* ==========================================================================
   7. ASSESSMENT CARDS
   ========================================================================== */

.assessments-page {
  width: 100%;
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.assessment-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border-color);
  min-height: 200px;
}

.assessment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -15px rgba(0, 0, 0, 0.15);
}

body.rz-appearance-dark .assessment-card:hover {
  box-shadow: 0 12px 40px -15px rgba(0, 0, 0, 0.5);
}

.assessment-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.assessment-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4b7bec 0%, #2f3a85 100%);
  border-radius: 12px;
  color: #ffffff;
}

.assessment-icon .rz-icon {
  font-size: 1.5rem;
}

.category-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
}

.assessment-card-body {
  flex: 1;
}

.assessment-title {
  margin-bottom: 0.5rem;
}

.assessment-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.assessment-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.time-estimate {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* TOVA Promo Card */
.tova-promo-card {
  background: linear-gradient(135deg, rgba(75, 123, 236, 0.08) 0%, rgba(47, 58, 133, 0.05) 100%);
  border: 1px solid rgba(75, 123, 236, 0.2);
}

body.rz-appearance-dark .tova-promo-card {
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.12) 0%, rgba(61, 90, 254, 0.08) 100%);
  border-color: rgba(91, 140, 255, 0.25);
}

.tova-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4b7bec 0%, #2f3a85 100%);
  border-radius: 14px;
  color: #ffffff;
  flex-shrink: 0;
}

.search-input {
  position: relative;
}

/* ==========================================================================
   8. BREADCRUMBS
   ========================================================================== */

.breadcrumb-nav {
  margin-bottom: 1.5rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.25rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.breadcrumb-item.active {
  color: var(--text-primary);
  font-weight: 500;
}

.breadcrumb-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large Tablets (1200px) */
@media (max-width: 1200px) {
  .resume-wrapper {
    display: none;
  }
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 1rem;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .desktop-nav {
    margin-left: 0.5rem;
    gap: 0.25rem;
    flex: 0 1 auto;
    order: 0;
  }

  .desktop-nav .nav-link {
    padding: 0.45rem 0.5rem;
    font-size: 0.85rem;
  }

  .desktop-nav .nav-link span {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .user-name {
    display: none;
  }

  .culture-picker-wrapper {
    display: none;
  }

  .custom-body {
    padding-left: 0 !important;
  }
}

/* Login card tablet */
@media (max-width: 992px) {
  .login-card {
    width: min(720px, 100%);
  }

  .login-form-section {
    padding: 2.6rem 2.25rem;
  }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
    padding: 0 0.75rem;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
    padding: 0.5rem var(--layout-padding) 1rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .login-btn {
    display: none;
  }

  .logo-link {
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .logo-link .rz-icon {
    font-size: 1.5rem;
  }

  .header-actions {
    gap: 0.4rem;
    margin-left: auto;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .main-content-card {
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius-md);
  }

  /* Hero mobile */
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem var(--layout-padding);
  }

  .hero-title {
    font-size: 2.8rem !important;
  }

  .hero-content,
  .hero-visual {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .hero-visual-container {
    width: min(100%, 320px);
  }

  /* Assessment grid mobile */
  .assessment-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tova-promo-card .text-end {
    text-align: left !important;
    margin-top: 1rem;
  }

  /* Login mobile */
  .culture-picker-floating {
    position: static;
    margin-bottom: 1.5rem;
  }

  .login-layout {
    padding: 2.5rem 1.25rem;
  }

  .login-form-section,
  .login-brand-section {
    padding: 2.25rem 1.75rem;
  }

  .brand-logo {
    margin-bottom: 1.5rem;
  }
}

/* Extra Small (480px) */
@media (max-width: 480px) {
  .header-inner {
    height: 56px;
    padding: 0 0.5rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .main-content-card {
    padding: 1.25rem 0.85rem;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .assessment-card {
    min-height: auto;
  }
}
