/**
 * VectorDraw marketing site color system.
 * Mirrors the admin panel palette so public pages and admin screens feel consistent.
 */

:root {
  --admin-sidebar: #ffffff;
  --admin-sidebar-active: #1d4ed8;
  --admin-blue: #2563eb;
  --admin-blue-dark: #1d4ed8;
  --admin-blue-deep: #1e3a8a;
  --admin-blue-soft: #eff6ff;
  --admin-border: #dbe3ef;
  --admin-muted: #6b7280;
  --admin-page: #f3f6fb;
  --admin-panel: #ffffff;
  --admin-ink: #0f172a;
  --admin-text: #334155;
  --admin-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  --admin-shadow-hover: 0 16px 36px rgba(37, 99, 235, 0.10);
}

html,
body {
  background: var(--admin-page) !important;
}

body {
  color: var(--admin-text) !important;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.font-display {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.vd-paper {
  background-color: var(--admin-page) !important;
  background-image:
    linear-gradient(180deg, rgba(37, 99, 235, 0.07), rgba(37, 99, 235, 0) 280px),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 340px);
  background-attachment: fixed;
}

.vd-grain::before {
  content: none;
}

.vd-stack {
  position: relative;
  z-index: 1;
}

.vd-landing-hero {
  isolation: isolate;
  background: #eaf1fb;
}

.vd-landing-hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
}

.vd-landing-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.97) 0%, rgba(248, 250, 252, 0.90) 31%, rgba(248, 250, 252, 0.44) 58%, rgba(248, 250, 252, 0.10) 100%),
    linear-gradient(180deg, rgba(243, 246, 251, 0.78) 0%, rgba(243, 246, 251, 0.26) 45%, rgba(243, 246, 251, 0.92) 100%);
}

.vd-landing-hero h1 {
  max-width: 12ch;
}

.vd-landing-hero li {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 767px) {
  .vd-landing-hero-img {
    object-position: 58% center;
  }

  .vd-landing-hero-shade {
    background:
      linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.86) 48%, rgba(248, 250, 252, 0.96) 100%),
      linear-gradient(90deg, rgba(248, 250, 252, 0.82), rgba(248, 250, 252, 0.36));
  }

  .vd-landing-hero h1 {
    max-width: 11ch;
  }
}

.vd-hero-glow {
  position: absolute;
  width: min(56rem, 94vw);
  height: min(34rem, 86vw);
  left: 50%;
  top: 0;
  transform: translate(-50%, -42%);
  background:
    radial-gradient(circle at 44% 46%, rgba(37, 99, 235, 0.18) 0%, transparent 48%),
    radial-gradient(circle at 68% 40%, rgba(14, 165, 233, 0.14) 0%, transparent 44%);
  pointer-events: none;
  filter: blur(30px);
}

.text-stone-900,
.text-stone-800,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--admin-ink) !important;
}

.text-stone-700,
.text-stone-600 {
  color: var(--admin-text) !important;
}

.text-stone-500,
.text-stone-400 {
  color: var(--admin-muted) !important;
}

.text-teal-700,
.text-teal-800,
.text-teal-900,
.text-teal-600,
.text-teal-400,
.text-indigo-700,
.text-indigo-800,
.text-indigo-950 {
  color: var(--admin-blue) !important;
}

.text-orange-700,
.text-orange-600,
.text-orange-500,
.text-amber-700,
.text-amber-600 {
  color: #ea580c !important;
}

.bg-white,
.bg-white\/50,
.bg-white\/60,
.bg-white\/80 {
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bg-stone-50,
.bg-stone-100,
.bg-slate-50,
.bg-slate-100 {
  background-color: #f8fafc !important;
}

.bg-teal-50,
.bg-teal-50\/80,
.bg-teal-50\/90,
.bg-indigo-50,
.bg-indigo-50\/80 {
  background-color: var(--admin-blue-soft) !important;
}

.bg-orange-50,
.bg-amber-50 {
  background-color: #fff7ed !important;
}

.bg-gradient-to-b.from-white.to-stone-50,
.bg-gradient-to-b.from-stone-50.to-white,
.bg-gradient-to-br.from-stone-100.to-stone-50,
.bg-gradient-to-br.from-teal-50.to-white,
.bg-gradient-to-br.from-teal-50\/50.via-transparent.to-transparent {
  background-image: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

.border,
.border-stone-100,
.border-stone-200,
.border-stone-200\/80,
.border-stone-200\/90,
.border-stone-300,
.divide-stone-100 > :not([hidden]) ~ :not([hidden]),
.divide-stone-200 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--admin-border) !important;
}

.border-teal-200,
.border-teal-300\/70,
.border-teal-300\/90,
.ring-teal-100,
.ring-teal-200,
.border-indigo-200 {
  border-color: #bfdbfe !important;
  --tw-ring-color: #dbeafe !important;
}

.border-orange-200 {
  border-color: #fed7aa !important;
}

header {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid var(--admin-border) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#mobile-menu-panel {
  background-color: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid var(--admin-border) !important;
}

footer {
  background-color: var(--admin-panel) !important;
  border-top: 1px solid var(--admin-border) !important;
}

.bg-teal-600,
.bg-indigo-600 {
  background: var(--admin-blue) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.20);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bg-teal-600:hover,
.hover\:bg-teal-700:hover,
.bg-indigo-600:hover,
.hover\:bg-indigo-700:hover {
  background: var(--admin-blue-dark) !important;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
  transform: translateY(-1px);
}

.border-stone-300 {
  background-color: #ffffff !important;
  color: #334155 !important;
}

.border-stone-300:hover,
.hover\:border-stone-400:hover,
.hover\:border-teal-200:hover,
.hover\:border-orange-200:hover {
  border-color: #bfdbfe !important;
  background-color: var(--admin-blue-soft) !important;
  color: #1d4ed8 !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
}

article,
.rounded-2xl,
.rounded-3xl,
.rounded-xl {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

article:hover {
  border-color: #bfdbfe !important;
  background-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--admin-shadow-hover) !important;
}

article,
#cad-canvas-container,
.shadow-card {
  box-shadow: var(--admin-shadow) !important;
}

header a.group span.inline-flex {
  background: var(--admin-blue-soft) !important;
  border: 1px solid #bfdbfe !important;
  color: var(--admin-blue) !important;
  box-shadow: none !important;
}

header a.group:hover span.inline-flex {
  background: #dbeafe !important;
  border-color: #93c5fd !important;
  color: var(--admin-blue-dark) !important;
}

#cad-canvas-container {
  position: relative;
  background: #ffffff !important;
  border: 1px solid var(--admin-border);
  overflow: hidden;
}

#cad-canvas-container::before {
  content: "PORT_01 // 3D_VIEW";
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #64748b;
}

#cad-canvas-container::after {
  content: "STATUS: ACTIVE";
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--admin-blue);
}

#cad-canvas-container .bg-black\/40 {
  background:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    #f8fafc !important;
  background-size: 24px 24px;
  border-color: var(--admin-border) !important;
}

.shadow-\[0_0_8px_\#00f2fe\] {
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.45) !important;
}

.bg-orange-500,
.bg-amber-400\/90 {
  background-color: #f97316 !important;
}

.bg-teal-400,
.bg-teal-500,
.bg-emerald-400\/90 {
  background-color: var(--admin-blue) !important;
}

.bg-red-400\/90 {
  background-color: #ef4444 !important;
}

.kbd,
kbd {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: var(--admin-ink) !important;
}

input,
textarea,
select {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: var(--admin-ink) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #3b82f6 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px #dbeafe !important;
}

::placeholder {
  color: #94a3b8 !important;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ======================================================================
   ANIMATION KEYFRAMES
   ====================================================================== */

@keyframes vd-fade-up-kf {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes vd-fade-in-kf {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes vd-slide-left-kf {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes vd-slide-right-kf {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes vd-scale-up-kf {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes vd-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-12px) rotate(2deg); }
  50%      { transform: translateY(-6px) rotate(-1deg); }
  75%      { transform: translateY(-16px) rotate(1.5deg); }
}

@keyframes vd-float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(3deg); }
}

@keyframes vd-pulse-soft {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}

@keyframes vd-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes vd-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes vd-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes vd-grid-pulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.7; }
}

@keyframes vd-bounce-in {
  0%   { opacity: 0; transform: scale(0.3); }
  50%  { opacity: 1; transform: scale(1.05); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes vd-slide-down {
  from { opacity: 0; transform: translateY(-12px); max-height: 0; }
  to   { opacity: 1; transform: translateY(0); max-height: 600px; }
}

@keyframes vd-btt-appear {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes vd-check-draw {
  from { stroke-dashoffset: 24; }
  to   { stroke-dashoffset: 0; }
}

@keyframes vd-hero-orb {
  0%   { transform: translate(-50%, -42%) scale(1); opacity: 0.6; }
  33%  { transform: translate(-48%, -40%) scale(1.08); opacity: 0.8; }
  66%  { transform: translate(-52%, -44%) scale(0.95); opacity: 0.65; }
  100% { transform: translate(-50%, -42%) scale(1); opacity: 0.6; }
}

/* ======================================================================
   SCROLL ANIMATION CLASSES
   ====================================================================== */

.vd-animate {
  opacity: 0;
  will-change: opacity, transform;
}

.vd-animate.vd-fade-up {
  transform: translateY(28px);
}

.vd-animate.vd-fade-in {
  /* just opacity, no transform */
}

.vd-animate.vd-slide-left {
  transform: translateX(-40px);
}

.vd-animate.vd-slide-right {
  transform: translateX(40px);
}

.vd-animate.vd-scale-up {
  transform: scale(0.92);
}

/* Visible state */
.vd-animate.vd-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero sequence items */
.vd-hero-item {
  opacity: 0;
  transform: translateY(24px);
}

.vd-hero-item.vd-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reduced motion — skip all animations */
.vd-no-motion .vd-animate,
.vd-no-motion .vd-hero-item {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ======================================================================
   PAGE LOAD ANIMATION
   ====================================================================== */

body {
  animation: vd-fade-in-kf 0.5s ease-out;
}

/* ======================================================================
   HERO FLOATING SHAPES
   ====================================================================== */

.vd-hero-shapes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.vd-hero-shape {
  position: absolute;
  opacity: 0.12;
  color: var(--admin-blue);
}

.vd-hero-shape--1 {
  top: 15%;
  right: 8%;
  width: 80px;
  height: 80px;
  animation: vd-float 8s ease-in-out infinite;
}

.vd-hero-shape--2 {
  top: 60%;
  right: 18%;
  width: 50px;
  height: 50px;
  animation: vd-float-slow 12s ease-in-out infinite;
  animation-delay: -3s;
}

.vd-hero-shape--3 {
  top: 35%;
  right: 30%;
  width: 36px;
  height: 36px;
  animation: vd-float 10s ease-in-out infinite;
  animation-delay: -5s;
}

.vd-hero-shape--4 {
  bottom: 20%;
  right: 10%;
  width: 60px;
  height: 60px;
  animation: vd-float-slow 14s ease-in-out infinite;
  animation-delay: -2s;
}

/* Animated gradient orb behind hero text */
.vd-hero-glow {
  position: absolute;
  width: min(56rem, 94vw);
  height: min(34rem, 86vw);
  left: 50%;
  top: 0;
  transform: translate(-50%, -42%);
  background:
    radial-gradient(circle at 44% 46%, rgba(37, 99, 235, 0.18) 0%, transparent 48%),
    radial-gradient(circle at 68% 40%, rgba(14, 165, 233, 0.14) 0%, transparent 44%);
  pointer-events: none;
  filter: blur(30px);
  animation: vd-hero-orb 15s ease-in-out infinite;
}

/* Dot grid in hero background */
.vd-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: vd-grid-pulse 6s ease-in-out infinite;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, black, transparent);
}

/* ======================================================================
   HEADER COMPACT STATE (shrink on scroll)
   ====================================================================== */

header.fixed {
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              background-color 0.35s ease;
}

header.fixed.vd-header-compact {
  height: 52px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

header.fixed.vd-header-compact .mx-auto {
  height: 52px !important;
}

/* Active page nav indicator */
nav a.vd-nav-active {
  color: var(--admin-blue) !important;
  position: relative;
}

nav a.vd-nav-active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  background: var(--admin-blue);
  border-radius: 2px;
}

/* Logo SVG hover spin */
header a.group span.inline-flex svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header a.group:hover span.inline-flex svg {
  transform: rotate(90deg);
}

/* Mobile menu slide animation */
#mobile-menu-panel {
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobile-menu-panel.is-open {
  max-height: 400px;
  opacity: 1;
}

/* ======================================================================
   FAQ ACCORDION
   ====================================================================== */

.vd-faq-item {
  border-radius: 16px;
  border: 1px solid var(--admin-border);
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.vd-faq-item:hover {
  border-color: #bfdbfe;
}

.vd-faq-item.is-open {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.vd-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--admin-ink);
  cursor: pointer;
  text-align: left;
  line-height: 1.35;
}

.vd-faq-trigger:hover {
  color: var(--admin-blue);
}

.vd-faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--admin-muted);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.25s ease;
}

.vd-faq-item.is-open .vd-faq-chevron {
  transform: rotate(180deg);
  color: var(--admin-blue);
}

.vd-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vd-faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--admin-text);
}

/* ======================================================================
   PRICING TOGGLE
   ====================================================================== */

.vd-pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.vd-toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--admin-muted);
  cursor: pointer;
  transition: color 0.25s ease;
  user-select: none;
}

.vd-toggle-label.is-active {
  color: var(--admin-ink);
}

.vd-toggle-track {
  position: relative;
  width: 52px;
  height: 28px;
  background: #e2e8f0;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.vd-toggle-track.is-annual {
  background: var(--admin-blue);
}

.vd-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.vd-toggle-track.is-annual .vd-toggle-thumb {
  transform: translateX(24px);
}

.vd-save-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-4px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pricing card glow border on hover */
.vd-pricing-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vd-pricing-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0));
  z-index: -1;
  transition: background 0.4s ease;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.vd-pricing-card:hover::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(14, 165, 233, 0.5));
}

.vd-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

/* Popular badge shimmer */
.vd-popular-badge {
  background: linear-gradient(90deg, var(--admin-blue), #3b82f6, var(--admin-blue));
  background-size: 200% auto;
  animation: vd-shimmer 3s linear infinite;
}

/* ======================================================================
   GLASSMORPHISM UTILITY
   ====================================================================== */

.vd-glass {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

/* ======================================================================
   ADVANCED CARD HOVER
   ====================================================================== */

.vd-card-hover {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.vd-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.10);
  border-color: #bfdbfe !important;
}

/* ======================================================================
   BACK-TO-TOP BUTTON
   ====================================================================== */

.vd-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--admin-blue);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease;
}

.vd-back-to-top.vd-btt-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.vd-back-to-top:hover {
  background: var(--admin-blue-dark);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px) scale(1.05);
}

.vd-back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ======================================================================
   ABOUT PAGE TIMELINE CONNECTOR
   ====================================================================== */

.vd-timeline {
  position: relative;
}

.vd-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--admin-blue) 0%, #bfdbfe 100%);
  border-radius: 1px;
}

.vd-timeline-item {
  padding-left: 32px;
  position: relative;
}

.vd-timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--admin-blue);
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ======================================================================
   FORM ENHANCEMENTS
   ====================================================================== */

.vd-input-group {
  position: relative;
}

.vd-input-group input:focus + label,
.vd-input-group input:not(:placeholder-shown) + label,
.vd-input-group textarea:focus + label,
.vd-input-group textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px) scale(0.85);
  color: var(--admin-blue);
  background: #ffffff;
  padding: 0 4px;
}

.vd-input-group label {
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--admin-muted);
  font-size: 0.875rem;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.25s ease,
              font-size 0.25s ease;
  transform-origin: left center;
}

/* Focus glow ring */
input:focus,
textarea:focus,
select:focus {
  border-color: var(--admin-blue) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12),
              0 0 0 1px var(--admin-blue) !important;
}

/* Success check animation */
.vd-form-success {
  text-align: center;
  padding: 40px 20px;
}

.vd-form-success svg {
  width: 64px;
  height: 64px;
  color: #16a34a;
}

.vd-form-success svg circle {
  animation: vd-scale-up-kf 0.4s ease-out;
}

.vd-form-success svg path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: vd-check-draw 0.5s ease-out 0.3s forwards;
}

/* ======================================================================
   FEATURES PAGE — ALTERNATING SECTIONS
   ====================================================================== */

.vd-feature-left .vd-animate {
  transform: translateX(-40px);
  opacity: 0;
}

.vd-feature-right .vd-animate {
  transform: translateX(40px);
  opacity: 0;
}

.vd-feature-left .vd-animate.vd-visible,
.vd-feature-right .vd-animate.vd-visible {
  transform: translateX(0);
  opacity: 1;
}

/* Feature icon breathe animation */
.vd-icon-breathe {
  animation: vd-pulse-soft 3s ease-in-out infinite;
}

/* ======================================================================
   SOCIAL LINK HOVER
   ====================================================================== */

.vd-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--admin-border);
  color: var(--admin-muted);
  transition: all 0.25s ease;
}

.vd-social-link:hover {
  background: var(--admin-blue-soft);
  border-color: #bfdbfe;
  color: var(--admin-blue);
  transform: translateY(-2px);
}

.vd-social-link svg {
  width: 18px;
  height: 18px;
}
