/* Main CSS for TalentSync Landing Page */
:root {
  --accent: #6c63ff;
}
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 10px;
  color: #333;
}
p {
  margin: 0 0 15px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Visually hidden class for accessible labels */
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Hero section */
.hero {
  background: #fff;
  color: #333;
}
.logo {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--accent);
  margin: 20px 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
}
.hero-text {
  flex: 1;
  max-width: 600px;
}
.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 0.3em;
}
.hero-text p {
  font-size: 1.1em;
  margin-bottom: 1.2em;
}
.hero-image {
  flex: 1;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  height: auto;
}
/* Problem & Solution sections */
section {
  padding: 60px 0;
}
.problem {
  background: #f9f9f9;
}
.solution {
  background: #fff;
}
.solution-cols {
  display: flex;
  gap: 50px;
  margin-top: 30px;
}
.solution-col {
  flex: 1;
}
.solution-col h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: #333;
}
/* List styles */
ul {
  list-style-type: disc;
  padding-left: 1.2em;
  margin: 0 0 1.5em 0;
}
li {
  margin-bottom: 0.5em;
}
/* Call-to-action section */
.cta {
  background: var(--accent);
  color: #fff;
  text-align: center;
}
.cta h2, .cta p {
  color: #fff;
}
/* Form styles */
.hero-form, .cta-form {
  width: 100%;
  max-width: 600px;
  margin: 20px auto 0;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.form-field {
  flex: 1;
  min-width: 150px;
}

form input[type=email], form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  background-color: #fff;
  color: #333;
}

form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 1em;
  padding-right: 30px;
}

form button[type=submit] {
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* Override form styles for dark background (CTA) */
.cta input[type=email], .cta select {
  border: none;
  background: #fff;
  color: #333;
}

.cta input::placeholder, .cta select::placeholder {
  color: #777;
}

.cta button[type=submit] {
  background: #fff;
  color: var(--accent);
}

/* Hover and focus states */
form input[type=email]:focus, form select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

form button[type=submit]:hover {
  filter: brightness(0.95);
}

form button[type=submit]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Responsive layout */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }
  .hero-text {
    max-width: none;
  }
  .hero-image {
    margin-top: 30px;
  }
  .solution-cols {
    flex-direction: column;
    gap: 30px;
  }
}
@media (max-width: 500px) {
  .form-row {
    flex-direction: column;
  }
  .form-field {
    width: 100%;
    margin-bottom: 10px;
  }
  form button[type=submit] {
    width: 100%;
    margin: 0;
  }
}
/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}