/* ============================================================
   VOLZIX SUITE - VIP MASTER STYLESHEET
   Author: Volzix Suite Platform
   Version: 2.0 VIP
   ============================================================ */

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

/* ============================================================ 
   ROOT VARIABLES
   ============================================================ */
:root {
  --p1: #7c3aed;
  --p2: #6d28d9;
  --p3: #4c1d95;
  --accent: #f59e0b;
  --accent2: #06b6d4;
  --success: #10b981;
  --danger: #ef4444;
  --white: #ffffff;
  --bg: #f8f5ff;
  --surface: #ffffff;
  --border: rgba(124, 58, 237, 0.12);
  --text: #1e1b4b;
  --muted: #6b7280;
  --light: #f3f0ff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(124,58,237,0.08);
  --shadow-lg: 0 20px 60px rgba(124,58,237,0.12);
  --shadow-xl: 0 30px 80px rgba(124,58,237,0.18);
  --gradient: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
  --glass: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.6);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* ============================================================ 
   RESET
   ============================================================ */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ============================================================ 
   BACKGROUND FX
   ============================================================ */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  animation: orb-float 8s ease-in-out infinite alternate;
}
.bg-orb.orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c3aed, transparent);
  top: -100px; left: -100px;
}
.bg-orb.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #f59e0b, transparent);
  bottom: 10%; right: -100px;
  animation-delay: -4s;
}
.bg-orb.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #06b6d4, transparent);
  top: 50%; left: 50%;
  animation-delay: -2s;
}
@keyframes orb-float {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,-30px) scale(1.05); }
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248,245,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--p1);
}
.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}
.nav-logo span { color: var(--text); }
.nav-logo em {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  display: block;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--p1); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--p1);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--light);
  border-color: var(--p1);
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124,58,237,0.4);
}
.btn-gold {
  background: var(--gradient-warm);
  color: white;
  box-shadow: 0 4px 15px rgba(245,158,11,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11,0.4);
}
.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}
.btn-xl {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 16px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 5% 4rem;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 50px;
  padding: 6px 16px 6px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--p1);
  margin-bottom: 2rem;
  animation: badge-glow 2s ease-in-out infinite alternate;
}
.hero-badge .badge-dot {
  width: 22px; height: 22px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: white;
}
@keyframes badge-glow {
  0% { box-shadow: 0 0 0 rgba(124,58,237,0); }
  100% { box-shadow: 0 0 20px rgba(124,58,237,0.15); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-title .grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .gold-text {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--p1);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

.hero-visual {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 580px;
  z-index: 1;
}

/* Floating Tool Cards in Hero */
.hero-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  animation: hero-float 6s ease-in-out infinite alternate;
}
@keyframes hero-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}
.hero-mini-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
}
.hero-mini-card:hover { transform: scale(1.03); }
.hero-mini-card .card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.icon-purple { background: rgba(124,58,237,0.12); color: var(--p1); }
.icon-gold { background: rgba(245,158,11,0.12); color: var(--accent); }
.icon-teal { background: rgba(6,182,212,0.12); color: var(--accent2); }
.icon-green { background: rgba(16,185,129,0.12); color: var(--success); }
.hero-mini-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-mini-card p {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}
.hero-mini-card.featured {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 14px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--p1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 6rem 5%; position: relative; z-index: 1; }

/* ============================================================
   TOOLS GRID
   ============================================================ */
.tools-container { max-width: 1200px; margin: 0 auto; }

.tools-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'Inter', sans-serif;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(124,58,237,0.25);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.tool-card:hover::before { transform: scaleX(1); }
.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124,58,237,0.2);
}
.tool-card.locked {
  opacity: 0.85;
}

.tool-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.tool-card:hover .tool-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.tool-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}
.tool-card p {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 0;
  flex: 1;
  line-height: 1.6;
}
.tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.tool-usage {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-free { background: rgba(16,185,129,0.1); color: var(--success); }
.badge-pro { background: rgba(124,58,237,0.1); color: var(--p1); }
.badge-elite {
  background: var(--gradient-warm);
  color: white;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-wrapper { max-width: 1100px; margin: 0 auto; }

.currency-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--gradient);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}
.toggle-switch.pkr::after { transform: translateX(24px); }
.currency-label { color: var(--muted); }
.currency-label.active { color: var(--p1); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.plan-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}
.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.plan-card.popular {
  border-color: var(--p1);
  background: linear-gradient(180deg, rgba(124,58,237,0.04), white 30%);
  transform: translateY(-10px);
}
.plan-card.popular:hover {
  transform: translateY(-15px);
}
.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}

.plan-tier {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.plan-price {
  margin-bottom: 0.5rem;
}
.price-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.price-cur {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--muted);
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}
.price-period {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}
.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text);
}
.plan-features-list li .fi {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.8rem;
}
.fi-check { color: var(--success); }
.fi-cross { color: var(--muted); opacity: 0.4; }
.plan-cta { width: 100%; text-align: center; }

/* Payment Icons */
.payment-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.pay-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text);
  transition: all 0.2s;
}
.pay-chip.jc { background: rgba(245, 158, 11, 0.08); color: #d97706; border-color: rgba(245, 158, 11, 0.2); }
.pay-chip.ep { background: rgba(16, 185, 129, 0.08); color: #059669; border-color: rgba(16, 185, 129, 0.2); }
.pay-chip.bp { background: rgba(245, 158, 11, 0.15); color: #b45309; border-color: rgba(245, 158, 11, 0.3); }


/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(124,58,237,0.08);
  color: var(--p1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 5rem;
  text-align: center;
  margin: 0 5% 6rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: cta-pulse 4s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.cta-section .btn {
  position: relative;
  background: white;
  color: var(--p1);
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.cta-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 4rem 5% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.footer-brand .nav-logo { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.3px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
}
@media (max-width: 768px) {
  .tools-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .cta-section { padding: 3rem 2rem; }
  .cta-section h2 { font-size: 2rem; }
  .hero-title { font-size: 2.2rem; }
}
