/*
Theme Name: Vishv Book Publishers
Theme URI: https://vishavbooknewsetup.lovable.app
Author: Vishv Book Publishers
Author URI: https://vishavbooknewsetup.lovable.app
Description: Official hiring portal theme for Vishv Book Publishers - Work from home handwriting jobs.
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
Tags: one-page, custom-colors, responsive
*/

/* ===== CSS Variables ===== */
:root {
  --background: 220 30% 97%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 32 95% 55%;
  --secondary-foreground: 0 0% 100%;
  --muted: 220 20% 93%;
  --muted-foreground: 220 10% 42%;
  --accent: 217 80% 94%;
  --accent-foreground: 217 91% 40%;
  --border: 220 15% 88%;
  --ring: 217 91% 60%;
  --radius: 0.75rem;
  --gradient-primary: linear-gradient(135deg, hsl(217, 91%, 60%), hsl(250, 80%, 62%));
  --gradient-warm: linear-gradient(135deg, hsl(32, 95%, 55%), hsl(350, 85%, 55%));
  --gradient-hero: linear-gradient(160deg, hsl(220, 40%, 97%) 0%, hsl(230, 50%, 93%) 30%, hsl(250, 45%, 92%) 60%, hsl(217, 60%, 94%) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  --shadow-soft: 0 4px 24px -4px hsl(217 91% 60% / 0.12);
  --shadow-card: 0 8px 32px -8px hsl(222 47% 11% / 0.08);
  --shadow-card-hover: 0 16px 48px -12px hsl(217 91% 60% / 0.18);
  --shadow-glow: 0 0 40px -8px hsl(217 91% 60% / 0.3);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid hsl(var(--border)); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Utility Classes ===== */
.gradient-primary { background: var(--gradient-primary); }
.gradient-warm { background: var(--gradient-warm); }
.gradient-hero { background: var(--gradient-hero); }
.gradient-glass { background: var(--gradient-glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-card { box-shadow: var(--shadow-card); }
.shadow-card-hover { box-shadow: var(--shadow-card-hover); }
.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Animations ===== */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px -5px hsl(217 91% 60% / 0.3); }
  50% { box-shadow: 0 0 40px -5px hsl(217 91% 60% / 0.5); }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes pulseScale { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes bobble { 0%, 100% { transform: translateY(0) rotate(0deg); } 25% { transform: translateY(-12px) rotate(3deg); } 75% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes sendArrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, hsl(217 91% 60% / 0.4), transparent);
  top: -15%; right: -10%;
  opacity: 0.25;
  animation: float 12s ease-in-out infinite;
}
.hero-bg-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, hsl(250 80% 62% / 0.35), transparent);
  bottom: -10%; left: -10%;
  opacity: 0.2;
  animation: float 14s ease-in-out infinite reverse;
}
.hero-bg-orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, hsl(32 95% 55% / 0.3), transparent);
  top: 40%; left: 50%;
  opacity: 0.15;
  animation: float 10s ease-in-out infinite 1s;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}
.hero-logo-wrapper {
  animation: bobble 4s ease-in-out infinite;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.hero-logo {
  width: 110px; height: 110px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  animation: fadeInUp 0.6s ease-out 0.35s both;
}
.hero-badge {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid hsl(var(--border));
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  animation: fadeInUp 0.5s ease-out 0.45s both;
}
.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fadeInUp 0.6s ease-out 0.55s both;
}

/* ===== CTA Button ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-glow 2s ease-in-out infinite;
  border: none;
}
.cta-button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 50px -5px hsl(217 91% 60% / 0.5);
}
.cta-button:active { transform: scale(0.95); }
.cta-button .send-icon { animation: sendArrow 1.5s infinite; display: inline-flex; }
.cta-button .send-icon svg { width: 20px; height: 20px; }
.cta-apply-text {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Handwriting Section ===== */
.section { padding: 5rem 1.5rem; }
.section--muted { background: hsl(var(--muted) / 0.3); }
.section-inner { max-width: 48rem; margin: 0 auto; }
.section-inner--wide { max-width: 64rem; margin: 0 auto; }

.info-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid hsl(var(--border));
  transition: box-shadow 0.3s;
  animation: fadeInUp 0.6s ease-out both;
}
.info-card:hover { box-shadow: var(--shadow-card-hover); }
.info-card-inner { display: flex; align-items: flex-start; gap: 1rem; }
.info-card-icon {
  background: var(--gradient-primary);
  border-radius: 0.75rem;
  padding: 0.75rem;
  color: hsl(var(--primary-foreground));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card-icon svg { width: 24px; height: 24px; }
.info-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}
.info-card p { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.feature-item svg { width: 16px; height: 16px; color: hsl(var(--primary)); flex-shrink: 0; }

/* Advance Salary Banner */
.advance-banner {
  position: relative;
  overflow: hidden;
  background: var(--gradient-warm);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
  animation: scaleIn 0.6s ease-out 0.2s both;
}
.advance-banner .shimmer-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}
.advance-banner-content { position: relative; z-index: 1; }
.advance-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--secondary-foreground) / 0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--secondary-foreground));
}
.advance-banner-badge svg { width: 16px; height: 16px; }
.advance-banner h3 {
  font-size: 1.875rem;
  font-weight: 800;
  color: hsl(var(--secondary-foreground));
  margin-bottom: 0.5rem;
  animation: pulseScale 2s infinite;
}
.advance-banner p {
  color: hsl(var(--secondary-foreground) / 0.8);
  font-weight: 500;
}

/* ===== Pricing Section ===== */
.pricing-header { text-align: center; margin-bottom: 3rem; }
.pricing-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--accent));
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--accent-foreground));
  animation: pulseScale 2s infinite;
}
.pricing-tag svg { width: 16px; height: 16px; }
.pricing-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}
.pricing-subtitle { font-weight: 600; font-size: 1.125rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.plan-card {
  position: relative;
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.3s;
  animation: fadeInUp 0.5s ease-out both;
}
.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }
.plan-card:nth-child(4) { animation-delay: 0.4s; }
.plan-card:hover { transform: translateY(-12px) scale(1.04); box-shadow: var(--shadow-card-hover); }
.plan-card--popular { border-color: hsl(var(--primary)); box-shadow: var(--shadow-card-hover); outline: 2px solid hsl(var(--primary) / 0.2); }

.plan-popular-badge {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  animation: float 1.5s ease-in-out infinite;
}
.plan-popular-badge svg { width: 12px; height: 12px; }

.plan-id {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 1rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}
.plan-card--popular .plan-id { background: var(--gradient-primary); color: hsl(var(--primary-foreground)); }

.plan-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.plan-salary {
  font-size: 1.875rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}
.plan-details { margin-bottom: 1.5rem; }
.plan-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}
.plan-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.plan-dot--primary { background: var(--gradient-primary); }
.plan-dot--warm { background: var(--gradient-warm); }

.plan-fee {
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  transition: transform 0.2s;
}
.plan-fee:hover { transform: scale(1.05); }
.plan-card--popular .plan-fee { background: var(--gradient-primary); color: hsl(var(--primary-foreground)); }
.plan-fee-note { font-size: 0.75rem; opacity: 0.75; }

.pricing-footer {
  margin-top: 2.5rem;
  text-align: center;
}
.pricing-footer > p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}
.pricing-footer strong { color: hsl(var(--foreground)); }

.pricing-info-box {
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 42rem;
  margin: 0 auto 1rem;
  border: 1px solid hsl(var(--border));
}
.pricing-info-box p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.pricing-info-box .translation { font-size: 0.75rem; opacity: 0.7; margin-top: 0.25rem; }

/* ===== How It Works Section ===== */
.steps-header { text-align: center; margin-bottom: 3.5rem; }
.steps-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.steps-title { font-size: 1.875rem; font-weight: 800; color: hsl(var(--foreground)); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  position: relative;
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid hsl(var(--border));
  transition: transform 0.2s, box-shadow 0.3s;
  animation: fadeInUp 0.6s ease-out both;
  overflow: hidden;
}
.step-card:nth-child(1) { animation-delay: 0.15s; }
.step-card:nth-child(2) { animation-delay: 0.3s; }
.step-card:nth-child(3) { animation-delay: 0.45s; }
.step-card:nth-child(4) { animation-delay: 0.6s; }
.step-card:hover { transform: translateY(-10px) scale(1.03); box-shadow: var(--shadow-card-hover); }

.step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: hsl(var(--muted) / 0.5);
}
.step-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1.25rem;
  transition: transform 0.2s;
}
.step-icon:hover { transform: rotate(10deg) scale(1.1); }
.step-icon svg { width: 28px; height: 28px; }
.step-card h3 { font-size: 1.125rem; font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.step-accent {
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  border-radius: 9999px;
}

/* ===== Footer ===== */
.site-footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  border-top: 1px solid hsl(var(--border));
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
  .hero-subtitle { font-size: 1.5rem; }
  .advance-banner h3 { font-size: 2.25rem; }
  .pricing-title { font-size: 2.25rem; }
  .steps-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}
@media (max-width: 639px) {
  .features-grid { grid-template-columns: 1fr; }
}
