/*
Theme Name: Lavion
Theme URI: https://example.com/lavion
Author: Adam / ChatGPT
Description: Dark, futuristic WooCommerce-ready theme for Lavion peptides.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lavion
*/

:root {
  --lavion-bg: #0a0a0a;
  --lavion-surface: #111115;
  --lavion-surface-soft: #181820;
  --lavion-accent: #7F00FF;
  --lavion-accent-soft: rgba(127, 0, 255, 0.3);
  --lavion-accent-soft2: rgba(127, 0, 255, 0.15);
  --lavion-text: #f2f2ff;
  --lavion-muted: #9a9ab5;
  --lavion-border: rgba(255, 255, 255, 0.06);
  --lavion-radius-lg: 28px;
  --lavion-radius-md: 18px;
  --lavion-radius-pill: 999px;
  --lavion-shadow-soft: 0 24px 80px rgba(0,0,0,0.85);
  --lavion-shadow-glow: 0 0 26px rgba(127,0,255,0.65);
  --lavion-shadow-glow-soft: 0 0 60px rgba(127,0,255,0.35);
}

/* Base */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #181827 0, #050509 50%, #000000 100%);
  color: var(--lavion-text);
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */

.lavion-page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lavion-site-main {
  flex: 1;
}

.lavion-container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* Header */

.lavion-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(127,0,255,0.28), transparent 55%),
              linear-gradient(to bottom, rgba(10,10,10,0.98), rgba(10,10,10,0.92));
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.lavion-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.lavion-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lavion-logo-mark {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: 3px solid var(--lavion-accent);
  position: relative;
  box-shadow: 0 0 22px rgba(127,0,255,0.7);
}

.lavion-logo-mark::before {
  content: "";
  position: absolute;
  inset: 50%;
  width: 3px;
  height: 125%;
  background: var(--lavion-bg);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 999px;
  opacity: 0.9;
}

.lavion-nav {
  display: flex;
  gap: 22px;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--lavion-muted);
}

.lavion-nav a {
  position: relative;
  padding-block: 2px;
}

.lavion-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lavion-accent), #ff00e5);
  transition: width 0.18s ease-out;
}

.lavion-nav a:hover::after {
  width: 100%;
}

.lavion-header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */

.lavion-btn {
  --btn-bg: var(--lavion-accent);
  --btn-color: #ffffff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--lavion-radius-pill);
  border: 1px solid transparent;
  background: radial-gradient(circle at top left, #bf3bff 0, var(--lavion-accent) 45%, #3f00ff 100%);
  color: var(--btn-color);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 22px rgba(127,0,255,0.55);
  transition: box-shadow 0.22s ease-out, transform 0.22s ease-out, background 0.22s ease-out;
  cursor: pointer;
}

.lavion-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(255,255,255,0.22), transparent 55%);
  opacity: 0.0;
  transition: opacity 0.22s ease-out;
  pointer-events: none;
}

.lavion-btn span.icon {
  font-size: 1.1em;
}

.lavion-btn:hover {
  transform: translateY(-1px) translateZ(0) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(127,0,255,0.7),
    0 0 40px rgba(127,0,255,0.9);
}

.lavion-btn:hover::before {
  opacity: 1;
}

.lavion-btn--ghost {
  background: rgba(15,15,22,0.8);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
  color: var(--lavion-text);
}

.lavion-btn--ghost:hover {
  background: radial-gradient(circle at top left, rgba(127,0,255,0.45), rgba(15,15,25,0.9));
  box-shadow:
    0 0 0 1px rgba(127,0,255,0.45),
    0 0 33px rgba(127,0,255,0.6);
}

/* Hero Section */

.lavion-hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
}

.lavion-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(127,0,255,0.35), transparent 58%),
    radial-gradient(circle at bottom right, rgba(127,0,255,0.18), transparent 55%);
  opacity: 0.9;
  z-index: -2;
}

.lavion-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 52px;
}

.lavion-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--lavion-radius-pill);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(90deg, rgba(18,18,32,0.95), rgba(18,18,40,0.8));
  color: var(--lavion-muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.lavion-hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lavion-accent), #ff00e5);
  box-shadow: 0 0 10px rgba(127,0,255,0.8);
}

.lavion-hero-title {
  margin: 16px 0 8px;
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.lavion-hero-title span.accent {
  background: linear-gradient(90deg, #e2d9ff, #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.lavion-hero-subtitle {
  margin: 0 0 24px;
  max-width: 480px;
  font-size: 0.9rem;
  color: var(--lavion-muted);
  text-transform: none;
  letter-spacing: 0.04em;
}

.lavion-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 26px;
  font-size: 0.7rem;
  color: var(--lavion-muted);
}

.lavion-hero-meta span.badge {
  padding: 5px 12px;
  border-radius: var(--lavion-radius-pill);
  background: rgba(12,12,20,0.8);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Hero Media / Bottle */

.lavion-hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lavion-hero-orbit {
  position: absolute;
  inset: auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.12), transparent 55%),
    radial-gradient(circle at bottom, rgba(127,0,255,0.35), transparent 60%);
  filter: blur(0.2px);
  opacity: 0.95;
  box-shadow: var(--lavion-shadow-glow-soft);
}

.lavion-bottle-shell {
  position: relative;
  width: 210px;
  aspect-ratio: 5 / 11;
  border-radius: 28px;
  padding: 18px 14px;
  background: radial-gradient(circle at top, #1f1f2f 0, #050508 70%);
  box-shadow:
    0 18px 60px rgba(0,0,0,0.85),
    0 0 42px rgba(127,0,255,0.65);
  border: 1px solid rgba(255,255,255,0.1);
  animation: bottleFloat 4.4s ease-in-out infinite;
}

.lavion-bottle-cap {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 32px;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, #fdfbff, #c9c0ff);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.7),
    0 0 18px rgba(127,0,255,0.4);
}

.lavion-bottle-inner {
  position: relative;
  inset: 0;
  border-radius: 22px;
  padding: 18px 14px;
  background: radial-gradient(circle at 20% 0, rgba(255,255,255,0.22), transparent 40%), radial-gradient(circle at 100% 100%, rgba(127,0,255,0.35), #050507 65%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lavion-bottle-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.lavion-bottle-logo-mark {
  width: 22px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid var(--lavion-accent);
}

.lavion-bottle-tier {
  padding: 3px 10px;
  border-radius: var(--lavion-radius-pill);
  background: rgba(10,10,22,0.85);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

.lavion-bottle-name {
  margin-top: 22px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.lavion-bottle-notes {
  margin-top: 10px;
  font-size: 0.62rem;
  color: var(--lavion-muted);
  letter-spacing: 0.08em;
}

.lavion-bottle-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
  font-size: 0.62rem;
}

.lavion-bottle-dose {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lavion-bottle-dose span.label {
  font-size: 0.62rem;
  color: var(--lavion-muted);
}

.lavion-bottle-dose span.value {
  font-size: 0.72rem;
}

.lavion-bottle-price {
  font-size: 0.78rem;
}

.lavion-bottle-price span.symbol {
  font-size: 0.7em;
  opacity: 0.7;
}

/* Bottle Float Keyframes */

@keyframes bottleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(-1.2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Product Grid Section */

.lavion-section {
  padding: 40px 0 80px;
}

.lavion-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
}

.lavion-section-title {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--lavion-muted);
}

.lavion-section-title strong {
  display: block;
  font-size: 1.1rem;
  color: var(--lavion-text);
}

/* Product Card – used on front page + WooCommerce archive */

.lavion-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.lavion-product-card {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: var(--lavion-radius-md);
  background: radial-gradient(circle at top left, rgba(127,0,255,0.25), rgba(10,10,20,1) 55%);
  border: 1px solid var(--lavion-border);
  box-shadow: 0 18px 50px rgba(0,0,0,0.85);
  overflow: hidden;
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s ease-out;
}

.lavion-product-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(127,0,255,0.85), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(127,0,255,0.32), transparent 65%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.22s ease-out;
  pointer-events: none;
}

.lavion-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127,0,255,0.6);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.9),
    0 0 35px rgba(127,0,255,0.6);
}

.lavion-product-card:hover::before {
  opacity: 0.55;
}

.lavion-product-thumb-wrap {
  position: relative;
  margin-bottom: 16px;
}

.lavion-product-thumb {
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at top, #22223b, #050509);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lavion-product-thumb img {
  width: 76%;
  filter: drop-shadow(0 14px 35px rgba(0,0,0,0.9));
}

.lavion-product-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--lavion-radius-pill);
  background: rgba(4,4,12,0.85);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.55rem;
  text-transform: uppercase;
}

.lavion-product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lavion-product-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.lavion-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.7rem;
  color: var(--lavion-muted);
}

.lavion-product-price {
  font-size: 0.86rem;
  color: var(--lavion-text);
}

.lavion-product-pill {
  padding: 4px 10px;
  border-radius: var(--lavion-radius-pill);
  background: rgba(13,13,22,0.88);
  border: 1px solid rgba(255,255,255,0.08);
}

.lavion-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.lavion-product-footer .lavion-btn {
  padding-inline: 18px;
  font-size: 0.64rem;
}

.lavion-product-footer .lavion-product-dosage {
  font-size: 0.66rem;
  color: var(--lavion-muted);
}

/* WooCommerce basic alignment with card */

.woocommerce ul.products,
.woocommerce-page ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 0;
}

.woocommerce ul.products li.product .button {
  display: none !important; /* we use custom CTA inside card */
}

/* Footer */

.lavion-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0 32px;
  font-size: 0.7rem;
  color: var(--lavion-muted);
}

.lavion-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 900px) {
  .lavion-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lavion-hero-media {
    order: -1;
  }
  .lavion-header-inner {
    gap: 16px;
  }
  .lavion-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .lavion-hero {
    padding-top: 52px;
  }
  .lavion-hero-title {
    letter-spacing: 0.14em;
  }
  .lavion-section {
    padding-bottom: 64px;
  }
}


/* Floating product image (no shell) */
.lavion-hero-product-float{
  width: min(280px, 62vw);
  height: auto;
  display: block;
  position: relative;
  z-index: 2;

  /* make it pop on dark bg */
  filter:
    drop-shadow(0 24px 60px rgba(0,0,0,0.85))
    drop-shadow(0 0 38px rgba(127,0,255,0.55));

  /* smooth bounce/hover */
  animation: lavionFloat 4.4s ease-in-out infinite;
  will-change: transform;
}

@keyframes lavionFloat{
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-14px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* =========================================
   ADD THIS TO THE BOTTOM OF STYLE.CSS
   (Replace conflicting duplicates)
   ========================================= */

/* --- 1. GLOBAL FIXES --- */
html, body {
  width: 100%;
  overflow-x: hidden; /* Stops side-scrolling */
  position: relative;
}

/* --- 2. HAMBURGER BUTTON (Base Styles) --- */
.lavion-hamburger {
  display: none; /* Default: Hidden on Desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 30px; 
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101; /* Above everything */
  margin-left: 18px;
}

.lavion-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--lavion-text);
  border-radius: 4px;
  /* Smooth elastic animation */
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
  transform-origin: center;
}

/* --- 3. HAMBURGER ANIMATION (The X) --- */
/* Top Line: Move down 9px and Rotate */
.lavion-hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--lavion-accent);
}

/* Middle Line: Disappear */
.lavion-hamburger.is-active span:nth-child(2) {
  transform: scale(0);
  opacity: 0;
}

/* Bottom Line: Move up 9px and Rotate */
.lavion-hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--lavion-accent);
}

/* --- 4. MOBILE MENU OVERLAY --- */
.lavion-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 90; /* Below the header (100) */
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px); 
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Flex Layout */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
}

.lavion-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lavion-mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.lavion-mobile-nav-links a {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lavion-text);
  transition: color 0.2s;
}

.lavion-mobile-nav-links a:hover {
  color: var(--lavion-accent);
}

.lavion-mobile-nav-links li {
  list-style: none;
}

/* --- 5. RESPONSIVE / MEDIA QUERIES (The Trigger) --- */
/* This MUST come last to override the "display: none" above */
@media (max-width: 900px) {
  
  /* Show Hamburger */
  .lavion-hamburger {
    display: flex; 
  }

  /* Hide Desktop Nav */
  .lavion-nav, 
  .desktop-only,
  .lavion-btn span.mobile-hide {
    display: none !important;
  }
  
  /* Fix Header Z-Index so it sits on top of the black menu */
  .lavion-header {
    z-index: 100;
  }

  /* Hero Adjustments */
  .lavion-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
/* --- UPDATED SECTION --- */
  .lavion-hero-actions, 
  .lavion-hero-meta {
    justify-content: center;
    display: flex;       /* Ensure flex is active */
    gap: 15px;           /* <--- ADDS THE SPACE */
    flex-wrap: wrap;     /* Allows stacking on tiny screens */
  }
  
  /* Optional: Ensure buttons don't touch if they stack */
  .lavion-hero-actions a,
  .lavion-hero-actions button {
    margin: 0; /* Reset margins so 'gap' controls the spacing */
  }
  
  .lavion-hero-product-float {
    width: 60%;
    margin: 0 auto;
  }
}


/* =========================================
   NEW SECTIONS STYLES
   ========================================= */

/* --- 1. INFINITE MARQUEE --- */
.lavion-marquee {
    position: relative;
    width: 100vw;
    max-width: 100%;
    background: var(--lavion-accent);
    overflow: hidden;
    padding: 12px 0;
    transform: rotate(-1deg) scale(1.02); /* Slight tilt for attitude */
    margin: 40px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    box-shadow: 0 0 20px var(--lavion-accent-soft);
}

.lavion-marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
}

.lavion-marquee span {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #fff;
    padding-right: 40px;
    text-transform: uppercase;
}

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

/* --- 2. BENTO GRID (Protocol) --- */
.lavion-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.lavion-bento-card {
    background: linear-gradient(145deg, rgba(20,20,30,0.6), rgba(10,10,15,0.95));
    border: 1px solid var(--lavion-border);
    padding: 40px 30px;
    border-radius: var(--lavion-radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hover Glow Effect */
.lavion-bento-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--lavion-accent-soft2), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lavion-bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(127,0,255,0.4);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lavion-bento-card:hover::after {
    opacity: 1;
}

.bento-icon {
    font-size: 2rem;
    color: var(--lavion-accent);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--lavion-accent-soft);
}

.lavion-bento-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lavion-bento-card p {
    color: var(--lavion-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* Special style for the middle card */
.lavion-bento-card.accent-glow {
    border: 1px solid rgba(127,0,255,0.2);
}

/* --- 3. DUAL PATHWAYS (Split CTA) --- */
.lavion-pathways {
    padding-bottom: 100px;
}

.lavion-split-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    min-height: 400px;
}

.pathway-card {
    position: relative;
    border-radius: var(--lavion-radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--lavion-border);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

/* Patient Side */
.patient-card {
    background: radial-gradient(circle at bottom left, #1a1a2e, #050508);
}
.patient-card:hover {
    border-color: var(--lavion-accent);
    box-shadow: var(--lavion-shadow-glow-soft);
}

/* Provider Side */
.provider-card {
    background: radial-gradient(circle at bottom right, #151515, #0a0a0a);
}
.provider-card:hover {
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.pathway-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.pathway-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.4);
    color: var(--lavion-muted);
}

.pathway-card h3 {
    font-size: 2rem;
    margin: 10px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pathway-card p {
    color: var(--lavion-muted);
    font-size: 0.9rem;
    max-width: 300px;
    margin-bottom: 10px;
}

/* Background Gradients/Images */
.pathway-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
    transition: transform 0.6s ease;
    /* Optional: Add a subtle SVG pattern here via background-image */
}

.pathway-card:hover .pathway-bg {
    transform: scale(1.05);
}

/* Responsive for Dual CTA */
@media (max-width: 800px) {
    .lavion-split-cta {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .pathway-card {
        padding: 40px 20px;
    
 

    }
}

/* =========================================
   CRITICAL FIXES - ADD TO BOTTOM OF CSS
   ========================================= */

/* 1. Force the Protocol Grid to have height */
.lavion-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    min-height: 200px;
    margin-top: 40px;
    position: relative;
    z-index: 5;
}

/* 2. Force Card Visibility & Color */
.lavion-bento-card {
    background: #111115; /* Fallback background */
    background: linear-gradient(145deg, rgba(20,20,30,0.8), rgba(10,10,15,0.95));
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    
    /* CRITICAL: Ensure they aren't hidden by broken JS */
    opacity: 1; 
    visibility: visible;
}

/* 3. Force Text Colors */
.lavion-bento-card h3 {
    color: #ffffff !important;
    font-size: 1.25rem;
    margin-bottom: 10px;
    display: block;
}

.lavion-bento-card p {
    color: #a0a0b0 !important;
    font-size: 0.9rem;
    display: block;
}

.bento-icon {
    font-size: 2rem;
    color: #7F00FF; /* Bright Purple */
    margin-bottom: 15px;
    display: block;
}


/* =========================================
   NEW SECTION: STATS & TERMINAL
   ========================================= */

/* --- Stats Section (Scanner Look) --- */
.lavion-stats {
    position: relative;
    background: #050505;
    padding: 80px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* The Background Grid */
.lavion-stats-bg {
    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;
    opacity: 0.5;
    z-index: 1;
}

/* The Moving Scanner Line */
.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(127, 0, 255, 0.15), transparent);
    z-index: 2;
    animation: scanMove 6s linear infinite;
    pointer-events: none;
}

@keyframes scanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.lavion-stats-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
}

.lavion-stats-header h2 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 10px;
    color: #fff;
}

/* Stats Grid */
.lavion-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 3;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--lavion-accent);
    line-height: 1;
    font-variant-numeric: tabular-nums; /* Keeps numbers from jumping */
    text-shadow: 0 0 20px rgba(127,0,255,0.4);
}

.stat-label {
    margin-top: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--lavion-muted);
}

.stat-label span {
    color: #fff;
    font-weight: bold;
}

/* --- Newsletter (Terminal Style) --- */
.lavion-newsletter {
    padding: 60px 0 100px;
}

.newsletter-terminal {
    max-width: 700px;
    margin: 0 auto;
    background: #0e0e12;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    overflow: hidden;
}

.terminal-header {
    background: #1a1a22;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    margin-left: 10px;
    font-family: monospace;
    font-size: 0.8rem;
    color: #888;
}

.terminal-body {
    padding: 30px;
    font-family: 'Courier New', Courier, monospace;
}

.terminal-text {
    color: var(--lavion-text);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.terminal-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.terminal-form .prompt {
    color: var(--lavion-accent);
    font-weight: bold;
}

.terminal-form input {
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    padding: 8px 0;
    flex: 1;
    outline: none;
    min-width: 200px;
    transition: border-color 0.3s;
}

.terminal-form input:focus {
    border-color: var(--lavion-accent);
}


/* --- ART BASEL 2025 POPUP --- */

/* The Overlay */
.basel-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none; /* Inactive until JS fires */
  transition: opacity 0.6s ease;
}

.basel-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* The Backdrop (Dark + Blur) */
.basel-backdrop {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* The Modal Box */
.basel-modal {
  position: relative;
  width: 90%;
  max-width: 550px;
  background: rgba(20, 20, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
  padding: 0;
}

.basel-overlay.is-visible .basel-modal {
  transform: translateY(0) scale(1);
}

/* Close Button */
.basel-close-btn {
  position: absolute;
  top: 15px; right: 15px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}
.basel-close-btn:hover { color: #fff; transform: rotate(90deg); }

/* Header Section */
.basel-header {
  position: relative;
  padding: 40px 30px 20px;
  background: linear-gradient(180deg, rgba(127,0,255,0.15) 0%, rgba(0,0,0,0) 100%);
  overflow: hidden;
}

/* Animated Gradient Blob behind header */
.basel-header::before {
  content:'';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, #7F00FF 0%, transparent 60%);
  opacity: 0.2;
  animation: basel-rotate 10s linear infinite;
  z-index: 0;
}

@keyframes basel-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.basel-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #7F00FF;
  margin-bottom: 10px;
  position: relative;
  font-weight: 700;
}

.basel-title {
  font-size: 2.5rem;
  line-height: 0.9;
  margin: 0;
  color: #fff;
  font-family: 'Helvetica Neue', sans-serif; /* Or your site font */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  position: relative;
  text-shadow: 0 0 30px rgba(127,0,255,0.3);
}

.basel-year {
  display: block;
  font-size: 3.5rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.8);
  opacity: 0.8;
}

/* Ticker Tape */
.basel-ticker {
  margin-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,0.3);
}

.basel-ticker-inner {
  white-space: nowrap;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #888;
  animation: basel-scroll 10s linear infinite;
}

@keyframes basel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Body & Cards */
.basel-body {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.basel-prompt {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 25px;
}

.basel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.basel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 10px;
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  transition: 0.3s;
  overflow: hidden;
}

.basel-card:hover {
  transform: translateY(-5px);
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.basel-card--patient:hover { border-color: #7F00FF; box-shadow: 0 10px 30px rgba(127,0,255,0.3); }
.basel-card--provider:hover { border-color: #00e0ff; box-shadow: 0 10px 30px rgba(0,224,255,0.3); }

.basel-icon { font-size: 2rem; margin-bottom: 10px; }
.basel-label { color: #fff; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.basel-sub { color: #666; font-size: 0.65rem; margin-top: 5px; text-transform: uppercase; }

/* Footer */
.basel-footer {
  padding: 15px;
  background: #050505;
  font-size: 0.6rem;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Mobile Tweak */
@media(max-width: 600px) {
  .basel-grid { grid-template-columns: 1fr; }
  .basel-year { font-size: 2.5rem; }
}


.lavionp-desc{
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,0.65);
}


/* Nav hugs the CTA on the right */
.lavion-nav{
  margin-left: auto;
  justify-content: flex-end;
}

.lavion-header-cta{
  margin-left: 14px;  /* small gap between nav + bubble */
}


/* =========================================
   MOBILE MENU & HEADER FIXES
   ========================================= */

/* --- 1. LOCK THE "X" IN PLACE --- */

/* Basic Hamburger setup */
.lavion-hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 30px; 
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200; 
  margin-left: 18px;
  transition: transform 0.3s ease;
}

.lavion-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--lavion-text);
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
  transform-origin: center;
}

/* THE LOCK: When active (Open), pin it to the screen */
.lavion-hamburger.is-active {
  position: fixed; 
  top: 28px;       /* Matches your header padding */
  right: 5vw;      /* Matches your container margin */
  margin: 0;       /* Remove any flex margins */
  z-index: 10000;  /* Maximum z-index to stay above the menu overlay */
}

/* Animate lines into an X */
.lavion-hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--lavion-accent);
  box-shadow: 0 0 10px var(--lavion-accent); /* Glow effect */
}

.lavion-hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.lavion-hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--lavion-accent);
  box-shadow: 0 0 10px var(--lavion-accent); /* Glow effect */
}

/* --- 2. STYLE THE "JOIN" BUTTON (Using your .highlight class) --- */

/* Target the specific link from your header.php */
.lavion-mobile-nav-links a.highlight {
  /* Layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px; /* Spacing from other links */
  padding: 16px 40px;
  width: auto;
  
  /* Pill Shape */
  border-radius: 999px;
  
  /* Gradient Background (Matches Desktop) */
  background: radial-gradient(circle at top left, #bf3bff 0, var(--lavion-accent) 45%, #3f00ff 100%);
  
  /* Text Styling */
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: none;
  
  /* Glow/Shadow */
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.1),
    0 10px 30px rgba(127,0,255,0.4);
    
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover Effect */
.lavion-mobile-nav-links a.highlight:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.3),
    0 15px 50px rgba(127,0,255,0.6);
  color: #fff;
}

/* --- 3. MENU OVERLAY ADJUSTMENTS --- */
.lavion-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.98); /* Deep dark background */
  backdrop-filter: blur(20px);
  z-index: 9990; /* High, but below the X (10000) */
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.35s ease;
  
  /* Center Content */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
}

.lavion-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lavion-mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

/* Standard Links (Learn More / Products) */
.lavion-mobile-nav-links a:not(.highlight) {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--lavion-text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Media Query to show hamburger on tablet/mobile */
@media (max-width: 900px) {
  .lavion-hamburger {
    display: flex;
  }
  
  /* Hide desktop items */
  .lavion-nav, 
  .desktop-only {
    display: none !important;
  }
}


/* Update this existing class */
.lavion-header {
  position: sticky;
  top: 0;
  /* CHANGE THIS from 40 to 10000 so it sits on top of the mobile menu */
  z-index: 10000; 
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(127,0,255,0.28), transparent 55%),
              linear-gradient(to bottom, rgba(10,10,10,0.98), rgba(10,10,10,0.92));
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* FORCE LOCK: This pins the X to the screen glass */
.lavion-hamburger.is-active {
    position: fixed !important; 
    
    /* Coordinates: Adjust these to align with your header layout */
    top: 22px;  
    right: 5%; 
    
    /* Ensure it is the top-most layer */
    z-index: 2147483647; 
    
    /* Optional: Prevents layout jumping */
    margin: 0; 
}
/* --- 1. SMART HEADER ANIMATION --- */
.lavion-header {
    transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    /* Ensure it has a high z-index normally */
    z-index: 1000; 
}

/* Class added via JS when scrolling down */
.lavion-header.header-hidden {
    transform: translateY(-100%); /* Slides header out of view */
}

/* --- 2. LOCKED X (The Critical Part) --- */
/* When the menu is OPEN (is-active), the button ignores the header hiding 
   and locks itself to the screen glass */
.lavion-hamburger.is-active {
    position: fixed !important; 
    top: 22px; 
    right: 5%; 
    z-index: 99999 !important; /* Always on top of everything */
    margin: 0;
    
    /* Ensure it's visible even if header is hidden */
    transform: none !important; 
    opacity: 1 !important;
}

/* Force white color on the X lines */
.lavion-hamburger.is-active span {
    background-color: #fff !important;
    box-shadow: 0 0 10px rgba(127,0,255,0.5);
}
/* =========================================
   FINAL: MOBILE HEADER + MENU FIX (paste LAST)
   ========================================= */

@media (max-width: 900px) {

  /* Keep header ABOVE the overlay so the X can always be seen */
  .lavion-header{
    z-index: 10050 !important;
    transition: transform 0.28s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform;
  }

  /* Hide on scroll down */
  .lavion-header.header-hidden{
    transform: translateY(-110%);
  }

  /* Overlay sits just below header */
  .lavion-mobile-menu{
    z-index: 10000 !important;
  }

  /* Hamburger is always the top-most clickable layer */
  .lavion-hamburger{
    z-index: 10100 !important;
  }

  /* When menu is open, force header visible no matter what */
  body.lavion-menu-open .lavion-header{
    transform: translateY(0) !important;
  }

  /* Lock the X to the glass (and respect iPhone notch) */
  .lavion-hamburger.is-active{
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 18px) !important;
    right: 4.5vw !important;
    margin: 0 !important;
    z-index: 10110 !important;
  }

  /* Make sure the X lines are visible over the dark overlay */
  .lavion-hamburger.is-active span{
    background: #fff !important;
    opacity: 1 !important;
    box-shadow: 0 0 12px rgba(127,0,255,0.55);
  }
}


/* =========================================
   FINAL OVERRIDE: header MUST stay when menu open
   Paste at END of style.css
   ========================================= */
@media (max-width: 900px){

  /* overlay below header */
  .lavion-mobile-menu{ z-index: 10000 !important; }

  /* header above overlay */
  .lavion-header{ z-index: 10050 !important; }

  /* when menu is open: FORCE header visible even if header-hidden gets added */
  body.lavion-menu-open .lavion-header,
  body.lavion-menu-open .lavion-header.header-hidden{
    transform: translateY(0) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* make room for fixed header inside the overlay */
  body.lavion-menu-open .lavion-mobile-menu.is-open{
    padding-top: calc(env(safe-area-inset-top, 0px) + 86px) !important;
  }

  /* keep X above everything */
  .lavion-hamburger{ z-index: 10100 !important; }

  .lavion-hamburger.is-active{
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 18px) !important;
    right: 4.5vw !important;
    z-index: 10110 !important;
    margin: 0 !important;
  }

  .lavion-hamburger.is-active span{
    background: #fff !important;
    opacity: 1 !important;
  }
}


/* =========================================
   FAQ SECTION (TERMINAL STYLE)
   ========================================= */

.lavion-faq {
  position: relative;
  z-index: 5;
}

.lavion-faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lavion-faq-item {
  background: rgba(18, 18, 24, 0.6);
  border: 1px solid var(--lavion-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.lavion-faq-item:hover {
  border-color: rgba(127, 0, 255, 0.4);
  box-shadow: 0 0 20px rgba(127, 0, 255, 0.1);
}

.lavion-faq-item.is-active {
  background: rgba(25, 25, 35, 0.9);
  border-color: var(--lavion-accent);
  box-shadow: 0 0 30px rgba(127, 0, 255, 0.15);
}

/* Trigger Button */
.lavion-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--lavion-text);
  font-family: inherit;
}

.faq-index {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--lavion-accent);
  margin-right: 20px;
  opacity: 0.7;
}

.faq-question {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-right: 20px;
}

/* The Plus/Minus Icon */
.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--lavion-muted);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
  width: 100%;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  width: 2px;
  height: 100%;
}

/* Active State Icon (Turns to Minus) */
.lavion-faq-item.is-active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg); /* flattens perfectly into the horizontal line */
  opacity: 0;
}
.lavion-faq-item.is-active .faq-icon::before {
  background-color: var(--lavion-accent);
  box-shadow: 0 0 10px var(--lavion-accent);
}

/* Content Area */
.lavion-faq-content {
  height: 0;
  overflow: hidden;
  will-change: height; /* Optimize for animation */
}

.faq-inner {
  padding: 0 24px 24px 60px; /* Indent to align with text */
  color: var(--lavion-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .faq-inner {
    padding: 0 24px 24px 24px;
  }
  .faq-index {
    display: none;
  }
}



/* --- Footer Styling --- */
.lavion-footer {
  background-color: #000; /* Or your dark theme color */
  color: #888;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.lavion-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr; /* Brand col is slightly wider */
  gap: 40px;
  margin-bottom: 60px;
}

/* Typography */
.lavion-footer-brand {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lavion-footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 20px;
  opacity: 0.6;
}

.lavion-footer-desc {
  line-height: 1.6;
  max-width: 300px;
}

/* Links */
.lavion-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lavion-footer-nav a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lavion-footer-nav a:hover {
  color: #fff;
}

/* Bottom Bar */
.lavion-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .lavion-footer-grid {
    grid-template-columns: 1fr; /* Stack columns */
    gap: 40px;
  }
  
  .lavion-footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}