/*
 * Teamz — Landing Page (home.php)
 * Full Dark Theme: Black × Blue × White
 * Fully Responsive
 */

/* ══════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════ */
:root {
  --lp-blue:        #2563eb;
  --lp-blue-lt:     #3b82f6;
  --lp-blue-dk:     #1d4ed8;
  --lp-blue-glow:   rgba(37, 99, 235, 0.22);
  --lp-black:       #06090f;
  --lp-black-2:     #0d1117;
  --lp-black-3:     #161b27;
  --lp-black-4:     #1e2535;
  --lp-white:       #ffffff;
  --lp-slate:       #64748b;
  --lp-slate-lt:    #94a3b8;
  --lp-border:      rgba(255,255,255,0.07);
}

/* ══════════════════════════════════════════
   GLOBAL PAGE BACKGROUND
══════════════════════════════════════════ */
body {
  background: var(--lp-black) !important;
  color: var(--lp-white);
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
.animate-hero {
  opacity: 0;
  transform: translateY(28px);
  animation: lp-glide 0.85s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes lp-glide {
  to { opacity:1; transform:translateY(0); }
}
@keyframes lp-shine {
  to { background-position: 200% center; }
}

/* ══════════════════════════════════════════
   HERO — FULL SCREEN VIDEO BG
══════════════════════════════════════════ */
.wb-hero {
  position: relative;
  margin-top: 68px;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--lp-black);
}

/* Video background */
.wb-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

#heroVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.55;
}

/* Gradient overlay — dark on left for text readability */
.wb-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(6,9,15,0.93) 0%,
      rgba(6,9,15,0.72) 45%,
      rgba(6,9,15,0.18) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(6,9,15,0.35) 0%,
      transparent 55%,
      rgba(6,9,15,0.65) 100%
    );
}

/* Content — left aligned */
.wb-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 64px;
}

/* Toggle tabs */
.wb-hero-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 36px;
}

.wb-hero-toggle a {
  padding: 10px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: all 0.28s ease;
  white-space: nowrap;
}

.wb-hero-toggle a.active {
  background: #fff;
  color: var(--lp-black);
  font-weight: 700;
}

/* Heading */
.wb-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 22px;
  max-width: 600px;
}

.wb-hero h1 em {
  font-style: normal;
  background: linear-gradient(130deg, #60a5fa 0%, #a5f3fc 55%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: lp-shine 4s linear infinite;
}

/* Subtitle */
.wb-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Search bar */
.wb-hero-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  max-width: 540px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.4);
  margin-bottom: 28px;
  transition: box-shadow 0.3s ease;
}

.wb-hero-search:focus-within {
  box-shadow: 0 0 0 3px rgba(37,99,235,0.5), 0 12px 40px rgba(0,0,0,0.5);
}

.wb-hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.98rem;
  font-family: inherit;
  background: transparent;
  color: #0d1117;
  min-width: 0;
}

.wb-hero-search input::placeholder { color: #94a3b8; }

.wb-hero-search button {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--lp-blue-dk);
  color: #fff;
  border: none;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.wb-hero-search button:hover {
  background: #1e40af;
  transform: scale(1.03);
}

/* Trending tags */
.wb-hero-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wb-hero-tags a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.wb-hero-tags a:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   TRUSTED BAR
══════════════════════════════════════════ */
.wb-trusted {
  background: var(--lp-black-2);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.wb-trusted-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.wb-trusted-label { color: var(--lp-slate); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.wb-trusted-logos span { color: var(--lp-slate-lt); font-size: 0.87rem; }

/* ══════════════════════════════════════════
   SECTIONS (all dark)
══════════════════════════════════════════ */
.wb-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 64px;
}

/* Section label pill */
.wb-tag {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(37,99,235,0.14);
  color: var(--lp-blue-lt);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.76rem;
  margin-bottom: 18px;
}

.wb-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--lp-white);
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.wb-subheading {
  font-size: 1.05rem;
  color: var(--lp-slate-lt);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ══════════════════════════════════════════
   ROLES GRID
══════════════════════════════════════════ */
.wb-roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Dark card */
.wb-card-dark {
  background: var(--lp-black-3);
  border: 1px solid rgba(37,99,235,0.18);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  transition: all 0.35s ease;
}

.wb-card-dark:hover {
  transform: translateY(-5px);
  border-color: var(--lp-blue-lt);
  box-shadow: 0 24px 60px rgba(37,99,235,0.14);
}

.wb-card-dark h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 28px; }

/* Light card (now dark too) */
.wb-card-light {
  background: var(--lp-black-3);
  border: 1px solid var(--lp-border);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: all 0.35s ease;
}

.wb-card-light:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 20px 50px rgba(37,99,235,0.12);
  transform: translateY(-4px);
}

.wb-card-light h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 28px; }

/* Role rows */
.wb-role {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wb-role:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.wb-role-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.wb-role-name { font-size: 1rem; font-weight: 700; color: #fff; }
.wb-role-pct  { color: #60a5fa; font-weight: 800; font-size: 0.85rem; background: rgba(37,99,235,0.16); padding: 3px 10px; border-radius: 999px; }
.wb-role-desc { color: var(--lp-slate-lt); font-size: 0.87rem; line-height: 1.5; }

/* Skill groups */
.wb-skill-group { margin-bottom: 26px; }
.wb-skill-group:last-child { margin-bottom: 0; }
.wb-skill-group h4 { color: var(--lp-slate); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }

.wb-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

.wb-tag-pill {
  padding: 7px 15px;
  background: var(--lp-black-4);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--lp-slate-lt);
  transition: all 0.25s ease;
}

.wb-tag-pill:hover {
  background: var(--lp-blue);
  color: #fff;
  border-color: var(--lp-blue);
  transform: translateY(-2px) scale(1.05);
}

/* ══════════════════════════════════════════
   HOW IT WORKS — STEPS
══════════════════════════════════════════ */
.wb-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wb-step {
  background: var(--lp-black-3);
  border: 1px solid var(--lp-border);
  padding: 32px 26px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.wb-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lp-blue), var(--lp-blue-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.wb-step:hover::before { transform: scaleX(1); }

.wb-step:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37,99,235,0.12);
}

.wb-step-num {
  width: 50px; height: 50px;
  background: rgba(37,99,235,0.14);
  color: var(--lp-blue-lt);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(37,99,235,0.22);
}

.wb-step h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; color: #fff; }
.wb-step p  { color: var(--lp-slate-lt); font-size: 0.9rem; line-height: 1.65; }

/* ══════════════════════════════════════════
   TESTIMONIALS — dark section wrapper
══════════════════════════════════════════ */
.testimonials-dark {
  background: var(--lp-black-2);
  padding: 90px 0;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}
.testimonials-dark .wb-section { padding-top: 0; padding-bottom: 0; }

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

.wb-testimonial {
  background: var(--lp-black-3);
  border: 1px solid var(--lp-border);
  padding: 36px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.wb-testimonial:hover {
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 16px 40px rgba(37,99,235,0.10);
  transform: translateY(-4px);
}

.wb-testimonial-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 18px; letter-spacing: 3px; }

.wb-testimonial p {
  font-size: 0.98rem;
  color: var(--lp-slate-lt);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

.wb-testimonial-author { display: flex; align-items: center; gap: 12px; }

.wb-testimonial-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--lp-blue) 0%, var(--lp-blue-dk) 100%);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wb-testimonial-info h5 { font-size: 0.93rem; font-weight: 800; color: #fff; margin-bottom: 2px; }
.wb-testimonial-info span { font-size: 0.8rem; color: var(--lp-slate); }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.wb-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 64px;
  align-items: start;
}

.wb-faq-left h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.wb-faq-left p { font-size: 1rem; color: var(--lp-slate-lt); line-height: 1.65; }

.wb-faq-item {
  border-bottom: 1px solid var(--lp-border);
  padding: 22px 0;
  cursor: pointer;
}
.wb-faq-item:first-child { padding-top: 0; }
.wb-faq-item:last-child  { border-bottom: none; }

.wb-faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.wb-faq-q::after {
  content: '+';
  font-size: 1.35rem;
  color: var(--lp-blue-lt);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.wb-faq-item.open .wb-faq-q::after { transform: rotate(45deg); }

.wb-faq-a {
  font-size: 0.97rem;
  color: var(--lp-slate-lt);
  line-height: 1.75;
  margin-top: 14px;
  display: none;
}

.wb-faq-item.open .wb-faq-a { display: block; }
.wb-faq-a a { color: var(--lp-blue-lt); font-weight: 700; }

/* ══════════════════════════════════════════
   TICKER
══════════════════════════════════════════ */
.wb-ticker {
  background: var(--lp-black-2);
  border-top: 1px solid var(--lp-border);
  color: #fff;
  padding: 14px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wb-ticker-label {
  padding: 0 26px;
  font-weight: 800;
  font-size: 0.83rem;
  color: var(--lp-blue-lt);
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--lp-black-2);
  z-index: 2;
  flex-shrink: 0;
  border-right: 1px solid var(--lp-border);
}

.wb-ticker-track {
  display: flex;
  gap: 48px;
  animation: lp-ticker 28s linear infinite;
  white-space: nowrap;
  padding-left: 32px;
}

.wb-ticker-item {
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--lp-slate-lt);
  display: flex;
  align-items: center;
  gap: 7px;
}

.wb-ticker-item .pct.up { color: #34d399; }
.wb-ticker-item .pct.dn { color: #f87171; }

@keyframes lp-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   FOOTER overrides for dark
══════════════════════════════════════════ */
footer, .wb-footer {
  background: var(--lp-black) !important;
  border-top: 1px solid var(--lp-border) !important;
  color: var(--lp-slate-lt) !important;
}

/* ══════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .wb-hero-inner  { padding: 60px 40px; }
  .wb-section     { padding: 70px 40px; }
  .wb-trusted-inner { padding: 22px 40px; }
  .wb-roles-grid  { grid-template-columns: 1fr; }
  .wb-steps       { grid-template-columns: repeat(2, 1fr); }
  .wb-faq-grid    { grid-template-columns: 1fr; gap: 40px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .wb-hero h1     { font-size: 2.4rem; letter-spacing: -1.5px; }
  .wb-hero-inner  { padding: 50px 24px; }
  .wb-hero-search { max-width: 100%; }
  .wb-section     { padding: 56px 24px; }
  .wb-trusted-inner { padding: 18px 24px; flex-wrap: wrap; }
  .wb-testimonials{ grid-template-columns: 1fr; }
  .wb-steps       { grid-template-columns: 1fr 1fr; gap: 14px; }
  .wb-roles-grid  { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .wb-hero h1     { font-size: 2rem; }
  .wb-hero p      { font-size: 1rem; }
  .wb-steps       { grid-template-columns: 1fr; }
  .wb-hero-toggle a { padding: 9px 18px; font-size: 0.87rem; }
  .wb-hero-search { padding: 5px 5px 5px 18px; }
  .wb-hero-search button { padding: 11px 18px; font-size: 0.87rem; }
  .wb-hero-tags   { gap: 8px; }
  .wb-hero-tags a { padding: 7px 14px; font-size: 0.82rem; }
  .wb-card-dark, .wb-card-light { padding: 28px 22px; }
  .wb-testimonial { padding: 28px 20px; }
  .wb-section     { padding: 44px 18px; }
  .wb-faq-left h2 { font-size: 1.7rem; }
}
