/*
Theme Name: Vishv Book Publishers
Theme URI: https://vishavbook31031.lovable.app
Author: Vishv Book Publishers
Description: White glassmorphism theme with purple/pink animations and rain effects.
Version: 2.0
License: GNU General Public License v2
Text Domain: vishv-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: 260,85%,58%;
  --accent: 340,82%,55%;
  --foreground: 220,20%,15%;
  --muted: 220,10%,45%;
  --bg: #fff;
  --gradient-primary: linear-gradient(135deg, hsl(260,85%,58%), hsl(290,80%,55%));
  --gradient-accent: linear-gradient(135deg, hsl(340,82%,55%), hsl(20,90%,55%));
  --gradient-neon: linear-gradient(135deg, hsl(260,85%,58%), hsl(340,82%,55%), hsl(20,90%,55%));
  --gradient-hero: linear-gradient(160deg, hsl(240,30%,97%) 0%, hsl(260,40%,96%) 35%, hsl(300,30%,97%) 70%, hsl(220,30%,98%) 100%);
  --glow-primary: 0 0 20px hsla(260,85%,58%,0.35), 0 0 60px hsla(260,85%,58%,0.12);
  --glow-accent: 0 0 20px hsla(340,82%,55%,0.35), 0 0 60px hsla(340,82%,55%,0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg); color: hsl(var(--foreground)); overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }
a { text-decoration: none; color: inherit; }

/* Utility */
.text-gradient-primary { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-accent { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-neon { background: var(--gradient-neon); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-muted { color: hsl(var(--muted)); }

/* Glass */
.glass { background: hsla(0,0%,100%,0.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid hsla(220,20%,80%,0.5); box-shadow: 0 8px 32px rgba(100,100,140,0.1); }
.glass-neon { background: hsla(0,0%,100%,0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid hsla(260,85%,58%,0.12); box-shadow: var(--glow-primary); transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.glass-neon:hover { border-color: hsla(260,85%,58%,0.3); box-shadow: 0 0 30px hsla(260,85%,58%,0.25), 0 0 80px hsla(260,85%,58%,0.08); }
.glass-card { background: hsla(0,0%,100%,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid hsla(220,20%,88%,0.6); box-shadow: 0 4px 24px rgba(100,100,140,0.08); transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.glass-card:hover { background: hsla(0,0%,100%,0.85); box-shadow: 0 8px 40px rgba(100,100,140,0.15), var(--glow-primary); transform: translateY(-6px); border-color: hsla(260,85%,58%,0.2); }
.glass-strong { background: hsla(0,0%,100%,0.8); backdrop-filter: blur(24px); border: 1px solid hsla(260,85%,58%,0.12); box-shadow: 0 8px 32px rgba(100,100,140,0.1), inset 0 1px 0 hsla(0,0%,100%,0.8); }
.glass-accent { background: linear-gradient(135deg, hsla(340,82%,55%,0.08), hsla(20,90%,55%,0.06)); backdrop-filter: blur(16px); border: 1px solid hsla(340,82%,55%,0.15); box-shadow: 0 8px 32px rgba(220,60,100,0.08); }
.glass-dark { background: hsla(220,20%,96%,0.85); backdrop-filter: blur(20px); border: 1px solid hsla(220,20%,85%,0.5); box-shadow: 0 8px 32px rgba(100,100,140,0.08); }
.glow-border-primary { box-shadow: var(--glow-primary); border-color: hsla(260,85%,58%,0.25); }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 0 1rem 3rem; }
.section--narrow { max-width: 640px; margin: 0 auto; }
.section--mid { max-width: 900px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:640px){ .grid-2 { grid-template-columns: 1fr 1fr; } }
.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.inline-flex { display: inline-flex; align-items: center; justify-content: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.shrink-0 { flex-shrink: 0; }
.w-full { width: 100%; }

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-mono { font-family: 'Courier New', monospace; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-relaxed { line-height: 1.625; }
@media(min-width:768px){ .md-text-6xl { font-size: 3.75rem; } .md-text-xl { font-size: 1.25rem; } .md-text-3xl { font-size: 1.875rem; } .md-text-4xl { font-size: 2.25rem; } }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gradient-primary); color: #fff; font-weight: 700; padding: 1rem 3rem; border-radius: 9999px; font-size: 1.125rem; box-shadow: var(--glow-primary); transition: transform 0.3s; position: relative; overflow: hidden; }
.btn-primary:hover { transform: scale(1.05); }
.btn-primary .shine { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, hsla(260,85%,58%,0.08), transparent); background-size: 200% 100%; animation: glass-shine 3s ease-in-out infinite; }

/* Animations */
@keyframes float { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(30px,-30px) scale(1.05)} 66%{transform:translate(-20px,20px) scale(0.95)} }
@keyframes glass-shine { 0%{background-position:-200% center} 100%{background-position:200% center} }
@keyframes glow-pulse { 0%,100%{opacity:0.5;filter:blur(40px)} 50%{opacity:0.9;filter:blur(50px)} }
@keyframes slide-up { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes rotate-slow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes border-glow { 0%,100%{border-color:hsla(260,85%,58%,0.1)} 50%{border-color:hsla(260,85%,58%,0.3)} }
@keyframes neon-flicker { 0%,19%,21%,23%,25%,54%,56%,100%{opacity:1} 20%,24%,55%{opacity:0.7} }
@keyframes color-shift { 0%{filter:hue-rotate(0deg)} 50%{filter:hue-rotate(40deg)} 100%{filter:hue-rotate(0deg)} }
@keyframes blob { 0%,100%{border-radius:60% 40% 30% 70%/60% 30% 70% 40%} 50%{border-radius:30% 60% 70% 40%/50% 60% 30% 60%} }

.animate-float-1 { animation: float 8s ease-in-out infinite; }
.animate-float-2 { animation: float 10s ease-in-out infinite 1s; }
.animate-float-3 { animation: float 12s ease-in-out infinite 2s; }
.animate-glow-pulse { animation: glow-pulse 4s ease-in-out infinite; }
.animate-slide-up { animation: slide-up 0.6s ease-out both; }
.animate-rotate-slow { animation: rotate-slow 20s linear infinite; }
.animate-border-glow { animation: border-glow 3s ease-in-out infinite; }
.animate-neon-flicker { animation: neon-flicker 3s ease-in-out infinite; }
.animate-color-shift { animation: color-shift 6s ease-in-out infinite; }
.animate-blob { animation: blob 7s ease-in-out infinite; }
.animate-glass-shine { background: linear-gradient(90deg, transparent, hsla(260,85%,58%,0.06), transparent); background-size: 200% 100%; animation: glass-shine 3s ease-in-out infinite; }

/* Background */
.bg-canvas { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.bg-canvas__hero { position: absolute; inset: 0; background: var(--gradient-hero); }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.bg-orb--1 { top: -10%; left: -5%; width: 500px; height: 500px; background: hsla(260,85%,58%,0.1); }
.bg-orb--2 { top: 30%; right: -10%; width: 400px; height: 400px; background: hsla(340,82%,55%,0.12); }
.bg-orb--3 { bottom: -10%; left: 20%; width: 600px; height: 600px; background: hsla(260,85%,58%,0.08); }
.bg-orb--4 { top: 50%; left: 60%; width: 300px; height: 300px; background: hsla(340,82%,55%,0.08); }
.bg-grid { position: absolute; inset: 0; opacity: 0.03; background-image: linear-gradient(hsla(260,85%,58%,0.3) 1px, transparent 1px), linear-gradient(90deg, hsla(260,85%,58%,0.3) 1px, transparent 1px); background-size: 60px 60px; }

/* Hero */
.hero { position: relative; padding: 4rem 1rem 2.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__ring { position: absolute; top: 2rem; left: 50%; transform: translateX(-50%); border-radius: 50%; border: 1px solid hsla(260,85%,58%,0.15); }
.hero__ring--1 { width: 160px; height: 160px; }
.hero__ring--2 { width: 192px; height: 192px; border-color: hsla(340,82%,55%,0.1); animation-direction: reverse; animation-duration: 30s; }
.hero__logo-wrap { position: relative; margin-bottom: 2rem; }
.hero__logo-halo { position: absolute; inset: 0; border-radius: 50%; background: hsla(260,85%,58%,0.2); filter: blur(48px); transform: scale(2); }
.hero__logo-glass { border-radius: 50%; padding: 1.25rem; }
.hero__logo { width: 80px; height: 80px; filter: drop-shadow(0 0 15px hsla(260,85%,58%,0.4)); }

/* Pricing badge */
.badge-popular { position: absolute; top: 0; right: 1rem; border-radius: 0 0 0.5rem 0.5rem; padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 700; color: #fff; background: var(--gradient-accent); box-shadow: var(--glow-accent); display: flex; align-items: center; gap: 0.25rem; }

/* Number badge */
.num-badge { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; font-weight: 700; font-size: 1.25rem; font-family: var(--font-heading); color: hsl(var(--primary)); }

/* Terminal */
.terminal { font-family: 'Courier New', monospace; font-size: 0.75rem; }
.terminal__line { color: hsl(155,60%,35%); }
.terminal__tag { color: hsl(var(--primary)); filter: drop-shadow(0 0 4px hsla(260,85%,58%,0.3)); }
.terminal__time { color: hsl(var(--muted)); }
.terminal__cursor { display: inline-block; width: 0.5rem; height: 1rem; background: hsl(var(--primary)); border-radius: 2px; animation: pulse 1s infinite; }
.terminal__status-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: hsl(155,70%,45%); box-shadow: 0 0 8px hsla(155,70%,50%,0.5); animation: pulse 2s infinite; }
.terminal__status-text { font-size: 0.75rem; font-family: 'Courier New', monospace; color: hsl(155,60%,35%); font-weight: 600; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
