@font-face {
  font-family: 'Ataero';
  src: url('../fonts/AtAero-Regular.woff2') format('woff2'),
       url('../fonts/AtAero-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ataero';
  src: url('../fonts/AtAero-Medium.woff2') format('woff2'),
       url('../fonts/AtAero-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ataero';
  src: url('../fonts/AtAero-Bold.woff2') format('woff2'),
       url('../fonts/AtAero-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-ataero: "Be Vietnam Pro", "Ataero", Arial, sans-serif;
  --font-sans: var(--font-ataero);
}

summary::-webkit-details-marker {
  display: none;
}

summary {
  list-style: none;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#home .hero-content > * {
  opacity: 0;
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#home .hero-content > *:nth-child(1) { animation-delay: 0.04s; }
#home .hero-content > *:nth-child(2) { animation-delay: 0.14s; }
#home .hero-content > *:nth-child(3) { animation-delay: 0.24s; }
#home .hero-content > *:nth-child(4) { animation-delay: 0.32s; }
#home .hero-content > *:nth-child(5) { animation-delay: 0.40s; }
#home .hero-content > *:nth-child(6) { animation-delay: 0.48s; }
#home .hero-content > *:nth-child(7) { animation-delay: 0.54s; }
#home .hero-content > *:nth-child(8) { animation-delay: 0.60s; }
#home .hero-content > *:nth-child(9) { animation-delay: 0.65s; }

[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-delay='1'] { transition-delay: 0.10s; }
[data-animate][data-delay='2'] { transition-delay: 0.20s; }
[data-animate][data-delay='3'] { transition-delay: 0.30s; }

#faq details summary {
  transition: color 0.2s ease;
}

#faq details[open] summary {
  color: #fff;
}

#faq details .faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#faq details[open] .faq-body {
  grid-template-rows: 1fr;
}

#faq details .faq-body-inner {
  overflow: hidden;
}

#faq details .faq-icon-plus,
#faq details .faq-icon-minus {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#faq details .faq-icon-minus {
  display: none;
}

#faq details[open] .faq-icon-plus {
  display: none;
}

#faq details[open] .faq-icon-minus {
  display: block;
}

@media (max-width: 600px) {
  
  #home h1 {
    font-size: 1.875rem;
    line-height: 1.2;
  }

  
  #membership .max-w-\[440px\] {
    max-width: 100%;
  }

  
  #links .grid {
    grid-template-columns: 1fr;
  }

  
  #why .px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  
  #faq details {
    border-radius: 1rem;
  }

  
  #home ~ section .text-\[32px\] {
    font-size: 1.5rem;
  }

  
  .rounded-\[60px\] {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  
  #real-results .aspect-\[398\/707\] {
    aspect-ratio: 16 / 9;
  }
}

/* Long CTA: style nằm inline trong template-parts/sections/long-cta.php (đảm bảo hiển thị kể cả khi chưa npm run build) */

.vne-video-aspect {
  aspect-ratio: 16/9;
}

/* Home intro, market trends, stats, and value props spacing */
.vne-home-hero { padding-bottom: 48px; }
.vne-home-hero__content { gap: 0; }
.vne-home-hero__cta,
.vne-investment-stats__cta { min-height: 52px; white-space: nowrap; }
.vne-market-trends { padding-top: 48px; padding-bottom: 40px; }
.vne-market-trends__copy { max-width: 820px; }
.vne-market-trends__copy h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.vne-investment-stats { position: relative; z-index: 2; }
.vne-investment-stats__panel { padding-left: 24px; padding-right: 24px; }
.vne-investment-stats__items { align-items: flex-start; padding-top: 44px; padding-bottom: 30px; }
.vne-investment-stats__item { max-width: 340px; min-width: 0; }
.vne-investment-stats__item p:last-child { max-width: 320px; margin-left: auto; margin-right: auto; }
.vne-investment-stats__cta-wrap { padding-top: 34px; padding-bottom: 96px; }
.vne-value-props { padding-top: 88px; }
.vne-value-props__heading { margin-bottom: 64px; }
.vne-value-props__heading h2 { max-width: 820px; }
.vne-value-props__heading p:last-child { max-width: 860px; }
.vne-value-props__grid { align-items: stretch; }
.vne-value-props__card { min-height: 100%; }

@media (min-width: 768px) {
  .vne-home-hero { padding-bottom: 56px; }
  .vne-market-trends { padding-top: 56px; padding-bottom: 48px; }
  .vne-investment-stats__items { padding-bottom: 38px; }
  .vne-investment-stats__cta-wrap { padding-top: 38px; padding-bottom: 112px; }
}

@media (max-width: 767px) {
  .vne-home-hero { padding-top: 72px; padding-bottom: 40px; }
  .vne-home-hero__cta,
  .vne-investment-stats__cta { width: min(100%, 420px); white-space: normal; text-align: center; line-height: 1.45; }
  .vne-market-trends { padding-top: 40px; padding-bottom: 28px; }
  .vne-investment-stats__panel { padding-left: 16px; padding-right: 16px; }
  .vne-investment-stats__items { gap: 28px; padding-top: 36px; padding-bottom: 24px; }
  .vne-investment-stats__cta-wrap { padding-top: 30px; padding-bottom: 72px; }
  .vne-value-props { padding-top: 64px; }
  .vne-value-props__heading { margin-bottom: 44px; }
}

/* Investment stats card polish */
.vne-investment-stats__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  padding-top: 42px;
  padding-bottom: 34px;
}

.vne-investment-stats__item {
  display: flex;
  min-height: 150px;
  max-width: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 165, 253, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 70px rgba(0, 0, 0, 0.14);
}

.vne-investment-stats__item p:first-child {
  max-width: 100%;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.vne-investment-stats__item:first-child p:first-child {
  max-width: 360px;
  font-size: clamp(32px, 2.55vw, 42px);
}

.vne-investment-stats__item p:last-child {
  max-width: 300px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: balance;
}

.vne-investment-stats__cta-wrap {
  padding-top: 22px;
}

@media (max-width: 1023px) {
  .vne-investment-stats__items {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .vne-investment-stats__item,
  .vne-investment-stats__item:first-child p:first-child {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .vne-investment-stats__items {
    gap: 18px;
    padding-top: 32px;
    padding-bottom: 24px;
  }

  .vne-investment-stats__item {
    min-height: 130px;
    padding: 24px 18px;
  }

  .vne-investment-stats__item p:first-child,
  .vne-investment-stats__item:first-child p:first-child {
    font-size: clamp(30px, 9vw, 38px);
  }
}

/* Investment stats line rhythm refinement */
.vne-investment-stats__items {
  gap: 28px;
  max-width: 1160px;
  align-items: stretch;
}

.vne-investment-stats__item {
  min-height: 170px;
  padding: 30px 26px 28px;
  justify-content: flex-start;
}

.vne-investment-stats__item p:first-child {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: clamp(38px, 3.05vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-align: center;
}

.vne-investment-stats__item:first-child p:first-child {
  max-width: 330px;
  font-size: clamp(36px, 2.75vw, 44px);
}

.vne-investment-stats__item p:last-child {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  text-align: center;
}

@media (min-width: 1024px) {
  .vne-investment-stats__item:nth-child(2) p:first-child,
  .vne-investment-stats__item:nth-child(3) p:first-child {
    padding-top: 4px;
  }
}

@media (max-width: 767px) {
  .vne-investment-stats__item {
    min-height: 150px;
  }

  .vne-investment-stats__item p:first-child,
  .vne-investment-stats__item:first-child p:first-child {
    min-height: auto;
    font-size: clamp(32px, 9vw, 40px);
  }

  .vne-investment-stats__item p:last-child {
    min-height: auto;
  }
}

/* Sheet-driven trends and investment system layout */
.vne-market-trends {
  padding-top: 56px;
  padding-bottom: 56px;
}

.vne-market-trends__copy {
  max-width: 880px;
}

.vne-market-trends__copy > p:first-child {
  margin-top: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: #8fb6e8;
}

.vne-market-trends__copy h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(42px, 4.4vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.vne-market-trends__copy > p:last-child {
  margin-top: 24px;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.6;
}

.vne-investment-stats__panel {
  padding: 72px 24px 92px;
}

.vne-investment-stats__intro {
  max-width: 860px;
}

.vne-investment-stats__title {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.vne-investment-stats__subtitle {
  margin-top: 12px;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
}

.vne-investment-stats__items {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 28px;
  max-width: 960px;
  padding-top: 44px;
  padding-bottom: 0;
}

.vne-investment-stats__item {
  display: flex;
  min-height: 154px;
  max-width: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 165, 253, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 26px 80px rgba(0, 0, 0, 0.18);
}

.vne-investment-stats__item p:first-child {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: clamp(38px, 3.2vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-align: center;
  text-wrap: balance;
}

.vne-investment-stats__item:first-child p:first-child {
  font-size: clamp(34px, 2.75vw, 46px);
}

.vne-investment-stats__item p:last-child {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  max-width: 420px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}

.vne-investment-stats__cta-wrap {
  padding-top: 38px;
  padding-bottom: 0;
}

@media (max-width: 1023px) {
  .vne-investment-stats__items {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

@media (max-width: 767px) {
  .vne-market-trends {
    padding-top: 44px;
    padding-bottom: 40px;
  }

  .vne-market-trends__copy h2,
  .vne-investment-stats__title {
    font-size: clamp(34px, 10vw, 46px);
  }

  .vne-investment-stats__panel {
    padding: 56px 16px 72px;
  }

  .vne-investment-stats__items {
    gap: 18px;
    padding-top: 34px;
  }

  .vne-investment-stats__item {
    min-height: 138px;
    padding: 26px 20px;
  }

  .vne-investment-stats__item p:first-child,
  .vne-investment-stats__item:first-child p:first-child {
    min-height: auto;
    font-size: clamp(30px, 9vw, 40px);
  }
}

/* Market trends split media layout */
.vne-market-trends {
  padding-top: 72px;
  padding-bottom: 72px;
}

.vne-market-trends__container {
  max-width: 1180px;
}

.vne-market-trends__layout {
  gap: 56px;
}

.vne-market-trends__media {
  position: relative;
}

.vne-market-trends__media::before {
  content: "";
  position: absolute;
  inset: 12% 4% -8% 8%;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 35%, rgba(31, 165, 253, 0.28), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
}

.vne-market-trends__image {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.35);
}

.vne-market-trends__copy {
  max-width: 560px;
  text-align: left;
}

.vne-market-trends__copy > p:first-child {
  margin-top: 0;
}

.vne-market-trends__copy h2 {
  max-width: 620px;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(40px, 4vw, 64px);
  text-wrap: balance;
}

.vne-market-trends__copy > p:last-child {
  max-width: 520px;
}

@media (max-width: 1023px) {
  .vne-market-trends__copy {
    max-width: 820px;
    text-align: center;
  }

  .vne-market-trends__copy h2,
  .vne-market-trends__copy > p:last-child {
    margin-left: auto;
    margin-right: auto;
  }

  .vne-market-trends__image {
    height: 420px;
  }
}

@media (max-width: 767px) {
  .vne-market-trends {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .vne-market-trends__layout {
    gap: 36px;
  }

  .vne-market-trends__image {
    height: 320px;
    border-radius: 24px;
  }
}

/* Styled 404 page */
.vne-404 {
  isolation: isolate;
}

.vne-404::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 45%, black 0%, transparent 72%);
}

.vne-404__glow {
  position: absolute;
  width: min(720px, 80vw);
  height: min(720px, 80vw);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 165, 253, 0.34), rgba(10, 107, 196, 0.12) 45%, transparent 72%);
  filter: blur(48px);
  opacity: 0.9;
}

.vne-404__glow--top {
  top: -28%;
  left: 50%;
  transform: translateX(-50%);
}

.vne-404__glow--bottom {
  right: -18%;
  bottom: -35%;
}

.vne-404__panel {
  position: relative;
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 165, 253, 0.16), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 140px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.vne-404__code {
  font-size: clamp(110px, 17vw, 230px);
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #69bbff 44%, rgba(31, 165, 253, 0.16) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 24px 90px rgba(31, 165, 253, 0.32);
}

.vne-404__primary,
.vne-404__secondary {
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .vne-404 {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .vne-404__panel {
    padding: 32px 20px;
  }

  .vne-404__primary,
  .vne-404__secondary {
    width: 100%;
    max-width: 360px;
  }
}

/* 404 CTA button override */
.vne-404 .vne-404__primary,
.vne-404 .vne-404__secondary {
  display: inline-flex !important;
  min-width: 220px;
  min-height: 56px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 34px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.22em !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.vne-404 .vne-404__primary {
  border: 1px solid rgba(31, 165, 253, 0.9) !important;
  background: #1FA5FD !important;
  color: #ffffff !important;
  box-shadow: 0 18px 50px rgba(31, 165, 253, 0.22) !important;
}

.vne-404 .vne-404__secondary {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

.vne-404 .vne-404__primary:hover,
.vne-404 .vne-404__secondary:hover {
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .vne-404 .vne-404__primary,
  .vne-404 .vne-404__secondary {
    width: 100% !important;
    max-width: 360px !important;
  }
}
