/* ============================================
   TalentX | Conexxus x MyPlayers — Stylesheet
   ============================================ */

:root {
  --navy: #0b0f19;
  --charcoal: #111827;
  --charcoal-2: #161d2b;
  --emerald: #10b981;
  --emerald-dim: #0d9668;
  --emerald-glow: rgba(16, 185, 129, 0.18);
  --gray: #9ca3af;
  --gray-light: #d1d5db;
  --white: #f9fafb;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.35);
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald);
  color: #052e21;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
  background: #14caa0;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

/* ============ Navbar ============ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-divider { color: var(--gray); font-weight: 400; opacity: 0.5; }

.logo-sub {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--gray-light);
  letter-spacing: 0;
}

.logo-sub .x { color: var(--emerald); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-light);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover { color: var(--white); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--charcoal);
  border-top: 1px solid var(--border);
}

.nav-links-mobile.open {
  max-height: 400px;
  padding: 20px 24px 28px;
}

.nav-links-mobile a {
  padding: 12px 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-light);
  border-bottom: 1px solid var(--border);
}

.nav-links-mobile .btn { margin-top: 12px; }

/* ============ Section Heading ============ */

.section-heading {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}

.eyebrow-light { color: var(--emerald); }

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--white);
}

.section-sub {
  color: var(--gray);
  font-size: 1.02rem;
}

/* ============ Hero ============ */

.hero {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(circle, var(--emerald-glow) 0%, rgba(16,185,129,0) 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 880px;
  color: var(--white);
  margin-bottom: 22px;
}

.hero-subheadline {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 40px;
}

/* ============ Forms ============ */

.hero-form {
  width: 100%;
  max-width: 520px;
  margin-bottom: 28px;
}

.form-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.form-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input[type="email"]::placeholder { color: var(--gray); }

.form-row input[type="email"]:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-message {
  margin-top: 12px;
  font-size: 0.88rem;
  min-height: 20px;
  text-align: left;
}

.form-message.error { color: #f87171; }
.form-message.success { color: var(--emerald); }

/* ============ Trust Badges ============ */

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-light);
}

.trust-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  flex-shrink: 0;
}

/* ============ Pillars ============ */

.pillars {
  padding: 100px 0;
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.card {
  background: var(--charcoal-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ============ Deep Dive ============ */

.deep-dive { padding: 100px 0; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.deep-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
}

.deep-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.tag-scouts {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-welfare {
  background: rgba(156, 163, 175, 0.12);
  color: var(--gray-light);
  border: 1px solid var(--border-strong);
}

.deep-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: var(--gray-light);
  font-size: 0.96rem;
  line-height: 1.55;
}

.check-list li:last-child { margin-bottom: 0; }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 9.5px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: rotate(-45deg);
}

/* ============ Governance ============ */

.governance {
  padding: 0 0 100px;
}

.governance-box {
  background: linear-gradient(145deg, var(--charcoal-2), var(--charcoal));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 52px;
}

.governance-text {
  max-width: 640px;
  margin-bottom: 44px;
}

.governance-text h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.governance-text p {
  color: var(--gray);
  font-size: 1rem;
}

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

.gov-item {
  padding-top: 20px;
  border-top: 2px solid var(--emerald);
}

.gov-item h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.gov-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ============ Final CTA ============ */

.cta-final {
  padding: 100px 0 110px;
  text-align: center;
  background: var(--charcoal);
  border-top: 1px solid var(--border);
}

.cta-final-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-final h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 14px;
  max-width: 600px;
}

.cta-final p {
  color: var(--gray);
  margin-bottom: 36px;
  max-width: 480px;
}

/* ============ Footer ============ */

.footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--emerald); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 32px;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.8rem;
}

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links-mobile { display: flex; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .governance-grid { grid-template-columns: 1fr; gap: 24px; }
  .governance-box { padding: 36px 26px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav-container { padding: 16px 20px; }
  .hero { padding: 80px 0 70px; }
  .form-row { flex-direction: column; }
  .form-row .btn { width: 100%; }
  .pillars, .deep-dive, .cta-final { padding: 70px 0; }
  .governance { padding-bottom: 70px; }
  .footer-container { flex-direction: column; }
}
