/* ==============================================
   VIPA Corp - Global Styles
   Brand: Structural Engineering Software
   ============================================== */

/* ---- CSS Custom Properties ---- */
:root {
  --vipa-primary: #0F172A;
  /* Deeper navy */
  --vipa-primary-dark: #020617;
  --vipa-secondary: #1E293B;
  /* Slate gray */
  --vipa-secondary-dark: #0F172A;
  --vipa-accent: #FF2A54;
  /* Vibrant pink/red for contrast */
  --vipa-accent-light: #FF5A7D;
  --vipa-info: #0EA5E9;
  /* Bright vibrant cyan/blue */
  --vipa-success: #10B981;
  /* Refreshing green */
  --vipa-warning: #F59E0B;
  --vipa-error: #EF4444;
  --vipa-bg: #0B1120;
  /* Very dark rich background */
  --vipa-surface: #151F32;
  /* Slightly lighter card backgrounds */
  --vipa-text: #F8FAFC;
  /* Off-white text for dark mode */
  --vipa-text-secondary: #CBD5E1;
  /* Lighter slate gray for secondary text on dark bg */
  --vipa-border: #334155;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px -5px rgba(255, 42, 84, 0.5);
  /* Accent glow */

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --container-max: 1200px;
  --nav-height: 72px;
  /* Slightly taller for breathing room */
}

/* ---- Modern Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  /* Normalize base size */
}

body {
  font-family: var(--font-sans);
  color: var(--vipa-text);
  background-color: var(--vipa-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

/* ---- Animations ---- */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 15px rgba(187, 23, 54, 0.3);
  }

  50% {
    box-shadow: 0 0 30px rgba(187, 23, 54, 0.7);
  }

  100% {
    box-shadow: 0 0 15px rgba(187, 23, 54, 0.3);
  }
}

@keyframes blobMotion {
  0% {
    transform: scale(1) translate(0, 0);
  }

  33% {
    transform: scale(1.1) translate(30px, -50px);
  }

  66% {
    transform: scale(0.9) translate(-20px, 20px);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

@keyframes zoomInUp {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--vipa-info);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--vipa-accent-light);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  color: var(--vipa-text);
  font-weight: 800;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--vipa-text-secondary);
  line-height: 1.8;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  /* Increased for breathing room */
  position: relative;
  overflow: hidden;
}

.section--bg {
  background-color: var(--vipa-surface);
  /* Swapped for contrast against body background */
}

.section--white {
  background-color: var(--vipa-bg);
  /* Using very dark background */
}

.section--dark {
  background: linear-gradient(180deg, #020617 0%, #0F172A 100%);
  color: #fff;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- Grid ---- */
.grid {
  display: grid;
  gap: 2.5rem;
  /* Increased gap */
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---- Flexbox utilities ---- */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 2rem;
}

/* ---- Text utilities ---- */
.text-center {
  text-align: center;
}

.text-white {
  color: #F8FAFC !important;
}

.text-primary {
  color: var(--vipa-info) !important;
  /* Stand out in dark mode */
}

.text-accent {
  color: var(--vipa-accent) !important;
}

.text-secondary-color {
  color: var(--vipa-text-secondary) !important;
}

.text-success {
  color: var(--vipa-success) !important;
}

.font-bold {
  font-weight: 700;
}

.font-black {
  font-weight: 900;
}



.subtitle {
  font-size: 1.125rem;
  color: var(--vipa-text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

.divider-accent {
  width: 80px;
  /* Wider and modern */
  height: 4px;
  background: linear-gradient(90deg, var(--vipa-accent), var(--vipa-info));
  /* Gradient divider */
  border-radius: 2px;
  margin: 1.5rem auto 0;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(11, 17, 32, 0.7);
  /* Deep dark glass */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(11, 17, 32, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  transition: transform 0.3s;
}

.navbar__logo:hover {
  transform: scale(1.05);
}

.navbar__logo img {
  height: 38px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar__links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s;
  text-decoration: none;
  position: relative;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, var(--vipa-accent), var(--vipa-info));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language Selector */
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-selector__btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}

.lang-selector__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.lang-selector__btn svg {
  width: 16px;
  height: 16px;
}

.notice {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--vipa-surface);
  border-left: 4px solid var(--vipa-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.notice--info {
  border-left-color: var(--vipa-info);
  background: rgba(14, 165, 233, 0.1);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--vipa-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 100;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: none;
  background: none;
  color: var(--vipa-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  transition: all 0.2s;
}

.lang-dropdown button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--vipa-text);
  padding-left: 1.5rem;
}

.lang-dropdown button.active {
  color: var(--vipa-accent);
  font-weight: 700;
  background: rgba(255, 42, 84, 0.1);
  border-left: 3px solid var(--vipa-accent);
}

/* Mobile hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.navbar__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.5px;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: linear-gradient(135deg, var(--vipa-info), var(--vipa-accent));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 168, 204, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 168, 204, 0.5);
  color: #fff;
}

.btn--accent {
  background: linear-gradient(135deg, var(--vipa-accent), var(--vipa-accent-light));
  color: #fff;
  box-shadow: var(--shadow-glow);
  animation: pulseGlow 3s infinite ease-in-out;
}

.btn--accent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px 2px rgba(255, 42, 84, 0.7);
  color: #fff;
  animation: none;
}

.btn--outline-white {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn--outline {
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid var(--vipa-info);
  color: var(--vipa-info);
}

.btn--outline:hover {
  background: rgba(14, 165, 233, 0.1);
  color: #fff;
  border-color: var(--vipa-info);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
}

.btn--white {
  background: #fff;
  color: var(--vipa-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
  background: #f8fafc;
  color: var(--vipa-info);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn--success {
  background: var(--vipa-success);
  color: #fff;
}

.btn--success:hover {
  background: #047857;
  color: #fff;
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn--block {
  width: 100%;
}

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--vipa-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card__body {
  padding: 2rem;
}

.card__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--vipa-bg);
}

/* Feature Card */
.feature-card {
  background: rgba(21, 31, 50, 0.85);
  /* Glassmorphism Base */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 42, 84, 0.3);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #BB1736 0%, #880E4F 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(187, 23, 54, 0.25);
  transition: transform 0.3s ease;
  color: #fff;
  font-size: 1.5rem;
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9375rem;
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .card__img-wrap {
  position: relative;
  overflow: hidden;
}

.product-card .card__img-wrap img {
  transition: transform 0.4s ease;
}

.product-card:hover .card__img-wrap img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--vipa-accent);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card__badge--new {
  background: var(--vipa-secondary);
}

.product-card__content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__category {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--vipa-text-secondary);
  margin-bottom: 0.5rem;
}

.product-card__content h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.product-card__content p {
  flex: 1;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(248, 250, 252, 0.85);
  /* Legible on dark surfaces */
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--vipa-border);
  padding-top: 1.25rem;
  margin-top: auto;
}

.product-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--vipa-text);
}

/* Stat Card */
.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(21, 31, 50, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 42, 84, 0.3);
}

.stat-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: rgba(255, 42, 84, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--vipa-accent);
  transition: all 0.3s;
}

.stat-card:hover .stat-card__icon {
  background: rgba(187, 23, 54, 0.1);
  transform: scale(1.1);
}

.stat-card__value {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--vipa-text);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
}

.stat-card__suffix {
  color: var(--vipa-accent);
  font-size: 1.5rem;
}

.stat-card__label {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--vipa-text-secondary);
  margin-top: 0.5rem;
}

/* =============================================
   HERO SECTIONS
   ============================================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(11, 23, 39, 0.85), rgba(15, 23, 42, 0.75)),
    var(--vipa-secondary) center/cover no-repeat;
}

/* Animated Background Blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.5;
  animation: blobMotion 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-blob-1 {
  width: 450px;
  height: 450px;
  background: var(--vipa-accent);
  top: -100px;
  right: -50px;
}

.hero-blob-2 {
  width: 350px;
  height: 350px;
  background: var(--vipa-info);
  bottom: -50px;
  left: 10%;
  animation-duration: 25s;
  animation-direction: alternate-reverse;
}

.hero--short {
  min-height: 400px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: rgba(11, 23, 39, 0.5);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 2rem 0;
}

.hero__content--left {
  text-align: left;
  max-width: 700px;
  margin: 0;
}

.cursor-torch {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle closest-side, rgba(255, 42, 84, 0.15) 0%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: transform 0.1s ease-out;
}

.hero__glass {
  background: rgba(11, 23, 39, 0.45);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.05);
  animation: float 6s ease-in-out infinite;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ---- Gradient Text & Continuous Animation ---- */
.gradient-text {
  background: linear-gradient(90deg, #bb1736, #ff4b72, #00A8CC, #bb1736);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
  display: inline-block;
}

@keyframes shine {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ---- Cursor Torch Effect ---- */
.cursor-torch {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  box-shadow: 0 0 400px 100px rgba(187, 23, 54, 0.4);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0;
  mix-blend-mode: screen;
}

.hero:hover .cursor-torch {
  opacity: 1;
}

/* ---- Component Styles ---- */
.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__content--left .hero__actions {
  justify-content: flex-start;
}

/* Hero badges */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
}

.badge--accent {
  background: var(--vipa-accent);
  color: #fff;
}

.badge--outline-white {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* =============================================
   PRICING
   ============================================= */
.pricing-card {
  background: var(--vipa-surface);
  border: 1px solid var(--vipa-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--featured {
  border-color: var(--vipa-primary);
  box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.3), 0 20px 50px -10px rgba(44, 62, 80, 0.2);
  position: relative;
  overflow: visible;
}

.pricing-card__badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vipa-accent);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.375rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(187, 23, 54, 0.4);
}



.pricing-card__label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--vipa-text-secondary);
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 2rem;
}

.pricing-card__price span {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--vipa-text-secondary);
}

.pricing-card__save {
  display: inline-block;
  background: #ecfdf5;
  color: var(--vipa-success);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.pricing-card__features {
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--vipa-text);
}

.pricing-card__features li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--vipa-success);
}

.pricing-card--featured .pricing-card__features li svg {
  color: var(--vipa-accent);
}

.pricing-card--featured .pricing-card__features li {
  font-weight: 700;
  color: #fff;
}

/* =============================================
   FAQ / Accordion
   ============================================= */
.faq-item {
  border: 1px solid var(--vipa-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--vipa-surface);
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: rgba(44, 62, 80, 0.2);
}

.faq-item__question {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-item__question:hover {
  background: rgba(0, 0, 0, 0.02);
}

.faq-item__question svg {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-item__question svg {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--vipa-text-secondary);
}

/* =============================================
   SPECS TABLE
   ============================================= */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--vipa-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-table tr:not(:last-child) {
  border-bottom: 1px solid var(--vipa-border);
}

.specs-table tr:not(:last-child) td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table td {
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: #fff;
  width: 35%;
  background: rgba(255, 255, 255, 0.02);
}

.specs-table td:last-child {
  color: var(--vipa-text-secondary);
}

.specs-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* =============================================
   TRUST / WHY SECTION
   ============================================= */
.trust-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--vipa-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.trust-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.15);
}

.trust-stat__value {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}

.trust-stat__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--vipa-text-secondary);
}

/* =============================================
   INTEGRATION LOGOS
   ============================================= */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 1rem 0;
}

.logo-strip img {
  height: 40px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(40%);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}

.logo-strip img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.1);
}

/* =============================================
   ZIG-ZAG FEATURES
   ============================================= */
.zigzag {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.zigzag__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.zigzag__row--reverse {
  direction: rtl;
}

.zigzag__row--reverse>* {
  direction: ltr;
}

.zigzag__img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.zigzag__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.zigzag__img:hover img {
  transform: scale(1.03);
}

.zigzag__text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.zigzag__text p {
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--vipa-secondary);
  color: #fff;
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s;
  text-decoration: none;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer__links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  margin-left: 1.5rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__bottom a:hover {
  color: #fff;
}

/* =============================================
   KEYFRAMES & DYNAMIC ANIMATIONS
   ============================================= */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 25px -5px rgba(255, 42, 84, 0.5);
  }

  50% {
    box-shadow: 0 0 45px 5px rgba(255, 42, 84, 0.8);
  }

  100% {
    box-shadow: 0 0 25px -5px rgba(255, 42, 84, 0.5);
  }
}

@keyframes blobMotion {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    transform: translate(0, 0) scale(1);
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
  }
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.fade-up {
  transform: translateY(30px);
}

.animate-on-scroll.fade-right {
  transform: translateX(-30px);
}

.animate-on-scroll.fade-left {
  transform: translateX(30px);
}

.animate-on-scroll.zoom-in {
  transform: scale(0.95);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   TERMS PAGE
   ============================================= */
.legal-content h2 {
  margin-bottom: 1.5rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content strong {
  color: var(--vipa-text);
}

.legal-content a {
  color: var(--vipa-info);
  font-weight: 700;
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--vipa-border);
  margin: 3rem 0;
}

/* =============================================
   STUDENT NOTICE
   ============================================= */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid;
}

.notice--info {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--vipa-info);
}

.notice--warning {
  background: rgba(255, 42, 84, 0.15);
  border-color: var(--vipa-warning);
}

.notice__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.notice h4 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  color: #fff;
}

.notice p {
  font-size: 0.9375rem;
  margin: 0;
  color: var(--vipa-text-secondary);
}

/* =============================================
   PAGE TOP SPACER (for fixed nav)
   ============================================= */
.page-top {
  padding-top: var(--nav-height);
}

/* =============================================
   RESPONSIVE: TABLET & MOBILE
   ============================================= */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .zigzag__row {
    gap: 2rem;
  }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  .section {
    padding: 3rem 0;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  /* Navbar mobile */
  .navbar__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--vipa-secondary-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar__links a {
    padding: 0.875rem 1rem;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .navbar__hamburger {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    min-height: 70vh;
  }

  .hero__glass {
    padding: 2rem 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__content--left .hero__actions {
    align-items: stretch;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__content--left {
    text-align: center;
  }

  .hero__content--left .hero__badges {
    justify-content: center;
  }

  /* Zigzag mobile */
  .zigzag__row,
  .zigzag__row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .zigzag__img img {
    height: 280px;
  }

  /* Pricing mobile */
  .pricing-grid {
    flex-direction: column;
  }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer__bottom a {
    margin-left: 0;
    margin: 0 0.5rem;
  }

  /* Stat grid mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Specs table mobile */
  .specs-table td:first-child {
    width: auto;
  }

  /* Logo strip mobile */
  .logo-strip {
    gap: 1.5rem;
  }

  .logo-strip img {
    height: 28px;
  }
}

/* Small mobile: < 480px */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }

  .hero__glass {
    padding: 1.5rem 1rem;
  }
}

/* ---- Print ---- */
@media print {

  .navbar,
  .footer {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}