@charset "UTF-8";

/* ==========================================================================
   VYNQLO · VISUAL UPGRADE LAYER v2
   Loaded after all existing CSS — targeted polish for layout, depth, motion
   & modern usability. Zero DOM changes required.
   ========================================================================== */

/* ---------- 1. REFINED DARK MODE DEPTH & CONTRAST ---------- */

body.dark {
  /* Richer surface separation: lift cards further from canvas */
  --card: #1e1e1b;
  --subcard: #181816;
  --panel-strong: #1e1e1b;
  --surface: rgba(236, 233, 225, 0.052);
  --surface-hover: rgba(236, 233, 225, 0.09);
  --surface-active: rgba(236, 233, 225, 0.135);

  /* Warmer, more legible secondary text */
  --text-secondary: #cbc6ba;
  --muted: #9e9a90;
  --faint: #706c64;

  /* Slightly stronger rule visibility */
  --rule: #2e2d29;
  --line: #2e2d29;
  --line-strong: #42403a;

  /* Refined accent glow for dark mode */
  --accent-soft: rgba(224, 79, 34, 0.14);
  --accent-soft-hover: rgba(224, 79, 34, 0.24);
  --accent-light: rgba(224, 79, 34, 0.28);

  /* Better shadows for dark mode cards */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 1px rgba(0, 0, 0, 0.5);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(0, 0, 0, 0.35);

  /* Acquisition-specific dark tokens */
  --acq-band-bg: #1a1a17;
  --acq-subcard-bg: #242321;
  --acq-subcard-hover: #2d2c28;
  --acq-dark-card: #1f1f1c;
}

/* ---------- 2. HERO SECTION: TYPOGRAPHIC IMPACT ---------- */

/* Accent line: subtle gradient shimmer */
.acq-title .acq-accent {
  color: var(--signal) !important;
  background: linear-gradient(
    135deg,
    #e04f22 0%,
    #f06838 40%,
    #d84315 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

body:not(.dark) .acq-title .acq-accent {
  background: linear-gradient(
    135deg,
    #c73a0f 0%,
    #e04f22 40%,
    #d84315 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Bigger hero title for more impact */
.acq-title {
  font-size: clamp(32px, 3.6vw, 50px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.032em !important;
}

/* Lead text: slightly more breathing room */
.acq-lead {
  margin-top: 20px !important;
  font-size: clamp(15px, 1.1vw, 16.5px) !important;
  line-height: 1.72 !important;
  letter-spacing: -0.005em;
}

/* CTA: glow on hover in dark mode */
.acq-btn-primary {
  min-height: 50px !important;
  padding: 0 30px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 720 !important;
  letter-spacing: 0.005em;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 280ms ease,
    transform 160ms ease !important;
}

.acq-btn-primary:hover {
  transform: translateY(-1px);
}

body.dark .acq-btn-primary:hover {
  box-shadow:
    0 4px 20px rgba(224, 79, 34, 0.35),
    0 1px 6px rgba(224, 79, 34, 0.25) !important;
}

body:not(.dark) .acq-btn-primary:hover {
  box-shadow: 0 4px 16px rgba(216, 67, 21, 0.28) !important;
}

.acq-btn-primary:active {
  transform: translateY(0px) !important;
}

/* Ghost button: refined look */
.acq-btn-ghost {
  min-height: 50px !important;
  padding: 0 24px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 160ms ease !important;
}

.acq-btn-ghost:hover {
  transform: translateY(-1px);
}

/* Proof/trust bar: better alignment */
.acq-proof {
  margin-top: 22px !important;
  gap: 10px;
}

.acq-stars {
  color: #e67e22;
  font-size: 12px !important;
}

/* ---------- 3. FLOW CARDS (RIGHT VISUAL): MORE DEPTH ---------- */

.acq-flow-card {
  border-radius: 10px !important;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.acq-flow-card:hover {
  transform: translateY(-3px);
}

body.dark .acq-flow-card:hover {
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body:not(.dark) .acq-flow-card:hover {
  box-shadow: 0 18px 42px rgba(20, 19, 16, 0.12) !important;
}

/* Advisor live badge: pulse animation */
.acq-flow-advisor i {
  animation: advisorPulse 2.4s ease-in-out infinite !important;
}

@keyframes advisorPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.3); }
}

/* Flow metrics: better visual weight */
.acq-flow-metric strong {
  font-weight: 800 !important;
  color: var(--ink) !important;
}

/* Tags: refined pill styling */
.acq-flow-tags span {
  border-radius: 4px !important;
  font-weight: 650 !important;
  transition: background-color 150ms ease, color 150ms ease;
}

.acq-flow-tags span:hover {
  background: var(--accent-soft) !important;
  color: var(--signal) !important;
}

/* ---------- 4. BAND SECTION: TACTILE CARDS ---------- */

.acq-band {
  border-top: 1px solid var(--rule);
  transition: background-color 200ms ease;
}

.acq-col {
  transition:
    background-color 200ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease !important;
}

.acq-col:hover {
  transform: translateY(-2px);
}

body.dark .acq-col:hover {
  background: rgba(255, 87, 34, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body:not(.dark) .acq-col:hover {
  background: rgba(216, 67, 21, 0.06) !important;
  box-shadow: 0 4px 12px rgba(20, 19, 16, 0.06);
}

/* Column value: better weight */
.acq-col-val {
  font-weight: 780 !important;
  letter-spacing: -0.015em !important;
  transition: color 200ms ease !important;
}

.acq-col:hover .acq-col-val {
  color: var(--signal) !important;
}

/* Column label: arrow slide on hover */
.acq-col-lbl {
  transition: color 200ms ease, transform 200ms ease !important;
}

.acq-col:hover .acq-col-lbl {
  transform: translateX(2px);
}

/* ---------- 5. NAVIGATION POPOVERS: REFINED ---------- */

.acq-mega {
  border-radius: 8px !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.dark .acq-mega {
  background: color-mix(in srgb, var(--card) 94%, transparent) !important;
  border-color: color-mix(in srgb, var(--ink) 16%, transparent) !important;
}

.acq-pop-link {
  border-radius: 6px !important;
  padding: 10px 12px !important;
  transition: background-color 150ms ease, transform 150ms ease !important;
}

.acq-pop-link:hover {
  transform: translateX(2px);
}

/* ---------- 6. LOOKBOOK / SHOWCASE: ELEVATED FEEL ---------- */

/* Book spread: subtle depth */
.vyn-book-spread {
  transition: box-shadow 300ms ease;
}

/* Photo frame: refined interaction */
.vyn-frame-main {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease !important;
}

.vyn-frame-main:hover {
  transform: scale(1.02) !important;
}

body.dark .vyn-frame-main:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
}

/* Folio right panel: better card treatment */
.vyn-folio-title {
  letter-spacing: -0.015em;
}

.vyn-folio-kpis {
  gap: 10px !important;
}

.vyn-fb-kpi {
  transition: background-color 180ms ease, transform 200ms ease !important;
}

.vyn-fb-kpi:hover {
  transform: translateY(-1px);
}

body.dark .vyn-fb-kpi:hover {
  background: var(--surface-hover) !important;
}

/* Thumbnails strip: smoother scroll */
.vyn-fb-strip {
  scroll-behavior: smooth;
}

/* ---------- 7. HEADER: GLASSMORPHISM POLISH ---------- */

.site-header.acq-header {
  backdrop-filter: blur(14px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.4) !important;
}

body.dark .site-header.acq-header {
  background: color-mix(in srgb, var(--paper) 88%, transparent) !important;
  border-bottom-color: color-mix(in srgb, var(--ink) 12%, transparent) !important;
}

/* Cart button: subtle count badge animation */
.acq-cart-badge:not([hidden]) {
  animation: badgePop 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes badgePop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Cart pill: better hover */
.acq-cart-pill {
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease !important;
}

.acq-cart-pill:hover {
  transform: translateY(-1px);
}

/* ---------- 8. SUBPAGE CARDS (ACCOUNTS, SUITE, HOSTING) ---------- */

/* Product/tier cards on subpages */
.panel,
body.dark .panel {
  border-radius: 6px !important;
  transition:
    border-color 200ms ease,
    box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.panel:hover {
  transform: translateY(-2px);
}

body.dark .panel:hover {
  border-color: var(--line-strong) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35) !important;
}

body:not(.dark) .panel:hover {
  border-color: var(--line-strong) !important;
  box-shadow: 0 10px 28px rgba(20, 19, 16, 0.08) !important;
}

/* Primary buttons everywhere: unified glow hover */
.button.primary:hover:not(:disabled),
body.dark .button.primary:hover:not(:disabled) {
  box-shadow: 0 4px 16px rgba(224, 79, 34, 0.3) !important;
  transform: translateY(-1px) !important;
}

.button.primary:active:not(:disabled) {
  box-shadow: none !important;
  transform: translateY(0) !important;
}

/* Secondary buttons: refined hover */
.button.secondary:hover:not(:disabled) {
  transform: translateY(-1px) !important;
}

/* ---------- 9. DIALOGS: SMOOTHER ENTRANCE ---------- */

dialog[open] {
  animation: dialogEnter 280ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

@keyframes dialogEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

dialog::backdrop {
  animation: backdropFade 200ms ease both;
}

@keyframes backdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- 10. FOOTER: CLEANER TREATMENT ---------- */

.site-footer,
.acq-slim-footer {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.dark .site-footer,
body.dark .acq-slim-footer {
  background: color-mix(in srgb, var(--paper) 92%, transparent) !important;
}

.acq-slim-footer {
  min-height: 52px !important;
  padding: 14px var(--acq-pad, var(--frame-pad)) !important;
  font-size: 12.5px !important;
  gap: 10px 28px !important;
}

.acq-slim-links a,
.acq-slim-links button {
  transition: color 160ms ease !important;
  position: relative;
}

.acq-slim-links a:hover,
.acq-slim-links button:hover {
  color: var(--signal) !important;
}

/* ---------- 11. TOAST NOTIFICATIONS: SLIDE + FADE ---------- */

.toast:not([hidden]) {
  animation: toastSlide 280ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

@keyframes toastSlide {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 12. SCROLL PERFORMANCE ---------- */

/* GPU-accelerated elements for smooth scrolling */
.acq-flow-card,
.acq-col,
.acq-btn-primary,
.acq-btn-ghost,
.panel,
.media-card,
.trending-card {
  will-change: transform;
}

/* ---------- 13. SELECTION STYLING ---------- */

::selection {
  background: var(--signal) !important;
  color: #ffffff !important;
}

/* ---------- 14. ACCESSIBILITY: BETTER FOCUS RINGS ---------- */

*:focus-visible {
  outline: 2px solid var(--signal) !important;
  outline-offset: 3px !important;
}

.acq-btn-primary:focus-visible {
  outline-color: #ffffff !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(224, 79, 34, 0.4) !important;
}

/* ---------- 15. REDUCED MOTION RESPECT ---------- */

@media (prefers-reduced-motion: reduce) {
  .acq-flow-advisor i {
    animation: none !important;
  }

  .acq-cart-badge:not([hidden]) {
    animation: none !important;
  }

  .acq-flow-card:hover,
  .acq-col:hover,
  .acq-btn-primary:hover,
  .acq-btn-ghost:hover,
  .panel:hover,
  .vyn-frame-main:hover,
  .vyn-fb-kpi:hover {
    transform: none !important;
  }
}

/* ---------- 16. MOBILE-SPECIFIC IMPROVEMENTS ---------- */

@media (max-width: 1060px) {
  /* Better hero flow on tablet */
  .acq-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .acq-hero-visual {
    display: none !important;
  }

  .acq-hero {
    padding: clamp(28px, 5vh, 56px) var(--acq-pad) clamp(24px, 4vh, 44px) !important;
  }

  .acq-hero-inner {
    max-width: 640px !important;
  }

  /* Band section: 2x2 grid on tablet */
  .acq-band-inner,
  .acq-band-inner.cols-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
  }

  .acq-col {
    border-bottom: 1px solid var(--rule) !important;
  }

  .acq-col:nth-child(odd) {
    border-right: 1px solid var(--rule) !important;
  }
}

@media (max-width: 640px) {
  /* Mobile hero: more compact, punchier */
  .acq-title {
    font-size: clamp(26px, 7vw, 34px) !important;
    line-height: 1.16 !important;
  }

  .acq-lead {
    font-size: 14.5px !important;
    margin-top: 14px !important;
  }

  .acq-actions {
    margin-top: 20px !important;
    gap: 10px !important;
    flex-direction: column;
    align-items: stretch !important;
  }

  .acq-btn-primary,
  .acq-btn-ghost {
    min-height: 48px !important;
    justify-content: center !important;
  }

  /* Band section: single column on phone */
  .acq-band-inner,
  .acq-band-inner.cols-4 {
    grid-template-columns: 1fr !important;
  }

  .acq-col {
    padding: 14px var(--acq-pad, 16px) !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--rule) !important;
  }

  .acq-col:last-child {
    border-bottom: 0 !important;
  }

  /* Footer: stack on mobile */
  .acq-slim-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 16px var(--acq-pad, 16px) !important;
  }
}

/* ---------- 17. LIGHT MODE: WARMER REFINEMENTS ---------- */

body:not(.dark) {
  /* Slightly warmer light surfaces */
  --card: #fbfaf7;
  --subcard: #f5f3ec;
  --panel-strong: #fbfaf7;

  /* Better shadow rendering */
  --shadow-sm: 0 2px 8px rgba(20, 20, 19, 0.045);
  --shadow: 0 8px 24px rgba(20, 20, 19, 0.065);
  --shadow-lg: 0 16px 40px rgba(20, 20, 19, 0.095);

  /* Acquisition band refinement */
  --acq-band-bg: #e8e4d9;
  --acq-subcard-bg: #f5f3ea;
}

/* ---------- 18. SMOOTH PAGE VIEW TRANSITIONS ---------- */

.view-panel:not([hidden]) {
  animation: panelReveal 320ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

@keyframes panelReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 19. SCROLL INDICATOR ON HEADER (subtle bottom glow when scrolled) ---------- */

.site-header.acq-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body.dark .site-header.acq-header.is-scrolled {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}
