/* TradeLead Styles */
:root {
  --navy: #1a365d;
  --orange: #ed8936;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --border-radius: 8px;
  --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: var(--box-shadow);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Buttons */
.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: #dd6b20;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
}

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

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

/* Hero Section */
.hero, .trade-hero, .area-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2d3748 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.hero h1, .trade-hero h1, .area-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.trade-icon-large {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

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

.step-number {
  width: 60px;
  height: 60px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}

/* Trade Cards */
.trade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.trade-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  text-decoration: none;
  color: var(--gray-900);
  transition: all 0.3s;
  border: 2px solid var(--gray-200);
}

.trade-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
  border-color: var(--orange);
}

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

.trade-card h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* Forms */
.quote-form {
  max-width: 700px;
  margin: 2rem auto;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.form-note {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.quote-form button {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
}

/* Areas */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.area-grid a {
  background: var(--gray-100);
  padding: 1rem;
  text-align: center;
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  transition: all 0.3s;
}

.area-grid a:hover {
  background: var(--orange);
  color: var(--white);
}

.area-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--gray-600);
}

/* Jobs List */
.jobs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  list-style: none;
  margin-top: 2rem;
}

.jobs-list li {
  background: var(--gray-50);
  padding: 1rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--orange);
}

.benefits-list {
  list-style: none;
  margin-top: 1rem;
}

.benefits-list li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.benefits-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

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

.faq-item {
  background: var(--gray-50);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--navy);
}

.faq-item h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.pricing-table td strong {
  color: var(--orange);
  font-size: 1.25rem;
}

.pricing-notes {
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
}

.pricing-notes p {
  margin: 0.5rem 0;
  color: var(--gray-700);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-top: 4px solid var(--orange);
}

.benefit-card h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* Thank You Page */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.checkmark {
  width: 100px;
  height: 100px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem;
}

.timeline {
  text-align: left;
  margin: 2rem 0;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.timeline-content h3 {
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.timeline-time {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.875rem;
}

.reminder-box {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--orange);
  margin: 2rem 0;
}

.reminder-box h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.cta-buttons {
  margin-top: 2rem;
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--orange);
}

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

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

.footer-col a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 1rem;
  text-align: center;
  color: var(--gray-300);
}

/* Admin Dashboard */
.admin-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 0;
}
.admin-hero h1 { margin-bottom: 0.5rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  border-top: 4px solid var(--orange);
}
.stat-number { font-size: 2.5rem; font-weight: bold; color: var(--navy); }
.stat-label { color: var(--gray-600); margin-top: 0.5rem; }
.admin-section { padding: 2rem 0; }
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}
.admin-table th, .admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.admin-table th { background: var(--gray-50); font-weight: 600; color: var(--navy); }
.admin-table tr:hover { background: var(--gray-50); }
.status-badge, .urgency-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-new { background: #dbeafe; color: #1d4ed8; }
.status-matched { background: #dcfce7; color: #16a34a; }
.status-sent { background: #fef3c7; color: #d97706; }
.status-active { background: #dcfce7; color: #16a34a; }
.status-inactive { background: #fee2e2; color: #dc2626; }
.urgency-emergency { background: #fee2e2; color: #dc2626; }
.urgency-this_week { background: #ffedd5; color: #ea580c; }
.urgency-this_month { background: #fef3c7; color: #d97706; }
.urgency-flexible { background: #dcfce7; color: #16a34a; }
.btn-small {
  padding: 0.35rem 0.75rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-size: 0.8rem;
}
.lead-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.lead-info-card {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}
.lead-info-card h3 { color: var(--navy); margin-bottom: 1rem; }
.lead-info-card p { margin-bottom: 0.5rem; }
.lead-description {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}
.lead-description h3 { color: var(--navy); margin-bottom: 0.5rem; }
.match-card {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--orange);
  margin-bottom: 0.5rem;
  box-shadow: var(--box-shadow);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1, .trade-hero h1, .area-hero h1 {
    font-size: 1.75rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .pricing-table {
    font-size: 0.875rem;
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 0.75rem 0.5rem;
  }
}
