/* ==========================================================================
   UTTAM ARON — HOMEPAGE REDESIGN (100% VISUAL FIDELITY TO USER MOCKUP)
   ========================================================================== */

/* Header & Nav */
.ua-site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.admin-bar .ua-site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .ua-site-header {
    top: 46px;
  }
}

.ua-site-header.is-sticky {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.8);
}

.ua-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.ua-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ua-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ua-brand-logo-btn {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.ua-brand-logo-btn:hover {
  transform: scale(1.08);
}

.ua-brand-logo-btn:hover .ua-brand-logo-img,
.ua-brand-logo-btn:hover .ua-drawer-logo-img,
.ua-brand-logo-btn:hover .ua-footer-logo-img {
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4), 0 0 12px rgba(37, 99, 235, 0.3);
  border-color: #eab308;
}

.ua-brand-logo-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.ua-brand-text-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.ua-brand-text-link:hover .ua-brand-name {
  color: #2563eb;
}

.ua-drawer-text-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}

.ua-drawer-text-link:hover .ua-drawer-brand-name {
  color: #2563eb;
}

.ua-footer-brand-link {
  text-decoration: none;
  display: inline-block;
}

.ua-footer-brand-link:hover .ua-footer-title {
  color: #60a5fa;
}

.ua-brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.ua-logo-link:hover .ua-brand-logo-img {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.ua-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex-shrink: 0;
  white-space: nowrap;
}

.ua-brand-name {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
  line-height: 1.2;
  white-space: nowrap;
  word-break: keep-all;
}

.ua-brand-legal {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
  display: block;
  margin-top: 1px;
}

.ua-brand-tagline {
  font-size: 9.5px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.03em;
  display: block;
  margin-top: 2px;
}

.ua-nav-list {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}

.ua-nav-list a {
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
  transition: all 0.2s ease;
}

.ua-nav-list a:hover {
  color: #2563eb;
}

.ua-nav-list a.is-active,
.ua-nav-list .current-menu-item > a {
  color: #2563eb !important;
  font-weight: 700 !important;
}

.ua-nav-list a.is-active::after,
.ua-nav-list .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #2563eb;
  border-radius: 2px;
}

.ua-search-btn {
  background: none;
  border: none;
  color: #475569;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.ua-search-btn:hover {
  color: #2563eb;
}

.ua-header-cta-btn {
  background: #00D2B4;
  color: #0A192F;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 210, 180, 0.25);
  white-space: nowrap;
}

.ua-header-cta-btn:hover {
  background: #00bfa3;
  color: #0A192F;
  transform: translateY(-1px);
}

.ua-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle Button */
.ua-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s ease;
}

.ua-menu-toggle:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.ua-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #0f172a;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile Drawer (Off-Canvas) */
.ua-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 320px);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 999999;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ua-mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible !important;
}

.ua-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ua-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.ua-drawer-open {
  overflow: hidden !important;
}

.ua-drawer-inner {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.ua-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  width: 100%;
}

.ua-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ua-drawer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.ua-drawer-brand-text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  white-space: nowrap;
}

.ua-drawer-brand-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  word-break: keep-all;
}

.ua-drawer-brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}

.ua-drawer-lang-row {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.ua-drawer-close {
  align-self: flex-end;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  font-size: 24px;
  line-height: 1;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  transition: all 0.2s ease;
}

.ua-drawer-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Language Switcher Component */
.ua-lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2px 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}

.ua-lang-btn {
  color: #64748b;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 14px;
  transition: all 0.2s ease;
  display: inline-block;
}

.ua-lang-btn:hover {
  color: #0f172a;
}

.ua-lang-btn.is-active {
  background: #2563eb;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.ua-lang-sep {
  color: #cbd5e1;
  font-size: 11px;
  margin: 0 1px;
  user-select: none;
}

.ua-drawer-lang-switcher {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.ua-drawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.ua-drawer-list li {
  border-bottom: 1px solid #f1f5f9;
}

.ua-drawer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ua-drawer-list a:hover,
.ua-drawer-list .current-menu-item > a,
.ua-drawer-list a.is-active {
  color: #2563eb;
}

/* 1. HERO SECTION */
.ua-mock-hero-section {
  padding: 48px 0 32px 0;
  background: #ffffff;
}

.ua-mock-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.ua-mock-greeting {
  font-size: 16px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
  display: block;
}

.ua-mock-hero-name {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.ua-mock-hero-legal {
  font-size: 26px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.25;
}

.ua-mock-roles-line {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.ua-mock-roles-line .sep {
  color: #cbd5e1;
}

.ua-mock-creator-tag {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 18px;
}

.ua-mock-hero-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 30px;
}

.ua-mock-hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ua-mock-btn-blue {
  background: #2563eb;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.ua-mock-btn-blue:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.ua-mock-btn-video {
  background: transparent;
  color: #2563eb !important;
  border: 1px solid #bfdbfe;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.ua-mock-btn-video:hover {
  background: #eff6ff;
}

.ua-play-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding-left: 2px;
}

/* Hero Social Links Strip */
.ua-hero-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.ua-hero-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  background: #182232;
  border: 1px solid #182232;
  border-radius: 6px;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  line-height: 1.2;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ua-hero-social-links a:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
}

.ua-mock-hero-right {
  display: flex;
  justify-content: center;
}

.ua-mock-art-wrapper {
  max-width: 440px;
  width: 100%;
}

.ua-mock-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 4-CAPABILITY STRIP */
.ua-mock-capabilities-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
  padding-bottom: 24px;
}

.ua-mock-cap-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease;
}

.ua-mock-cap-card:hover {
  transform: translateY(-3px);
}

.ua-mock-cap-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
}

.icon-purple { color: #7c3aed; background: #f5f3ff; }
.icon-blue   { color: #2563eb; background: #eff6ff; }
.icon-indigo { color: #4f46e5; background: #eef2ff; }
.icon-teal   { color: #0d9488; background: #f0fdfa; }

.ua-mock-cap-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
}

.ua-mock-cap-sub {
  font-size: 13px;
  color: #64748b;
}

/* 2. MY SOFTWARE PRODUCTS */
.ua-mock-products-section {
  padding: 48px 0;
  background: #ffffff;
}

.ua-mock-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.ua-mock-heading-dark {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.ua-mock-link-blue {
  color: #2563eb;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ua-mock-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ua-mock-pcard {
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.ua-mock-pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.pcard-blue   { background: #f0f7ff; border: 1px solid #dbeafe; }
.pcard-pink   { background: #fff1f2; border: 1px solid #ffe4e6; }
.pcard-teal   { background: #f0fdfa; border: 1px solid #ccfbf1; }
.pcard-purple { background: #faf5ff; border: 1px solid #f3e8ff; }

.ua-mock-picon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.picon-blue   { background: #2563eb; color: #ffffff; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35); }
.picon-pink   { background: #f43f5e; color: #ffffff; box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35); }
.picon-teal   { background: #06b6d4; color: #ffffff; box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35); }
.picon-purple { background: #8b5cf6; color: #ffffff; box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35); }

.ua-mock-ptitle {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.ua-mock-ptagline {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.4;
}

.ua-mock-pexplore {
  color: #2563eb;
  font-weight: 700;
  font-size: 14px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 3. FEATURED WORK (DARK NAVY CONTAINER) */
.ua-mock-featured-section {
  padding: 24px 0 60px 0;
  background: #ffffff;
}

.ua-mock-dark-container {
  background: #0c192e;
  border-radius: 20px;
  padding: 36px 32px;
  color: #ffffff;
}

.ua-mock-feat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ua-mock-heading-light {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.ua-mock-link-cyan {
  color: #38bdf8;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ua-mock-filter-row {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.ua-mock-pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ua-mock-pill:hover,
.ua-mock-pill.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.ua-mock-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ua-mock-wcard {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.ua-mock-wcard:hover {
  transform: translateY(-3px);
}

.ua-mock-wthumb-wrap {
  width: 100%;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #1e293b;
}

.ua-mock-wthumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ua-mock-wtitle {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  line-height: 1.35;
}

.ua-mock-wsub {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.ua-text-cyan {
  color: #38bdf8 !important;
}

/* ==========================================================================
   GLOBAL OVERFLOW & RESPONSIVE SUBPAGES
   ========================================================================== */
html, body {
  overflow-x: clip;
  max-width: 100vw;
}

.ua-page-wrap {
  padding: 64px 24px;
}

.ua-contact-card {
  padding: 36px;
  background: #FFFFFF;
  border: 1px solid var(--ua-border, #E2E4E7);
  border-radius: 12px;
}

.ua-contact-card input,
.ua-contact-card select,
.ua-contact-card textarea {
  font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
}

@media (max-width: 640px) {
  .ua-contact-card {
    padding: 20px 16px !important;
  }
  .ua-identities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

.ua-identities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.ua-identity-card {
  background: #ffffff;
  border: 1px solid var(--ua-border);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ua-identity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
}

.ua-identity-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ua-identity-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.ua-identity-card:hover .ua-identity-icon-box {
  transform: scale(1.06);
}

.ua-identity-icon-box svg {
  width: 22px;
  height: 22px;
}

.ua-identity-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ua-primary);
  margin: 0;
  line-height: 1.3;
}

.ua-identity-card p {
  font-size: 14.5px;
  color: var(--ua-text-secondary);
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}

/* Discipline Theme Colors */
.id-writer { color: #8b5cf6; background: #f5f3ff; border: 1px solid #ede9fe; }
.id-designer { color: #ec4899; background: #fdf2f8; border: 1px solid #fce7f3; }
.id-journalist { color: #0284c7; background: #f0f9ff; border: 1px solid #e0f2fe; }
.id-developer { color: #10b981; background: #ecfdf5; border: 1px solid #d1fae5; }
.id-photographer { color: #f59e0b; background: #fffbeb; border: 1px solid #fef3c7; }
.id-videographer { color: #ef4444; background: #fef2f2; border: 1px solid #fee2e2; }

/* ==========================================================================
   SITE FOOTER (Brand Dark Navy, 4-Col Grid to 1-Col Mobile)
   ========================================================================== */
.ua-site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 60px 0 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.ua-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
}

.ua-footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.ua-footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.ua-footer-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.ua-footer-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 18px;
}

.ua-footer-col .ua-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ua-footer-col .ua-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ua-footer-col .ua-social-links a:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.ua-footer-heading {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.ua-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ua-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.ua-footer-links a:hover {
  color: #38bdf8;
}

.ua-footer-subtext {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 16px;
}

.ua-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.ua-copyright {
  margin: 0;
}

.ua-disclaimer {
  margin: 0;
  font-size: 12px;
  text-align: right;
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop -> Tablet -> Mobile -> Small Mobile)
   ========================================================================== */

/* 1. Large Tablet (<= 1024px) */
@media (max-width: 1024px) {
  .ua-mock-capabilities-strip,
  .ua-mock-products-grid,
  .ua-mock-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ua-footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* 2. Medium Screen / Mobile Navigation Switch (<= 900px) */
@media (max-width: 900px) {
  .ua-main-nav,
  .ua-nav-list {
    display: none !important;
  }

  .ua-menu-toggle {
    display: flex !important;
  }

  .ua-brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .ua-header-inner {
    height: 64px;
  }
}

/* 3. Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .ua-page-wrap {
    padding: 36px 16px;
  }

  .ua-mock-hero-section {
    padding: 24px 0 16px 0;
  }

  .ua-mock-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .ua-mock-hero-name {
    font-size: clamp(28px, 8vw, 40px);
  }

  .ua-mock-hero-legal {
    font-size: clamp(16px, 4.5vw, 20px);
    margin-top: -2px;
    margin-bottom: 12px;
    text-align: center;
  }

  .ua-mock-roles-line {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
  }

  .ua-mock-roles-line .sep {
    display: none;
  }

  .ua-mock-roles-line span:not(.sep) {
    background: #f1f5f9;
    color: #334155;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
  }

  .ua-mock-creator-tag {
    margin: 8px auto 14px auto;
  }

  .ua-mock-hero-desc {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .ua-mock-hero-ctas {
    justify-content: center;
  }

  .ua-hero-social-links {
    justify-content: center;
    margin-top: 22px;
  }

  .ua-mock-hero-image-wrap {
    max-width: min(320px, 100%);
    margin: 0 auto;
    overflow: hidden;
  }

  /* 2x2 Balanced Capability Grid on Mobile */
  .ua-mock-capabilities-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 36px;
  }

  .ua-mock-cap-card {
    padding: 16px 12px;
  }

  .ua-mock-cap-title {
    font-size: 15px;
  }

  .ua-mock-cap-sub {
    font-size: 12px;
  }

  /* 2x2 Balanced Products Grid on Mobile (2 cards per row) */
  .ua-mock-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .ua-mock-pcard {
    padding: 22px 14px;
    border-radius: 14px;
  }

  .ua-mock-picon-wrap {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .ua-mock-picon-wrap svg {
    width: 26px;
    height: 26px;
  }

  .ua-mock-ptitle {
    font-size: 17px;
    margin-bottom: 4px;
  }

  .ua-mock-ptagline {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .ua-mock-pexplore {
    font-size: 13px;
  }

  .ua-mock-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .ua-mock-dark-container {
    padding: 24px 16px;
    border-radius: 12px;
  }

  /* Horizontal Scrolling Filter Strips on Mobile */
  .ua-mock-filter-row,
  .ua-portfolio-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin-bottom: 20px;
    justify-content: flex-start;
  }

  .ua-mock-filter-row::-webkit-scrollbar,
  .ua-portfolio-tabs::-webkit-scrollbar {
    display: none;
  }

  .ua-mock-pill,
  .ua-tab-btn {
    flex-shrink: 0;
  }

  .ua-site-footer {
    padding: 44px 0 24px 0;
  }

  .ua-footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
  }

  .ua-footer-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ua-footer-brand-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .ua-footer-title,
  .ua-footer-heading {
    text-align: center;
  }

  .ua-footer-desc,
  .ua-footer-subtext {
    text-align: center;
  }

  .ua-footer-col .ua-social-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }

  .ua-footer-col .ua-social-links a {
    padding: 5px 10px;
    font-size: 11.5px;
  }

  .ua-footer-links {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .ua-footer-links li {
    text-align: center;
    width: 100%;
  }

  .ua-footer-col .ua-btn {
    align-self: center;
    margin: 0 auto;
  }

  .ua-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .ua-footer-bottom .ua-disclaimer {
    text-align: center !important;
  }
}

@media (max-width: 400px) {
  .ua-footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }

  .ua-footer-title {
    font-size: 17px;
  }

  .ua-footer-heading {
    font-size: 14px;
  }

  .ua-footer-desc,
  .ua-footer-subtext,
  .ua-footer-links li a {
    font-size: 12.5px;
  }
}

/* 4. Small Mobile Phones (<= 540px) - Keep 2 Cards per Row */
@media (max-width: 540px) {
  .ua-mock-work-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .ua-mock-wthumb-wrap {
    height: 130px;
  }

  .ua-mock-wcontent {
    padding: 12px 10px;
  }

  .ua-mock-wtitle {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .ua-mock-wcat {
    font-size: 11.5px;
  }
}

/* 5. Mobile Handsets (<= 480px) */
@media (max-width: 480px) {
  .ua-container {
    padding: 0 16px;
  }

  .ua-mock-hero-name {
    font-size: clamp(26px, 7.5vw, 32px);
  }

  .ua-mock-hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .ua-hero-social-links {
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
  }

  .ua-hero-social-links a {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  .ua-mock-btn-blue,
  .ua-mock-btn-video {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 15px;
  }

  .ua-mock-wcard {
    border-radius: 10px;
  }

  .ua-mock-work-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .ua-mock-wthumb-wrap {
    height: 120px;
  }

  .ua-mock-wcontent {
    padding: 10px 8px;
  }

  .ua-mock-wtitle {
    font-size: 13.5px;
    margin-bottom: 2px;
  }

  .ua-mock-wcat {
    font-size: 11px;
  }

  /* 2 Columns for About Identities Grid */
  .ua-identities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .ua-identity-card {
    padding: 16px 12px !important;
    border-radius: 10px !important;
  }

  .ua-identity-header {
    gap: 10px !important;
    margin-bottom: 8px !important;
  }

  .ua-identity-icon-box {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
  }

  .ua-identity-icon-box svg {
    width: 18px !important;
    height: 18px !important;
  }

  .ua-identities-grid h3 {
    font-size: 15px !important;
  }

  .ua-identities-grid p {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .ua-mock-product-card {
    padding: 16px 12px;
  }

  .ua-mock-prod-actions {
    flex-direction: column;
  }

  .ua-mock-btn-explore,
  .ua-mock-btn-dl {
    width: 100%;
    text-align: center;
  }

  /* 2x2 Balanced Products Grid on Small Handsets (<= 480px) */
  .ua-mock-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ua-mock-pcard {
    padding: 18px 10px;
    border-radius: 12px;
  }

  .ua-mock-picon-wrap {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }

  .ua-mock-picon-wrap svg {
    width: 24px;
    height: 24px;
  }

  .ua-mock-ptitle {
    font-size: 15px;
    margin-bottom: 3px;
  }

  .ua-mock-ptagline {
    font-size: 11.5px;
    margin-bottom: 12px;
  }

  .ua-mock-pexplore {
    font-size: 12.5px;
  }
}

/* 6. Compact Devices (<= 360px) */
@media (max-width: 360px) {
  .ua-container {
    padding: 0 12px;
  }

  .ua-brand-name {
    font-size: 15px;
  }

  .ua-brand-legal {
    font-size: 9.5px;
  }

  .ua-brand-logo-img {
    width: 34px;
    height: 34px;
  }

  .ua-header-actions {
    gap: 6px;
  }

  .ua-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .ua-mock-hero-name {
    font-size: 24px;
  }

  .ua-mock-roles-line {
    gap: 4px;
  }

  .ua-mock-roles-line span:not(.sep) {
    font-size: 10.5px;
    padding: 3px 7px;
  }

  .ua-hero-social-links {
    gap: 6px;
    margin-top: 16px;
  }

  .ua-hero-social-links a {
    padding: 5px 10px;
    font-size: 11px;
  }

  /* 2x2 Capabilities Strip on <= 360px */
  .ua-mock-capabilities-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .ua-mock-cap-card {
    padding: 12px 8px;
  }

  .ua-mock-cap-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
  }

  .ua-mock-cap-icon svg {
    width: 18px;
    height: 18px;
  }

  .ua-mock-cap-title {
    font-size: 13px;
  }

  .ua-mock-cap-sub {
    font-size: 10.5px;
  }

  /* 2 Columns for Selected Work Grid on <= 360px */
  .ua-mock-work-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .ua-mock-wthumb-wrap {
    height: 100px;
  }

  .ua-mock-wcontent {
    padding: 10px 8px;
  }

  .ua-mock-wtitle {
    font-size: 12.5px;
  }

  .ua-mock-wcat {
    font-size: 10px;
  }

  /* 2 Columns for About Identities Grid on <= 360px */
  .ua-identities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .ua-identity-card {
    padding: 12px 8px !important;
    border-radius: 8px !important;
  }

  .ua-identity-header {
    gap: 8px !important;
    margin-bottom: 6px !important;
  }

  .ua-identity-icon-box {
    width: 30px !important;
    height: 30px !important;
    border-radius: 6px !important;
  }

  .ua-identity-icon-box svg {
    width: 15px !important;
    height: 15px !important;
  }

  .ua-identities-grid h3 {
    font-size: 13px !important;
  }

  .ua-identities-grid p {
    font-size: 10.5px !important;
    line-height: 1.4 !important;
  }

  /* 2x2 Balanced Products Grid on Ultra-Compact Devices (<= 360px) */
  .ua-mock-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .ua-mock-pcard {
    padding: 16px 8px;
    border-radius: 10px;
  }

  .ua-mock-picon-wrap {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
  }

  .ua-mock-picon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .ua-mock-ptitle {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .ua-mock-ptagline {
    font-size: 10.5px;
    margin-bottom: 10px;
  }

  .ua-mock-pexplore {
    font-size: 12px;
  }

  .ua-footer-col:first-child,
  .ua-footer-col:last-child {
    grid-column: 1 / -1;
  }

  .ua-footer-col .ua-social-links {
    gap: 5px;
  }

  .ua-footer-col .ua-social-links a {
    padding: 5px 8px;
    font-size: 11px;
  }
}

/* ==========================================================================
   PORTFOLIO PAGE STYLES (/portfolio/)
   100% Visual Fidelity to Official Design Mockup & Mobile Responsive
   ========================================================================== */

.ua-port-page-wrapper {
  background-color: #ffffff;
  padding-bottom: 90px;
  overflow-x: hidden;
}

/* 1. Breadcrumb */
.ua-port-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 0 20px;
  font-size: 13px;
  color: #64748b;
}

.ua-port-bc-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ua-port-bc-link:hover {
  color: #2563eb;
}

.ua-port-bc-sep {
  color: #94a3b8;
  font-size: 14px;
}

.ua-port-bc-current {
  color: #0f172a;
  font-weight: 600;
}

/* 2. Hero Section */
.ua-port-hero {
  padding: 10px 0 40px;
}

.ua-port-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.ua-port-overline {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #2563eb;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ua-port-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 14px 0;
  white-space: nowrap;
}

.ua-port-subtitle {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin: 0 0 16px 0;
}

.ua-port-desc {
  font-size: 15px;
  line-height: 1.68;
  color: #475569;
  max-width: 540px;
  margin: 0 0 28px 0;
}

.ua-port-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.ua-port-btn-primary {
  background: #00D2B4;
  color: #0A192F;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 12px rgba(0, 210, 180, 0.28);
}

.ua-port-btn-primary:hover {
  background: #00bfa3;
  color: #0A192F;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(0, 210, 180, 0.35);
}

.ua-port-btn-video {
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ua-port-btn-video:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.ua-port-play-icon {
  font-size: 11px;
  color: #2563eb;
}

/* 4 Live Stats Counters */
.ua-port-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.ua-port-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
  border-radius: 12px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.ua-port-stat-item:hover {
  transform: translateY(-4px);
  background-color: rgba(37, 99, 235, 0.04);
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.07);
}

.ua-port-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  text-align: center;
  transition: color 0.25s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.25s ease;
}

.ua-port-stat-num.is-counted {
  animation: ua-stat-counter-pop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes ua-stat-counter-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); color: #2563eb; text-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); }
  100% { transform: scale(1); }
}

.ua-port-stat-item:hover .ua-port-stat-num {
  color: #2563eb;
  transform: scale(1.08);
  text-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.ua-stat-infinity {
  display: inline-block;
  animation: ua-infinity-float 3.5s ease-in-out infinite alternate;
  font-size: 32px;
  line-height: 0.95;
}

@keyframes ua-infinity-float {
  0% {
    transform: translateY(0) scale(1);
    color: #0f172a;
  }
  50% {
    transform: translateY(-3px) scale(1.12);
    color: #2563eb;
    text-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  }
  100% {
    transform: translateY(0) scale(1);
    color: #0f172a;
  }
}

.ua-port-stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.3;
  text-align: center;
  transition: color 0.2s ease;
}

.ua-port-stat-item:hover .ua-port-stat-lbl {
  color: #1e293b;
}

/* Hero Right Sketch Artwork */
.ua-port-hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.ua-port-hero-sketch-wrap {
  width: 100%;
  max-width: 635px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.ua-port-hero-sketch-img {
  width: 100%;
  max-width: 635px;
  height: auto;
  max-height: 635px;
  display: block;
  object-fit: contain;
}

/* 3. Filter Bar */
.ua-port-filter-section {
  margin-top: 48px;
  margin-bottom: 40px;
}

.ua-port-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.ua-port-filter-pills {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}

.ua-port-filter-pills::-webkit-scrollbar {
  display: none;
}

.ua-tab-btn {
  background: #f1f5f9;
  border: 1px solid transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ua-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ua-tab-btn.is-active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.ua-tab-icon {
  font-size: 12px;
}

.ua-port-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ua-port-sort-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.ua-port-select-box {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ua-port-sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 28px 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
}

.ua-port-sort-select:focus {
  outline: none;
  border-color: #2563eb;
}

.ua-sort-arrow {
  position: absolute;
  right: 10px;
  pointer-events: none;
  color: #64748b;
}

/* 4. Selected Work Section */
.ua-selected-work-section {
  margin-bottom: 64px;
}

.ua-port-sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 20px;
}

.ua-port-sec-tag {
  font-size: 11px;
  font-weight: 800;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 6px;
}

.ua-port-sec-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin: 0 0 6px 0;
}

.ua-port-sec-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.ua-port-view-all {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ua-port-view-all:hover {
  color: #1d4ed8;
}

.ua-selected-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ua-work-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ua-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.ua-work-thumb-wrap {
  width: 100%;
  height: 180px;
  background: #f1f5f9;
  overflow: hidden;
}

.ua-work-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ua-work-card:hover .ua-work-thumb-img {
  transform: scale(1.04);
}

.ua-work-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ua-work-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.ua-badge-writer {
  background: #eff6ff;
  color: #2563eb;
}

.ua-badge-designer {
  background: #fdf2f8;
  color: #db2777;
}

.ua-badge-journalist {
  background: #fef3c7;
  color: #d97706;
}

.ua-badge-webdev {
  background: #ecfdf5;
  color: #059669;
}

.ua-work-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.ua-work-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.ua-work-card-link {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s ease;
}

.ua-work-card-link:hover {
  color: #1d4ed8;
}

/* 5. Philosophy Pull-Quote Box */
.ua-port-quote-section {
  margin-bottom: 64px;
}

.ua-port-quote-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2563eb;
  border-radius: 12px;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

.ua-port-quote-mark {
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
  color: #cbd5e1;
  position: absolute;
  top: 12px;
  left: 20px;
  opacity: 0.45;
  pointer-events: none;
}

.ua-port-quote-text {
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.68;
  color: #1e293b;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 1;
}

.ua-port-quote-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.ua-port-quote-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.ua-port-quote-role {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* 6. My Software Products Section */
.ua-port-products-section {
  margin-bottom: 64px;
}

.ua-port-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ua-port-product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ua-port-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  border-color: #cbd5e1;
}

.ua-port-prod-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ua-port-prod-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ua-port-prod-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ua-port-prod-info {
  display: flex;
  flex-direction: column;
}

.ua-port-prod-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 3px 0;
}

.ua-port-prod-sub {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.ua-port-prod-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.ua-port-prod-badge {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ua-port-prod-link {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ua-port-prod-link:hover {
  color: #1d4ed8;
}

/* 7. Dark CTA Banner */
.ua-port-cta-section {
  margin-bottom: 40px;
}

.ua-port-cta-banner {
  background: linear-gradient(135deg, #0F1D33 0%, #172A46 100%);
  border-radius: 16px;
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 29, 51, 0.25);
}

.ua-port-cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.ua-port-cta-tag {
  font-size: 11px;
  font-weight: 800;
  color: #00D2B4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 10px;
}

.ua-port-cta-heading {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.ua-port-cta-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 24px 0;
  max-width: 500px;
}

.ua-port-cta-btn {
  background: #00D2B4;
  color: #0A192F;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.ua-port-cta-btn:hover {
  background: #00bfa3;
  transform: translateY(-1px);
}

.ua-port-cta-artwork-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ua-port-cta-artwork {
  max-width: 100%;
  max-height: 190px;
  object-fit: contain;
  filter: brightness(1.05);
}

/* ==========================================================================
   PORTFOLIO RESPONSIVE BREAKPOINTS (360° Zero-Overflow Guarantee)
   ========================================================================== */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
  .ua-selected-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ua-port-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ua-port-cta-banner {
    padding: 40px 36px;
  }
}

/* Mobile Landscape & Tablets (<= 768px) */
@media (max-width: 768px) {
  .ua-brand-tagline {
    display: block !important;
    font-size: 8.5px !important;
    letter-spacing: 0.02em;
    text-align: center;
    margin-top: 1px;
  }

  .ua-header-cta-btn {
    display: none !important;
  }

  .ua-container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ua-port-page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .ua-port-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ua-port-title {
    white-space: normal;
    font-size: clamp(24px, 6vw, 34px);
  }

  .ua-port-hero-left,
  .ua-port-hero-right {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ua-port-hero-sketch-wrap {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .ua-port-hero-sketch-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .ua-port-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    width: 100%;
    max-width: 100%;
  }

  .ua-port-filter-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .ua-port-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ua-port-filter-pills {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px 2px;
    display: flex;
    flex-wrap: nowrap;
  }

  .ua-port-filter-pills::-webkit-scrollbar {
    display: none;
  }

  .ua-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .ua-port-sort-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ua-port-sec-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .ua-selected-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ua-work-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .ua-port-quote-section {
    width: 100%;
    max-width: 100%;
  }

  .ua-port-quote-box {
    padding: 30px 24px 30px 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ua-port-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ua-port-product-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .ua-port-cta-banner {
    padding: 36px 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ua-port-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ua-port-cta-content {
    width: 100%;
    max-width: 100%;
  }

  .ua-port-cta-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .ua-port-cta-btn {
    margin: 0 auto;
  }

  .ua-port-cta-artwork-wrap {
    width: 100%;
    max-width: 100%;
  }

  .ua-port-cta-artwork {
    max-height: 140px;
    max-width: 100%;
  }
}

/* Mobile Portrait (<= 540px) */
@media (max-width: 540px) {
  .ua-port-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .ua-port-btn-primary,
  .ua-port-btn-video {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  /* 2 Cards per Row for Selected Work Grid on Mobile */
  .ua-selected-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .ua-work-card-thumb-box {
    height: 120px;
  }

  .ua-work-card-body {
    padding: 12px 10px;
  }

  .ua-work-card-title {
    font-size: 13.5px;
    margin-bottom: 2px;
  }

  .ua-work-card-desc {
    font-size: 11.5px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  /* 2 Cards per Row for Products Grid on Mobile */
  .ua-port-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .ua-port-product-card {
    padding: 16px 10px;
  }

  .ua-port-prod-header {
    gap: 8px;
    margin-bottom: 10px;
  }

  .ua-port-prod-icon-box {
    width: 36px;
    height: 36px;
  }

  .ua-port-prod-title {
    font-size: 14px;
  }

  .ua-port-prod-sub {
    font-size: 11px;
  }

  .ua-port-prod-footer {
    padding-top: 10px;
  }

  .ua-port-quote-box {
    padding: 24px 18px 24px 22px;
  }

  .ua-port-quote-mark {
    font-size: 56px;
    left: 8px;
    top: 4px;
  }

  .ua-port-cta-banner {
    padding: 30px 18px;
    border-radius: 12px;
  }
}

/* Small Handhelds (<= 375px) */
@media (max-width: 375px) {
  .ua-port-title {
    font-size: 32px;
  }

  .ua-port-subtitle {
    font-size: 17px;
  }

  .ua-port-desc {
    font-size: 14px;
  }

  .ua-port-stat-num {
    font-size: 22px;
  }

  .ua-port-stat-lbl {
    font-size: 11px;
  }

  .ua-tab-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Ultra-Compact (<= 360px) */
@media (max-width: 360px) {
  .ua-brand-name {
    font-size: 16px;
  }

  .ua-port-title {
    font-size: 28px;
  }

  .ua-port-subtitle {
    font-size: 16px;
  }

  .ua-port-sec-title {
    font-size: 22px;
  }

  .ua-port-cta-heading {
    font-size: 22px;
  }

  /* 2 Cards per Row for Selected Work Grid on <= 360px */
  .ua-selected-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .ua-work-card-thumb-box {
    height: 95px;
  }

  .ua-work-card-body {
    padding: 10px 8px;
  }

  .ua-work-card-title {
    font-size: 12px;
  }

  .ua-work-card-desc {
    display: none;
  }

  /* 2 Cards per Row for Products Grid on <= 360px */
  .ua-port-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .ua-port-product-card {
    padding: 12px 8px;
  }

  .ua-port-prod-title {
    font-size: 13px;
  }

  .ua-port-prod-sub {
    font-size: 10px;
  }
}

/* ==========================================================================
   BILINGUAL & BENGALI TYPOGRAPHY RULES
   ========================================================================== */
:root {
  --ua-font-bn: 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Responsive for Language Switcher */
@media (max-width: 640px) {
  .ua-header-cta-btn {
    display: none !important;
  }
  .ua-header-actions {
    gap: 8px;
  }
}

/* Bengali Global Typography & Line-Heights */
body.ua-lang-bn,
body.ua-lang-bn h1,
body.ua-lang-bn h2,
body.ua-lang-bn h3,
body.ua-lang-bn h4,
body.ua-lang-bn h5,
body.ua-lang-bn h6,
body.ua-lang-bn p,
body.ua-lang-bn span,
body.ua-lang-bn a,
body.ua-lang-bn button,
body.ua-lang-bn input,
body.ua-lang-bn select,
body.ua-lang-bn textarea {
  font-family: var(--ua-font-bn) !important;
}

body.ua-lang-bn .ua-brand-name {
  letter-spacing: normal;
}

body.ua-lang-bn .ua-brand-tagline,
body.ua-lang-bn .ua-mock-hero-desc,
body.ua-lang-bn .ua-port-desc,
body.ua-lang-bn .ua-work-card-desc,
body.ua-lang-bn .ua-port-quote-text,
body.ua-lang-bn .ua-port-cta-desc,
body.ua-lang-bn .ua-footer-desc,
body.ua-lang-bn .ua-footer-subtext,
body.ua-lang-bn .ua-port-prod-sub {
  line-height: 1.7;
}

body.ua-lang-bn .ua-port-overline,
body.ua-lang-bn .ua-port-sec-tag,
body.ua-lang-bn .ua-work-badge {
  letter-spacing: 0.03em;
}

/* ==========================================================================
   BACK TO TOP (SCROLL UP BUTTON)
   ========================================================================== */
.ua-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease;
}

.ua-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ua-back-to-top:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transform: translateY(-3px);
}

.ua-back-to-top:active {
  transform: translateY(0);
}

.ua-back-to-top svg {
  display: block;
  transition: transform 0.2s ease;
}

.ua-back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .ua-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
  .ua-back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   ANIMATED BRAND LOGO LIGHTBOX MODAL
   ========================================================================== */
.ua-logo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.ua-logo-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.ua-logo-modal-open {
  overflow: hidden !important;
}

.ua-logo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: zoom-out;
  transition: opacity 0.35s ease;
}

.ua-logo-modal-box {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.99) 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.35);
  border-radius: 28px;
  padding: 42px 36px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7), 0 0 50px rgba(234, 179, 8, 0.18);
  transform: scale(0.65) translateY(24px);
  opacity: 0;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ua-logo-modal.is-open .ua-logo-modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.ua-logo-modal-box:hover {
  border-color: rgba(234, 179, 8, 0.6);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.8), 0 0 60px rgba(234, 179, 8, 0.3);
}

.ua-logo-modal-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.ua-logo-modal-card-link:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 6px;
  border-radius: 20px;
}

.ua-logo-modal-box:hover .ua-logo-modal-img {
  transform: scale(1.04);
}

.ua-logo-modal-box:hover .ua-logo-modal-author {
  color: #60a5fa;
}

.ua-logo-modal-box:hover .ua-logo-modal-tagline {
  background: rgba(234, 179, 8, 0.22);
  border-color: rgba(234, 179, 8, 0.5);
  color: #fde047;
}

.ua-logo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
}

.ua-logo-modal-close:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: rgba(239, 68, 68, 1);
  color: #ffffff;
  transform: rotate(90deg) scale(1.08);
}

.ua-logo-modal-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.ua-logo-modal-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.3) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 75%);
  filter: blur(25px);
  pointer-events: none;
  animation: ua-modal-glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes ua-modal-glow-pulse {
  0% { transform: scale(0.94); opacity: 0.65; }
  100% { transform: scale(1.08); opacity: 1; }
}

.ua-logo-modal-img {
  width: clamp(210px, 50vw, 290px);
  height: clamp(210px, 50vw, 290px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(234, 179, 8, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(234, 179, 8, 0.25);
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ua-logo-modal-img:hover {
  transform: scale(1.03);
}

.ua-logo-modal-meta {
  position: relative;
  z-index: 1;
}

.ua-logo-modal-author {
  font-size: 22px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.ua-logo-modal-handle {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.ua-logo-modal-tagline {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: #fbbf24;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 999px;
  margin-bottom: 8px;
}

.ua-logo-modal-site {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .ua-logo-modal-box {
    padding: 32px 20px 24px;
    border-radius: 22px;
  }
  .ua-logo-modal-img {
    width: 200px;
    height: 200px;
  }
  .ua-logo-modal-author {
    font-size: 19px;
  }
  .ua-logo-modal-tagline {
    font-size: 10px;
  }
}

/* ==========================================================================
   Global Search Modal & Overlay
   ========================================================================== */
.ua-search-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ua-search-modal.is-open {
  opacity: 1;
  visibility: visible;
}

body.ua-search-modal-open {
  overflow: hidden;
}

.ua-search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.ua-search-modal-box {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 640px;
  background: #FFFFFF;
  border: 1px solid var(--ua-border, #E2E4E7);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(-15px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ua-search-modal.is-open .ua-search-modal-box {
  transform: translateY(0) scale(1);
}

.ua-search-modal-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ua-border, #E2E4E7);
  gap: 12px;
}

.ua-search-modal-icon {
  font-size: 20px;
}

.ua-search-modal-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 17px;
  font-weight: 500;
  color: var(--ua-primary, #172A46);
  outline: none;
}

.ua-search-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--ua-text-secondary, #9CA3AF);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.ua-search-modal-close:hover {
  color: #EF4444;
}

.ua-search-modal-footer {
  padding: 14px 20px;
  background: #F9FAFB;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ua-search-hint {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ua-text-secondary, #6B7280);
}

.ua-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ua-search-tags a {
  display: inline-block;
  padding: 4px 10px;
  background: #FFFFFF;
  border: 1px solid var(--ua-border, #E2E4E7);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ua-primary, #172A46);
  text-decoration: none;
  transition: all 0.2s ease;
}

.ua-search-tags a:hover {
  background: var(--ua-accent, #00A8D6);
  border-color: var(--ua-accent, #00A8D6);
  color: #FFFFFF;
}