@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ===========================================
   MOBILE-FIRST RESPONSIVE CSS
   Base styles for mobile, enhanced for larger screens
   =========================================== */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #ffffff;
  color: #0A2342;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Color Variables */
:root {
  --navy: #0A2342;
  --navy-dark: #081b33;
  --red: #E63946;
  --red-dark: #d62839;
  --light-gray: #F5F5F5;
  --medium-gray: #A7A7A7;
  --white: #ffffff;
}

/* Typography - Mobile First */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.primary-navy { color: var(--navy); }
.primary-red { color: var(--red); }
.text-medium-gray { color: var(--medium-gray); }
.text-white { color: var(--white); }

/* Background Colors */
.bg-navy { background-color: var(--navy); }
.bg-red { background-color: var(--red); }
.bg-light-gray { background-color: var(--light-gray); }
.bg-white { background-color: var(--white); }

/* Container - Mobile First */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================================
   BUTTONS - Mobile First
   =========================================== */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  width: 100%;
  max-width: 280px;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.btn-secondary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 35, 66, 0.3);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid var(--navy);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

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

.btn-white {
  display: inline-block;
  background: white;
  color: var(--navy);
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  width: 100%;
  max-width: 280px;
}

.btn-white:hover {
  background: var(--light-gray);
}

/* ===========================================
   CARDS - Mobile First
   =========================================== */
.card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* ===========================================
   HEADER - Mobile First
   =========================================== */
.header {
  background: var(--navy);
  padding: 12px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  padding: 8px 0;
}

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

/* Logo - Mobile size */
.logo img {
  height: 50px;
  width: auto;
}

/* Desktop nav - hidden on mobile */
.nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-buttons .btn-primary {
  width: auto;
  padding: 10px 20px;
}

.lang-switch {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  background: rgba(255,255,255,0.1);
}

/* ===========================================
   MOBILE MENU - Visible by default (mobile-first)
   =========================================== */
.mobile-header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch-mobile {
  display: block;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 16px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-height: calc(100vh - 74px);
  overflow-y: auto;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.1);
}

.mobile-nav .btn-primary {
  margin-top: 8px;
  text-align: center;
}

/* ===========================================
   HERO SECTION - Mobile First
   =========================================== */
.hero {
  background: var(--navy);
  color: white;
  padding: 100px 0 60px;
  text-align: center;
  min-height: auto;
}

.hero h1 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  line-height: 1.3;
}

.hero h1 span {
  color: var(--red);
}

.hero p {
  font-size: 0.95rem;
  max-width: 100%;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.9);
  padding: 0 8px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 0 16px;
}

/* ===========================================
   STATS SECTION - Mobile First
   =========================================== */
.stats {
  padding: 48px 0;
  background: var(--light-gray);
}

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

.stat-item h3 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat-item p {
  color: var(--medium-gray);
  font-weight: 500;
  font-size: 0.85rem;
}

/* ===========================================
   FEATURES SECTION - Mobile First
   =========================================== */
.features {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 1.5rem;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 8px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  text-align: center;
  padding: 24px 20px;
}

.feature-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--red);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.feature-card p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===========================================
   HOW IT WORKS SECTION - Mobile First
   =========================================== */
.how-it-works {
  padding: 60px 0;
  background: var(--light-gray);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* How Column Layout (Para Candidatos / Para Empresas) */
.how-column {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.how-column h3 {
  font-size: 1.25rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--light-gray);
}

.step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.step-content h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-content p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Legacy how-card styles (if used) */
.how-card {
  text-align: center;
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.how-number {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.how-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
}

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

/* ===========================================
   PRICING SECTION - Mobile First
   =========================================== */
.pricing {
  padding: 60px 0;
}

.pricing-toggle {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.pricing-toggle-btn {
  padding: 10px 20px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
}

.pricing-toggle-btn.active {
  background: var(--navy);
  color: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--red);
}

.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pricing-badge.candidate {
  background: var(--red);
  color: white;
}

.pricing-badge.employer {
  background: var(--navy);
  color: white;
}

.pricing-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.pricing-price {
  margin-bottom: 20px;
}

.pricing-price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
}

.pricing-price .period {
  color: var(--medium-gray);
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  color: #444;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===========================================
   ABOUT SECTION - Mobile First
   =========================================== */
.about {
  padding: 60px 0;
  background: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.about-text h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-text p {
  color: #555;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-info {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.about-info h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item div strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.info-item div span {
  color: var(--medium-gray);
  font-size: 0.85rem;
}

/* ===========================================
   FAQ SECTION - Mobile First
   =========================================== */
.faq {
  padding: 60px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid var(--light-gray);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: white;
  border: none;
  text-align: left;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question span {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  flex: 1;
  padding-right: 16px;
  line-height: 1.4;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--light-gray);
}

.faq-item.active .faq-answer {
  padding: 16px 20px;
  max-height: 500px;
}

.faq-answer p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ===========================================
   CONTACT SECTION - Mobile First
   =========================================== */
.contact {
  padding: 60px 0;
  background: var(--light-gray);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-info h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info > p {
  color: #555;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
}

.contact-item span,
.contact-item a {
  color: #555;
  font-size: 0.9rem;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--red);
}

.contact-form {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 16px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

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

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

/* ===========================================
   CTA SECTION - Mobile First
   =========================================== */
.cta {
  padding: 60px 0;
  background: var(--navy);
  text-align: center;
}

.cta h2 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  font-size: 0.95rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background: var(--red);
}

/* ===========================================
   FOOTER - Mobile First
   =========================================== */
.footer {
  background: var(--navy);
  color: white;
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  text-align: center;
}

.footer-brand img {
  height: 80px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

.footer-links {
  text-align: center;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  color: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-social {
  text-align: center;
}

.footer-social h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  color: white;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

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

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ===========================================
   SCROLLBAR (Desktop only)
   =========================================== */
@media (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: var(--light-gray);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--medium-gray);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--navy);
  }
}

/* ===========================================
   TABLET BREAKPOINT (768px+)
   =========================================== */
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }

  /* Buttons */
  .btn-primary,
  .btn-secondary,
  .btn-outline,
  .btn-white {
    padding: 14px 32px;
    font-size: 15px;
    width: auto;
  }

  /* Cards */
  .card {
    padding: 28px;
    border-radius: 14px;
  }

  /* Header */
  .header {
    padding: 14px 0;
  }

  .logo img {
    height: 70px;
  }

  .mobile-nav {
    top: 98px;
  }

  /* Hero */
  .hero {
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
    max-width: 600px;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
  }

  /* Stats */
  .stats {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-item h3 {
    font-size: 2.5rem;
  }

  .stat-item p {
    font-size: 0.9rem;
  }

  /* Sections */
  .features,
  .how-it-works,
  .pricing,
  .about,
  .faq,
  .contact {
    padding: 80px 0;
  }

  .section-title {
    margin-bottom: 48px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .section-title p {
    font-size: 1rem;
    max-width: 600px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .feature-card svg {
    width: 56px;
    height: 56px;
  }

  .feature-card h3 {
    font-size: 1.15rem;
  }

  /* How It Works */
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .how-column {
    padding: 32px;
  }

  .how-column h3 {
    font-size: 1.35rem;
  }

  .step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.1rem;
  }

  .step-content h4 {
    font-size: 1.05rem;
  }

  .how-card {
    padding: 28px;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .pricing-card {
    padding: 28px;
  }

  .pricing-card h3 {
    font-size: 1.35rem;
  }

  .pricing-price .amount {
    font-size: 3rem;
  }

  /* About */
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .about-text h2 {
    font-size: 1.75rem;
  }

  .about-info {
    padding: 28px;
  }

  /* FAQ */
  .faq-list {
    max-width: 900px;
  }

  .faq-question {
    padding: 20px 24px;
  }

  .faq-question span {
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 24px;
  }

  .faq-item.active .faq-answer {
    padding: 20px 24px;
  }

  /* Contact */
  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 28px;
  }

  /* CTA */
  .cta {
    padding: 80px 0;
  }

  .cta h2 {
    font-size: 2rem;
  }

  /* Footer */
  .footer {
    padding: 60px 0 24px;
  }

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    text-align: left;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-brand img {
    height: 100px;
  }

  .footer-brand p {
    margin: 0;
  }

  .footer-links {
    text-align: left;
  }

  .footer-social {
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===========================================
   DESKTOP BREAKPOINT (1024px+)
   =========================================== */
@media (min-width: 1024px) {
  /* Hide mobile menu controls */
  .mobile-header-controls {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  /* Show desktop nav */
  .nav {
    display: flex;
    gap: 28px;
  }

  .nav a {
    font-size: 15px;
  }

  /* Header */
  .logo img {
    height: 90px;
  }

  /* Hero */
  .hero {
    padding: 160px 0 100px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 40px;
  }

  /* Stats */
  .stats {
    padding: 80px 0;
  }

  .stat-item h3 {
    font-size: 3rem;
  }

  /* Sections */
  .features,
  .how-it-works,
  .pricing,
  .about,
  .faq,
  .contact {
    padding: 100px 0;
  }

  .section-title {
    margin-bottom: 60px;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .feature-card {
    padding: 32px;
  }

  .feature-card svg {
    width: 64px;
    height: 64px;
  }

  .feature-card h3 {
    font-size: 1.25rem;
  }

  /* How It Works - Keep 2 columns for the candidate/employer layout */
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .how-column {
    padding: 40px;
  }

  .how-column h3 {
    font-size: 1.5rem;
  }

  .step {
    padding: 20px 0;
  }

  .step-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 1.2rem;
  }

  .step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .step-content p {
    font-size: 0.95rem;
  }

  .how-card {
    padding: 32px;
  }

  .how-number {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
  }

  .pricing-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
  }

  .pricing-card .btn-primary,
  .pricing-card .btn-secondary {
    margin-top: auto;
  }

  /* CTA */
  .cta {
    padding: 100px 0;
  }

  .cta h2 {
    font-size: 2.5rem;
  }

  .cta p {
    font-size: 1.1rem;
    max-width: 600px;
  }

  /* Footer */
  .footer-brand img {
    height: 120px;
  }
}

/* ===========================================
   LARGE DESKTOP (1280px+)
   =========================================== */
@media (min-width: 1280px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .nav {
    gap: 32px;
  }
}

/* ===========================================
   LEGAL PAGES - Mobile First
   =========================================== */
.legal-page {
  padding: 100px 0 60px;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 32px 0 16px;
}

.legal-page p,
.legal-page li {
  color: #555;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 20px;
}

@media (min-width: 768px) {
  .legal-page {
    padding: 140px 0 80px;
  }

  .legal-page h1 {
    font-size: 2.5rem;
  }

  .legal-page h2 {
    font-size: 1.5rem;
  }
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.visible { display: block !important; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Touch-friendly tap targets for mobile */
@media (max-width: 767px) {
  a, button {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav a, .footer-links a, .footer-bottom-links a {
    min-height: auto;
    min-width: auto;
  }
}
