/*
Theme Name: Vishav Book Publication
Theme URI: https://vishavkrishana.lovable.app
Author: Vishav Book Publication
Description: A one-page, fully responsive landing theme for handwriting work-from-home businesses. Animated gradient hero, marquee trust bar, feature cards, 3-step process, pricing plans and a Telegram CTA. All content editable from Appearance > Customize.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: vishav
Tags: one-column, landing-page, custom-colors, responsive-layout
*/

:root {
  --radius: 1rem;
  --background: oklch(98% 0.008 80);
  --foreground: oklch(18% 0.03 270);
  --card: oklch(100% 0 0);
  --primary: oklch(24% 0.06 270);
  --primary-foreground: oklch(98% 0.01 80);
  --accent: oklch(78% 0.15 85);
  --accent-foreground: oklch(18% 0.03 270);
  --muted-foreground: oklch(45% 0.03 270);
  --border: oklch(90% 0.02 80);
  --c1: oklch(24% 0.06 270);
  --c2: oklch(42% 0.18 305);
  --c3: oklch(78% 0.15 85);
  --c4: oklch(68% 0.13 200);
  --gradient-accent: linear-gradient(135deg, var(--c3), oklch(68% 0.16 55));
  --gradient-rainbow: linear-gradient(135deg, var(--c1), var(--c2), var(--c3));
  --gradient-hero: linear-gradient(135deg, oklch(20% 0.05 270), oklch(28% 0.09 285), oklch(35% 0.14 305));
  --gradient-warm: linear-gradient(180deg, oklch(99% 0.008 80), oklch(96% 0.03 85));
  --shadow-soft: 0 10px 40px -10px oklch(24% 0.06 270 / 0.28);
  --shadow-glow: 0 20px 60px -20px oklch(78% 0.15 85 / 0.55);
  --shadow-color: 0 20px 60px -10px oklch(42% 0.18 305 / 0.45);
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vk-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.vk-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.vk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 28px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.vk-btn:hover {
  transform: scale(1.04);
}
.vk-btn--accent {
  background: var(--gradient-accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-glow);
}
.vk-btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.vk-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.vk-btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
}
.vk-btn--outline:hover,
.vk-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}
.vk-btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}
.vk-btn--block {
  width: 100%;
}
.vk-btn .vk-arrow {
  transition: transform 0.3s ease;
}
.vk-btn:hover .vk-arrow {
  transform: translateX(4px);
}
.vk-pulse {
  animation: vk-pulse-ring 2.6s ease-out infinite;
}

/* ---------- Header ---------- */
.vk-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.vk-header.is-solid {
  background: color-mix(in oklab, var(--background) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.vk-header__inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.vk-brand__mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--gradient-accent);
  color: var(--accent-foreground);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}
.vk-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}
.is-solid .vk-brand__name {
  color: var(--foreground);
}
.vk-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.vk-nav a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}
.is-solid .vk-nav a {
  color: var(--muted-foreground);
}
.vk-nav a:hover {
  color: var(--accent);
}
.vk-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vk-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
  place-items: center;
}
.is-solid .vk-burger {
  color: var(--foreground);
  border-color: var(--border);
}
.vk-mobile-nav {
  display: none;
  background: color-mix(in oklab, var(--background) 96%, transparent);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
}
.vk-mobile-nav.is-open {
  display: block;
}
.vk-mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}
.vk-mobile-nav a:last-child {
  border-bottom: 0;
}

/* ---------- Hero ---------- */
.vk-hero {
  position: relative;
  overflow: hidden;
  background-image: var(--gradient-hero);
  background-size: 200% 200%;
  animation: vk-gradient-shift 12s ease infinite;
}
.vk-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}
.vk-blob--1 {
  left: -100px;
  top: 40px;
  width: 290px;
  height: 290px;
  background: color-mix(in oklab, var(--c2) 40%, transparent);
  animation: vk-blob 14s ease-in-out infinite;
}
.vk-blob--2 {
  right: -80px;
  bottom: 0;
  width: 320px;
  height: 320px;
  background: color-mix(in oklab, var(--c3) 25%, transparent);
  animation: vk-blob 14s ease-in-out infinite 3s;
}
.vk-blob--3 {
  left: 45%;
  top: 30%;
  width: 260px;
  height: 260px;
  background: color-mix(in oklab, var(--c4) 20%, transparent);
  animation: vk-float-slow 9s ease-in-out infinite;
}
.vk-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 140px 0 110px;
}
.vk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.vk-badge .vk-icon {
  color: var(--accent);
  animation: vk-bounce-soft 2.4s ease-in-out infinite;
}
.vk-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  color: #fff;
  margin: 24px 0 0;
}
.vk-hero__title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}
.vk-gradient-text {
  background-image: var(--gradient-rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vk-gradient-accent-text {
  background-image: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vk-hero__lead {
  margin: 24px 0 0;
  max-width: 34rem;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
}
.vk-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.vk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.vk-stat {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 16px 18px;
}
.vk-stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
}
.vk-stat__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}
.vk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.vk-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.vk-hero__media {
  position: relative;
  animation: vk-float 6s ease-in-out infinite;
}
.vk-hero__media img {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-color);
  width: 100%;
  object-fit: cover;
}
.vk-paycard {
  position: absolute;
  left: 24px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: color-mix(in oklab, var(--background) 92%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  padding: 12px 16px;
}
.vk-paycard__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gradient-accent);
  color: var(--accent-foreground);
}
.vk-paycard__value,
.vk-paycard__label {
  display: block;
}
.vk-paycard__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.vk-paycard__label {
  font-size: 11px;
  color: var(--muted-foreground);
}

/* ---------- Marquee ---------- */
.vk-marquee {
  overflow: hidden;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.vk-marquee__track {
  display: flex;
  width: max-content;
  animation: vk-marquee 28s linear infinite;
}
.vk-marquee__group {
  display: flex;
  flex: 0 0 auto;
}
.vk-marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 38px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.vk-marquee__item .vk-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  fill: var(--accent);
}

/* ---------- Sections ---------- */
.vk-section {
  padding: 96px 0;
}
.vk-section--warm {
  background: var(--gradient-warm);
}
.vk-head {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
.vk-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.vk-head__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.15;
  margin: 16px 0 0;
}
.vk-head__sub {
  margin: 16px 0 0;
  color: var(--muted-foreground);
}

/* ---------- Features ---------- */
.vk-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.vk-feature {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vk-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.vk-feature__blob {
  position: absolute;
  right: -32px;
  top: -32px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  opacity: 0.25;
  transition: transform 0.5s ease;
}
.vk-feature:hover .vk-feature__blob {
  transform: scale(1.25);
}
.vk-feature__icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.vk-feature__icon .vk-icon {
  width: 24px;
  height: 24px;
}
.vk-feature h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin: 24px 0 0;
}
.vk-feature p {
  position: relative;
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--muted-foreground);
}

/* ---------- Steps ---------- */
.vk-step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 60px;
  line-height: 1;
}
.vk-step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 12px 0 0;
}
.vk-step p {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--muted-foreground);
}
.vk-center {
  text-align: center;
  margin-top: 56px;
}

/* ---------- Plans ---------- */
.vk-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 24px;
  margin-top: 64px;
}
.vk-plan {
  position: relative;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vk-plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}
.vk-plan--popular {
  border-color: transparent;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-color);
  margin-top: -24px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.vk-plan__tag {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 999px;
  background: var(--gradient-accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-glow);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vk-plan__name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.vk-plan--popular .vk-plan__name {
  color: rgba(255, 255, 255, 0.7);
}
.vk-plan__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-top: 16px;
}
.vk-plan__sub {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 4px;
}
.vk-plan--popular .vk-plan__sub {
  color: rgba(255, 255, 255, 0.7);
}
.vk-plan__list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.vk-plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--muted-foreground);
}
.vk-plan--popular .vk-plan__list li {
  color: rgba(255, 255, 255, 0.7);
}
.vk-plan__list .vk-icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--accent);
}
.vk-plan__list strong {
  color: var(--foreground);
  font-weight: 600;
}
.vk-plan--popular .vk-plan__list strong {
  color: #fff;
}
.vk-plan .vk-btn {
  margin-top: 32px;
}

/* ---------- CTA ---------- */
.vk-cta {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  text-align: center;
  padding: 88px 32px;
  background-image: var(--gradient-hero);
  background-size: 200% 200%;
  animation: vk-gradient-shift 12s ease infinite;
}
.vk-cta h2 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: #fff;
  margin: 0;
}
.vk-cta p {
  position: relative;
  max-width: 40rem;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.75);
}
.vk-cta .vk-btn {
  position: relative;
  margin-top: 36px;
}

/* ---------- Footer ---------- */
.vk-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted-foreground);
}

/* ---------- Reveal ---------- */
.vk-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.vk-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */
@keyframes vk-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes vk-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes vk-float-slow {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-22px) rotate(2deg);
  }
}
@keyframes vk-blob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -40px) scale(1.12);
  }
  66% {
    transform: translate(-25px, 25px) scale(0.92);
  }
}
@keyframes vk-gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes vk-bounce-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes vk-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 oklch(78% 0.15 85 / 0.55);
  }
  100% {
    box-shadow: 0 0 0 22px oklch(78% 0.15 85 / 0);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .vk-hero__grid {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 120px 0 90px;
  }
  .vk-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .vk-plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .vk-plan--popular {
    margin-top: 0;
  }
}

@media (max-width: 780px) {
  .vk-nav {
    display: none;
  }
  .vk-burger {
    display: grid;
  }
  .vk-brand__name {
    font-size: 15px;
    max-width: 42vw;
  }
  .vk-grid-3 {
    grid-template-columns: 1fr;
  }
  .vk-section {
    padding: 72px 0;
  }
  .vk-hero__grid {
    padding: 106px 0 80px;
  }
  .vk-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .vk-hero__cta .vk-btn {
    width: 100%;
  }
  .vk-hero__lead {
    font-size: 16px;
  }
  .vk-stats {
    gap: 10px;
  }
  .vk-stat {
    padding: 14px 12px;
  }
  .vk-stat__value {
    font-size: 20px;
  }
  .vk-stat__label {
    font-size: 11px;
  }
  .vk-paycard {
    left: 12px;
    padding: 10px 14px;
  }
  .vk-marquee__item {
    padding: 0 22px;
    font-size: 14px;
  }
  .vk-cta {
    padding: 60px 20px;
    border-radius: 24px;
  }
  .vk-feature,
  .vk-plan {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .vk-reveal {
    opacity: 1;
    transform: none;
  }
}
