/* jobautomation.css */

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

:root {
  --blue: #1a56ff;
  --blue-mid: #4f75ff;
  --blue-light: #e8edff;
  --cyan: #00d4ff;
  --dark: #111320;
  --muted: #6b7280;
  --white: #ffffff;
  --off: #f7f8fc;
  --border: #e2e6f0;
  --live: #10b981;
}

body {
  background: var(--white);
  color: var(--dark);
  font-family: 'Inter', system-ui, sans-serif;
}

/* =========================
 HERO — FIRST SECTION
========================= */
.first-section {
  background: linear-gradient(135deg, #0d1526 0%, #0f2044 50%, #0a1a3a 100%);
  position: relative;
  overflow: hidden;
}

.first-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.first-section::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(26,86,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Back button */
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1.25rem clamp(1.5rem, 4vw, 2.5rem);
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.back:hover { opacity: 0.75; transform: translateX(-3px); }

.back .bi {
  color: rgba(255,255,255,0.6) !important;
  font-size: 1.1rem;
}

.back h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6) !important;
  letter-spacing: 0.3px;
  margin: 0;
}

/* Hero content row */
.all-rounder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 5vw, 3rem) clamp(4rem, 7vw, 6rem);
  position: relative;
  z-index: 1;
}

.agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--live) !important;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.live-dot {
  width: 6px; height: 6px;
  background: var(--live);
  border-radius: 50%;
  animation: pulse 2s infinite;
  display: inline-block;
}

.all-rounder .agent-content {
  flex: 1;
  max-width: 620px;
}

.all-rounder .agent-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.all-rounder .agent-content h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--cyan) !important;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.all-rounder .agent-content p {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.85;
  color: rgba(255,255,255,0.65) !important;
  font-weight: 300;
  margin-bottom: 2rem;
}

.all-rounder .agent-image {
  flex: 1;
  max-width: 560px;
}

.all-rounder .agent-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

/* Hero mini flow */
.hero-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hf-step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.hf-arrow {
  color: rgba(0,212,255,0.5);
  font-size: 13px;
  flex-shrink: 0;
}

/* =========================
 STATS BAR
========================= */
.stats-bar {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* =========================
 KEY FEATURES — SECOND SECTOR
========================= */
.second-sector {
  background: var(--white);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.key {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
 HOW IT WORKS
========================= */
.how-section {
  background: var(--dark);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.how-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(26,86,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.how-section .section-label {
  color: var(--cyan) !important;
}

.how-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.how-step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.how-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s;
}

.how-step:hover {
  border-color: rgba(26,86,255,0.35);
  background: rgba(26,86,255,0.06);
  transform: translateY(-3px);
}

.how-step:hover::before { opacity: 1; }

.how-step-last {
  border-color: rgba(16,185,129,0.2) !important;
  background: rgba(16,185,129,0.04) !important;
}

.how-step-last:hover {
  border-color: rgba(16,185,129,0.4) !important;
  background: rgba(16,185,129,0.08) !important;
}

.how-step-last::before {
  background: linear-gradient(90deg, var(--live), #00d4ff) !important;
}

.how-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}

.how-step-last .how-num { color: rgba(16,185,129,0.2); }

.how-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.how-content strong {
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 600;
  color: #ffffff !important;
  line-height: 1.4;
  font-family: 'Syne', sans-serif;
}

.how-content span {
  font-size: clamp(12px, 1.1vw, 13px);
  color: rgba(255,255,255,0.45) !important;
  line-height: 1.7;
  font-weight: 300;
}

/* =========================
 BENEFITS — THIRD SECTOR
========================= */
.third-sector {
  background: var(--off);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.Benifites {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
 SHARED SECTION STYLES
========================= */
.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue) !important;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.key h1,
.Benifites h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--dark) !important;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

/* Items grid */
.items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.item-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.third-sector .item-card { background: var(--white); }

.item-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.item-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(26,86,255,0.1);
}

.item-card:hover::before { opacity: 1; }

.circle {
  font-size: 1.3rem;
  color: var(--blue) !important;
  flex-shrink: 0;
  margin-top: 2px;
  transition: color 0.25s ease;
}

.item-card:hover .circle { color: var(--blue-mid) !important; }

.item-card div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-card strong {
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 600;
  color: var(--dark) !important;
  line-height: 1.4;
}

.item-card span {
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--muted) !important;
  line-height: 1.7;
  font-weight: 300;
}

/* =========================
 CTA — FOURTH SECTOR
========================= */
.fourth-sector {
  background: linear-gradient(135deg, #0d1526 0%, #0f2044 60%, #061030 100%);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.fourth-sector::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw); height: 500px;
  background: radial-gradient(ellipse, rgba(26,86,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.Explore {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.Explore h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 0;
}

.Explore p {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 300;
  color: rgba(255,255,255,0.6) !important;
  line-height: 1.75;
  max-width: 560px;
  margin: 0;
}

.card-link { text-decoration: none !important; }
.card-link:hover { text-decoration: none !important; }

.btn { margin-top: 0.5rem; }

.btn .all {
  padding: 13px 36px;
  height: auto; width: auto;
  border: none;
  border-radius: 8px;
  background: var(--blue);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(26,86,255,0.35);
}

.btn .all:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26,86,255,0.45);
  color: #fff !important;
}

/* =========================
 KEYFRAMES
========================= */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* =========================
 RESPONSIVE — 1024px
========================= */
@media (max-width: 1024px) {
  .all-rounder { gap: 3rem; }
  .items-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { gap: 20px; }
}

/* =========================
 RESPONSIVE — 768px
========================= */
@media (max-width: 768px) {
  .all-rounder {
      flex-direction: column;
      padding-bottom: 3rem;
  }
  .all-rounder .agent-content,
  .all-rounder .agent-image { max-width: 100%; }
  .all-rounder .agent-content h1 { letter-spacing: -1px; }

  .items-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }

  .stat-divider { display: none; }
  .stats-bar { gap: 24px; }

  .hero-flow { gap: 6px; }
  .hf-arrow { display: none; }
}

/* =========================
 RESPONSIVE — 480px
========================= */
@media (max-width: 480px) {
  .Explore h1 { letter-spacing: -1px; }
  .btn .all { width: 100%; }
  .hero-flow { display: none; }
  .stats-bar { flex-direction: column; gap: 20px; }
  .stat-divider { display: none; }
}