/*
Theme Name: Vishv Book Publishers
Theme URI: https://vishvbookpublishers.example
Author: Vishv Book Publishers
Author URI: https://t.me/+NzWm2ChXstplYmVl
Description: Vibrant animated landing theme for Vishv Book Publishers — Official Hiring Portal 2024. Indigo & amber palette with floating animations, plan cards, and Telegram CTA.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vishv-book-publishers
Tags: landing-page, one-column, custom-colors, full-width-template
*/

:root {
  --primary: #6a4cf0;
  --primary-2: #8a6dff;
  --accent: #f59e0b;
  --accent-2: #ef7a1a;
  --bg: #f6f4ff;
  --bg-2: #fff7e8;
  --card: #ffffff;
  --text: #1f1b3a;
  --muted: #6b6890;
  --border: #ece8ff;
  --shadow-card: 0 20px 50px -20px rgba(60, 30, 140, .22);
  --shadow-soft: 0 10px 40px -10px rgba(106, 76, 240, .35);
  --shadow-glow: 0 0 60px rgba(138, 109, 255, .5);
  --gradient-primary: linear-gradient(135deg, #6a4cf0, #8a6dff);
  --gradient-accent: linear-gradient(135deg, #f59e0b, #ef7a1a);
  --gradient-hero: linear-gradient(135deg, #f6f4ff 0%, #fff7e8 100%);
  --gradient-gold: linear-gradient(135deg, #ffe8b3, #ffd27a);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--gradient-hero);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 64px 24px 96px;
  overflow: hidden;
  text-align: center;
}
.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
}
.blob-1 { width: 420px; height: 420px; background: var(--primary-2); top: -120px; left: -120px; animation: float 7s ease-in-out infinite; }
.blob-2 { width: 360px; height: 360px; background: var(--accent); top: 30%; right: -120px; animation: float 9s ease-in-out infinite reverse; }
.blob-3 { width: 320px; height: 320px; background: var(--primary); bottom: -80px; left: 30%; animation: float 8s ease-in-out infinite; }

.logo-ring {
  width: 144px; height: 144px;
  margin: 0 auto 24px;
  position: relative;
}
.logo-ring::before {
  content: '';
  position: absolute; inset: 0;
  border: 2px dashed rgba(106, 76, 240, .4);
  border-radius: 9999px;
  animation: spin 20s linear infinite;
}
.logo-ring .logo-inner {
  position: absolute; inset: 8px;
  background: #fff; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.logo-ring .logo-inner span {
  font-size: 56px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s linear infinite;
}
.subtitle {
  margin-top: 12px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--primary);
}
.subtitle .spark { color: var(--accent); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  padding: 8px 18px;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  box-shadow: var(--shadow-card);
}

.btn-telegram {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 28px;
  padding: 18px 40px;
  border-radius: 9999px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow-soft);
  animation: pulseGlow 2.4s ease-in-out infinite;
  transition: transform .2s ease;
}
.btn-telegram:hover { transform: translateY(-3px) scale(1.04); }
.apply-caption {
  margin-top: 12px;
  font-size: 12px; letter-spacing: .2em;
  color: var(--muted);
  font-weight: 700;
}

.hero-illustration {
  margin: 40px auto 0;
  max-width: 560px;
  width: 100%;
  font-size: 220px;
  line-height: 1;
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 25px 30px rgba(60, 30, 140, .2));
}

/* ========== FEATURE CARDS ========== */
.features {
  padding: 40px 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1024px;
  margin: 0 auto;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: 1fr 1fr; } }

.feature-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .3s ease;
}
.feature-card:hover { transform: translateY(-6px); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(106, 76, 240, .12);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.feature-card:hover .feature-icon { transform: rotate(8deg) scale(1.1); }
.feature-card h3 { margin: 0; color: var(--primary); font-size: 24px; font-weight: 700; }
.feature-card p { margin: 8px 0 0; color: var(--muted); }

.feature-card.gold {
  background: var(--gradient-gold);
  position: relative; overflow: hidden;
}
.feature-card.gold h3 { color: var(--accent-2); font-size: 28px; }
.feature-card.gold .tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 9999px;
  background: rgba(255,255,255,.85);
  color: var(--accent-2);
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.feature-card.gold .floating-money {
  position: absolute; right: -10px; bottom: -10px;
  font-size: 120px; transform: rotate(12deg);
  animation: float 6s ease-in-out infinite;
  opacity: .85;
}

/* ========== PLANS ========== */
.plans-section { padding: 64px 24px; }
.plans-title {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--primary);
  margin: 0 0 12px;
  text-align: center;
}
.plans-title .icon { font-size: 36px; animation: float 6s ease-in-out infinite; }
.plans-sub {
  text-align: center;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 40px;
  font-size: 18px;
}
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 640px) { .plans-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .plans-grid { grid-template-columns: repeat(4, 1fr); } }

.plan {
  position: relative;
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-glow); }
.plan.popular { outline: 2px solid var(--accent); outline-offset: 0; }
.plan .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-soft);
}
.plan .num-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.plan .num { font-size: 48px; font-weight: 900; color: rgba(106, 76, 240, .25); }
.plan .num-label { font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.plan .salary-label { font-size: 13px; color: var(--muted); margin: 0; }
.plan .salary { font-size: 36px; font-weight: 900; color: var(--accent-2); margin: 2px 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; }
.plan ul li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text);
  padding: 4px 0;
}
.plan ul li .ic { color: var(--primary); font-size: 16px; }
.plan ul li .small { color: var(--muted); font-size: 12px; margin-left: 4px; }
.plan .apply-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 9999px;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  transition: transform .15s ease;
}
.plan .apply-btn:hover { transform: scale(1.03); }

.refundable-note {
  max-width: 640px;
  margin: 40px auto 0;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
  font-weight: 600;
}
.refundable-note .accent { color: var(--accent-2); }

/* ========== SAFETY BANNER ========== */
.safety {
  padding: 48px 24px;
}
.safety-card {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 28px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.safety-card .hindi {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}
.safety-card .english {
  margin-top: 12px;
  opacity: .95;
  font-size: clamp(15px, 1.6vw, 18px);
}
.safety-card .arrows {
  margin-top: 18px;
  letter-spacing: .4em;
  font-size: 22px;
}
.safety-card .btn-telegram { margin-top: 24px; background: #fff; color: var(--primary); animation: none; }

/* ========== HOW IT WORKS ========== */
.how { padding: 80px 24px; }
.how h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--primary);
  margin: 0 0 48px;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1024px;
  margin: 0 auto;
}
@media (min-width: 768px) { .how-grid { grid-template-columns: 1fr 1fr; } }
.how-illustration {
  font-size: 220px;
  text-align: center;
  animation: float 7s ease-in-out infinite;
}
.how-steps { display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex; gap: 16px;
  background: var(--card);
  padding: 20px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease;
}
.step:hover { transform: translateX(6px); }
.step .step-icon {
  width: 48px; height: 48px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.step h3 { margin: 0; color: var(--primary); font-size: 18px; font-weight: 700; }
.step p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ========== FINAL CTA ========== */
.final-cta { padding: 0 24px 80px; text-align: center; }
.final-cta h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 900;
  color: var(--primary);
  margin: 0 0 12px;
}
.final-cta p { color: var(--muted); margin: 0 0 28px; }

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ========== ANIMATIONS ========== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(138, 109, 255, .4); }
  50% { box-shadow: 0 0 60px rgba(138, 109, 255, .8); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.in { animation: fadeUp .7s ease forwards; }
