/* ==========================================================================
   TALENTTRACK HOMEPAGE: Premium Dark Editorial Architecture
   Palette: Canvas #0b1412, Surface #121f1b, Line #2a4036, Lime #c9f23b
   Zero Animation, Pure Static Stability, Consistent Cross-Page Navbar
   ========================================================================== */

html body.ui-modern.home-page {
  --tt-lime: #c9f23b;
  --tt-canvas: #0b1412;
  --tt-surface: #121f1b;
  --tt-line: #2a4036;
  --tt-ink: #edf5f2;
  --tt-muted: #a2b5ae;
  background: #0b1412 !important;
  color: #edf5f2 !important;
}

/* Header on homepage: 100% consistent with About Us & Explore */
html body.ui-modern.home-page .header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  min-height: 76px !important;
  padding: 14px max(24px, calc((100% - 1180px) / 2)) !important;
  width: 100% !important;
  margin: 0 !important;
  background: #0b1412 !important;
  border: 0 !important;
  border-bottom: 1px solid #2a4036 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

html body.ui-modern.home-page .header .logo {
  color: #edf5f2 !important;
}

/* Senteez-Style Option #1 Logo */
html body.ui-modern.home-page .logo-senteez-style {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  padding: 0 !important;
}

.tt-ribbon-logo-mark {
  display: block;
  width: 32px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(201, 242, 59, 0.25));
  flex-shrink: 0;
}

.tt-brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tt-brand-name {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: 0.07em;
  color: #edf5f2;
  line-height: 1.05;
}

.tt-brand-rule {
  display: block;
  height: 1.5px;
  width: 100%;
  background: linear-gradient(90deg, #c9f23b 0%, rgba(201, 242, 59, 0.15) 100%);
  margin: 4px 0 3px;
}

.tt-brand-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #a2b5ae;
  line-height: 1;
  text-transform: uppercase;
}

html body.ui-modern.home-page .navbar a {
  color: #a2b5ae !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

html body.ui-modern.home-page .navbar a:is(.active, :hover) {
  color: #c9f23b !important;
  background: transparent !important;
}

html body.ui-modern.home-page .navbar .signup-link {
  background: #c9f23b !important;
  color: #102016 !important;
  border-radius: 9px !important;
  font-weight: 700 !important;
}

/* Page container: matches .editorial-main */
.tt-home {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 36px 0 48px;
  box-sizing: border-box;
}

.tt-home * {
  box-sizing: border-box;
  animation: none !important;
  translate: none !important;
  transform: none !important;
}

/* Base typography */
.tt-home h1,
.tt-home h2,
.tt-home h3,
.tt-home h4 {
  color: #edf5f2 !important;
  font-family: 'Space Grotesk', 'DM Sans', sans-serif !important;
  letter-spacing: -0.04em !important;
}

.tt-home :is(h1, h2, h3) span {
  color: #c9f23b !important;
}

.tt-home p {
  color: #a2b5ae;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #edf5f2 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin: 0 0 16px !important;
}

.editorial-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9f23b;
  flex-shrink: 0;
}

/* Buttons */
.editorial-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.editorial-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: #c9f23b !important;
  color: #102016 !important;
  border: 1px solid #c9f23b;
  transition: background-color 150ms ease;
  white-space: nowrap;
}

.editorial-button:hover {
  background: #dcff70 !important;
  border-color: #dcff70 !important;
}

.editorial-button-secondary {
  background: transparent !important;
  color: #edf5f2 !important;
  border: 1px solid #365043 !important;
}

.editorial-button-secondary:hover {
  border-color: #c9f23b !important;
  color: #c9f23b !important;
  background: rgba(201, 242, 59, 0.05) !important;
}

.tt-hero-note {
  font-size: 11px !important;
  color: #6d8479 !important;
  margin-top: 14px !important;
  letter-spacing: 0.04em !important;
}

/* ==========================================================================
   1. HERO SECTION (Split Left & Right)
   ========================================================================== */
.tt-editorial-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 32px 0 28px;
}

.tt-hero-left h1 {
  font-size: clamp(40px, 5.2vw, 68px) !important;
  font-weight: 650 !important;
  line-height: 1.05 !important;
  margin: 0 0 20px !important;
  text-wrap: balance;
}

.editorial-intro {
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #a2b5ae !important;
  max-width: 480px;
}

/* Hero Right Feature Card */
.tt-hero-feature {
  background: radial-gradient(ellipse at top right, rgba(38, 61, 38, 0.3), transparent 70%), #121f1b !important;
  border: 1px solid #2a4036 !important;
  border-radius: 20px !important;
  padding: 32px !important;
  min-width: 0;
}

.tt-hero-feature h2 {
  font-size: clamp(24px, 2.6vw, 34px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  margin: 0 0 12px !important;
}

.tt-track-orbit {
  position: relative;
  margin: 16px 0 22px;
}

.tt-track-orbit svg {
  display: block;
  width: 100%;
  max-height: 84px;
}

.tt-track-orbit text {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
  letter-spacing: 0.16em;
  font-weight: 700;
  user-select: none;
}

.tt-score-pill-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 20px;
  background: #0d1a15;
  border: 1px solid #2a4036;
  border-radius: 12px;
}

.tt-score-pill-card strong {
  display: block;
  font-size: 13px;
  color: #edf5f2;
}

.tt-score-pill-card small {
  display: block;
  font-size: 11px;
  color: #a2b5ae;
  margin-top: 2px;
}

.tt-score-range {
  font-size: 24px;
  font-weight: 700;
  color: #c9f23b;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ==========================================================================
   2. ALL 32 SPORTS IN PAKISTAN (Option B: Full Tag Cloud)
   ========================================================================== */
.tt-sports-cloud-section {
  padding: 24px 0 32px !important;
}

.tt-sports-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin: 18px 0 14px;
}

.tt-sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #121f1b;
  border: 1px solid #243a2e;
  border-radius: 999px;
  color: #d7e5de;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
  cursor: default;
  user-select: none;
}

.tt-sport-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #476655;
  transition: background-color 150ms ease;
  flex-shrink: 0;
}

.tt-sport-pill:hover {
  border-color: #5b7544;
  background: #182b24;
  color: #c9f23b;
}

.tt-sport-pill:hover .tt-sport-dot {
  background: #c9f23b;
}

.tt-sports-cloud-note {
  font-size: 12px !important;
  line-height: 1.65 !important;
  color: #799185 !important;
  margin-top: 14px !important;
}

/* ==========================================================================
   3. SECTION: THREE STEPS (Less waiting. More becoming.)
   ========================================================================== */
.editorial-section {
  padding: 36px 0;
}

.editorial-section-heading {
  margin-bottom: 24px;
}

.editorial-section-heading h2 {
  font-size: clamp(28px, 3.2vw, 42px) !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  margin: 0 !important;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tt-step-card {
  padding: 24px 22px;
  border: 1px solid #2a4036;
  border-radius: 14px;
  background: #121f1b;
  transition: border-color 150ms ease;
}

.tt-step-card:hover {
  border-color: #5b7544;
}

.editorial-number {
  color: #c9f23b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: block;
}

.tt-step-card h3 {
  font-size: 19px !important;
  font-weight: 600 !important;
  margin: 14px 0 10px !important;
}

.tt-step-card p {
  font-size: 13px;
  line-height: 1.65;
  color: #a2b5ae;
  margin: 0;
}

/* ==========================================================================
   4. SECTION: THE 100-POINT TRANSPARENT SCORE
   ========================================================================== */
.tt-score-breakdown-card {
  background: #101c18;
  border: 1px solid #1f3b2e;
  border-radius: 18px;
  padding: 32px 30px;
}

.tt-score-intro-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(42, 64, 54, 0.45);
}

.tt-score-badge-pill {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #102219;
  background: #c9f23b;
  padding: 4px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}

.tt-score-clarification {
  font-size: 13.5px;
  line-height: 1.5;
  color: #cad9d2;
  margin: 0;
}

.tt-score-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  gap: 4px;
  margin-bottom: 28px;
  background: #081410;
}

.tt-score-bar span {
  height: 100%;
  display: block;
  border-radius: 999px;
}

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

.tt-score-col {
  display: flex;
  flex-direction: column;
  background: rgba(14, 28, 23, 0.55);
  border: 1px solid #1c382b;
  border-radius: 14px;
  padding: 20px 18px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.tt-score-col:hover {
  border-color: #35634b;
  background: rgba(18, 36, 29, 0.7);
}

.tt-score-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tt-score-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.tt-score-pts-pill {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 750;
  color: #c9f23b;
  background: rgba(201, 242, 59, 0.1);
  border: 1px solid rgba(201, 242, 59, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.2;
}

.tt-score-col h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #edf5f2 !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
}

.tt-score-col p {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #9cb0a6 !important;
  margin: 0 !important;
}

/* ==========================================================================
   5. FINALE BANNER (Call to Action)
   ========================================================================== */
.editorial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 38px;
  border: 1px solid #2a4036;
  border-radius: 18px;
  background: #121f1b;
  margin-top: 16px;
}

.editorial-banner h2 {
  font-size: clamp(26px, 2.8vw, 36px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  margin: 0 0 8px !important;
}

.editorial-banner p:last-child {
  max-width: 520px;
  margin: 0;
  font-size: 14px;
  color: #a2b5ae;
}

/* Focus outlines */
.tt-home a:focus-visible {
  outline: 2px solid #c9f23b !important;
  outline-offset: 4px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 960px) {
  .tt-editorial-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 0;
  }
  .tt-score-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .editorial-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .tt-home {
    width: calc(100% - 36px);
    padding: 20px 0 36px;
  }
  .tt-hero-left h1 {
    font-size: 36px !important;
  }
  .editorial-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .editorial-button,
  .editorial-button-secondary {
    width: 100%;
    text-align: center;
  }
  .tt-score-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .tt-score-breakdown-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   HOMEPAGE FOOTER (CUSTOM DARK EDITORIAL WITH USER-PROVIDED DESIGN & OPTION #1 LOGO)
   Only active on the homepage via .ui-modern.home-page
   ========================================================================== */
html body.ui-modern.home-page .tt-index-footer {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: radial-gradient(ellipse 90% 60% at 50% 100%, #0d2f23 0%, #061812 70%) !important;
  background-color: #061812 !important;
  color: #cad9d2 !important;
  border-top: 1px solid #1a382c !important;
  font-family: 'DM Sans', -apple-system, sans-serif !important;
}

html body.ui-modern.home-page .tt-index-footer * {
  box-sizing: border-box;
  animation: none !important;
}

html body.ui-modern.home-page .tt-index-footer-inner {
  position: relative !important;
  width: min(1200px, calc(100% - 64px)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 1.25fr) 2fr !important;
  column-gap: 56px !important;
  row-gap: 32px !important;
  padding: 56px 0 36px !important;
}

/* Left Brand Column */
html body.ui-modern.home-page .tt-index-footer-brand {
  display: flex !important;
  flex-direction: column !important;
}

html body.ui-modern.home-page .tt-index-footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 13px !important;
  text-decoration: none !important;
  width: max-content !important;
}

html body.ui-modern.home-page .tt-index-footer-logo-img {
  display: block !important;
  width: 36px !important;
  height: 47px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 10px rgba(201, 242, 59, 0.25)) !important;
  flex-shrink: 0 !important;
}

html body.ui-modern.home-page .tt-index-footer-brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

html body.ui-modern.home-page .tt-index-footer-brand-name {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif !important;
  font-size: 19px !important;
  font-weight: 750 !important;
  letter-spacing: 0.07em !important;
  color: #edf5f2 !important;
  line-height: 1.05 !important;
}

html body.ui-modern.home-page .tt-index-footer-brand-rule {
  display: block !important;
  height: 1.5px !important;
  width: 100% !important;
  background: linear-gradient(90deg, #c9f23b 0%, rgba(201, 242, 59, 0.15) 100%) !important;
  margin: 4px 0 3px !important;
}

html body.ui-modern.home-page .tt-index-footer-brand-tagline {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  color: #a2b5ae !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body.ui-modern.home-page .tt-index-footer-desc {
  margin: 16px 0 20px !important;
  color: #8fa69c !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  max-width: 380px !important;
}

html body.ui-modern.home-page .tt-index-footer-socials {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

html body.ui-modern.home-page .tt-index-footer-social {
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 9px !important;
  border: 1px solid #1f3d30 !important;
  background: #0b2018 !important;
  color: #a2b5ae !important;
  text-decoration: none !important;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease !important;
}

html body.ui-modern.home-page .tt-index-footer-social:hover {
  color: #c9f23b !important;
  border-color: #3b6b53 !important;
  background: #122c22 !important;
}

html body.ui-modern.home-page .tt-index-footer-social svg {
  width: 17px !important;
  height: 17px !important;
}

/* 3 Navigation Columns */
html body.ui-modern.home-page .tt-index-footer-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 40px !important;
  align-items: start !important;
  padding-top: 4px !important;
}

html body.ui-modern.home-page .tt-index-footer-heading {
  margin: 0 0 20px 0 !important;
  color: #c9f23b !important;
  font-family: 'Space Grotesk', 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

html body.ui-modern.home-page .tt-index-footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.ui-modern.home-page .tt-index-footer-links li {
  margin: 0 0 13px !important;
}

html body.ui-modern.home-page .tt-index-footer-links a {
  display: inline-block !important;
  color: #cad9d2 !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  transition: color 150ms ease, transform 150ms ease !important;
}

html body.ui-modern.home-page .tt-index-footer-links a:hover {
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

/* Horizontal Rule */
html body.ui-modern.home-page .tt-index-footer-rule-wrap {
  width: min(1200px, calc(100% - 64px)) !important;
  margin: 0 auto !important;
}

html body.ui-modern.home-page .tt-index-footer-rule {
  border: none !important;
  height: 1px !important;
  background: rgba(42, 70, 56, 0.6) !important;
  margin: 12px 0 0 !important;
}

/* Bottom Area: Centered Meta + Circular Button */
html body.ui-modern.home-page .tt-index-footer-bottom {
  position: relative !important;
  padding: 26px 0 34px !important;
}

html body.ui-modern.home-page .tt-index-footer-bottom-inner {
  position: relative !important;
  width: min(1200px, calc(100% - 64px)) !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body.ui-modern.home-page .tt-index-footer-center-meta {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: center !important;
}

html body.ui-modern.home-page .tt-index-footer-copy {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #829a8f !important;
  letter-spacing: 0.02em !important;
}

html body.ui-modern.home-page .tt-index-footer-legal-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
}

html body.ui-modern.home-page .tt-index-footer-legal-links a {
  color: #c9f23b !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  transition: color 150ms ease, text-decoration 150ms ease !important;
}

html body.ui-modern.home-page .tt-index-footer-legal-links a:hover {
  color: #e4ff73 !important;
  text-decoration: underline !important;
}

/* Circular Green Scroll-To-Top Button (Matches user screenshot) */
html body.ui-modern.home-page .back-to-top {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: #0d281f !important;
  border: 1.5px solid #235540 !important;
  color: #c9f23b !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 180ms ease !important;
  right: 28px !important;
  bottom: 28px !important;
}

html body.ui-modern.home-page .back-to-top:hover {
  background: #14382c !important;
  border-color: #3f7b5e !important;
  color: #e4ff73 !important;
  box-shadow: 0 6px 20px rgba(201, 242, 59, 0.25) !important;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  html body.ui-modern.home-page .tt-index-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 44px 0 28px !important;
  }
  html body.ui-modern.home-page .tt-index-footer-columns {
    gap: 28px !important;
  }
}

@media (max-width: 600px) {
  html body.ui-modern.home-page .tt-index-footer-inner {
    width: calc(100% - 36px) !important;
    padding: 36px 0 24px !important;
  }
  html body.ui-modern.home-page .tt-index-footer-columns {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  html body.ui-modern.home-page .tt-index-footer-rule-wrap {
    width: calc(100% - 36px) !important;
  }
  html body.ui-modern.home-page .tt-index-footer-bottom-inner {
    width: calc(100% - 36px) !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
}

