/* TalentShore - Global Remote Talent */
:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;
  --cream: #f8fafc;
  --cream-dark: #f1f5f9;
  --coral: #ea580c;
  --coral-light: #f97316;
  --white: #ffffff;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal-dark);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.75rem 1.5rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--teal-light);
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-desktop a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--teal-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-dark);
}

/* Mobile menu */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-mobile {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  z-index: 999;
}

.nav-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  color: var(--white);
  padding: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.nav-mobile a:hover {
  background: var(--navy-light);
  color: var(--teal-light);
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none;
  }
}

/* Main content spacing for fixed header */
main {
  padding-top: 72px;
  min-height: calc(100vh - 72px);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--white);
  box-shadow: 0 -1px 0 0 var(--cream-dark);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark a {
  color: var(--teal-light);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.125rem;
  max-width: 600px;
}

.section-dark .section-subtitle {
  color: var(--gray-light);
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}

.hero .container {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal-light);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(20, 184, 166, 0.4);
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--teal-light);
  background: linear-gradient(135deg, #14b8a6, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-light);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-buttons .btn-primary {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.hero-buttons .btn-secondary {
  border-color: rgba(255,255,255,0.4);
}

/* Trust bar */
.trust-bar {
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
}

.trust-bar p {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.trust-logos span {
  font-weight: 600;
  color: var(--navy-light);
  font-size: 0.9375rem;
}

/* Value grid */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  transition: box-shadow 0.2s, transform 0.2s;
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.value-card .icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* How it works / Process */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  text-align: center;
  padding: 1.5rem;
}

.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--gray);
  font-size: 0.9375rem;
}

/* Roles / Services grid */
.roles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 500px) {
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .roles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.role-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.role-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.role-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

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

/* Testimonials */
.testimonials {
  overflow: hidden;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--navy-light);
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--navy);
}

.testimonial-card .role {
  font-size: 0.875rem;
  color: var(--gray);
}

/* CTA section */
.cta-section {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
}

.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.cta-section p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
}

.cta-section .btn-primary:hover {
  background: var(--cream);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--gray-light);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 280px;
}

.footer-nav h4 {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--gray-light);
  font-size: 0.9375rem;
}

.footer-nav a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--navy-light);
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray);
}

/* Page header (inner pages) */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--gray-light);
  max-width: 560px;
  margin: 0 auto;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrap {
  max-width: 520px;
  margin: 2rem auto;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 2rem auto 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--teal);
  font-weight: 300;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item div {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray);
  font-size: 0.9375rem;
  line-height: 1.6;
  border-top: 1px solid var(--cream-dark);
}

/* Case study cards */
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
}

.case-card .case-head {
  padding: 1.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.case-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.case-card .case-meta {
  font-size: 0.875rem;
  color: var(--gray);
}

.case-card .case-body {
  padding: 1.5rem;
  color: var(--gray);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
}

.stat-box .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-light);
  display: block;
  margin-bottom: 0.25rem;
}

.stat-box .label {
  font-size: 0.875rem;
  color: var(--gray-light);
}

/* About page */
.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.about-content h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none !important; }
