/*
Theme Name: Work From Home
Theme URI: https://vishavbook.in/
Author: Vishav Book
Author URI: https://vishavbook.in/
Description: Landing page theme for Work From Home — Govt verified handwriting jobs platform. Includes hero, features, process, pricing, testimonials and CTA sections wired to a Telegram channel.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wfh-theme
Tags: landing-page, one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --bg: #ffffff;
  --fg: #0b1220;
  --muted: #5b6472;
  --muted-bg: #f5f7fa;
  --border: #e6e8ec;
  --card: #ffffff;
  --primary: #4f46e5;
  --primary-700: #4338ca;
  --sky: #0ea5e9;
  --sky-700: #0284c7;
  --amber: #ea580c;
  --amber-bg: #ffedd5;
  --amber-text: #9a3412;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
}
.topbar .container {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px;
  padding-top: 8px; padding-bottom: 8px; text-align: center;
}
.topbar .muted { opacity: .85; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand .logo { font-size: 24px; }
.brand .name { font-weight: 700; line-height: 1.1; }
.brand .sub { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.menu { display: none; gap: 24px; font-size: 14px; }
.menu a:hover { color: var(--primary); }
@media (min-width: 768px) { .menu { display: flex; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  border: 0; cursor: pointer;
  transition: opacity .15s, background .15s, transform .15s;
}
.btn:hover { opacity: .92; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-700); }
.btn-sky { background: var(--sky); color: #fff; box-shadow: 0 10px 30px -10px rgba(14,165,233,.6); }
.btn-sky:hover { background: var(--sky-700); }
.btn-dark { background: var(--fg); color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 50%, #fff7ed 100%);
  z-index: 0;
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 80px;
}
@media (min-width: 1024px) { .hero .container { grid-template-columns: 1fr 1fr; } }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eef2ff; color: #4338ca;
  border: 1px solid rgba(5,150,105,.3);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6366f1; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.eyebrow { margin-top: 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.h1 {
  margin: 16px 0 0; font-size: clamp(32px, 5vw, 60px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
}
.h1 .green { color: var(--primary); }
.h1 .amber { color: var(--amber); font-style: normal; }
.lead { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 560px; }
.lead strong { color: var(--fg); }

.checks { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--muted); }
.checks span { display: inline-flex; align-items: center; gap: 6px; }
.checks .tick { color: var(--primary); font-weight: 700; }

.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.stats { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 420px; }
.stat .v { font-size: 28px; font-weight: 800; }
.stat .l { font-size: 12px; color: var(--muted); }

.hero-art { position: relative; }
.hero-art .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-art .card-img {
  aspect-ratio: 3/4; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  background-size: cover; background-position: center;
}
.hero-art .card-img.shift { margin-top: 40px; }
.hero-art .floating {
  position: absolute; bottom: -16px; left: -16px;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 14px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.15);
}
.hero-art .floating .icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(16,185,129,.15); color: var(--primary);
  display: grid; place-items: center; font-weight: 700;
}
.hero-art .floating .t { font-size: 14px; font-weight: 600; }
.hero-art .floating .s { font-size: 12px; color: var(--muted); }

/* Marquee */
.marquee {
  background: var(--fg); color: #fff;
  padding: 16px 0; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.marquee-track { display: flex; white-space: nowrap; animation: scroll 30s linear infinite; }
.marquee-track span { margin: 0 24px; font-size: 14px; font-weight: 600; letter-spacing: .08em; }
@keyframes scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: #f7f9fb; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.h2 { margin: 8px 0 0; font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin-top: 12px; }

.grid-3 { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }

.feature {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 24px;
  transition: box-shadow .2s, transform .2s;
}
.feature:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.12); }
.feature .ico { font-size: 28px; }
.feature h3 { margin: 10px 0 6px; font-size: 18px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }

/* Process */
.step {
  position: relative; background: var(--card);
  border: 1px solid var(--border); border-radius: 18px; padding: 24px;
}
.step .num { font-size: 56px; font-weight: 900; color: rgba(5,150,105,.15); line-height: 1; }
.step .lbl { font-size: 12px; letter-spacing: .14em; color: var(--primary); font-weight: 700; }
.step h3 { margin: 6px 0 6px; font-size: 20px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
.center { text-align: center; }

/* Pricing */
.plan {
  position: relative; background: var(--card);
  border: 1px solid var(--border); border-radius: 24px;
  padding: 28px; display: flex; flex-direction: column;
}
.plan.popular {
  border-color: var(--primary);
  box-shadow: 0 25px 50px -20px rgba(5,150,105,.25);
}
@media (min-width: 768px) { .plan.popular { transform: scale(1.04); } }
.plan .ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  letter-spacing: .05em;
}
.plan .pname { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.plan .price { font-size: 36px; font-weight: 800; margin-top: 6px; }
.plan .per { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; }
.plan li { font-size: 14px; padding: 5px 0; display: flex; gap: 8px; }
.plan li .t { color: var(--primary); }
.plan .dep { margin-top: 20px; font-size: 14px; color: var(--muted); }
.plan .dep strong { color: var(--fg); }
.plan .btn { margin-top: 22px; justify-content: center; }

.assurance { margin-top: 48px; display: grid; gap: 12px; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 640px) { .assurance { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .assurance { grid-template-columns: repeat(4,1fr); } }
.assurance div {
  background: var(--muted-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; font-size: 14px; font-weight: 500;
}

/* Testimonials */
.grid-4 { margin-top: 48px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }
.review {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 20px;
}
.review .q { font-size: 24px; color: var(--primary); line-height: 1; }
.review p { font-size: 14px; margin: 8px 0 0; }
.review .who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.review .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review .n { font-size: 14px; font-weight: 600; }
.review .v { font-size: 12px; color: var(--primary); }

/* Final CTA */
.final { padding: 80px 0; text-align: center; }
.amber-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-bg); color: var(--amber-text);
  font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
}
.final h2 { margin: 20px 0 0; font-size: clamp(28px, 4.5vw, 48px); font-weight: 800; letter-spacing: -0.02em; }
.final p { color: var(--muted); max-width: 560px; margin: 16px auto 0; }
.final .btn { margin-top: 26px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer .container {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 14px; color: var(--muted); text-align: center;
}
@media (min-width: 640px) { .footer .container { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer .brand .name { color: var(--fg); }
.footer a:hover { color: var(--fg); }
