/* ===== CHATOB V2 - Clean Rebuild ===== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

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

:root {
  --blue: #1A6BFF;
  --dark: #13191F;
  --gray: #535C61;
  --light-bg: #F7F8FA;
  --cream: #FDF8F3;
  --charcoal: #262E28;
  --white: #fff;
  --radius: 16px;
  --container: 1180px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo img { width: 36px; height: auto; }
.nav-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--blue); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.92) 35%, rgba(255,255,255,0.3) 65%, transparent 100%);
}
.hero-wave {
  position: absolute;
  bottom: -30%;
  right: -40%;
  z-index: 1;
  pointer-events: none;
  width: 60%;
  height: 80%;
}
.hero-wave-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  mix-blend-mode: multiply;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 42%;
  max-width: 580px;
  padding: 120px 0 80px 80px;
}
.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -1px;
  white-space: nowrap;
}
.hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-dark:hover { background: #2a3540; transform: translateY(-1px); }
.btn-dark img { width: 20px; height: 20px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-outline img { width: 20px; height: 20px; }

/* ===== PRODUCT SECTION ===== */
.product-section {
  padding: 100px 0;
  background: var(--white);
}
.product-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.product-image-wrap {
  position: relative;
}
.product-image-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--blue);
  border-radius: 12px;
  z-index: 0;
}
.product-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--blue);
  border-radius: 12px;
  z-index: 0;
}
.product-image-box {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/4.3;
}
.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-content { }
.product-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.product-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 36px;
}
.product-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* ===== KEY FEATURES ===== */
.features-section {
  padding: 100px 0;
  background: var(--white);
}
.features-header {
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0 40px;
}
.features-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.features-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.features-subtitle {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}
.features-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 380px 1fr;
  grid-template-rows: 1fr auto;
  gap: 24px;
}
/* Right column wrapper for Card2 + bottom row */
.features-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
/* Card 1 - Job Seekers (left tall card) */
.feature-card-seekers {
  grid-row: 1 / 2;
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature-card-seekers-text {
  padding: 28px 28px 20px;
}
.feature-card-seekers-text h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.feature-card-seekers-text p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.feature-card-seekers-img {
  flex: 1;
  min-height: 320px;
  overflow: hidden;
}
.feature-card-seekers-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* Card 2 - Employers (right top, with image bg) */
.feature-card-employers {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
}
.feature-card-employers img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.feature-card-employers-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 40%, transparent 100%);
}
.feature-card-employers-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  color: var(--white);
}
.feature-card-employers-text h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.feature-card-employers-text p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}
/* Card 3 - Smart Matching (charcoal) */
.feature-card-matching {
  background: var(--charcoal);
  border-radius: 20px;
  padding: 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}
.feature-card-matching h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.feature-card-matching p {
  font-size: 13px;
  line-height: 1.65;
  opacity: 0.8;
}
/* Card 4 - AI Assist (blue) */
.feature-card-ai {
  background: var(--blue);
  border-radius: 20px;
  padding: 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}
.feature-card-ai h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.feature-card-ai p {
  font-size: 13px;
  line-height: 1.65;
  opacity: 0.9;
}
.features-cta {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== ROLES SECTION ===== */
.roles-section {
  padding: 100px 0;
  background: var(--light-bg);
}
.roles-header {
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0 40px;
  text-align: center;
}
.section-heading {
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-subheading {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}
.roles-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.role-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.role-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.role-card:hover img { transform: scale(1.05); }
.role-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 30%, transparent 70%);
}
.role-card-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.roles-cta {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.faq-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px;
}
.faq-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}
.faq-item {
  border-bottom: 1px solid #E8EAEC;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  font-family: 'Roboto', sans-serif;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 100px 0;
  background: var(--light-bg);
}
.about-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}
.about-content { }
.about-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.about-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.about-text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
}
.about-text p + p { margin-top: 16px; }
.about-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== JOIN TEAM SECTION ===== */
.joinus-section {
  padding: 100px 0;
  background: var(--white);
}
.joinus-header {
  max-width: 1180px;
  margin: 0 auto 60px;
  padding: 0 40px;
}
.joinus-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  max-width: 600px;
  line-height: 1.2;
}
.joinus-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 580px;
}
.jobs-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.job-card {
  border: 1.5px solid #E8EAEC;
  border-radius: 20px;
  padding: 36px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.job-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(26,107,255,0.1);
}
.job-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.job-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}
.job-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.job-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.job-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  position: relative;
  background: var(--light-bg);
  overflow: hidden;
}
.contact-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  z-index: 0;
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  min-height: 600px;
}
.contact-form-wrap {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 48px;
  width: 520px;
  max-width: 55%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}
.contact-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.contact-subtitle {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 36px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #E8EAEC;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: 'Roboto', sans-serif;
}
.btn-blue:hover { background: #0d5ce8; transform: translateY(-1px); }
.contact-photo-wrap {
  display: none;
}

/* ===== FORM SUCCESS ===== */
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 14px 18px;
  color: #166534;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.5;
}
.form-success svg {
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: #ffffff;
  color: var(--dark);
  padding: 60px 0 40px;
  border-top: 1px solid #e8e8e8;
  position: relative;
  overflow: hidden;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-copy-center {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 40px 0;
  border-top: 1px solid #e8e8e8;
  text-align: center;
  font-size: 12px;
  color: #999;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo img { width: 32px; height: auto; }
.footer-logo span {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}
.footer-tagline {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  max-width: 360px;
}
.footer-copy {
  font-size: 12px;
  color: #999;
  margin-top: auto;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 480px;
}
.footer-copy-right {
  font-size: 12px;
  color: #999;
  text-align: right;
}
.footer-wave {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 220px;
  opacity: 0.18;
  pointer-events: none;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  z-index: 99;
  padding: 20px 40px 28px;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 32px;
  }
  .product-image-box { aspect-ratio: 16/9; }
  .features-grid {
    grid-template-columns: 1fr;
    padding: 0 32px;
  }
  .feature-card-seekers { grid-row: auto; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { aspect-ratio: 16/9; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-title { font-size: 38px; }
  .container { padding: 0 24px; }
  .features-header, .features-grid, .features-cta,
  .roles-header, .roles-grid, .roles-cta,
  .joinus-header, .jobs-grid,
  .contact-inner { padding-left: 24px; padding-right: 24px; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid { grid-template-columns: 1fr; }
  .product-inner { padding: 0 24px; }
  .features-header { padding: 0 24px; }
  .about-inner { padding: 0 24px; }
  .contact-form-wrap { padding: 32px 24px; }
  .footer-inner { padding: 0 24px; }
  .faq-inner { padding: 0 24px; }
  .section-heading { font-size: 32px; }
  .features-title { font-size: 32px; }
  .about-title { font-size: 32px; }
  .joinus-title { font-size: 32px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .product-title { font-size: 32px; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; }
  .features-cta, .roles-cta { flex-direction: column; align-items: flex-start; }
}
