/* ==============================================================================
   VINASTECH DESIGN SYSTEM — GLOBAL STYLES & ENHANCED VISUAL EFFECTS
   ============================================================================== */

@import url('vst-tokens.css');
@import url('vst-cinematic-tokens.css');
@import url('vst-header.css');
@import url('vst-cinematic-layout.css');
@import url('vst-cinematic-components.css');
@import url('vst-demo-modal.css');
@import url('vst-typographic.css');

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

ul, ol {
  list-style: none;
}

html {
  font-family: var(--font-body, 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: #0f172a;
  background-color: #ffffff;
  line-height: 1.65;
  font-size: 17px; /* Increased base typography */
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  background-color: #ffffff !important;
  font-size: 1.05rem;
}

main {
  flex: 1;
}

/* TYPOGRAPHY ENHANCEMENTS */
h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em !important;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #334155;
}

/* GRADIENT TEXT EFFECT ACCENT */
.vst-gradient-text,
.vst-text-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* BRAND PARTNER & FEATURE CARD ENHANCED HOVER EFFECTS */
.vst-brand-card,
[class*="vst-card"],
.vst-solution-card,
.vst-product-card {
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease, border-color 240ms ease !important;
}

.vst-brand-card:hover,
[class*="vst-card"]:hover,
.vst-solution-card:hover,
.vst-product-card:hover {
  transform: translateY(-7px) scale(1.01) !important;
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.2) !important;
  border-color: #2563eb !important;
}

.vst-brand-card svg {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* BUTTON PULSE / GLOW EFFECT */
.vst-btn-primary,
.vst-btn-editorial {
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}

.vst-btn-primary:hover,
.vst-btn-editorial:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5) !important;
}

/* BRAND LOGO INFINITE HORIZONTAL MARQUEE ANIMATION */
.vst-brand-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.vst-brand-marquee-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: vstMarquee 32s linear infinite;
  align-items: center;
}

.vst-brand-marquee-track:hover {
  animation-play-state: paused;
}

.vst-brand-marquee-item {
  flex-shrink: 0;
  width: 270px !important;
  height: 125px !important;
  padding: 1.75rem 1.5rem !important;
}

.vst-brand-marquee-item img {
  max-height: 62px !important;
  max-width: 90% !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

@keyframes vstMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
