/* ==============================
   YoureHyred — Brand Styles
   Primary: #D51C39 (Red)
   Font: Inter (clean, modern)
   Rounded edges throughout
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #D51C39;
  --primary-dark: #B0162E;
  --primary-light: #FF4D6A;
  --primary-bg: rgba(213, 28, 57, 0.08);
  --dark: #1A1A2E;
  --dark-2: #16213E;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(213, 28, 57, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(213, 28, 57, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-bg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

.header-btn {
  background: var(--white) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}
.header-btn:hover {
  background: rgba(255,255,255,0.9) !important;
  color: var(--primary-dark) !important;
}

/* ==============================
   HEADER / NAV
   ============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  border-bottom: none;
  transition: var(--transition);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
  text-decoration: none !important;
}
.header-logo img { height: 36px; width: auto; }
.header-logo span { color: var(--primary); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}
.header-nav a:hover {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.header-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
}

/* ==============================
   HERO
   ============================== */
.hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #FFF5F6 0%, #FFFFFF 50%, #FFF0F2 100%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,28,57,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }

.hero p {
  font-size: 1.15rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat h3 { font-size: 1.75rem; font-weight: 800; color: var(--dark); }
.hero-stat h3 span { color: var(--primary); }
.hero-stat p { font-size: 0.85rem; color: var(--gray-500); margin: 0; }

.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.hero-visual-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-visual-badge-icon {
  width: 40px;
  height: 40px;
  background: #10B981;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}
.hero-visual-badge-text p:first-child { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.hero-visual-badge-text p:last-child { font-size: 0.8rem; color: var(--gray-500); }

/* ==============================
   LOGO BANNER
   ============================== */
.logo-banner {
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.logo-banner p {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.logo-banner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-banner-logos span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-400);
  opacity: 0.6;
}

/* ==============================
   FEATURES
   ============================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ==============================
   HOW IT WORKS
   ============================== */
.how-works-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.925rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ==============================
   ATS SCORE SHOWCASE
   ============================== */
.ats-score-section {
  background: var(--dark);
  color: var(--white);
}
.ats-score-section .section-title { color: var(--white); }
.ats-score-section .section-subtitle { color: var(--gray-400); }

.ats-score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.ats-score-visual {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.1);
}

.ats-meter {
  width: 100%;
  height: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 16px 0;
}
.ats-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #FF6B81);
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.ats-score-value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
}

.ats-score-features {
  display: grid;
  gap: 20px;
}
.ats-score-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ats-score-feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(213,28,57,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
}
.ats-score-feature-text h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.ats-score-feature-text p { font-size: 0.875rem; color: var(--gray-400); }

/* ==============================
   TEMPLATES
   ============================== */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.template-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.template-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.template-card-preview {
  height: 240px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gray-400);
  border-bottom: 1px solid var(--gray-200);
}
.template-card-info {
  padding: 16px 20px;
}
.template-card-info h4 { font-size: 1rem; font-weight: 600; color: var(--dark); }
.template-card-info p { font-size: 0.85rem; color: var(--gray-500); }

/* ==============================
   REVIEWS / TESTIMONIALS
   ============================== */
.reviews-section {
  background: var(--gray-50);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.review-name { font-weight: 600; font-size: 0.925rem; color: var(--dark); }
.review-role { font-size: 0.8rem; color: var(--gray-500); }

/* ==============================
   PRICING
   ============================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-name { font-size: 1.1rem; font-weight: 600; color: var(--gray-500); margin-bottom: 8px; }
.pricing-price { font-size: 2.75rem; font-weight: 900; color: var(--dark); margin-bottom: 4px; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.pricing-desc { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 24px; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--gray-600);
}
.pricing-feature-icon {
  color: #10B981;
  font-weight: 700;
}

/* ==============================
   FAQ
   ============================== */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question-icon {
  font-size: 1.25rem;
  transition: var(--transition);
  color: var(--gray-400);
}
.faq-item.open .faq-question-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 0.925rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ==============================
   FINAL CTA
   ============================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #B0162E 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}
.cta-section h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.7;
  margin-top: 16px;
}
.footer-brand .header-logo { margin-bottom: 8px; }
.footer-brand .header-logo span { color: var(--primary-light); }

.footer h4 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ==============================
   BLOG STYLES
   ============================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.blog-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card-body {
  padding: 24px;
}
.blog-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card h3 a {
  color: var(--dark);
  text-decoration: none;
}
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-meta {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.75rem; }
  .section-title { font-size: 2.25rem; }
  .features-grid, .pricing-grid, .reviews-grid, .templates-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 24px;
    border-bottom: none;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .mobile-toggle { display: block; }

  .hero-grid,
  .ats-score-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .features-grid, .how-works-steps,
  .pricing-grid, .reviews-grid,
  .templates-grid, .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 60px 0; }

  .logo-banner-logos { gap: 24px; }
  .logo-banner-logos span { font-size: 0.9rem; }

  .cta-section h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.75rem; }
  .hero-buttons { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
