/* VigoroX main stylesheet - v0.3.0 (premium header + mega menu) */
:root {
  --vx-max-width: 1200px;
  --vx-color-text: #1a1a1a;
  --vx-color-bg: #ffffff;
  --vx-color-accent: #2563eb;
  --vx-color-border: #e5e7eb;
  --vx-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--vx-font-body); color: var(--vx-color-text); background: var(--vx-color-bg); line-height: 1.6; }
.site-content { max-width: 100%; margin: 0; padding: 0; }

/* ===== Premium Header ===== */
.site-header { background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(15,23,42,0.07); }
.vx-header-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; flex: 0 0 auto; }
.site-title { margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.site-title a { color: #0f172a; text-decoration: none; }
.custom-logo { max-height: 44px; width: auto; }

.vx-nav { display: flex; align-items: center; gap: 28px; }
.vx-menu { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.vx-menu > li { position: relative; }
.vx-menu > li > a { display: flex; align-items: center; gap: 5px; padding: 10px 16px; border-radius: 8px; text-decoration: none; color: #334155; font-weight: 550; font-size: 15px; transition: all .15s ease; }
.vx-menu > li > a:hover { color: #0f172a; background: rgba(15,23,42,0.04); }
.vx-caret { font-size: 10px; opacity: .6; transition: transform .2s ease; }
.vx-has-mega:hover .vx-caret { transform: rotate(180deg); }

.vx-header-cta { display: inline-flex; align-items: center; padding: 10px 22px; background: var(--vx-color-accent); color: #fff !important; text-decoration: none; border-radius: 9px; font-weight: 600; font-size: 15px; box-shadow: 0 4px 14px rgba(37,99,235,0.35); transition: all .18s ease; }
.vx-header-cta:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.45); }

/* ===== Mega Panel ===== */
.vx-mega-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 720px; max-width: 92vw; background: #fff; border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px; box-shadow: 0 24px 60px rgba(15,23,42,0.18); padding: 22px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 1000;
}
.vx-mega-panel::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.vx-has-mega:hover .vx-mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.vx-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vx-mega-card { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: 12px; text-decoration: none; transition: background .15s ease; }
.vx-mega-card:hover { background: #f8fafc; }
.vx-mega-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.vx-mega-text { display: flex; flex-direction: column; }
.vx-mega-title { font-weight: 650; color: #0f172a; font-size: 15px; line-height: 1.3; }
.vx-mega-desc { font-size: 13px; color: #64748b; margin-top: 2px; }
.vx-mega-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid #eef2f7; }
.vx-mega-foot span { font-size: 13.5px; color: #64748b; }
.vx-mega-allbtn { font-size: 14px; font-weight: 600; color: var(--vx-color-accent); text-decoration: none; }
.vx-mega-allbtn:hover { color: #1d4ed8; }

/* ===== Mobile ===== */
.vx-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.vx-menu-toggle-bar { display: block; width: 24px; height: 2px; background: #0f172a; transition: .25s; border-radius: 2px; }
.vx-menu-toggle[aria-expanded="true"] .vx-menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vx-menu-toggle[aria-expanded="true"] .vx-menu-toggle-bar:nth-child(2) { opacity: 0; }
.vx-menu-toggle[aria-expanded="true"] .vx-menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .vx-menu-toggle { display: flex; }
  .vx-nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--vx-color-border); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 20px; display: none; box-shadow: 0 20px 40px rgba(15,23,42,0.12); }
  .vx-nav.vx-open { display: flex; }
  .vx-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .vx-menu > li > a { padding: 14px 8px; border-bottom: 1px solid #f1f5f9; border-radius: 0; }
  .vx-mega-panel { position: static; transform: none; width: 100%; max-width: 100%; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 6px 0 6px 12px; }
  .vx-mega-grid { grid-template-columns: 1fr; }
  .vx-mega-foot { display: none; }
  .vx-header-cta { margin-top: 12px; text-align: center; justify-content: center; }
  .vx-caret { display: none; }
}

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--vx-color-border); margin-top: 0; background: #0f172a; }
.vx-footer-widgets { max-width: var(--vx-max-width); margin: 0 auto; padding: 3rem 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; color: #cbd5e1; }
.vx-footer-bottom { max-width: var(--vx-max-width); margin: 0 auto; padding: 1.5rem 1rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: #94a3b8; }
.footer-navigation ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.footer-navigation a { color: #94a3b8; text-decoration: none; }
.footer-navigation a:hover { color: #fff; }

.vigorox-full-width { max-width: 100%; padding: 0; }
.vigorox-elementor-canvas { margin: 0; padding: 0; }
.entry-title a { color: var(--vx-color-text); text-decoration: none; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem; z-index: 1000; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }