/* Workafy Homepage V2 Starter
   Scope: public homepage only. Does NOT touch recruiter/candidate dashboards.
   Author handoff: Use with existing Laravel/PHP theme. Convert to Blade partials/components if needed.
*/

:root{
  --wf-green:#07993f;
  --wf-green-dark:#057a33;
  --wf-green-soft:#eaf8ef;
  --wf-green-softer:#f5fcf7;
  --wf-ink:#111827;
  --wf-text:#374151;
  --wf-muted:#6b7280;
  --wf-line:#e5e7eb;
  --wf-bg:#ffffff;
  --wf-dark:#071421;
  --wf-dark-2:#0b1d2b;
  --wf-radius:18px;
  --wf-radius-lg:24px;
  --wf-shadow:0 18px 46px rgba(15,23,42,.08);
  --wf-shadow-soft:0 10px 28px rgba(15,23,42,.06);
  --wf-max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--wf-ink);
  background:var(--wf-bg);
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button,input{font:inherit}
.container{width:min(var(--wf-max), calc(100% - 48px)); margin:0 auto}
.green{color:var(--wf-green)}
.section{padding:38px 0}
.section-title{text-align:center;font-size:30px;line-height:1.15;margin:0 0 8px;font-weight:850;letter-spacing:-.03em}
.section-subtitle{text-align:center;color:var(--wf-muted);margin:0 0 28px;font-size:15px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:48px;padding:0 22px;border-radius:9px;border:1px solid transparent;
  font-weight:750;font-size:15px;cursor:pointer;transition:.2s ease;
}
.btn-primary{background:var(--wf-green); color:#fff; box-shadow:0 10px 22px rgba(7,153,63,.22)}
.btn-primary:hover{background:var(--wf-green-dark); transform:translateY(-1px)}
.btn-outline{background:#fff;color:var(--wf-ink);border-color:#d8dee8}
.btn-outline:hover{border-color:var(--wf-green);color:var(--wf-green)}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border-radius:999px;background:var(--wf-green-soft);
  color:var(--wf-green-dark);font-weight:800;font-size:13px;
}
.icon{
  width:42px;height:42px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--wf-green-soft); color:var(--wf-green);
  flex:0 0 auto;
}
.icon svg{width:22px;height:22px;stroke:currentColor}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(229,231,235,.8);backdrop-filter:blur(14px);
}
.navbar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{font-size:32px;font-weight:900;letter-spacing:-.055em;color:var(--wf-green)}
.nav-links{display:flex;align-items:center;gap:32px;font-size:14px;font-weight:700;color:#1f2937}
.nav-links a{position:relative;padding:28px 0}
.nav-links a.active::after{content:"";position:absolute;left:0;right:0;bottom:19px;height:3px;border-radius:99px;background:var(--wf-green)}
.nav-actions{display:flex;align-items:center;gap:14px}
.nav-actions .link{font-size:14px;font-weight:700}
.nav-actions .btn{min-height:42px;padding:0 17px;font-size:14px}

/* Hero */
.hero{
  position:relative;overflow:hidden;padding:72px 0 34px;
  background:
    radial-gradient(circle at 72% 10%, rgba(7,153,63,.08), transparent 30%),
    radial-gradient(circle at 22% 25%, rgba(7,153,63,.04), transparent 22%);
}
.hero-grid{display:grid;grid-template-columns: 1.05fr 1.35fr;gap:64px;align-items:center}
.hero-copy h1{font-size:58px;line-height:1.05;letter-spacing:-.06em;margin:28px 0 20px;font-weight:900}
.hero-copy p{font-size:18px;color:var(--wf-text);max-width:580px;margin:0 0 30px}
.hero-ctas{display:flex;gap:16px;align-items:center;margin-bottom:22px}
.micro-link{font-size:15px;color:var(--wf-text)}
.micro-link a{color:var(--wf-green);font-weight:850}

.product-stage{position:relative;min-height:455px}
.search-panel{
  width:520px;background:#fff;border:1px solid #e8ecf0;border-radius:18px;
  box-shadow:var(--wf-shadow);padding:22px;position:relative;z-index:2;
}
.panel-title{font-weight:850;font-size:17px;margin-bottom:14px}
.search-input{display:flex;border:1px solid #dfe5ec;border-radius:8px;overflow:hidden;height:43px;background:#fff;margin-bottom:12px}
.search-input input{border:0;outline:0;flex:1;padding:0 14px;color:var(--wf-muted);font-size:13px}
.search-input button{width:46px;border:0;background:var(--wf-green);color:#fff;display:grid;place-items:center}
.filters{display:flex;gap:8px;margin-bottom:18px}
.filter{border:1px solid #dfe5ec;border-radius:7px;padding:7px 10px;font-size:12px;color:#374151;background:#fff;font-weight:650}
.match-count{font-size:13px;color:#1f2937;font-weight:750;margin-bottom:10px}
.candidate-row{display:grid;grid-template-columns:52px 1fr auto;gap:13px;padding:13px 0;border-top:1px solid #edf1f5;align-items:center}
.avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#f4d1b6,#fff);border:2px solid #fff;box-shadow:0 4px 10px rgba(15,23,42,.08);object-fit:cover}
.candidate-row h4{margin:0;font-size:15px}
.candidate-row p{margin:2px 0 7px;color:#4b5563;font-size:12px}
.tags{display:flex;gap:6px;flex-wrap:wrap}
.tag{font-size:11px;font-weight:750;border-radius:999px;padding:4px 8px;border:1px solid #e1e7ef;background:#fff;color:#4b5563}
.tag.ok{color:var(--wf-green-dark);background:var(--wf-green-soft);border-color:#ccefd8}
.tag.lock{color:#8a5b00;background:#fff8df;border-color:#fde68a}
.btn-mini{min-height:30px;padding:0 10px;font-size:12px;border-radius:7px;background:var(--wf-green);color:#fff;font-weight:800}

.side-card{
  position:absolute;right:0;top:44px;width:210px;background:#fff;border:1px solid #e8ecf0;
  border-radius:18px;box-shadow:var(--wf-shadow-soft);padding:18px;z-index:3
}
.side-card h4{margin:0 0 14px;font-size:15px}
.pipeline-list{display:grid;gap:10px;font-size:13px;font-weight:750}
.pipe-item{display:flex;align-items:center;justify-content:space-between;color:#4b5563}
.dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:8px;background:var(--wf-green)}
.dot.orange{background:#f59e0b}.dot.blue{background:#3b82f6}.dot.purple{background:#8b5cf6}
.profile-float{top:248px;right:12px;width:205px}
.profile-float .mini-profile{display:flex;gap:11px;align-items:center;margin-bottom:12px}
.profile-float h4{margin:0;font-size:14px}.profile-float p{margin:2px 0 0;font-size:12px;color:#6b7280}
.profile-actions{display:flex;gap:8px}.profile-actions .btn-mini{flex:1;text-align:center}.profile-actions .btn-mini.secondary{background:#fff;color:#111827;border:1px solid #dfe5ec}

/* Value strip */
.value-strip{padding:22px 0 12px}
.value-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.value-card{
  display:flex;align-items:center;gap:15px;padding:22px 20px;border:1px solid #e5e9ef;
  border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.035)
}
.value-card h3{font-size:15px;margin:0 0 3px}.value-card p{font-size:13px;margin:0;color:#4b5563}

/* Audience cards */
.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.audience-card{
  min-height:300px;border:1px solid #dbe8df;border-radius:18px;overflow:hidden;
  padding:30px;display:grid;grid-template-columns:1fr 230px;align-items:center;gap:20px;background:#fff;
}
.audience-card.employer{background:linear-gradient(135deg,#f0fbf4,#ffffff);border-color:#9ce0b5}
.audience-card h2{font-size:30px;line-height:1.15;margin:18px 0 14px;letter-spacing:-.035em}
.audience-card p{color:#374151;margin:0 0 24px;font-size:15px}
.illustration-card{
  height:190px;border:1px solid #cdebd8;border-radius:18px;background:rgba(255,255,255,.72);
  box-shadow:0 15px 35px rgba(7,153,63,.08);transform:rotate(-5deg);position:relative;overflow:hidden;
}
.illustration-card::before,.illustration-card::after{content:"";position:absolute;border-radius:999px;background:var(--wf-green);opacity:.15}
.illustration-card::before{width:120px;height:120px;right:-32px;top:-28px}.illustration-card::after{width:76px;height:76px;left:28px;bottom:20px}
.ui-lines{position:absolute;inset:28px;display:grid;gap:10px}
.ui-lines span{height:12px;border-radius:99px;background:#cfeedd}.ui-lines span:nth-child(2){width:72%}.ui-lines span:nth-child(3){width:48%}
.profile-illus{transform:rotate(4deg)}

/* Feature grids */
.why-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}
.why-card,.category-card,.testimonial-card{
  border:1px solid #e5e9ef;background:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(15,23,42,.035)
}
.why-card{text-align:center;padding:24px 18px}
.why-card .icon{margin:0 auto 15px;width:56px;height:56px}
.why-card h3{font-size:15px;line-height:1.25;margin:0 0 8px}
.why-card p{font-size:13px;color:#4b5563;margin:0}

.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.category-card{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;font-weight:850}
.category-card span{display:flex;align-items:center;gap:13px}
.category-card .icon{width:42px;height:42px;border-radius:14px}

/* India section */
.india-grid{display:grid;grid-template-columns: 1.35fr .85fr;gap:46px;align-items:center}
.location-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.location-card{border:1px solid #e5e9ef;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 8px 20px rgba(15,23,42,.035)}
.location-card img{height:102px;width:100%;object-fit:cover}
.location-card h4{text-align:center;margin:11px 0 12px;font-size:14px}
.map-wrap{display:grid;place-items:center}.map-wrap img{max-height:370px;opacity:.9}
.explore-link{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:20px;color:var(--wf-green);font-weight:850}

/* How it works */
.how-card{border:1px solid #e5e9ef;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.04);padding:26px}
.tabs{display:flex;justify-content:center;gap:8px;margin:-4px 0 34px}
.tab{min-width:170px;border:1px solid #dfe5ec;background:#fff;border-radius:8px;padding:12px 18px;font-weight:850;text-align:center}
.tab.active{background:var(--wf-green);color:#fff;border-color:var(--wf-green)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:34px;position:relative;margin-bottom:36px}
.steps::before{content:"";position:absolute;left:12%;right:12%;top:42px;border-top:3px dotted #cbd5e1;z-index:0}
.step{text-align:center;position:relative;z-index:1}
.step-number{position:absolute;left:calc(50% - 56px);top:28px;background:var(--wf-green);color:#fff;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:850}
.step .icon{width:72px;height:72px;margin:0 auto 16px;background:#edf9f2}
.step h3{font-size:15px;margin:0 0 7px}.step p{font-size:13px;color:#4b5563;margin:0}
.trust-row{border-top:1px solid #edf1f5;display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding-top:22px}
.trust-item{display:flex;gap:12px;padding:0 14px;border-right:1px solid #edf1f5}
.trust-item:last-child{border-right:0}
.trust-item .icon{width:34px;height:34px;border-radius:12px}
.trust-item h4{font-size:13px;margin:0 0 3px}.trust-item p{font-size:12px;color:#4b5563;margin:0}

/* Testimonials */
.testimonial-wrap{position:relative}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.testimonial-card{padding:25px;min-height:190px}
.quote{font-size:38px;color:var(--wf-green);line-height:.8;font-weight:900}
.testimonial-card p{font-size:14px;color:#374151;margin:8px 0 20px}
.author{display:flex;align-items:center;gap:12px}
.author h4{margin:0;font-size:14px}.author span{font-size:12px;color:#6b7280}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;border:1px solid #dfe5ec;background:#fff;display:grid;place-items:center;color:#6b7280}
.carousel-arrow.left{left:-17px}.carousel-arrow.right{right:-17px}
.dots{display:flex;gap:8px;justify-content:center;margin-top:20px}
.dots span{width:8px;height:8px;border-radius:50%;background:#cbd5e1}.dots span.active{background:var(--wf-green)}

/* CTA + footer */
.final-cta{padding:28px 0 0}
.cta-band{
  display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:22px;align-items:center;
  background:linear-gradient(135deg,#eefbf3,#fff);border:1px solid #dcefe3;border-radius:22px;padding:28px;
}
.cta-band h2{font-size:34px;line-height:1.12;margin:0 0 8px;color:var(--wf-green);letter-spacing:-.04em}
.cta-band p{margin:0;color:#374151}
.cta-card{border-radius:16px;padding:22px;background:#fff;border:1px solid #e3e8ef}
.cta-card.green-card{background:linear-gradient(135deg,var(--wf-green),#02752f);color:#fff;border:0}
.cta-card h3{font-size:20px;margin:0 0 5px}.cta-card p{font-size:13px;margin-bottom:18px}.green-card p{color:#eafff1}
.cta-card .btn{width:100%;min-height:44px}.green-card .btn{background:#fff;color:#0a8b3b}

.site-footer{background:linear-gradient(135deg,var(--wf-dark),var(--wf-dark-2));color:#e5eef7;padding:44px 0 34px;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.25fr repeat(6,1fr);gap:28px}
.footer-brand p{font-size:13px;color:#cbd5e1;margin:12px 0 20px;max-width:210px}
.socials{display:flex;gap:10px}
.socials a{width:32px;height:32px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px}
.footer-col h4{font-size:14px;margin:0 0 12px;color:#fff}
.footer-col a,.footer-col p{display:block;color:#cbd5e1;font-size:13px;margin:0 0 8px;line-height:1.4}
.footer-col a:hover{color:#fff}

/* Responsive starter */
.mobile-menu-button{display:none}
@media(max-width: 1020px){
  .nav-links{display:none}.mobile-menu-button{display:inline-flex}
  .hero-grid,.audience-grid,.india-grid,.cta-band{grid-template-columns:1fr}
  .search-panel{width:100%}.side-card{position:relative;right:auto;top:auto;margin-top:16px;width:100%}.profile-float{right:auto;top:auto}
  .product-stage{min-height:auto}
  .value-grid,.category-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .trust-row{grid-template-columns:1fr;border-top:0}.trust-item{border-right:0;border-top:1px solid #edf1f5;padding:14px 0}
}
@media(max-width: 640px){
  .container{width:min(100% - 28px, var(--wf-max))}
  .hero{padding-top:42px}.hero-copy h1{font-size:42px}
  .value-grid,.category-grid,.why-grid,.location-grid,.testimonial-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}.steps::before{display:none}
  .footer-grid{grid-template-columns:1fr}
}
