/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #0F172A;
  background-color: #F9FAFB;
}

/* Color Variables */
:root {
  --primary: #1947E5;
  --accent: #FFC247;
  --text: #0F172A;
  --light-bg: #F9FAFB;
  --white: #FFFFFF;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid #E5E7EB;
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: #1239C4;
  transform: translateY(-2px);
}

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

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

.btn-accent {
  background: var(--accent);
  color: var(--text);
}

.btn-accent:hover {
  background: #E8A839;
  transform: translateY(-2px);
}

.apply-cta{
  margin-top:1.8rem;
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
}

.btn-warm{
  background:#FFC247;
  color:#000;
}
.btn-warm:hover{background:#dca126}

/* Sections */
.section {
  padding: 5rem 0;
}

.bg-light {
  background: white;
}

/* Hero Section */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-subhead {
  font-size: 1.25rem;
  color: #64748B;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
}

.hero-form input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-size: 1rem;
}

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

/* Dashboard Mockups */
.hero-graphic {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-mockup {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-mockup h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.job-card, .candidate-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #F8FAFC;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.company-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.candidate-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><rect width="40" height="40" fill="%23F3F4F6" rx="8"/><circle cx="20" cy="16" r="6" fill="%236B7280"/><path d="M20 24c-5 0-9 2-9 4v4h18v-4c0-2-4-4-9-4z" fill="%236B7280"/></svg>') center/contain no-repeat;
}

/* Company logo variations */
.job-card:nth-child(2) .company-logo {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><rect width="40" height="40" fill="%231947E5" rx="8"/><path d="M12 14h16v2H12zm0 4h16v2H12zm0 4h12v2H12z" fill="white"/><circle cx="32" cy="12" r="3" fill="%23FFC247"/></svg>') center/contain no-repeat;
}

.job-card:nth-child(3) .company-logo {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><rect width="40" height="40" fill="%23059669" rx="8"/><text x="20" y="26" text-anchor="middle" fill="white" font-family="Arial" font-size="9" font-weight="bold">SXZ</text></svg>') center/contain no-repeat;
}

.job-details, .candidate-details {
  flex: 1;
}

.job-details h5, .candidate-details h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.job-details p, .candidate-details p {
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 0.5rem;
}

.skills {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 500;
}

.intent-score {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  background: var(--accent);
  border-radius: 4px;
  font-weight: 600;
}

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

.feature, .feature-card {
  text-align: center;
  padding: 2rem;
}

.feature-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature h3, .feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.feature p, .feature-card p {
  color: #64748B;
}

/* Content Columns */
.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.content-text p {
  font-size: 1.1rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  padding: 0.5rem 0;
  color: #64748B;
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li:before {
  content: "–";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Mockup Visuals */
.apply-mockup, .hire-mockup {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-preview h4, .talent-feed h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.form-field {
  padding: 0.75rem;
  background: #F0F9FF;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 500;
}

.apply-btn, .contact-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
}

.talent-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #F8FAFC;
  border-radius: 8px;
}

.talent-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><circle cx="25" cy="25" r="25" fill="%23FFC247"/><circle cx="25" cy="20" r="8" fill="white"/><path d="M25 30c-7 0-12 3-12 5v7h24v-7c0-2-5-5-12-5z" fill="white"/></svg>') center/contain no-repeat;
}

.talent-info {
  flex: 1;
}

.talent-info h5 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.talent-info p {
  color: #64748B;
  font-size: 0.9rem;
}

/* AI Graphic */
.ai-graphic {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ai-nodes {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.node {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.signup-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto 1rem;
}

.signup-form input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.trust-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  padding: 2rem 0;
}

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

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: #1239C4;
  transform: translateY(-2px);
}

/* Section Headings */
h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-form {
    flex-direction: column;
    margin: 0 auto;
  }

  .content-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 2rem;
  }

  .content-text h2 {
    font-size: 2rem;
  }

  .signup-form {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

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

  h2 {
    font-size: 1.75rem;
  }
}

/* Animated SVG Icons */
.icon svg{width:48px;height:48px}/*base size*/
.icon{color:#1947E5;transition:color .3s ease}
.feature-card:hover .icon{color:#FFC247}
.feature:hover .icon{color:#FFC247}

/*  Handshake pulse  */
.icon.handshake .hand{
  animation:pulse 2.2s ease-in-out infinite;
  transform-origin:center
}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}

/*  Sparkle twinkle  */
.icon.sparkles .star{fill:currentColor;opacity:0}
.icon.sparkles .star-1{animation:twinkle 3s infinite .0s}
.icon.sparkles .star-2{animation:twinkle 3s infinite .4s}
.icon.sparkles .star-3{animation:twinkle 3s infinite .8s}
@keyframes twinkle{
  0%,100%{opacity:0;transform:scale(.7) rotate(0deg)}
  50%    {opacity:1;transform:scale(1)  rotate(45deg)}
}

/*  Radar sweep  */
.icon.radar .sweep{
  transform-origin:32px 32px;
  animation:rotate 2.8s linear infinite
}
@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

/* Bullseye arrow pop */
.icon.bullseye .arrow{transform-origin:32px 32px;animation:arrowPop 2.4s ease-out infinite}
@keyframes arrowPop{0%,100%{transform:scale(0)}45%,55%{transform:scale(1)}}

/* Bell swing */
.icon.bell .body{transform-origin:32px 40px;animation:swing 3s ease-in-out infinite}
@keyframes swing{0%,100%{transform:rotate(0deg)}25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}

/* Brain spark twinkle */
.icon.brain .spark{opacity:0;animation:spark 2.8s infinite 1s}
@keyframes spark{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1)}}

/* How-It-Works layout */
#how-it-works{padding:4rem 1rem;text-align:center}
.hiw-grid{display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;margin-top:3rem}
.hiw-card{max-width:260px}
.hiw-card h3{margin:1rem 0 .4rem;font-size:1.125rem}
.hiw-card p{color:#64748b;font-size:.95rem}
.hiw-card .icon svg{width:56px;height:56px;color:#1947E5}
.hiw-cta{margin-top:2.5rem}

/* fingerprint ridges */
.hiw-fingerprint svg{width:56px;height:56px;color:#1947E5}
.hiw-fingerprint .ring{
  fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;
  stroke-dasharray:140;stroke-dashoffset:140;
  animation:fprintReveal 3.2s ease-out forwards infinite 0.4s;
}
@keyframes fprintReveal{to{stroke-dashoffset:0}}

/* radar rings & sweep */
.hiw-radar svg{width:56px;height:56px;color:#1947E5}
.hiw-radar .ring{stroke:currentColor;stroke-width:2;fill:none;opacity:.7}
.hiw-radar .grid{stroke:currentColor;stroke-width:2;opacity:.4}
.hiw-radar .sweep{
  stroke:currentColor;stroke-width:4;
  transform-origin:32px 32px;
  animation:sweepSpin 3s linear infinite;
}
.hiw-radar .blip{
  fill:currentColor;opacity:0;
  animation:blipFlash 3s linear infinite 1.2s;
}
@keyframes sweepSpin{to{transform:rotate(360deg)}}
@keyframes blipFlash{0%,80%,100%{opacity:0}85%,95%{opacity:1}}

/* Lightbulb gear spin */
.hiw-bulb .gear{transform-origin:32px 24px;animation:spin 5s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* Match Insight pulse */
.match-check .pulse{animation:radarPulse 2.5s ease-out infinite}
.match-check .tick{opacity:0;animation:tickIn 2.5s ease-out infinite}
@keyframes radarPulse{0%{stroke-width:4;opacity:.8;r:20}70%{stroke-width:2;opacity:0;r:28}100%{stroke-width:4;opacity:.8;r:20}}
@keyframes tickIn{0%,70%{opacity:0}80%,100%{opacity:1}}

/* How It Works Section */
#how-it-works {
  padding: 4rem 1rem;
  text-align: center;
  background-color: #F0F4F8; /* Change this to match the grey of other sections */
}