/* ==========================================================================
   Value.IO — vio-modern.css
   Pass 8 modernization overlay (2026-11-23). PRESENTATION ONLY: no copy edits.
   Loaded last on every page. Remove this one <link> to return to the Pass 6 look.
   Every value comes from css/vio-tokens.css.
   ========================================================================== */

/* ---------- 1. Global polish ---------- */
h1, h2, h3, .heading_three { text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: rgba(204, 36, 44, 0.18); }
html { scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--vio-red);
  outline-offset: 3px;
  border-radius: var(--vio-r-xs);
}

/* The old template title-cased body copy ("Card Data Stored Permanently Under...").
   Render the copy exactly as written. */
.text-transform-upper,
.text-transform-upper li,
.top-content .heading_three { text-transform: none !important; }

/* ---------- 2. Header: glass bar, hairline instead of a drop shadow ---------- */
/* Blur sits on a pseudo-element so the fixed mobile menu keeps its containing block. */
.main-head {
  background: transparent !important;
  box-shadow: 0 1px 0 var(--vio-hairline) !important;
}
.main-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  pointer-events: none;
}
.main-head.scrolled {
  box-shadow: 0 1px 0 var(--vio-hairline), 0 8px 24px rgba(35, 31, 32, 0.05) !important;
}
@media (min-width: 1025px) {
  .main-head .navbar-nav > li > a {
    position: relative;
    transition: color var(--vio-dur-2) var(--vio-ease);
  }
  .main-head .navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1px;
    background: var(--vio-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--vio-dur-2) var(--vio-ease);
  }
  .main-head .navbar-nav > li > a:hover { color: var(--vio-red); }
  .main-head .navbar-nav > li > a:hover::after { transform: scaleX(1); }
}

/* Ghost buttons on light surfaces had a border the same colour as the page. */
.cmn-btn.login-btn,
.cmn-btn[style*="background:transparent"][style*="#CC242C"] {
  border-color: rgba(204, 36, 44, 0.32) !important;
}
.cmn-btn.login-btn:hover,
.cmn-btn[style*="background:transparent"][style*="#CC242C"]:hover {
  background: var(--vio-tint-6) !important;
  border-color: var(--vio-red) !important;
  color: var(--vio-red) !important;
}

/* ---------- 3. Cards: one radius, hairline, left-aligned ---------- */
/* Replaces the 2019 "leaf" corner (0 75px) and the alternating pink fills. */
.key-features-column { display: flex; margin-bottom: var(--vio-s-5); }
.key-features-column:nth-child(2n) .key-features-card { background: var(--vio-surface) !important; }
.key-features-card {
  width: 100%;
  background: var(--vio-surface) !important;
  border-radius: var(--vio-r-xl) !important;
  box-shadow: var(--vio-shadow-1) !important;
  padding: 28px 26px 26px !important;
  text-align: left !important;
  transition: transform var(--vio-dur-2) var(--vio-ease), box-shadow var(--vio-dur-2) var(--vio-ease);
}
.key-features-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(35, 31, 32, 0.08), 0 0 0 1px var(--vio-tint-18) !important;
}
.key-features-card i {
  display: grid !important;
  place-items: center;
  width: 48px !important;
  height: 48px !important;
  margin: 0 0 18px !important;
  border-radius: var(--vio-r-md);
  background: var(--vio-tint-6);
}
.key-features-card i img { width: 30px !important; height: 30px !important; object-fit: contain; }
.key-features-card h3 {
  font-size: var(--vio-text-xl) !important;
  line-height: 1.25 !important;
  margin: 0 0 10px !important;
  text-align: left !important;
}
.key-features-card p {
  font-size: var(--vio-text-base) !important;
  line-height: 1.7 !important;
  color: var(--vio-body) !important;
  text-align: left !important;
  margin: 0 !important;
}

/* Six reasons: the number carries the card (the icon set here mixed two art styles). */
.five-reasons .key-features-card { padding: 30px 30px 30px !important; }
.five-reasons .key-features-card i { display: none !important; }
.five-reasons .reason-num {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--vio-font-mono) !important;
  font-size: var(--vio-text-sm) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  color: var(--vio-red) !important;
  margin-bottom: 22px !important;
}
.five-reasons .reason-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--vio-tint-18), rgba(204, 36, 44, 0));
}
.five-reasons .key-features-card h3 { font-size: 1.5rem !important; }

/* Other leaf-cornered blocks */
.instant-inner,
.cloud-advantage-inner-wraper,
.instant-what-item,
.benefits-left-inner {
  border-radius: var(--vio-r-xl) !important;
}
.instant-inner {
  box-shadow: 0 18px 48px rgba(35, 31, 32, 0.06), 0 0 0 1px var(--vio-hairline) !important;
}

/* ---------- 4. Home: "What Value.IO Does" ---------- */
.our-solution-inner-wpr { max-width: 1040px !important; }
.our-solution-inner-wpr > p { max-width: 780px; margin-left: auto; margin-right: auto; }
.our-solution-img { display: none !important; }   /* generic stock illustration; delete this line to restore */
.bullet-list {
  max-width: none !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--vio-s-4);
  margin-top: var(--vio-s-7) !important;
}
.bullet-list li,
.bullet-list li:last-child {
  background: var(--vio-surface);
  border: 1px solid var(--vio-hairline) !important;
  border-radius: var(--vio-r-lg);
  padding: 24px 26px 24px 62px !important;
  font-size: var(--vio-text-base) !important;
  line-height: 1.7 !important;
  color: var(--vio-body);
  transition: border-color var(--vio-dur-2) var(--vio-ease), box-shadow var(--vio-dur-2) var(--vio-ease);
}
.bullet-list li:hover { border-color: var(--vio-tint-18) !important; box-shadow: 0 8px 24px rgba(35, 31, 32, 0.05); }
.bullet-list li::before { left: 24px !important; top: 27px !important; width: 22px !important; height: 22px !important; background-size: 22px !important; }
.bullet-list li strong {
  display: block;
  font-family: var(--vio-font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--vio-ink);
  margin-bottom: 6px;
}
@media (max-width: 767px) {
  .bullet-list { grid-template-columns: 1fr; }
  .bullet-list li, .bullet-list li:last-child { padding: 20px 20px 20px 54px !important; }
  .bullet-list li::before { left: 18px !important; top: 23px !important; }
}

/* ---------- 5. Section surfaces: warm paper, not cool grey ---------- */
.five-reasons,
.risk-mitigation-wraper { background: var(--vio-paper) !important; }

.problem-section {
  background:
    radial-gradient(60% 90% at 50% 110%, rgba(204, 36, 44, 0.16) 0%, rgba(204, 36, 44, 0) 70%),
    var(--vio-ink) !important;
}

/* ---------- 6. Pricing strip: a real stat row ---------- */
.pricing-strip {
  background:
    radial-gradient(55% 80% at 50% -10%, rgba(204, 36, 44, 0.20) 0%, rgba(204, 36, 44, 0) 70%),
    var(--vio-ink) !important;
}
.pricing-items {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 !important;
  max-width: 940px;
  margin: 40px auto 44px !important;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--vio-r-xl);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.pricing-item { padding: 30px 14px 26px !important; text-align: center; }
.pricing-item + .pricing-item { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.pricing-item .price { font-size: clamp(2.125rem, 4vw, 3rem) !important; }
.pricing-item .label {
  font-family: var(--vio-font-mono);
  font-size: var(--vio-text-xs) !important;
  letter-spacing: 0.08em !important;
  margin-top: 12px !important;
}
@media (max-width: 767px) {
  .pricing-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-item + .pricing-item { border-left: 0; }
  .pricing-item:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, 0.08); }
  .pricing-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
}

/* ---------- 7. Closing CTA card (all pages) ---------- */
.get-started-with-us-inner {
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.10) 1px, rgba(255, 255, 255, 0) 1.5px) 0 0 / 22px 22px,
    radial-gradient(80% 130% at 88% -10%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(70% 110% at 0% 110%, rgba(122, 15, 20, 0.60) 0%, rgba(122, 15, 20, 0) 65%),
    var(--vio-red) !important;
  box-shadow: var(--vio-shadow-red) !important;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px) !important;
  overflow: hidden;
}

/* ---------- 8. Footer: the red band becomes the footer's lead line ---------- */
/* Before: a red CTA card stacked directly on a second full-width red band. */
.footer-top-sec {
  background: var(--vio-ink) !important;
  padding: 72px 0 8px !important;
}
.top-content .heading_three {
  font-size: clamp(1.5rem, 3vw, 2.125rem) !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}
.top-content::after {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin: 28px auto 0;
  background: var(--vio-rule);
}
.footer-main-wraper .footer-link a {
  transition: color var(--vio-dur-2) var(--vio-ease);
}
.footer-main-wraper .footer-link a:hover { color: var(--vio-red) !important; }

@media (prefers-reduced-motion: reduce) {
  .key-features-card, .bullet-list li, .main-head .navbar-nav > li > a::after { transition: none !important; }
  .key-features-card:hover { transform: none; }
}
