/*
Theme Name: Vishv Publishers
Theme URI: https://vishavbook0806.lovable.app
Author: Vishv Publishers
Author URI: https://vishavbook0806.lovable.app
Description: A high-converting landing page theme for Vishv Publishers - India's trusted handwriting work platform. Earn from home with handwriting work.
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-publishers
Tags: landing-page, business, one-page, responsive
*/

:root {
  --background: #ffffff;
  --foreground: #0b1020;
  --muted-foreground: #5b6478;
  --brand: #1d4ed8;
  --brand-2: #06b6d4;
  --brand-soft: #eaf1ff;
  --border: #e6e9f0;
  --card: #ffffff;
  --shadow: 0 20px 45px -20px rgba(15, 30, 80, 0.25);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.text-gradient-brand {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-brand {
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px -10px rgba(29, 78, 216, .6);
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -10px rgba(29, 78, 216, .7); }
.btn-outline {
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(29, 78, 216, .2);
}
.btn-outline:hover { transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-logo { font-size: 1.2rem; font-weight: 800; }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { color: var(--muted-foreground); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--brand); }
.nav-cta { padding: 10px 20px; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { position: relative; isolation: isolate; padding: 80px 0 110px; text-align: center; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: .25; }
.blob-1 { top: -100px; left: -100px; width: 380px; height: 380px; background: var(--brand); }
.blob-2 { top: 160px; right: -100px; width: 440px; height: 440px; background: var(--brand-2); }
.blob-3 { bottom: 0; left: 33%; width: 280px; height: 280px; background: var(--brand-soft); }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(29,78,216,.2); background: var(--brand-soft);
  color: var(--brand); padding: 8px 18px; border-radius: 999px;
  font-weight: 600; font-size: .9rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.05; margin-top: 22px; letter-spacing: -.02em; }
.hero p { max-width: 620px; margin: 22px auto 0; color: var(--muted-foreground); font-size: 1.15rem; }
.hero-cta { margin-top: 34px; }
.hero-img-wrap { position: relative; max-width: 560px; margin: 56px auto 0; }
.hero-img-wrap img { border-radius: 24px; box-shadow: var(--shadow); }
.hero-tag {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  background: #fff; padding: 10px 22px; border-radius: 999px;
  font-weight: 700; box-shadow: var(--shadow); font-size: .95rem;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 760px; margin: 70px auto 0; }
.stat { text-align: center; }
.stat .num { font-size: 2rem; font-weight: 800; }
.stat .num.text-gradient-brand { font-size: 2rem; }
.stat .label { color: var(--muted-foreground); font-size: .95rem; }
.trust-line { text-align: center; margin-top: 34px; color: var(--muted-foreground); font-weight: 600; }

/* Sections */
.section { padding: 90px 0; }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.section-sub { text-align: center; color: var(--muted-foreground); max-width: 600px; margin: 16px auto 0; }
.bg-soft { background: linear-gradient(180deg, #f7faff, #ffffff); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); font-size: 1.5rem; margin-bottom: 18px;
}
.feature h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--muted-foreground); font-size: .98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; }
.step { text-align: center; }
.step .step-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.step .step-img img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.step .step-num {
  position: absolute; top: 14px; left: 14px; width: 40px; height: 40px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step h3 { font-size: 1.2rem; font-weight: 700; margin: 20px 0 8px; }
.step p { color: var(--muted-foreground); font-size: .98rem; }
.steps-cta { text-align: center; margin-top: 50px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; position: relative; display: flex; flex-direction: column;
}
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: scale(1.03); }
.plan .pop-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff;
  padding: 6px 18px; border-radius: 999px; font-size: .8rem; font-weight: 700;
}
.plan .plan-name { color: var(--muted-foreground); font-weight: 600; }
.plan .price { font-size: 2.6rem; font-weight: 800; margin: 8px 0 2px; }
.plan .price-label { color: var(--muted-foreground); font-size: .95rem; }
.plan ul { list-style: none; margin: 24px 0; flex: 1; }
.plan li { padding: 8px 0; display: flex; gap: 10px; align-items: center; }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.plan .deposit { background: var(--brand-soft); border-radius: 12px; padding: 12px; text-align: center; margin-bottom: 20px; }
.plan .deposit small { color: var(--muted-foreground); display: block; }
.plan .deposit strong { font-size: 1.4rem; }
.plan .btn { justify-content: center; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.testimonial {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; gap: 20px; align-items: center;
}
.testimonial img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial .quote { font-style: italic; color: var(--foreground); }
.testimonial .who { margin-top: 12px; font-weight: 700; color: var(--brand); }

/* CTA */
.cta-final { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; text-align: center; }
.cta-final .section-title, .cta-final p { color: #fff; }
.cta-final p { opacity: .9; max-width: 540px; margin: 16px auto 0; }
.cta-final .btn-white { background: #fff; color: var(--brand); margin-top: 32px; }
.cta-final .btn-white:hover { transform: translateY(-2px); }

/* Footer */
.site-footer { background: #0b1020; color: #aeb6c8; padding: 50px 0; text-align: center; }
.site-footer .site-logo { color: #fff; }
.site-footer p { margin-top: 12px; font-size: .9rem; }

/* Responsive */
@media (max-width: 900px) {
  .features, .steps, .plans { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .plan.popular { transform: none; }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .testimonial { flex-direction: column; text-align: center; }
}
