/* FindMigrationAgent */
:root {
  --bg: #0a0d14;
  --bg2: #07090f;
  --card: #12161f;
  --card-h: #181d28;
  --accent: #4ea4c8;
  --accent-g: rgba(78,164,200,.12);
  --accent-h: #6ab8d8;
  --tx: #b8b6b0;
  --tx1: #e8e6e1;
  --tx2: #555a66;
  --tx3: #2e3340;
  --br: rgba(255,255,255,.05);
  --br2: rgba(255,255,255,.08);
  --br-a: rgba(78,164,200,.16);
  --r: 8px;
  --ff: 'Chakra Petch', sans-serif;
  --fb: 'Outfit', sans-serif;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box }

body {
  font-family: var(--fb);
  color: var(--tx);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a, a:visited, a:active { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-h); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== HEADER ========== */
.site-header {
  background: rgba(6,8,16,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--br);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container { display: flex; align-items: center; gap: 20px; height: 52px; }
.logo {
  font-family: var(--ff); font-size: 1.05rem; font-weight: 700;
  color: var(--tx1); letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
.logo, .logo:visited, .logo:hover { color: var(--tx1); text-decoration: none; }
.logo span { color: var(--accent); }
.logo-icon { color: var(--accent); }
.site-header nav { display: flex; gap: 4px; margin-left: auto; }
.site-header nav a, .site-header nav a:visited {
  color: var(--tx2); font-size: .8rem; font-weight: 500;
  padding: 5px 10px; border-radius: 5px; transition: all .2s;
}
.site-header nav a:hover { color: var(--tx1); background: rgba(255,255,255,.03); text-decoration: none; }

/* ========== HERO ========== */
.hero {
  position: relative; height: 55vh; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--bg2);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.hero h1 {
  font-family: var(--ff); font-size: clamp(2.2rem,5vw,3.6rem); font-weight: 700;
  color: var(--tx1); line-height: 1.08; letter-spacing: -.5px;
  margin-bottom: 16px; opacity: 0; animation: up .7s ease .15s forwards;
}
.h1-thin { font-weight: 400; color: var(--tx2); }
.hero-sub {
  font-size: 1rem; color: var(--tx2); margin-bottom: 28px;
  opacity: 0; animation: up .7s ease .3s forwards;
}
.hero-nums {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  opacity: 0; animation: up .7s ease .45s forwards;
}
.hn { font-size: .78rem; color: var(--tx2); }
.hn b { font-family: var(--ff); font-size: 1rem; font-weight: 600; color: var(--tx1); margin-right: 3px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--tx3); }

/* ========== SECTION TITLES ========== */
.section-title {
  font-family: var(--ff); font-size: 1.2rem; font-weight: 600;
  color: var(--tx1); margin-bottom: 20px; padding-top: 48px;
}

/* ========== COUNTRY CARDS ========== */
.countries { padding: 0 0 20px; }
.country-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.country-card, .country-card:visited {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 32px; background: var(--card); border: 1px solid var(--br);
  border-radius: 12px; color: var(--tx); transition: all .25s; position: relative;
}
.country-card:hover {
  text-decoration: none; border-color: var(--br-a); background: var(--card-h);
  transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.3);
}
.cc-flag { font-size: 2.8rem; line-height: 1; }
.cc-body { flex: 1; min-width: 0; }
.cc-name { font-family: var(--ff); font-size: 1.2rem; font-weight: 600; color: var(--tx1); margin-bottom: 4px; }
.cc-agents { font-size: .88rem; color: var(--accent); font-weight: 500; margin-bottom: 4px; }
.cc-reg { font-size: .78rem; color: var(--tx2); }
.cc-reg strong { color: var(--tx); }
.cc-arrow { color: var(--tx3); transition: all .2s; flex-shrink: 0; }
.country-card:hover .cc-arrow { color: var(--accent); transform: translateX(4px); }

/* ========== TOP CITIES GRID ========== */
.top-cities { padding: 0 0 20px; }
.top-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.ts, .ts:visited {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--card); border: 1px solid var(--br);
  border-radius: 10px; color: var(--tx); transition: all .25s;
}
.ts:hover {
  text-decoration: none; border-color: var(--br-a); background: var(--card-h);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.ts-flag { font-size: 1.6rem; line-height: 1; }
.ts-body { min-width: 0; flex: 1; }
.ts-name { font-size: .92rem; font-weight: 500; color: var(--tx1); margin-bottom: 2px; }
.ts-count { font-family: var(--ff); font-weight: 600; font-size: .75rem; color: var(--accent); }
.ts-state { font-size: .72rem; color: var(--tx3); margin-top: 2px; }

/* ========== HOW IT WORKS ========== */
.how-it-works { padding: 0 0 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  padding: 28px 24px; background: var(--card); border: 1px solid var(--br);
  border-radius: 10px; text-align: center;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-g); border: 1px solid var(--br-a);
  font-family: var(--ff); font-weight: 700; font-size: .9rem;
  color: var(--accent); margin-bottom: 14px;
}
.step h3 { font-family: var(--ff); font-size: .92rem; font-weight: 600; color: var(--tx1); margin-bottom: 8px; }
.step p { font-size: .82rem; color: var(--tx2); line-height: 1.6; }

/* ========== REGULATOR BADGE ========== */
.reg-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: var(--accent-g); border: 1px solid var(--br-a);
  font-size: .8rem; color: var(--tx2); margin-bottom: 28px;
}
.reg-badge svg { color: var(--accent); }
.reg-badge strong { color: var(--accent); }

/* ========== INNER PAGES ========== */
.breadcrumbs { padding: 18px 0 6px; font-size: .8rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li::after { content: '/'; margin-left: 5px; color: var(--tx3); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a, .breadcrumbs a:visited { color: var(--tx2); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--tx3); }
h1 { font-family: var(--ff); color: var(--tx1); margin-bottom: 8px; font-weight: 700; }
h2 { font-family: var(--ff); color: var(--tx1); margin: 28px 0 10px; font-weight: 600; }
.page-sub { color: var(--tx2); margin-bottom: 8px; }

/* ========== SEO CONTENT ========== */
.seo-content { padding: 28px 0; max-width: 700px; }
.seo-content h2 { font-size: 1.1rem; }
.seo-content p { margin-bottom: 10px; color: var(--tx2); font-size: .85rem; line-height: 1.7; }
.seo-content strong { color: var(--tx); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg2); border-top: 1px solid var(--br); padding: 32px 0 24px;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 28px; }
.footer-brand .logo { margin-bottom: 10px; font-size: .95rem; }
.footer-brand p { font-size: .78rem; color: var(--tx2); max-width: 260px; line-height: 1.6; }
.footer-heading {
  font-family: var(--ff); font-size: .6rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--tx3); margin-bottom: 12px;
}
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a, .footer-links a:visited { color: var(--tx2); font-size: .8rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--br); padding-top: 16px; display: flex; justify-content: space-between; }
.footer-bottom p { font-size: .72rem; color: var(--tx3); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 6px;
  font-family: var(--ff); font-weight: 600; font-size: .82rem;
  letter-spacing: .4px; cursor: pointer; text-align: center; transition: all .2s;
}
.btn:hover { text-decoration: none; }
.btn-primary, .btn-primary:visited { background: var(--accent); color: #060810; }
.btn-primary:hover { background: var(--accent-h); box-shadow: 0 4px 16px var(--accent-g); }

/* ========== AGENT LIST ========== */
.agent-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.agent-card, .agent-card:visited {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--card); border: 1px solid var(--br);
  border-radius: 8px; color: var(--tx); transition: all .2s;
}
.agent-card:hover {
  text-decoration: none; border-color: var(--br-a); background: var(--card-h);
}
.ac-initials {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-g); border: 1px solid var(--br-a);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff); font-weight: 700; font-size: .9rem;
  color: var(--accent); flex-shrink: 0;
}
.ac-body { flex: 1; min-width: 0; }
.ac-name { font-size: .9rem; font-weight: 500; color: var(--tx1); margin-bottom: 2px; }
.ac-company { font-size: .78rem; color: var(--tx2); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-meta { display: flex; gap: 12px; font-size: .72rem; color: var(--tx3); }
.ac-id { font-family: var(--ff); }
.ac-status {
  font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 100px; flex-shrink: 0;
}
.ac-status-active { background: rgba(76,175,80,.12); color: #66bb6a; border: 1px solid rgba(76,175,80,.2); }
.ac-status-inactive { background: rgba(244,67,54,.1); color: #ef5350; border: 1px solid rgba(244,67,54,.15); }
.no-results { color: var(--tx2); padding: 40px 0; text-align: center; }
.count-badge {
  font-size: .7rem; font-weight: 600; color: var(--accent);
  background: var(--accent-g); border: 1px solid var(--br-a);
  padding: 2px 8px; border-radius: 100px; vertical-align: middle; margin-left: 6px;
}
.more-cities { margin-top: 8px; }
.more-cities summary {
  cursor: pointer; color: var(--accent); font-size: .85rem; font-weight: 500;
  padding: 8px 0; list-style: none;
}
.more-cities summary::-webkit-details-marker { display: none; }
.more-cities summary::before { content: '+ '; }

/* ========== AGENT PROFILE ========== */
.agent-profile { margin-bottom: 28px; }
.ap-header {
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px; padding-top: 8px;
}
.ap-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-g); border: 2px solid var(--br-a);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff); font-weight: 700; font-size: 1.5rem;
  color: var(--accent); flex-shrink: 0;
}
.ap-info h1 { margin-bottom: 2px; font-size: 1.6rem; }
.ap-title { color: var(--tx2); font-size: .88rem; margin-bottom: 6px; }
.ap-details {
  background: var(--card); border: 1px solid var(--br); border-radius: 10px;
  overflow: hidden;
}
.ap-row {
  display: flex; padding: 14px 20px;
  border-bottom: 1px solid var(--br);
}
.ap-row:last-child { border-bottom: none; }
.ap-label { width: 140px; font-size: .82rem; color: var(--tx3); flex-shrink: 0; font-weight: 500; }
.ap-value { font-size: .88rem; color: var(--tx1); }

/* ========== PAGINATION ========== */
.pagination {
  display: flex; align-items: center; gap: 4px; justify-content: center;
  padding: 20px 0 8px;
}
.pg-btn, .pg-num, .pg-btn:visited, .pg-num:visited {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border-radius: 6px; font-size: .8rem; font-weight: 500;
  background: var(--card); border: 1px solid var(--br);
  color: var(--tx2); transition: all .2s;
}
.pg-btn:hover, .pg-num:hover { text-decoration: none; border-color: var(--br-a); color: var(--tx1); background: var(--card-h); }
.pg-active, .pg-active:visited { background: var(--accent); color: #060810; border-color: var(--accent); }
.pg-active:hover { background: var(--accent-h); color: #060810; }
.pg-dots { color: var(--tx3); font-size: .8rem; padding: 0 4px; }

/* ========== ERROR ========== */
.error-page { text-align: center; padding: 80px 0; }
.error-page h1 { font-size: 2rem; }
.error-page p { margin: 10px 0 24px; color: var(--tx2); }

/* ========== ANIMATIONS ========== */
@keyframes up { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform: translateY(0); } }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .top-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hero { height: 45vh; min-height: 320px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: .88rem; }
  .country-grid { grid-template-columns: 1fr; }
  .top-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 3px; }
}
@media (max-width: 480px) {
  .site-header nav { gap: 0; }
  .site-header nav a { font-size: .72rem; padding: 5px 6px; }
  .top-grid { grid-template-columns: 1fr; }
  .cc-flag { font-size: 2rem; }
  .country-card { padding: 20px; gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
}
