/*
  VFX Digital Twin Scanning page styles.
  Rebuilt to match the glassmorphism design system (applications/DESIGN.md):
  canvas #1a1a1a, purple gradient, glass surfaces with hairline borders +
  backdrop blur, Dela Gothic One / Space Grotesk type. Solution cards,
  buttons, and the final CTA reuse home.css's hm-* classes directly instead
  of duplicating them; only page-specific bits (hero, case study, pbr
  swatches, partner badges) live here.
*/

.vfx-main {
  padding: 2rem;
  color: #fff;
  background-color: #1a1a1a; /* colors.canvas */
}

.vfx-section-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.vfx-section {
  padding: 64px 0; /* spacing.section */
}

.vfx-section h2 {
  font-family: "Dela Gothic One", cursive;
  font-weight: 400;
  font-size: 2.5rem; /* display-sm */
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.vfx-section-intro {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem; /* body-lg */
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #a0a0a0; /* ink-muted */
}

.vfx-section p {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
}

/* Hero (split layout — text + capture-rig photo, same gradient/badge
   treatment as before, laid out side by side on desktop like home.css's
   hm-hero-split, stacked and centered on mobile). */
.vfx-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d0d, #782dbf);
  color: #ffffff;
  padding: 6.5rem 1.5rem;
}

.vfx-hero-inner {
  position: relative;
  z-index: 2;
  /* 1200px matches .hm-hero-split-inner's max-width in home.css, the
     shared width standard used by Home and the other redesigned pages */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

@media (min-width: 900px) {
  .vfx-hero-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
    /* matches .hm-hero-split-inner's gap in home.css */
    gap: 3rem;
  }
}

.vfx-hero-content {
  max-width: 600px;
}

@media (min-width: 900px) {
  .vfx-hero-content {
    flex: 1 1 420px;
    max-width: none;
  }
}

.vfx-hero-media {
  flex: 1 1 320px;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 5 / 4;
  border-radius: 12px; /* rounded.md */
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
}

.vfx-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vfx-hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2); /* hairline-strong */
  border-radius: 9999px; /* rounded.pill */
  backdrop-filter: blur(5px); /* glass-blur */
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  color: #888888; /* ink-tertiary */
  margin-bottom: 1.25rem;
}

.vfx-hero-title {
  font-family: "Dela Gothic One", cursive;
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 1rem;
  text-align: inherit; /* style.css sets a global h1 { text-align: left } that
                           beats inheritance — follow .vfx-hero-content instead
                           (centered on mobile, left-aligned on desktop) */
}

.vfx-hero-title-gradient {
  color: #d9c7f0; /* hm-accent lavender */
}

.vfx-hero-description {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem; /* body-lg */
  line-height: 1.6;
  color: #a0a0a0; /* ink-muted */
  margin: 0 0 2rem;
}

.vfx-pbr-swatches {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  width: 100%;
}

.vfx-pbr-swatch {
  flex: 1;
  text-align: center;
}

.vfx-pbr-swatch img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px; /* rounded.sm */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
}

.vfx-pbr-swatch span {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem; /* typography.caption */
  margin-top: 0.4rem;
  color: #a0a0a0; /* ink-muted */
}

/* Delivery Options */
.vfx-pricing-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 1.75rem;
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  border-radius: 8px; /* rounded.sm */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* card-shadow */
  backdrop-filter: blur(5px); /* glass-blur */
}

.vfx-pricing-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
}

@media (min-width: 700px) {
  .vfx-pricing-options {
    grid-template-columns: 1fr 1fr;
  }

  .vfx-pricing-option:first-child {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  }

  .vfx-pricing-option:last-child {
    padding-left: 1.5rem;
  }
}

.vfx-pricing-option .hm-solution-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.vfx-pricing-option p {
  color: #a0a0a0; /* ink-muted */
}

/* Case Study */
.vfx-case-study {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  border-radius: 8px; /* rounded.sm */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* card-shadow */
  backdrop-filter: blur(5px); /* glass-blur */
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.vfx-case-study:hover {
  background-color: rgba(255, 255, 255, 0.08); /* surface-glass-hover */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* card-shadow-hover */
}

@media (min-width: 800px) {
  .vfx-case-study {
    flex-direction: row;
    align-items: stretch;
    padding: 2rem;
  }
}

.vfx-case-image {
  flex: 1;
  display: flex;
}

.vfx-case-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 8px; /* rounded.sm */
}

.vfx-case-text {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vfx-case-text p {
  color: #a0a0a0; /* ink-muted */
  margin: 0 0 1rem;
}

.vfx-case-text p:last-child {
  margin-bottom: 0;
}

/* How can we collaborate: address line inside the Barcelona session card */
.vfx-address {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  color: #888888; /* ink-tertiary */
  margin: 0 0 1rem;
}

/* Partnerships */
.vfx-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px; /* spacing.xs */
}

.vfx-partner-badge {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px; /* rounded.pill */
  background-color: rgba(255, 255, 255, 0.08); /* surface-glass-hover */
  color: #a0a0a0; /* ink-muted */
}

/* Final CTA: plain underlined email link (same pattern as .au-email-link
   on feature/about-us) instead of a pill button. */
.vfx-email-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  color: #8a2be2; /* primary */
  text-decoration: underline;
}

/* Final CTA: social links (same pattern as feature/about-us).
   Compound selector needed to beat home.css's ".hm-final-cta p" rule,
   which was zeroing out this margin-top and leaving no gap after the
   email button. */
.hm-final-cta-box .vfx-follow-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a0a0a0; /* ink-muted */
  margin: 2rem auto 1rem;
}

.vfx-social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.vfx-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px; /* rounded.pill */
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  color: #8a2be2; /* primary */
  transition: all 0.3s ease;
}

.vfx-social-link svg {
  width: 20px;
  height: 20px;
}

.vfx-social-link:hover {
  transform: translateY(-2px); /* hover-lift */
  background: linear-gradient(to right, #6a0dad, #8a2be2);
  color: #ffffff;
}
