/*
Theme Name: Protea Legal Staffing
Theme URI: https://protealegalstaffing.com
Author: Protea Legal Solutions
Author URI: https://protealegalstaffing.com
Description: Custom WordPress theme for Protea Legal Staffing - Premium South African legal staffing for global law firms
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: protea-legal
*/

/* =============================================
   CSS VARIABLES - Brand Colors & Design System
   ============================================= */
:root {
  --navy: #0a1f44;
  --gold: #c9a961;
  --cream: #f5ebe0;
  --white: #ffffff;
  --dark-text: #1a1a1a;
  --light-gray: #f8f8f8;
  --medium-gray: #666666;
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: 120px;
  --container-width: 1200px;
  
  /* Effects */
  --shadow-soft: 0 4px 24px rgba(10, 31, 68, 0.08);
  --shadow-strong: 0 12px 48px rgba(10, 31, 68, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   GLOBAL RESET & BASE STYLES
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

/* =============================================
   CONTAINER & LAYOUT
   ============================================= */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-alt {
  background: var(--cream);
}

/* =============================================
   NAVIGATION HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(10, 31, 68, 0.08);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-logo span {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  color: var(--navy);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--gold);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--navy);
  cursor: pointer;
  padding: 0.5rem;
}

.nav-cta .btn-primary {
  padding: 0.875rem 2rem;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
  background: #b89850;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2a5c 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="600" height="600" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="2" fill="%23c9a961" opacity="0.15"/></pattern></defs><rect width="600" height="600" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
}

.hero-tag {
  display: inline-block;
  background: rgba(201, 169, 97, 0.2);
  color: var(--gold);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  max-width: 100%;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* =============================================
   PROBLEM SECTION (8 CARDS)
   ============================================= */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.problem-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--gold);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.problem-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.problem-card p {
  font-size: 1.05rem;
  color: var(--medium-gray);
  margin-bottom: 0;
}

/* =============================================
   VISION SECTION
   ============================================= */
.vision {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.vision::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.vision-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.vision h2 {
  color: var(--white);
  margin-bottom: 2rem;
}

.vision-description {
  font-size: 1.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.vision-highlight {
  color: var(--gold);
  font-weight: 600;
}

/* =============================================
   ROLES SECTION
   ============================================= */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.role-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  text-align: center;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), #b89850);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: var(--transition);
}

.role-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: var(--gold);
}

.role-card:hover::before {
  opacity: 1;
}

.role-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.role-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.role-card p {
  font-size: 1rem;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 0;
}

/* =============================================
   WHAT STAFF CAN HELP WITH SECTION
   ============================================= */
.help-with-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.help-card {
  background: var(--white);
  border: 3px dashed var(--gold);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition);
}

.help-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-style: solid;
}

.help-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.help-icon {
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.help-card h3 {
  font-size: 1.75rem;
  margin: 0;
  color: var(--navy);
}

.help-list {
  list-style: none;
  margin: 0;
}

.help-list li {
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--dark-text);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.help-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* =============================================
   PRICING SECTION
   ============================================= */
.pricing {
  background: var(--cream);
}

.pricing-simple {
  max-width: 900px;
  margin: 4rem auto 0;
}

.pricing-hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 4rem 3rem;
  box-shadow: var(--shadow-strong);
  border: 3px solid var(--gold);
  text-align: center;
}

.pricing-price-large {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1;
  margin: 2rem 0;
}

.pricing-price-large small {
  font-size: 2rem;
  font-weight: 400;
  color: var(--medium-gray);
}

.pricing-description {
  font-size: 1.25rem;
  color: var(--medium-gray);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.pricing-cta-large {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   STAFF BENEFITS SECTION
   ============================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.benefit-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--gold);
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0;
}

.benefits-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}

/* =============================================
   COMPARISON TABLE SECTION
   ============================================= */
.comparison-table-modern {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  margin-top: 4rem;
}

.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: var(--navy);
  color: var(--white);
  padding: 2rem 1.5rem;
  align-items: center;
}

.comparison-col {
  text-align: center;
}

.comparison-col h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.comparison-remote h3 {
  color: var(--gold);
}

.comparison-rate {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid var(--cream);
  transition: var(--transition);
  align-items: center;
}

.comparison-row:hover {
  background: var(--light-gray);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-label {
  padding: 1.75rem 1.5rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.125rem;
}

.comparison-value {
  padding: 1.75rem 1.5rem;
  text-align: center;
  font-size: 1.125rem;
  color: var(--dark-text);
}

.comparison-highlight {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.25rem;
}

.comparison-check {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 700;
}

.comparison-x {
  color: #ccc;
  font-size: 2rem;
  font-weight: 700;
}

.comparison-savings-modern {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.75rem;
  color: var(--navy);
  font-weight: 700;
}

.comparison-savings-modern span {
  color: var(--gold);
  font-size: 3rem;
  font-family: var(--font-display);
}

/* =============================================
   TIMELINE SECTION
   ============================================= */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  margin: 0 3rem;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.timeline-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 0 0 8px var(--cream);
}

.timeline-title {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.timeline-description {
  font-size: 1.05rem;
  color: var(--medium-gray);
  margin-bottom: 0;
}

/* =============================================
   DIFFERENTIATORS SECTION
   ============================================= */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.differentiator-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.differentiator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), #b89850);
}

.differentiator-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.differentiator-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.differentiator-card h3 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.differentiator-card p {
  font-size: 1.05rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 0;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-intro {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--dark-text);
  margin-bottom: 4rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.about-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  text-align: center;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.about-card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.about-card h3 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.about-card p {
  font-size: 1.05rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 0;
}

.about-card ul {
  list-style: none;
  text-align: left;
  margin-top: 1.5rem;
  padding: 0;
}

.about-card ul li {
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--dark-text);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-card ul li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-container {
  max-width: 900px;
  margin: 4rem auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-strong);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 2rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-family: var(--font-display);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 2.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2.5rem 2rem;
}

.faq-answer p {
  font-size: 1.05rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 0;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2a5c 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23c9a961" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: backgroundScroll 60s linear infinite;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta .btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

/* =============================================
   CONTACT FORM PAGE
   ============================================= */
.contact-form-page {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.form-progress {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.progress-steps {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.progress-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold);
  transition: var(--transition);
}

.progress-step.active {
  background: var(--gold);
  color: var(--navy);
}

.progress-step.completed {
  background: var(--gold);
  color: var(--white);
}

.progress-label {
  color: var(--medium-gray);
  font-size: 0.95rem;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 4rem 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

.form-question {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 2rem;
  font-family: var(--font-display);
}

.form-instruction {
  color: var(--medium-gray);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.radio-option,
.checkbox-option {
  background: var(--light-gray);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.radio-option:hover,
.checkbox-option:hover {
  background: var(--cream);
  border-color: var(--gold);
}

.radio-option input,
.checkbox-option input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.radio-option label,
.checkbox-option label {
  font-size: 1.125rem;
  cursor: pointer;
  flex: 1;
}

.form-input-group {
  margin-bottom: 2rem;
}

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

.form-input-group input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--cream);
  border-radius: 12px;
  font-size: 1.125rem;
  transition: var(--transition);
  font-family: var(--font-body);
}

.form-input-group input:focus {
  outline: none;
  border-color: var(--gold);
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

.form-nav-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.form-nav-btn:hover {
  background: #b89850;
  transform: translateY(-2px);
}

.form-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
}

.form-success.active {
  display: block;
}

.form-success-icon {
  font-size: 5rem;
  color: var(--gold);
  margin-bottom: 2rem;
}

.form-success h2 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--medium-gray);
  font-size: 1.125rem;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.footer-section h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.25rem;
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

@keyframes backgroundScroll {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-50%, -50%);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 968px) {
  :root {
    --section-padding: 80px;
  }
  
  .nav-container {
    padding: 1rem 1.5rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-strong);
    gap: 1rem;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .problems-grid,
  .roles-grid,
  .differentiators-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .help-with-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  
  .timeline-number {
    left: 30px;
  }
  
  .timeline-content {
    margin-left: 90px;
    margin-right: 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 400px;
  }
  
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  
  .comparison-label,
  .comparison-value {
    font-size: 1rem;
    padding: 1.25rem 1rem;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .site-logo {
    font-size: 1.5rem;
  }
  
  .hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }
  
  .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
  }
  
  .comparison-header {
    display: none;
  }
  
  .comparison-row {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
    gap: 1rem;
    border-bottom: 2px solid var(--cream);
  }
  
  .comparison-label {
    padding: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
  }
  
  .comparison-value {
    padding: 0.75rem 1rem;
    text-align: left;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
  }
  
  .comparison-value:first-of-type {
    background: #f5f5f5;
  }
  
  .comparison-value:first-of-type::before {
    content: 'Local Staff: ';
    font-weight: 700;
    color: var(--navy);
  }
  
  .comparison-value:last-of-type::before {
    content: 'Remote Staff: ';
    font-weight: 700;
    color: var(--gold);
  }
  
  .comparison-highlight {
    font-weight: 600;
  }
  
  .pricing-price-large {
    font-size: 3.5rem;
  }
  
  .pricing-price-large small {
    font-size: 1.5rem;
  }
  
  .form-container {
    padding: 2.5rem 2rem;
  }
}
