/* ============================================================
   VELA — Main Stylesheet
   Dark luxury AI agency theme
   ============================================================ */

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

/* Elementor compatibility — hidden loop container */
.vela-elementor-hidden { display: none !important; position: absolute; width: 0; height: 0; overflow: hidden; }

:root {
  --surface:             #131313;
  --surface-low:         #1c1b1b;
  --surface-container:   #201f1f;
  --surface-high:        #2a2a2a;
  --surface-lowest:      #0e0e0e;
  --surface-variant:     #353534;
  --surface-bright:      #393939;
  --primary:             #f2ca50;
  --primary-dim:         #e9c349;
  --primary-container:   #d4af37;
  --on-primary:          #3c2f00;
  --secondary:           #c8c6c4;
  --on-surface:          #e5e2e1;
  --on-surface-variant:  #d0c5af;
  --outline:             #99907c;
  --outline-variant:     #4d4635;
  --tertiary:            #d0cdcd;
  --font-serif:          'Noto Serif', Georgia, serif;
  --font-sans:           'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── SELECTION ── */
::selection { background: var(--primary-container); color: var(--on-primary); }

/* ============================================================
   SCROLL-TRIGGERED ANIMATIONS
   ============================================================ */
.vela-animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.vela-animate-in.vela-animated {
  opacity: 1;
  transform: translateY(0);
}

/* ── Gold glow pulse for calculator result ── */
@keyframes velaGlowPulse {
  0% { text-shadow: 0 0 40px rgba(242, 202, 80, 0.2); }
  50% { text-shadow: 0 0 60px rgba(242, 202, 80, 0.5), 0 0 20px rgba(242, 202, 80, 0.3); }
  100% { text-shadow: 0 0 40px rgba(242, 202, 80, 0.2); }
}

.vela-glow-pulse {
  animation: velaGlowPulse 0.6s ease;
}

/* ============================================================
   NAV
   ============================================================ */
.vela-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(9, 9, 8, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(77, 70, 53, 0.15);
}

.vela-nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.vela-nav__logo-img,
.vela-nav__logo img,
.vela-nav__logo .custom-logo,
.vela-nav__logo a img,
.custom-logo-link img {
  height: 28px !important;
  width: auto !important;
  max-width: 140px !important;
  max-height: 28px !important;
  display: block !important;
  object-fit: contain !important;
  filter: sepia(1) saturate(3) hue-rotate(10deg) brightness(1.1) !important;
}

/* WordPress wraps custom logo in an <a> — flatten it */
.vela-nav__logo .custom-logo-link,
.custom-logo-link {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.vela-nav__links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.vela-nav__links a {
  font-size: 0.875rem;
  color: #9ca3af;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  font-weight: 400;
}

.vela-nav__links a:hover,
.vela-nav__links a.active { color: #f3f4f6; }

.vela-nav__cta {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Mobile toggle */
.vela-nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--on-surface);
  cursor: pointer;
  padding: 0.25rem;
}

.vela-nav__mobile-toggle svg {
  width: 28px;
  height: 28px;
}

.btn-ghost {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.btn-ghost:hover { color: #f3f4f6; }

.btn-primary {
  background: var(--primary-container);
  color: var(--on-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { filter: brightness(1.1); color: var(--on-primary); }
.btn-primary:active { transform: scale(0.96); }

/* ── Mobile menu overlay ── */
.vela-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.vela-mobile-menu--open {
  opacity: 1;
  pointer-events: all;
}

.vela-mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--on-surface);
  cursor: pointer;
}

.vela-mobile-menu__close svg {
  width: 32px;
  height: 32px;
}

.vela-mobile-menu__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.vela-mobile-menu__links a {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--on-surface);
  transition: color 0.2s;
}

.vela-mobile-menu__links a:hover {
  color: var(--primary);
}

/* ============================================================
   HERO
   ============================================================ */
.vela-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  overflow: hidden;
  text-align: center;
}

.vela-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vela-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.vela-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #131313 0%,
    transparent 40%,
    rgba(13,13,13,0.5) 100%
  );
}

.vela-hero__content {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.vela-hero__badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border: 1px solid rgba(77,70,53,0.4);
  font-size: 0.625rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.vela-hero__heading {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: 1.5rem;
}

.vela-hero__heading em {
  font-style: italic;
  color: var(--primary);
}

.vela-hero__stat {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--primary-container);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.vela-hero__sub {
  max-width: 38rem;
  margin: 0 auto 3rem;
  color: var(--secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.85;
  font-weight: 300;
}

.vela-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.btn-outline {
  padding: 1rem 2.5rem;
  border: 1px solid rgba(77,70,53,0.5);
  color: var(--on-surface);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--surface-container); color: var(--on-surface); }

.btn-primary-lg {
  padding: 1rem 2.5rem;
  background: var(--primary-container);
  color: #1a1400 !important;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary-lg:hover { filter: brightness(1.1); color: #1a1400 !important; transform: translateY(-1px); }

/* ============================================================
   SECTION BASE
   ============================================================ */
.vela-section {
  padding: 7rem 1.5rem;
}

.vela-container {
  max-width: 80rem;
  margin: 0 auto;
}

.vela-section__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 5rem;
}

.vela-section__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--on-surface);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.vela-gold-rule {
  width: 4rem;
  height: 3px;
  background: var(--primary-container);
  margin-bottom: 1.25rem;
}

.vela-section__header p {
  color: var(--secondary);
  max-width: 30rem;
  font-weight: 300;
  line-height: 1.7;
}

.vela-eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--outline);
}

/* ============================================================
   VALUE PROPOSITIONS — 3 columns
   ============================================================ */
.vela-value-props {
  background: var(--surface-lowest);
  padding: 5rem 1.5rem;
}

.vela-value-props__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
}

.vela-value-prop {
  padding: 3rem 2.5rem;
  border: 1px solid rgba(77, 70, 53, 0.12);
  text-align: center;
  transition: background 0.3s, border-color 0.3s;
  position: relative;
}

.vela-value-prop::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-container);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.vela-value-prop:hover {
  background: var(--surface-container);
}

.vela-value-prop:hover::before {
  transform: scaleY(1);
}

.vela-value-prop__icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vela-value-prop__icon svg {
  width: 40px;
  height: 40px;
}

.vela-value-prop h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--on-surface);
  margin-bottom: 0.75rem;
}

.vela-value-prop p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
  font-weight: 300;
  max-width: 20rem;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .vela-value-props__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.vela-services {
  background: var(--surface);
}

.vela-services__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)) !important;
  gap: 0 !important;
}

.vela-service-card {
  padding: 3rem;
  background: var(--surface-low);
  border: 1px solid rgba(77,70,53,0.12);
  position: relative;
  cursor: default;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.vela-service-card:hover {
  background: var(--surface-container);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1), 0 8px 24px rgba(0,0,0,0.3);
}

.vela-service-card:hover .vela-service-card__border {
  opacity: 1;
}

.vela-service-card__border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212,175,55,0.3);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.vela-service-card__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.25;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.vela-service-card__icon {
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.vela-service-card__icon svg {
  width: 32px;
  height: 32px;
}

.vela-service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--on-surface);
}

.vela-service-card p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================================
   ROI CALCULATOR
   ============================================================ */
.vela-calculator {
  background: var(--surface);
}

.vela-calculator__box {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  max-width: 60rem;
  margin: 0 auto;
  border: 1px solid rgba(77, 70, 53, 0.2);
  background: var(--surface-low);
}

.vela-calculator__inputs {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-right: 1px solid rgba(77, 70, 53, 0.2);
}

.vela-calculator__field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vela-calculator__field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--outline);
}

.vela-calculator__field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--surface-variant);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.vela-calculator__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-container);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--primary);
  transition: transform 0.15s;
  box-shadow: 0 0 8px rgba(242, 202, 80, 0.3);
}

.vela-calculator__field input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.vela-calculator__field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--primary-container);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--primary);
}

.vela-calculator__field-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.vela-calculator__result {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.04), rgba(242, 202, 80, 0.02));
}

.vela-calculator__result-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 1rem;
}

.vela-calculator__result-amount {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 40px rgba(242, 202, 80, 0.2);
  transition: text-shadow 0.3s;
}

.vela-calculator__result-period {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-weight: 300;
}

.vela-calculator__result-note {
  font-size: 0.75rem;
  color: var(--outline);
  font-style: italic;
  max-width: 18rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .vela-calculator__box {
    grid-template-columns: 1fr !important;
  }
  .vela-calculator__inputs {
    border-right: none;
    border-bottom: 1px solid rgba(77, 70, 53, 0.2);
  }
}

/* ============================================================
   RESULTS STATS — Big numbers grid
   ============================================================ */
.vela-results-stats {
  background: var(--surface-lowest);
}

.vela-results-stats__grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
}

.vela-stat-card {
  padding: 3.5rem 2rem;
  border: 1px solid rgba(77, 70, 53, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s;
}

.vela-stat-card:hover {
  background: var(--surface-container);
}

.vela-stat-card:hover .vela-stat-card__number {
  text-shadow: 0 0 40px rgba(242, 202, 80, 0.4), 0 0 80px rgba(242, 202, 80, 0.15);
}

.vela-stat-card__number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 30px rgba(242, 202, 80, 0.15);
  transition: text-shadow 0.3s;
}

.vela-stat-card__label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-surface);
  margin-top: 0.5rem;
}

.vela-stat-card__desc {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 300;
}

@media (max-width: 1024px) {
  .vela-results-stats__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .vela-results-stats__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   FEATURE / DETAIL SECTION
   ============================================================ */
.vela-detail {
  background: var(--surface-lowest);
}

.vela-detail__grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6rem !important;
  align-items: center;
}

.vela-detail__image-wrap {
  position: relative;
}

.vela-detail__image {
  aspect-ratio: 1 / 1;
  background: var(--surface-high);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.vela-detail__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.vela-detail__image-deco {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgba(77,70,53,0.2);
  z-index: 0;
}

.vela-detail__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 3rem;
  color: var(--on-surface);
}

.vela-detail__content h2 em {
  font-style: italic;
  color: var(--primary);
}

.vela-pillars { list-style: none; display: flex; flex-direction: column; gap: 2.5rem; }

.vela-pillar {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.vela-pillar__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
}

.vela-pillar h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--on-surface);
}

.vela-pillar p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================================
   INDUSTRIES GRID
   ============================================================ */
.vela-industries {
  background: var(--surface);
}

.vela-industries__grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 0 !important;
}

.vela-industry-card {
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(77, 70, 53, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  cursor: default;
}

.vela-industry-card:hover {
  background: var(--surface-container);
  border-color: rgba(212, 175, 55, 0.3);
}

.vela-industry-card:hover svg {
  transform: scale(1.15);
}

.vela-industry-card svg {
  color: var(--primary);
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.vela-industry-card span:last-child {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-surface);
}

.vela-industry-card--more {
  background: rgba(212, 175, 55, 0.04);
}

.vela-industry-card--more svg {
  color: var(--primary-container);
}

@media (max-width: 1024px) {
  .vela-industries__grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .vela-industries__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.vela-comparison {
  background: var(--surface-lowest);
}

.vela-comparison__table {
  max-width: 50rem;
  margin: 0 auto;
  border: 1px solid rgba(77, 70, 53, 0.2);
  background: var(--surface-low);
  overflow: hidden;
}

.vela-comparison__header {
  display: grid !important;
  grid-template-columns: 1fr 8rem 8rem !important;
  padding: 1.25rem 2rem;
  background: var(--surface-container);
  border-bottom: 1px solid rgba(77, 70, 53, 0.2);
}

.vela-comparison__feature-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--outline);
}

.vela-comparison__col-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
}

.vela-comparison__col-label--vela {
  background: rgba(212, 175, 55, 0.08);
  padding: 0.25rem;
  border-radius: 2px;
}

.vela-comparison__row {
  display: grid !important;
  grid-template-columns: 1fr 8rem 8rem !important;
  padding: 1.1rem 2rem;
  border-bottom: 1px solid rgba(77, 70, 53, 0.1);
  transition: background 0.2s;
}

.vela-comparison__row:last-child {
  border-bottom: none;
}

.vela-comparison__row:hover {
  background: var(--surface-container);
}

.vela-comparison__row--highlight {
  background: rgba(212, 175, 55, 0.04);
}

.vela-comparison__feature {
  font-size: 0.9rem;
  color: var(--on-surface);
  font-weight: 400;
  display: flex;
  align-items: center;
}

.vela-comparison__check {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vela-comparison__check--yes {
  background: rgba(212, 175, 55, 0.06);
}

.vela-comparison__check--yes svg {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.vela-comparison__check--no svg {
  color: #4b5563;
  width: 24px;
  height: 24px;
}

@media (max-width: 600px) {
  .vela-comparison__header,
  .vela-comparison__row {
    grid-template-columns: 1fr 5rem 5rem !important;
    padding: 1rem 1rem;
  }
  .vela-comparison__feature {
    font-size: 0.8rem;
  }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.vela-faq {
  background: var(--surface);
}

.vela-faq__list {
  max-width: 50rem;
  margin: 0 auto;
}

.vela-faq__item {
  border-bottom: 1px solid rgba(77, 70, 53, 0.15);
}

.vela-faq__item:first-child {
  border-top: 1px solid rgba(77, 70, 53, 0.15);
}

.vela-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  transition: color 0.2s;
}

.vela-faq__question:hover {
  color: var(--primary);
}

.vela-faq__icon {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
}

/* Plus → minus rotation: rotate 45deg to make + into × */
.vela-faq__item--open .vela-faq__icon {
  transform: rotate(45deg);
}

.vela-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
}

.vela-faq__item--open .vela-faq__answer {
  padding-bottom: 1.5rem;
}

.vela-faq__answer p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================================
   AGENTS / HOW IT WORKS
   ============================================================ */
.vela-how {
  background: var(--surface);
}

.vela-steps {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)) !important;
  gap: 0 !important;
}

.vela-step {
  padding: 3rem 2.5rem;
  border: 1px solid rgba(77,70,53,0.12);
  position: relative;
}

.vela-step__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 1rem;
}

.vela-step__icon-lg {
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.vela-step__icon-lg svg {
  width: 32px;
  height: 32px;
}

.vela-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--on-surface);
}

.vela-step p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.7;
  font-weight: 300;
}

.vela-step__arrow {
  position: absolute;
  top: 2.5rem;
  right: -0.75rem;
  color: var(--primary-container);
  z-index: 1;
  display: flex;
}

.vela-step__arrow svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.vela-cta {
  background: var(--surface-lowest);
  text-align: center;
  padding: 8rem 1.5rem;
}

.vela-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--on-surface);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.vela-cta p {
  color: var(--secondary);
  font-weight: 300;
  font-style: italic;
  opacity: 0.7;
  margin-bottom: 3rem;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

.vela-cta__btn-wrap {
  display: inline-block;
  padding: 1px;
  background: linear-gradient(135deg, #f2ca50 0%, #d4af37 100%);
}

.vela-cta__btn {
  display: block;
  padding: 1.25rem 3.5rem;
  background: var(--surface-lowest);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.vela-cta__btn:hover {
  background: transparent;
  color: var(--on-primary);
}

/* ── Contact Form ── */
.vela-form-wrap {
  max-width: 640px;
  margin: 3rem auto 0;
  width: 100%;
}

.vela-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vela-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .vela-form__row { grid-template-columns: 1fr; }
}

.vela-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.vela-form__field--full {
  grid-column: 1 / -1;
}

.vela-form__field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--outline);
}

.vela-form__field input,
.vela-form__field textarea {
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--on-surface);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.vela-form__field input::placeholder,
.vela-form__field textarea::placeholder {
  color: var(--surface-variant);
}

.vela-form__field input:focus,
.vela-form__field textarea:focus {
  border-color: var(--primary-container);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.vela-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

.vela-form__submit {
  align-self: center;
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--primary-container);
  color: var(--on-primary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 2px solid var(--primary-container);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  margin-top: 0.5rem;
}

.vela-form__submit:hover {
  background: transparent;
  color: var(--primary);
}

.vela-form__submit:disabled {
  opacity: 0.5;
  cursor: wait;
}

.vela-form__status {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
}

.vela-form__status--success {
  color: #4ade80;
}

.vela-form__status--error {
  color: #f87171;
}

/* ============================================================
   FOOTER
   ============================================================ */
.vela-footer {
  background: #080808;
  border-top: 1px solid rgba(41,37,36,0.4);
  padding: 5rem 1.5rem;
}

.vela-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.vela-footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vela-footer__logo-img {
  height: 196px !important;
  width: auto !important;
  max-height: 196px !important;
  display: block !important;
  object-fit: contain !important;
  filter: sepia(1) saturate(3) hue-rotate(10deg) brightness(1.1) !important;
}

.vela-footer__contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.vela-footer__contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--outline);
  transition: color 0.2s;
}

.vela-footer__contact-link:hover {
  color: var(--primary);
}

.vela-footer__contact-link svg {
  width: 18px;
  height: 18px;
  color: var(--primary-container);
}

.vela-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
}

.vela-footer__links a {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4b5563;
  transition: color 0.2s;
}

.vela-footer__links a:hover { color: #9ca3af; }

.vela-footer__copy {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #374151;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .vela-detail__grid { grid-template-columns: 1fr !important; gap: 3rem !important; }
  .vela-detail__image-deco { display: none; }
}

@media (max-width: 768px) {
  .vela-nav { padding: 1rem 1.25rem; }
  .vela-nav__links { display: none; }
  .vela-nav__cta { display: none; }
  .vela-nav__mobile-toggle { display: block; }
  .vela-section { padding: 4.5rem 1.25rem; }
  .vela-services__grid { grid-template-columns: 1fr !important; }
  .vela-steps { grid-template-columns: 1fr !important; }
  .vela-step__arrow { display: none; }
  .btn-ghost { display: none; }
}

/* ============================================================
   CHAT PREVIEW
   ============================================================ */

/* Fade-in + slide-up keyframes */
@keyframes velaChatFadeIn {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.vela-chat-preview {
  background: var(--surface-lowest);
}

.vela-chat {
  max-width: 44rem;
  margin: 0 auto;
  border: 1px solid rgba(77, 70, 53, 0.18);
  border-radius: 1rem;
  background: var(--surface-low);
  overflow: hidden;
}

.vela-chat__window {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem 2rem 2rem;
}

/* ── Chat rows ── */
.vela-chat__row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  opacity: 0;
  animation: velaChatFadeIn 0.6s ease forwards;
}

.vela-chat__row--left  { justify-content: flex-start; padding-right: 3rem; }
.vela-chat__row--right { justify-content: flex-end;   padding-left: 3rem; }

/* ── Avatar ── */
.vela-chat__avatar {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.vela-chat__avatar svg {
  width: 20px;
  height: 20px;
}

/* ── Bubbles ── */
.vela-chat__bubble {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 300;
  color: var(--on-surface);
  background: var(--surface-container);
  border: 1px solid rgba(77, 70, 53, 0.2);
  box-shadow: 0 0 18px rgba(242, 202, 80, 0.15), 0 0 6px rgba(242, 202, 80, 0.08);
}

.vela-chat__bubble strong {
  color: var(--primary);
  font-weight: 700;
}

.vela-chat__bubble--left {
  border-left: 3px solid var(--primary-container);
  border-top-left-radius: 0.25rem;
}

.vela-chat__bubble--right {
  background: var(--surface-high);
  border-right: 3px solid var(--primary-container);
  border-top-right-radius: 0.25rem;
}

/* CTA bubble — stronger gold glow */
.vela-chat__bubble--cta {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(242, 202, 80, 0.04));
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow:
    0 0 28px rgba(242, 202, 80, 0.25),
    0 0 10px rgba(242, 202, 80, 0.15),
    0 0 4px  rgba(242, 202, 80, 0.1);
}

/* ── Fake input bar ── */
.vela-chat__input-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid rgba(77, 70, 53, 0.15);
}

.vela-chat__input-text {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  color: var(--outline);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  pointer-events: none;
}

.vela-chat__send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--primary-container);
  color: var(--on-primary);
  flex-shrink: 0;
  transition: filter 0.2s, transform 0.15s;
}

.vela-chat__send-btn:hover {
  filter: brightness(1.15);
  transform: scale(1.05);
  color: var(--on-primary);
}

.vela-chat__send-btn svg {
  width: 20px;
  height: 20px;
}

/* ── Chat responsive ── */
@media (max-width: 768px) {
  .vela-chat__window { padding: 1.5rem 1rem 1rem; gap: 1rem; }
  .vela-chat__row--left  { padding-right: 0.5rem; }
  .vela-chat__row--right { padding-left: 0.5rem; }
  .vela-chat__avatar { width: 2rem; height: 2rem; }
  .vela-chat__avatar svg { width: 16px; height: 16px; }
  .vela-chat__bubble { font-size: 0.825rem; padding: 0.85rem 1rem; }
}

/* ============================================================
   POWERED BY / TECHNOLOGY SECTION
   ============================================================ */
.vela-powered {
  background: var(--surface-lowest);
}

.vela-powered__grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 5rem !important;
  align-items: center;
}

.vela-powered__lead {
  color: var(--on-surface-variant);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.vela-powered__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vela-powered__points li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--on-surface-variant);
  font-size: .95rem;
  line-height: 1.5;
}

.vela-powered__points li svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.vela-powered__image-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.vela-powered__image {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  border: 1px solid var(--outline-variant);
  box-shadow:
    0 0 40px rgba(242, 202, 80, 0.12),
    0 0 80px rgba(242, 202, 80, 0.06),
    0 8px 32px rgba(0,0,0,0.4);
}

.vela-powered__image-caption {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--outline);
  font-family: var(--font-sans);
  font-weight: 600;
}

@media (max-width: 900px) {
  .vela-powered__grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .vela-powered__image-wrap {
    order: -1;
  }
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
.vela-page-content {
  padding-top: 7rem;
  min-height: 100vh;
  background: var(--surface);
}

.vela-policy {
  padding: 5rem 1.5rem 8rem;
}

.vela-policy__header {
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.vela-policy__header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--on-surface);
  margin: 0.75rem 0 1rem;
  line-height: 1.1;
}

.vela-policy__date {
  font-size: 0.8rem;
  color: var(--outline);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.vela-policy__body {
  max-width: 48rem;
  margin: 0 auto;
  color: var(--on-surface-variant);
  line-height: 1.8;
}

.vela-policy__body h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--on-surface);
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(77,70,53,0.2);
}

.vela-policy__body p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 300;
}

.vela-policy__body ul {
  margin: 0.75rem 0 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.vela-policy__body ul li {
  font-size: 0.95rem;
  font-weight: 300;
}

.vela-policy__body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.vela-policy__body a:hover {
  opacity: 0.8;
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
.vela-policy-page {
  padding: 8rem 1.5rem 6rem;
  background: var(--surface);
  min-height: 100vh;
}

.vela-policy-page__hero {
  max-width: 56rem;
  margin: 0 auto 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(77,70,53,0.15);
}

.vela-policy-page__hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--on-surface);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
}

.vela-policy-page__hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.vela-policy-page__date {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--outline);
  margin-top: 1rem;
}

.vela-policy-page__content {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vela-policy-page__section {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(77,70,53,0.12);
}

.vela-policy-page__section:last-child {
  border-bottom: none;
}

.vela-policy-page__section h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--on-surface);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  line-height: 1.2;
}

.vela-policy-page__num {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--primary);
  opacity: 0.5;
  flex-shrink: 0;
}

.vela-policy-page__section p {
  font-size: 0.95rem;
  color: var(--on-surface-variant);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 0.85rem;
}

.vela-policy-page__section p:last-child {
  margin-bottom: 0;
}

.vela-policy-page__section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.75rem 0 0.85rem;
  padding: 0;
}

.vela-policy-page__section ul li {
  font-size: 0.95rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  font-weight: 300;
  padding-left: 1.25rem;
  position: relative;
}

.vela-policy-page__section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background: var(--primary-container);
  border-radius: 50%;
}

.vela-policy-page__section strong {
  color: var(--on-surface);
  font-weight: 600;
}

.vela-policy-page__section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.vela-policy-page__section a:hover {
  opacity: 0.75;
}

.vela-policy-page__cta {
  max-width: 56rem;
  margin: 5rem auto 0;
  padding: 3.5rem;
  background: var(--surface-low);
  border: 1px solid rgba(77,70,53,0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.vela-policy-page__cta p {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 300;
}

@media (max-width: 768px) {
  .vela-policy-page {
    padding: 7rem 1.25rem 4rem;
  }
  .vela-policy-page__section {
    padding: 2rem 0;
  }
  .vela-policy-page__cta {
    padding: 2rem 1.5rem;
  }
}

/* ============================================================
   VELA EFFECTS — CSS for premium interactive effects
   ============================================================ */

/* ── Neural Canvas ── */
.vela-hero { position: relative; }
.vela-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.vela-hero__content { position: relative; z-index: 1; }

/* ── Custom Cursor ── */
.vela-cursor-ring,
.vela-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
}
.vela-cursor-ring {
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border: 1.5px solid rgba(212,175,55,0.7);
  border-radius: 50%;
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, background 0.25s ease, opacity 0.2s;
}
.vela-cursor-ring--hover {
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  background: rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.5);
}
.vela-cursor-dot {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  background: rgba(212,175,55,0.9);
  border-radius: 50%;
  transition: opacity 0.2s;
}

/* Hide custom cursor on mobile / touch */
@media (hover: none), (pointer: coarse) {
  .vela-cursor-ring,
  .vela-cursor-dot {
    display: none !important;
  }
}

/* Hide default cursor on desktop ? only when custom cursor is ready */
@media (hover: hover) and (pointer: fine) {
  body.vela-cursor-ready {
    cursor: none !important;
  }
  body.vela-cursor-ready a,
  body.vela-cursor-ready button,
  body.vela-cursor-ready input,
  body.vela-cursor-ready textarea,
  body.vela-cursor-ready select {
    cursor: none !important;
  }
}

/* ── Floating Particles ── */
.vela-float-particle {
  position: absolute;
  background: var(--primary-container);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: velaParticleFloat linear infinite;
}

@keyframes velaParticleFloat {
  0% {
    transform: translateX(0) translateY(0);
    opacity: var(--particle-opacity, 0.2);
  }
  100% {
    transform: translateX(var(--drift, 20px)) translateY(-120vh);
    opacity: 0;
  }
}

/* ── Typewriter ── */
.vela-typewriter-active .vela-type-line {
  /* lines appear as typed */
}

.vela-type-cursor {
  color: var(--primary);
  font-weight: 300;
  animation: velaCursorBlink 0.7s step-end infinite;
}
.vela-type-cursor--done {
  animation: velaCursorFade 0.5s ease forwards;
}

@keyframes velaCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes velaCursorFade {
  to { opacity: 0; }
}

.vela-type-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.vela-type-fade--in {
  opacity: 1;
}

/* ── Scroll-Reveal Glow on Headings ── */
.vela-glow-reveal {
  animation: velaGlowPulse 1.2s ease-out forwards;
}

@keyframes velaGlowPulse {
  0% {
    text-shadow: 0 0 0 rgba(242,202,80,0);
  }
  30% {
    text-shadow: 0 0 30px rgba(242,202,80,0.4), 0 0 60px rgba(242,202,80,0.15);
  }
  100% {
    text-shadow: 0 0 10px rgba(242,202,80,0.15);
  }
}

/* ── Magnetic Buttons — smooth return ── */
.btn-primary-lg,
.btn-primary {
  will-change: transform;
}

/* ── Service Card Spotlight ── */
.vela-service-card {
  position: relative;
  overflow: hidden;
}
.vela-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(212,175,55,0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.vela-service-card:hover::after {
  opacity: 1;
}

/* ── Stat Glow Pulse ── */
.vela-stat-glow-pulse {
  animation: velaStatGlow 1.2s ease-out forwards;
}

@keyframes velaStatGlow {
  0% {
    text-shadow: 0 0 0 rgba(242,202,80,0);
  }
  20% {
    text-shadow: 0 0 40px rgba(242,202,80,0.5), 0 0 80px rgba(242,202,80,0.2);
  }
  100% {
    text-shadow: 0 0 20px rgba(242,202,80,0.1);
  }
}

/* ── Page Transitions — REMOVED (was causing blank pages) ── */

/* ?? Testimonials ?? */
.vela-testimonials { background: var(--surface-lowest); }
.vela-testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.vela-testimonial-card { padding: 3rem; border: 1px solid rgba(77,70,53,0.15); background: var(--surface-low); position: relative; transition: background 0.3s; }
.vela-testimonial-card:hover { background: var(--surface-container); }
.vela-testimonial-card__quote { font-family: var(--font-serif); font-size: 5rem; color: var(--primary); opacity: 0.15; position: absolute; top: 1rem; right: 1.5rem; line-height: 1; }
.vela-testimonial-card__text { font-size: 0.95rem; color: var(--on-surface-variant); line-height: 1.8; font-weight: 300; margin-bottom: 2rem; font-style: italic; }
.vela-testimonial-card__stars { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; }
.vela-testimonial-card__author { font-weight: 700; color: var(--on-surface); font-size: 0.9rem; }
.vela-testimonial-card__role { font-size: 0.75rem; color: var(--outline); letter-spacing: 0.05em; margin-top: 0.2rem; text-transform: uppercase; }

/* Mobile hero ? since canvas is desktop only, add a fallback dark gradient bg */
@media (max-width: 768px) {
  .vela-hero {
    background: linear-gradient(135deg, #0e0e0e 0%, #1a1a0e 50%, #0e0e0e 100%);
  }
  .vela-hero__canvas {
    display: none;
  }
  /* Fix testimonials on mobile */
  .vela-testimonials__grid {
    grid-template-columns: 1fr !important;
  }
  /* Fix calculator on mobile */
  .vela-calculator__box {
    grid-template-columns: 1fr !important;
  }
  .vela-calculator__inputs {
    border-right: none !important;
    border-bottom: 1px solid rgba(77,70,53,0.2);
    padding: 2rem !important;
  }
  .vela-calculator__result {
    padding: 2rem !important;
  }
  /* Fix value props on mobile */
  .vela-value-props__grid {
    grid-template-columns: 1fr !important;
  }
  /* Fix results stats on mobile */
  .vela-results-stats__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Fix industries on mobile */
  .vela-industries__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Fix comparison table on mobile */
  .vela-comparison__header,
  .vela-comparison__row {
    grid-template-columns: 1fr 80px 80px !important;
  }
  .vela-comparison__feature {
    font-size: 0.8rem !important;
  }
  /* Fix powered grid on mobile */
  .vela-powered__grid {
    grid-template-columns: 1fr !important;
  }
  /* Fix detail grid on mobile */
  .vela-detail__grid {
    grid-template-columns: 1fr !important;
  }
  /* Nav mobile */
  .vela-nav {
    padding: 1rem 1.25rem !important;
  }
}

/* ?? Footer Social ?? */
.vela-footer__social {
  display: flex;
  justify-content: center;
}

.vela-footer__social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #4b5563;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  text-decoration: none;
}

.vela-footer__social-link:hover {
  color: var(--primary);
}

.vela-footer__social-link svg {
  transition: color 0.2s;
}

/* ?? Footer contact row (email + instagram inline) ?? */
.vela-footer__contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.vela-footer__contact-sep {
  color: #374151;
  font-size: 1rem;
  line-height: 1;
}

.vela-footer__contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4b5563;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  text-decoration: none;
}

.vela-footer__contact-link:hover {
  color: var(--primary);
}

@media (max-width: 480px) {
  .vela-footer__contact-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  .vela-footer__contact-sep {
    display: none;
  }
}

/* ?? Calendly Embed ?? */
.vela-calendly-wrap {
  max-width: 900px;
  margin: 2rem auto 0;
  width: 100%;
  border: 1px solid rgba(77,70,53,0.2);
  overflow: hidden;
}

.vela-calendly-wrap .calendly-inline-widget {
  width: 100%;
}

@media (max-width: 768px) {
  .vela-calendly-wrap .calendly-inline-widget {
    height: 800px !important;
  }
}

/* ?? Contact alternative (message form below Calendly) ?? */
.vela-contact-alt {
  max-width: 640px;
  margin: 4rem auto 0;
  width: 100%;
}

.vela-contact-alt__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--outline);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.vela-contact-alt__label::before,
.vela-contact-alt__label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: rgba(77,70,53,0.2);
}

.vela-contact-alt__label::before { left: 0; }
.vela-contact-alt__label::after  { right: 0; }

/* ?? CTA Section enhancements ?? */
.vela-cta h2 em {
  font-style: italic;
  color: var(--primary);
}

.vela-cta__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto 2.5rem;
}

.vela-cta__badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(212,175,55,0.25);
  background: rgba(212,175,55,0.04);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vela-cta__badge svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Gold glow on the Calendly wrapper */
.vela-calendly-wrap {
  box-shadow:
    0 0 60px rgba(212,175,55,0.08),
    0 0 120px rgba(212,175,55,0.04);
  border: 1px solid rgba(212,175,55,0.2) !important;
}

/* ?? CTA trust row (replaces badges) ?? */
.vela-cta__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem auto 2.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.vela-cta__trust span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.vela-cta__trust-sep {
  color: var(--outline);
  font-size: 1rem;
  letter-spacing: 0;
}

@media (max-width: 600px) {
  .vela-cta__trust-sep { display: none; }
  .vela-cta__trust { flex-direction: column; gap: 0.5rem; }
}


/* ============================================================
   BLOG — Single Post
   ============================================================ */

.vela-post__hero {
  background: var(--surface-lowest);
  padding: 8rem 0 3.5rem;
  border-bottom: 1px solid var(--outline-variant);
}

.vela-post__eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.vela-post__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.2;
  max-width: 800px;
}

.vela-post__meta {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--outline);
}

.vela-post__meta-sep {
  margin: 0 0.5rem;
}

/* ── Layout ── */
.vela-post__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  padding: 3.5rem 0 5rem;
  align-items: start;
}

/* ── Content Typography ── */
.vela-post__content {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--on-surface);
  font-family: var(--font-sans);
}

.vela-post__content p {
  margin-bottom: 1.5rem;
}

.vela-post__content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--on-surface);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-container);
}

.vela-post__content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-surface);
  margin: 2rem 0 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--primary-container);
}

.vela-post__content strong {
  color: var(--primary);
  font-weight: 600;
}

.vela-post__content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.vela-post__content a:hover {
  color: var(--primary-container);
}

.vela-post__content blockquote {
  border-left: 3px solid var(--primary-container);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--surface-low);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--on-surface-variant);
}

.vela-post__content ul {
  list-style: none;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.vela-post__content ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.vela-post__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-container);
}

.vela-post__content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.vela-post__content ol li {
  margin-bottom: 0.5rem;
}

/* ── Inline CTA ── */
.vela-post__cta-inline {
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-radius: 12px;
  padding: 2.5rem;
  margin: 3rem 0 1rem;
  text-align: center;
}

.vela-post__cta-inline h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--on-surface);
  margin: 0 0 0.75rem;
  padding: 0;
  border: none;
}

.vela-post__cta-inline p {
  color: var(--outline);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.vela-post__cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #1a1400 !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.2s;
}

.vela-post__cta-btn:hover {
  background: var(--primary-container);
  color: #1a1400 !important;
  transform: translateY(-2px);
}

/* ── Sidebar ── */
.vela-post__sidebar {
  position: sticky;
  top: 6rem;
}

.vela-post__sidebar-cta {
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-top: 3px solid var(--primary-container);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.vela-post__sidebar-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--on-surface);
  margin-bottom: 0.75rem;
}

.vela-post__sidebar-cta p {
  font-size: 0.875rem;
  color: var(--outline);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.vela-post__sidebar-recent h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.vela-post__sidebar-recent ul {
  list-style: none;
  padding: 0;
}

.vela-post__sidebar-recent li {
  border-bottom: 1px solid var(--outline-variant);
  padding: 0.75rem 0;
}

.vela-post__sidebar-recent li:last-child {
  border-bottom: none;
}

.vela-post__sidebar-recent a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: color 0.2s;
}

.vela-post__sidebar-recent a:hover .vela-post__sidebar-recent-title {
  color: var(--primary);
}

.vela-post__sidebar-recent-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.4;
  transition: color 0.2s;
}

.vela-post__sidebar-recent-date {
  font-size: 0.75rem;
  color: var(--outline);
  margin-top: 0.25rem;
}

/* ── Bottom CTA ── */
.vela-post__bottom-cta {
  background: var(--surface-lowest);
  padding: 5rem 0;
  border-top: 1px solid var(--outline-variant);
}

.vela-post__bottom-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--on-surface);
  margin-bottom: 1rem;
}

.vela-post__bottom-cta p {
  color: var(--outline);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.vela-post__bottom-cta .btn-primary-lg {
  color: #1a1400 !important;
  text-decoration: none !important;
}

/* ============================================================
   BLOG — Archive / Listing
   ============================================================ */

/* ── Blog Hero ── */
.vela-blog-hero {
  width: 100%;
  padding: 10rem 0 4rem;
  background: linear-gradient(180deg, var(--surface-lowest) 0%, var(--surface) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vela-blog-hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.05;
  pointer-events: none;
}

.vela-blog-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--on-surface);
  letter-spacing: -0.02em;
  position: relative;
}

.vela-blog-hero__sub {
  color: var(--outline);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
  position: relative;
}

/* ── Category Filters ── */
.vela-blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0 3rem;
}

.vela-blog-filters__pill {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  color: var(--outline);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.vela-blog-filters__pill:hover {
  border-color: var(--primary-dim);
  color: var(--on-surface);
}

.vela-blog-filters__pill.active {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

/* ── Featured Post ── */
.vela-blog-featured {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.vela-blog-featured__card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 400px;
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.vela-blog-featured__card:hover {
  border-color: var(--primary-dim);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.vela-blog-featured__thumb {
  overflow: hidden;
}

.vela-blog-featured__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.vela-blog-featured__card:hover .vela-blog-featured__thumb img {
  transform: scale(1.03);
}

.vela-blog-featured__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vela-blog-featured__badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--primary);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.vela-blog-featured__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.3;
  margin: 1rem 0;
}

.vela-blog-featured__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.vela-blog-featured__title a:hover {
  color: var(--primary);
}

.vela-blog-featured__excerpt {
  color: var(--outline);
  font-size: 0.95rem;
  line-height: 1.7;
}

.vela-blog-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--outline);
  margin-top: auto;
  padding-top: 1.5rem;
}

.vela-blog-featured__link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.vela-blog-featured__link::after {
  content: ' \2192';
}

.vela-blog-featured__link:hover {
  text-decoration: underline;
}

/* ── Blog Grid ── */
.vela-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  padding-bottom: 4rem;
}

/* ── Blog Cards ── */
.vela-blog-card {
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.vela-blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-dim);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.vela-blog-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.vela-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.vela-blog-card:hover .vela-blog-card__thumb img {
  transform: scale(1.05);
}

.vela-blog-card__thumb-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-low) 50%, var(--primary-dim) 150%);
  position: relative;
  overflow: hidden;
}

.vela-blog-card__thumb-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  animation: velaShimmer 2s infinite;
}

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

.vela-blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vela-blog-card__meta {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--outline);
  margin-bottom: 0.75rem;
}

.vela-blog-card__cat {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vela-blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.vela-blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.vela-blog-card__title a:hover {
  color: var(--primary);
}

.vela-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--outline);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.vela-blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--outline-variant);
  padding-top: 1rem;
  margin-top: auto;
}

.vela-blog-card__read-time {
  font-size: 0.75rem;
  color: var(--outline);
}

.vela-blog-card__link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.vela-blog-card__link:hover {
  opacity: 0.8;
}

/* ── Pagination ── */
.vela-blog-pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 2rem 0 0;
}

.vela-blog-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.vela-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-surface);
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  text-decoration: none;
  transition: all 0.25s;
}

.vela-blog-pagination .page-numbers:hover {
  border-color: var(--primary-dim);
  color: var(--primary);
}

.vela-blog-pagination .page-numbers.current {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.vela-blog-pagination .page-numbers.prev,
.vela-blog-pagination .page-numbers.next {
  font-size: 1rem;
}

/* ── Blog Bottom CTA ── */
.vela-blog-cta {
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid var(--outline-variant);
}

.vela-blog-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 0.75rem;
}

.vela-blog-cta__sub {
  color: var(--outline);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ============================================================
   BLOG — Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .vela-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vela-blog-featured__card {
    grid-template-columns: 1fr;
  }

  .vela-blog-featured__thumb {
    max-height: 300px;
  }

  .vela-post__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .vela-post__sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .vela-blog-grid {
    grid-template-columns: 1fr;
  }

  .vela-blog-hero {
    padding: 7rem 0 2.5rem;
  }

  .vela-blog-featured__body {
    padding: 1.5rem;
  }

  .vela-blog-cta {
    padding: 3rem 0;
  }

  .vela-post__hero {
    padding: 6.5rem 0 2.5rem;
  }

  .vela-post__cta-inline {
    padding: 1.75rem;
  }
}

/* ==========================================================================
   VELA ENHANCEMENTS — Animations, Effects & Polish
   ========================================================================== */

/* ---------- 1. Page Loader — gold sweep line (decorative only, never hides body) ---------- */
.vela-loader { position:fixed; top:0; left:0; width:100%; height:3px; z-index:99999; pointer-events:none; }
.vela-loader__bar { height:100%; width:0; background:linear-gradient(90deg, transparent, var(--primary), var(--primary-dim)); animation:velaLoaderSweep 0.6s ease-out forwards; }
@keyframes velaLoaderSweep { to { width:100%; } }

/* ---------- 2. Scroll Reveal System ---------- */
.vela-reveal, .vela-animate-in { opacity:0; transform:translateY(30px); transition:opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.vela-reveal[data-reveal="left"] { transform:translateX(-40px); }
.vela-reveal[data-reveal="right"] { transform:translateX(40px); }
.vela-reveal[data-reveal="scale"] { transform:scale(0.9); }
.vela-revealed, .vela-animate-in.vela-revealed { opacity:1; transform:none; }

/* ---------- 3. Nav Enhancement ---------- */
.vela-nav--scrolled { background:rgba(19,19,19,0.85); backdrop-filter:blur(20px) saturate(1.5); -webkit-backdrop-filter:blur(20px) saturate(1.5); border-bottom:1px solid rgba(212,175,55,0.1); }
.vela-nav__links a { position:relative; }
.vela-nav__links a::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px; background:var(--primary); transition:width 0.3s ease; }
.vela-nav__links a:hover::after, .vela-nav__links a.active::after { width:100%; }

/* ---------- 4. Glassmorphism Service Cards ---------- */
.vela-service-card { background:rgba(36,36,36,0.6); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border:1px solid rgba(212,175,55,0.08); transition:all 0.4s cubic-bezier(0.16,1,0.3,1); position:relative; overflow:hidden; }
.vela-service-card::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg, transparent, rgba(212,175,55,0.05), transparent); transition:left 0.6s ease; }
.vela-service-card:hover::before { left:100%; }
.vela-service-card:hover { border-color:rgba(212,175,55,0.25); transform:translateY(-4px); box-shadow:0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(212,175,55,0.05); }
.vela-service-card__num { background:linear-gradient(135deg, var(--primary), var(--primary-dim)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

/* ---------- 5. Hero Enhancements ---------- */
/* Animated orb glow behind hero heading */
.vela-hero::before { content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:500px; height:500px; background:radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%); border-radius:50%; animation:velaOrbPulse 6s ease-in-out infinite; pointer-events:none; z-index:0; }
@keyframes velaOrbPulse { 0%,100%{transform:translate(-50%,-50%) scale(1); opacity:0.6;} 50%{transform:translate(-50%,-50%) scale(1.3); opacity:1;} }

/* Scroll down indicator */
.vela-scroll-hint { position:absolute; bottom:2rem; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:0.5rem; opacity:0.5; animation:velaScrollBounce 2s ease-in-out infinite; }
.vela-scroll-hint__text { font-size:0.7rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--on-surface-variant); }
.vela-scroll-hint__icon { width:24px; height:40px; border:2px solid rgba(212,175,55,0.3); border-radius:12px; position:relative; }
.vela-scroll-hint__icon::after { content:''; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:4px; height:8px; background:var(--primary); border-radius:2px; animation:velaScrollDot 2s ease-in-out infinite; }
@keyframes velaScrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
@keyframes velaScrollDot { 0%{opacity:1;top:6px} 100%{opacity:0;top:20px} }

/* Badge shimmer */
.vela-hero__badge { position:relative; overflow:hidden; }
.vela-hero__badge.vela-shimmer::after { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent); animation:velaShimmer 1.5s ease forwards; }
@keyframes velaShimmer { to { left:200%; } }

/* ---------- 6. Chat Demo Enhancements ---------- */
/* Typing indicator */
.vela-chat__typing { display:flex; align-items:center; gap:6px; padding:12px 16px; }
.vela-chat__typing-dot { width:8px; height:8px; background:var(--primary); border-radius:50%; animation:velaTypingBounce 1.4s ease-in-out infinite; }
.vela-chat__typing-dot:nth-child(2) { animation-delay:0.2s; }
.vela-chat__typing-dot:nth-child(3) { animation-delay:0.4s; }
@keyframes velaTypingBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-8px)} }

/* Chat bubbles animation */
.vela-chat__row { opacity:0; transform:translateY(10px); }
.vela-chat__row.vela-chat-visible { opacity:1; transform:none; transition:opacity 0.4s ease, transform 0.4s ease; }

/* Online status */
.vela-chat__status { display:flex; align-items:center; gap:6px; padding:8px 16px; font-size:0.75rem; color:var(--on-surface-variant); }
.vela-chat__status-dot { width:8px; height:8px; background:#22c55e; border-radius:50%; animation:velaPulseGreen 2s ease-in-out infinite; }
@keyframes velaPulseGreen { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,0.4)} 50%{box-shadow:0 0 0 6px rgba(34,197,94,0)} }

/* Active input */
.vela-chat__input-bar input { background:transparent; border:none; color:var(--on-surface); font-family:var(--font-sans); font-size:0.9rem; width:100%; outline:none; }
.vela-chat__input-bar input::placeholder { color:var(--outline); }
.vela-chat__send-btn:hover { color:var(--primary); transform:scale(1.1); }
.vela-chat__send-btn { transition:all 0.3s ease; }

/* ---------- 7. Button Enhancements ---------- */
/* Ripple effect */
.btn-primary, .btn-primary-lg { position:relative; overflow:hidden; }
.vela-ripple { position:absolute; border-radius:50%; background:rgba(255,255,255,0.3); transform:scale(0); animation:velaRipple 0.6s ease-out forwards; pointer-events:none; }
@keyframes velaRipple { to { transform:scale(4); opacity:0; } }

/* Shimmer sweep on hover */
.btn-primary::after, .btn-primary-lg::after { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition:left 0.5s ease; }
.btn-primary:hover::after, .btn-primary-lg:hover::after { left:100%; }

/* ---------- 8. Testimonial Cards Enhancement ---------- */
.vela-testimonial-card { background:rgba(36,36,36,0.4); backdrop-filter:blur(8px); border:1px solid rgba(212,175,55,0.06); transition:all 0.4s ease; }
.vela-testimonial-card:hover { border-color:rgba(212,175,55,0.15); transform:translateY(-2px); }

/* ---------- 9. Section Depth & Gradients ---------- */
/* Subtle gradient separators between sections */
.vela-section + .vela-section::before { content:''; display:block; height:1px; background:linear-gradient(90deg, transparent, rgba(212,175,55,0.15), transparent); margin-bottom:0; }

/* Subtle noise texture - add via body pseudo-element */
body::after { content:''; position:fixed; top:0; left:0; width:100%; height:100%; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E"); pointer-events:none; z-index:9998; opacity:0.4; }

/* ---------- 10. ROI Calculator Enhancement ---------- */
.vela-calculator__result-amount { transition:all 0.3s ease; }
.vela-calculator__result-amount.vela-calc-pulse { animation:velaCalcPulse 0.5s ease; }
@keyframes velaCalcPulse { 0%{transform:scale(1)} 50%{transform:scale(1.05); text-shadow:0 0 20px rgba(212,175,55,0.5)} 100%{transform:scale(1)} }

/* Slider thumb glow */
input[type="range"]::-webkit-slider-thumb { box-shadow:0 0 10px rgba(212,175,55,0.4); }

/* ---------- 11. FAQ Smooth Animation ---------- */
.vela-faq__answer { max-height:0; overflow:hidden; transition:max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.4s ease; padding:0 1.5rem; }
.vela-faq__item.active .vela-faq__answer { max-height:300px; padding:0 1.5rem 1.5rem; }
.vela-faq__question svg, .vela-faq__question .vela-faq__icon { transition:transform 0.3s ease; }
.vela-faq__item.active .vela-faq__question svg, .vela-faq__item.active .vela-faq__question .vela-faq__icon { transform:rotate(180deg); }

/* ---------- 12. Industry Tags Enhancement ---------- */
.vela-industry-card:hover { transform:translateY(-4px) scale(1.02); box-shadow:0 12px 40px rgba(0,0,0,0.3); }
.vela-industry-card { transition:all 0.3s cubic-bezier(0.16,1,0.3,1); }

/* ---------- 13. Footer Link Hover ---------- */
.vela-footer a { position:relative; }
.vela-footer a::after { content:''; position:absolute; bottom:-2px; left:0; width:0; height:1px; background:var(--primary); transition:width 0.3s ease; }
.vela-footer a:hover::after { width:100%; }

/* ---------- 14. Stat Counter Glow ---------- */
.vela-stat-glow-pulse { animation:velaStatGlow 1.2s ease; }
@keyframes velaStatGlow { 0%{text-shadow:none} 50%{text-shadow:0 0 30px rgba(212,175,55,0.6), 0 0 60px rgba(212,175,55,0.3)} 100%{text-shadow:none} }

/* ---------- 15. Mobile Responsive Adjustments ---------- */
@media (max-width:768px) {
  .vela-hero::before { width:250px; height:250px; }
  .vela-scroll-hint { bottom:1rem; }
  body::after { display:none; } /* No noise texture on mobile */
  .vela-reveal, .vela-animate-in { transform:translateY(20px); }
  .vela-reveal[data-reveal="left"], .vela-reveal[data-reveal="right"] { transform:translateY(20px); }
}
