html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { overflow-x: clip; }
.brand { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: #111; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.brand span { font-family: Arial, sans-serif; font-size: 30px; font-weight: 750; letter-spacing: -1.4px; }
#hero-fold h1 { animation: headline-in .85s cubic-bezier(.22,1,.36,1) both; }
#hero-fold p { animation: headline-in 1s .1s cubic-bezier(.22,1,.36,1) both; }
#hero-fold > div > div:last-child { margin-top: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, video:focus-visible { outline: 3px solid #287cee; outline-offset: 5px; }
section h2 { text-wrap: balance; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
[data-slot="card"], #use-cases .grid > div, #features .grid > div { transition: transform .35s ease, box-shadow .35s ease; }
[data-slot="card"]:hover, #use-cases .grid > div:hover, #features .grid > div:hover { transform: translateY(-7px); box-shadow: 0 18px 45px -30px #8723e1; }
.faq-answer { max-width: 1050px; margin: 0 auto; padding: 0 20px 30px; color: #525252; line-height: 1.7; font-size: 18px; white-space: pre-line; }
[data-slot="accordion-content"][hidden] { display: none; }
[data-slot="accordion-content"] { animation: answer-in .3s ease; }
#video-wall video { cursor: pointer; }
.video-modal { position: fixed; inset: 0; margin: auto; border: 0; padding: 0; border-radius: 20px; background: #111; max-width: min(1100px, 92vw); max-height: 90vh; overflow: visible; }
.video-modal::backdrop { background: #000c; backdrop-filter: blur(12px); }
.video-modal video { display: block; max-width: 90vw; max-height: 82vh; border-radius: 20px; }
.video-modal button { position: absolute; right: 12px; top: 12px; z-index: 2; background: #000a; color: white; border-radius: 50%; width: 40px; height: 40px; font-size: 28px; cursor: pointer; }
.pricing-local { max-width: 1280px; margin: 0 auto 110px; padding: 60px 32px; background: radial-gradient(ellipse at 50% 0%, #e4efff, transparent 65%); }
.pricing-local h2 { text-align: center; font-size: 72px; line-height: 1.1; font-family: var(--font-media-sans-ultra), sans-serif; text-transform: uppercase; margin-bottom: 24px; }
.billing-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 36px; }
.billing-tabs button { padding: 11px 22px; border-radius: 30px; border: 1px solid #d8dbe1; cursor: pointer; }
.billing-tabs button[aria-pressed="true"] { background: #171717; color: white; border-color: #171717; }
.pricing-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.price-card { background: #ffffffd9; border: 1px solid #dce3ed; border-radius: 24px; padding: 28px; box-shadow: 0 8px 40px #183a6710; }
.price-card:last-child { border-color: #287cee; }
.price-card h3 { font-size: 25px; font-weight: 800; margin-bottom: 8px; }
.price-card .plan-description { color: #626870; min-height: 50px; }
.price-card .credits { font-size: 23px; font-weight: 600; margin: 24px 0; }
.price-card .price { font-size: 52px; font-weight: 700; letter-spacing: -2px; line-height: 1.2; }
.price-card .billing-caption { color: #727780; font-size: 14px; margin: 8px 0 22px; }
.price-card .plan-link { display: block; text-align: center; padding: 13px; background: #086de8; color: #fff; font-weight: 600; border-radius: 30px; transition: background .2s, transform .2s; }
.plan-link:hover { background: #005ac8; transform: translateY(-2px); }
.seats { display: flex; align-items: center; justify-content: space-between; border: 1px solid #e3e6eb; border-radius: 30px; margin: 24px 0; padding: 5px; }
.seats button { width: 34px; height: 34px; cursor: pointer; font-size: 22px; border-radius: 50%; }
.seats button:hover { background: #f0f4fa; }
.price-card ul { list-style: none; border-top: 1px solid #e3e6eb; padding-top: 22px; font-size: 15px; }
.price-card li { margin-bottom: 15px; line-height: 1.5; }
.price-card li::before { content: '✓'; color: #086de8; margin-right: 10px; }
.mobile-toggle { display: none; }
.mobile-panel { display: none; }
.hailuo-credit-slider { width: 100%; accent-color: #a0d9da; cursor: pointer; }
.hailuo-slider-labels { display: flex; justify-content: space-between; font-size: 12px; color: #ffffff90; }
.pricing-glass-cta { text-decoration: none; text-align: center; }
.pricing-glass-card-pills { gap: 4px; }
.pricing-glass-badge--discount { background: #e8bb79; color: #111; font-weight: 800; }
.pricing-glass-badge--best { background: #3980dd; color: white; font-weight: 800; }
.navigation-menu { visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; pointer-events: none; }
.menu-open > .navigation-menu { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
.article-scroll { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.article-scroll::-webkit-scrollbar { display: none; }
[data-slot="carousel-item"] { scroll-snap-align: start; }
#video-wall video ~ div, #video-wall div:has(> video) > div { pointer-events: none; }
@media (max-width: 1150px) {
  .desktop-navigation { display: none; }
  .mobile-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ddd; border-radius: 50%; font-size: 22px; }
  .mobile-panel.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: 22px; gap: 20px; background: white; box-shadow: 0 18px 25px #0001; }
}
@keyframes headline-in { from { opacity: 0; transform: translateY(24px); filter: blur(4px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes answer-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767px) {
  nav { gap: 10px; padding-inline: 18px !important; }
  .header-actions { margin-left: auto; }
  .header-actions button:first-child { display: none; }
  .header-actions button { white-space: nowrap; font-size: 14px; }
  .mobile-toggle { flex-shrink: 0; }
  .brand span { font-size: 27px; }
  .brand img { width: 29px; height: 29px; }
  #hero-fold h1 { font-size: clamp(42px, 10.6vw, 70px); margin: 0; }
  .pricing-local { padding: 35px 22px; margin-bottom: 50px; }
  .pricing-local h2 { font-size: 48px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .faq-answer { padding: 0 0 25px; font-size: 16px; }
  .mobile-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ddd; border-radius: 50%; font-size: 22px; }
  .mobile-panel.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: 22px; gap: 20px; background: white; box-shadow: 0 18px 25px #0001; }
  .mobile-panel a { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
