/* AI Vibe Coding - Custom Effects */

html {
  scroll-behavior: smooth;
}

.font-display {
  font-family: 'Space Grotesk', 'Noto Sans Thai', system-ui, sans-serif;
}

/* Circuit pattern background */
.circuit-bg {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
}

.circuit-dots {
  background-image: radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Glassmorphism navbar */
.nav-glass {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-glass.scrolled {
  box-shadow: 0 4px 30px rgba(0, 43, 91, 0.08);
}

/* Navigation items with icons */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: transparent;
  color: #64748b;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item-label {
  position: relative;
  z-index: 1;
}

.nav-item-underline {
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1rem);
  height: 2px;
  background: linear-gradient(90deg, #0EA5E9, #6366f1);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item:hover {
  color: #0EA5E9;
  background: rgba(14, 165, 233, 0.06);
}

.nav-item:hover .nav-item-icon {
  color: #0EA5E9;
  background: rgba(14, 165, 233, 0.12);
  transform: translateY(-2px) scale(1.12) rotate(-3deg);
}

.nav-item:hover .nav-item-underline {
  transform: translateX(-50%) scaleX(0.6);
}

.nav-item-active {
  color: #0EA5E9;
  font-weight: 600;
  background: rgba(14, 165, 233, 0.08);
}

.nav-item-active .nav-item-icon {
  color: #fff;
  background: linear-gradient(135deg, #0EA5E9, #6366f1);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
  animation: navIconPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item-active .nav-item-underline {
  transform: translateX(-50%) scaleX(1);
}

@keyframes navIconPop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Mobile nav items */
.nav-mobile-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin: 0 0.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: all 0.25s ease;
  opacity: 0;
  transform: translateX(-12px);
}

.mobile-menu.open .nav-mobile-item {
  animation: navMobileSlide 0.35s ease forwards;
  animation-delay: var(--nav-delay, 0ms);
}

@keyframes navMobileSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-mobile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: #f1f5f9;
  color: #64748b;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.nav-mobile-item:hover {
  color: #0EA5E9;
  background: rgba(14, 165, 233, 0.06);
}

.nav-mobile-item:hover .nav-mobile-icon {
  background: rgba(14, 165, 233, 0.12);
  color: #0EA5E9;
  transform: scale(1.08);
}

.nav-mobile-active {
  color: #0EA5E9;
  font-weight: 600;
  background: rgba(14, 165, 233, 0.08);
}

.nav-mobile-active .nav-mobile-icon {
  color: #fff;
  background: linear-gradient(135deg, #0EA5E9, #6366f1);
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

.nav-mobile-badge {
  font-size: 0.625rem;
  font-weight: 600;
  color: #0EA5E9;
  background: rgba(14, 165, 233, 0.12);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  margin-left: 0.25rem;
}


/* Pulse CTA */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.btn-pulse {
  animation: pulse-ring 2.5s ease-out infinite;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-delay {
  animation: float 4s ease-in-out 1s infinite;
}

.animate-float-slow {
  animation: float 6s ease-in-out 0.5s infinite;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, #ff007f 0%, #9d4edd 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-red {
  background: linear-gradient(135deg, #E11D48 0%, #F43F5E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card hover glow */
.card-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 43, 91, 0.12);
  border-color: rgba(14, 165, 233, 0.4);
}

/* Day number watermark */
.day-watermark {
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 1;
  opacity: 0.08;
  font-weight: 900;
  position: absolute;
  top: -10px;
  right: 20px;
  user-select: none;
  pointer-events: none;
}

/* Hero illustration */
.hero-laptop {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  box-shadow:
    0 25px 50px rgba(0, 43, 91, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-screen {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-radius: 8px;
}

/* LINE chat mockup */
.line-chat {
  background: #8AB929;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.line-bubble {
  background: #fff;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Flow connector */
.flow-line {
  background: linear-gradient(90deg, #0EA5E9, #10B981);
  height: 2px;
  position: relative;
}

.flow-line::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: #10B981;
}

/* Counter animation */
.counter-value {
  font-variant-numeric: tabular-nums;
}

/* Mobile menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  top: 4rem;
  background: rgba(0, 20, 50, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 45;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

@media (max-width: 1023px) {
  .mobile-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    max-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 40px rgba(0, 43, 91, 0.12);
    z-index: 50;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .mobile-menu.open {
    max-height: calc(100dvh - 4rem);
    height: auto;
  }
}

@media (min-width: 1024px) {
  .mobile-menu.open {
    max-height: 400px;
  }
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff007f, #9d4edd, #22d3ee);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Shimmer on hero badge */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.badge-shimmer {
  background: linear-gradient(90deg, #dbeafe 0%, #bfdbfe 50%, #dbeafe 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* Icon grid perk hover */
.perk-card {
  transition: all 0.3s ease;
}

.perk-card:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}

/* Gradient section */
.section-line-oa {
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfeff 50%, #f0fdf4 100%);
}

/* Reveal on scroll fallback */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: #0EA5E9;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* FAQ chevron */
.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-chevron.rotate-180 {
  transform: rotate(180deg);
}

/* Portfolio fade */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Gallery */
.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 43, 91, 0.15);
}

.gallery-overlay {
  pointer-events: none;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.hidden {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 50, 0.92);
  backdrop-filter: blur(8px);
}

.gallery-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-lightbox-img {
  max-width: 85vw;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.gallery-lightbox-info {
  text-align: center;
  margin-top: 1rem;
  max-width: 600px;
}

.gallery-lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox-prev { left: 1.5rem; }
.gallery-lightbox-next { right: 1.5rem; }

body.lightbox-open {
  overflow: hidden;
}

/* Hero Slider - Full top section, mobile responsive */
.hero-slider-section {
  background: #0a0618;
  width: 100%;
  padding-top: 4rem; /* navbar h-16 */
  margin: 0;
}

@media (min-width: 1024px) {
  .hero-slider-section {
    padding-top: 5rem; /* navbar h-20 */
  }
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  /* สัดส่วน banner 2092×752 */
  aspect-ratio: 2092 / 752;
  height: auto;
  min-height: 200px;
  max-height: calc(100vh - 5rem);
}

@media (min-width: 1024px) {
  .hero-slider-track {
    max-height: calc(100vh - 5rem);
  }
}

/* Mobile/Tablet: แสดง banner เต็มภาพ ไม่ crop */
@media (max-width: 1023px) {
  .hero-slider-track {
    aspect-ratio: 2092 / 752;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-slide-img {
    object-fit: contain;
    object-position: center center;
    background: #05011a;
  }

  .hero-slide picture {
    background: #05011a;
  }

  .hero-slider-dots {
    bottom: 0.625rem;
  }

  .hero-slider-gradient {
    height: 48px;
    background: linear-gradient(to top, rgba(5, 1, 26, 0.85) 0%, transparent 100%);
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-slide picture,
.hero-slide-picture,
.hero-slide-img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-slide-img {
  max-width: 100%;
}

.hero-slide-img {
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 1024px) {
  .hero-slide-img {
    object-fit: cover;
    object-position: center center;
  }
}

.hero-slider-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(10, 6, 24, 0.95) 0%, rgba(10, 6, 24, 0.4) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-slider-gradient {
    height: 100px;
  }
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.08);
}

.hero-slider-prev { left: 0.75rem; }
.hero-slider-next { right: 0.75rem; }

@media (max-width: 640px) {
  .hero-slider-arrow {
    width: 32px;
    height: 32px;
    top: 42%;
  }
  .hero-slider-prev { left: 0.375rem; }
  .hero-slider-next { right: 0.375rem; }
}

.hero-slider-dots {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.375rem;
}

@media (max-width: 768px) {
  .hero-slider-dots {
    bottom: 4rem;
  }
}

@media (max-width: 480px) {
  .hero-slider-dots {
    bottom: 3.75rem;
  }
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

@media (min-width: 768px) {
  .hero-dot {
    width: 10px;
    height: 10px;
  }
}

.hero-dot.active {
  background: #e879f9;
  width: 24px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .hero-dot.active {
    width: 28px;
  }
}

.hero-dot:hover {
  background: rgba(232, 121, 249, 0.7);
}

.hero-slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.hero-slider-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #e879f9, #818cf8);
  width: 0%;
  transition: width 0.1s linear;
}

/* CTA overlay on banner */
.hero-slider-cta {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: calc(100% - 2rem);
  max-width: 480px;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .hero-slider-cta {
    bottom: 1rem;
    gap: 0.75rem;
    max-width: 560px;
  }
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 480px) {
  .hero-cta-btn {
    font-size: 0.8125rem;
    padding: 0.625rem 1.25rem;
    flex: 0 1 auto;
  }
}

@media (min-width: 768px) {
  .hero-cta-btn {
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
  }
}

.hero-cta-primary {
  background: #e11d48;
  color: #fff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

.hero-cta-primary:hover {
  background: #be123c;
  transform: translateY(-1px);
}

.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== Homepage Sections ===== */

/* Marquee */
.marquee-track {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

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

/* Process flow */
.process-flow-line {
  position: absolute;
  top: 3.5rem;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0EA5E9, #6366f1, transparent);
  z-index: 0;
}

.process-step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #6366f1);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  position: relative;
  z-index: 1;
}

.process-step-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.process-step.active .process-step-icon {
  transform: scale(1.12);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.25);
}

/* Demo tabs */
.demo-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  background: #f1f5f9;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.demo-tab-btn:hover {
  color: #0EA5E9;
  background: #eff6ff;
}

.demo-tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #0EA5E9, #6366f1);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}

.demo-tab-panel {
  display: none;
  animation: tabFadeIn 0.4s ease;
}

.demo-tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-panel-visual {
  transition: transform 0.4s ease;
}

.demo-tab-panel.active .demo-panel-visual {
  animation: tabVisualPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tabVisualPop {
  from { transform: scale(0.9); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}

/* Outcome items */
.outcome-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--delay, 0ms);
}

.outcome-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* LINE chat animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease;
}

/* Seats widget */
.seats-progress-bar {
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.seats-widget {
  animation: seatsGlow 3s ease-in-out infinite;
}

@keyframes seatsGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
  50% { box-shadow: 0 0 20px rgba(225, 29, 72, 0.15); }
}

/* Feature tilt */
.feature-tilt {
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Testimonial */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

/* Stat bar */
.home-stat-item {
  transition: transform 0.3s ease;
}

.home-stat-item:hover {
  transform: translateY(-4px);
}

.stat-counter {
  font-variant-numeric: tabular-nums;
}

/* Schedule card shine */
.schedule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.schedule-card:hover::before {
  left: 120%;
}

/* Promo Banner (LINE OA etc.) */
.promo-banner-section {
  width: 100%;
  background: #f0f4f8;
  padding: 0;
  overflow: hidden;
}

.promo-banner-link {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1024 / 368;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

@media (max-width: 1023px) {
  .promo-banner-img {
    aspect-ratio: 1024 / 368;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    background: #05011a;
  }

  .promo-banner-link {
    background: #05011a;
  }
}

.promo-banner-link:hover .promo-banner-img {
  transform: scale(1.02);
}

.promo-banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.promo-banner-link:hover .promo-banner-shine {
  transform: translateX(100%);
}

/* Audience card bounce */
.audience-card:hover {
  border-color: rgba(14, 165, 233, 0.3);
}

/* ============================================================
   PREMIUM HOMEPAGE DESIGN SYSTEM
   ============================================================ */

.page-home {
  --premium-navy: #001a38;
  --premium-navy-light: #002B5B;
  --premium-gold: #c9a227;
  --premium-cyan: #22d3ee;
  --premium-glass: rgba(255, 255, 255, 0.06);
  --premium-border: rgba(255, 255, 255, 0.1);
  --premium-shadow: 0 25px 50px -12px rgba(0, 26, 56, 0.15);
  --premium-shadow-lg: 0 32px 64px -16px rgba(0, 26, 56, 0.2);
}

/* Section headers */
.premium-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0EA5E9;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.06));
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.premium-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #6366f1);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}

.premium-title {
  font-family: 'Space Grotesk', 'Noto Sans Thai', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--premium-navy-light);
}

.premium-subtitle {
  font-size: 1.0625rem;
  color: #64748b;
  max-width: 36rem;
  margin-top: 0.75rem;
  line-height: 1.7;
}

.text-gradient-premium {
  background: linear-gradient(135deg, #002B5B 0%, #0EA5E9 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Premium sections */
.premium-section {
  position: relative;
  overflow: hidden;
}

.premium-section-dark {
  background: linear-gradient(165deg, #001a38 0%, #002B5B 45%, #0c2d5a 100%);
  color: #fff;
}

.premium-section-dark .premium-title {
  color: #fff;
}

.premium-section-dark .premium-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.premium-section-dark .premium-eyebrow {
  color: #67e8f9;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.premium-section-alt {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.premium-section-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.premium-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}

.premium-orb-cyan {
  width: 400px;
  height: 400px;
  background: rgba(34, 211, 238, 0.15);
  top: -100px;
  right: -100px;
}

.premium-orb-indigo {
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.12);
  bottom: -80px;
  left: -80px;
}

/* Trust strip */
.premium-trust-strip {
  background: linear-gradient(180deg, rgba(0, 26, 56, 0.98) 0%, #001a38 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
}

.premium-trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.premium-trust-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #67e8f9;
}

/* Stats bar premium */
.premium-stats {
  background: linear-gradient(135deg, #001a38 0%, #002B5B 100%);
  padding: 3rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-stats::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.4), transparent);
}

.premium-stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-stat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(14, 165, 233, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.premium-stat-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #67e8f9;
}

.premium-stat-value {
  font-family: 'Space Grotesk', 'Noto Sans Thai', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.premium-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.375rem;
}

/* Marquee premium */
.premium-marquee {
  background: #000d1f;
  padding: 0.875rem 0;
  position: relative;
}

.premium-marquee::before,
.premium-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.premium-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #000d1f, transparent);
}

.premium-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, #000d1f, transparent);
}

.premium-marquee .marquee-item {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.premium-marquee .marquee-item i {
  color: #22d3ee !important;
}

/* Process premium */
.premium-process-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--premium-shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.premium-process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0EA5E9, #6366f1);
  opacity: 0;
  transition: opacity 0.3s;
}

.premium-process-card:hover,
.premium-process-card.active {
  transform: translateY(-8px);
  box-shadow: var(--premium-shadow-lg);
  border-color: rgba(14, 165, 233, 0.3);
}

.premium-process-card:hover::before,
.premium-process-card.active::before {
  opacity: 1;
}

/* Feature bento cards */
.premium-feature-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 24px rgba(0, 43, 91, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.premium-feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(14, 165, 233, 0.2), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.premium-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--premium-shadow);
}

.premium-feature-card:hover::after {
  opacity: 1;
}

.premium-feature-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.08);
  color: #0284c7;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s;
}

.premium-feature-card:hover .premium-feature-tag {
  opacity: 1;
  transform: translateY(0);
}

/* Demo tabs premium */
.premium-demo-wrap {
  background: linear-gradient(145deg, #f8fafc, #ffffff);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: var(--premium-shadow);
}

.premium-demo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.375rem;
  background: #f1f5f9;
  border-radius: 9999px;
  margin-bottom: 2rem;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.premium-demo-tabs .demo-tab-btn {
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  background: transparent;
}

.premium-demo-tabs .demo-tab-btn.active {
  background: #fff;
  color: var(--premium-navy-light);
  box-shadow: 0 4px 20px rgba(0, 43, 91, 0.1);
}

.premium-demo-panel-inner {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.premium-demo-visual {
  border-radius: 1.25rem;
  min-height: 14rem;
  position: relative;
  overflow: hidden;
}

.premium-demo-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Promo banner premium frame */
.promo-banner-section {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 2rem 0;
}

.promo-banner-link {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 1.25rem;
  box-shadow: var(--premium-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.promo-banner-img {
  border-radius: 1.25rem;
}

/* Schedule premium */
.premium-schedule-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--premium-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.premium-schedule-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--premium-shadow-lg);
}

.premium-schedule-card .day-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  color: #fff;
}

/* Seats widget premium */
.premium-seats-widget {
  background: linear-gradient(165deg, #1a0a0a 0%, #2d1515 50%, #1a1020 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.premium-seats-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.premium-seats-widget .seats-progress-bar {
  background: linear-gradient(90deg, #e11d48, #f97316) !important;
}

.premium-seats-widget .premium-btn-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  font-weight: 700;
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35);
  text-decoration: none;
}

.premium-seats-widget .premium-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.45);
}

/* Gallery premium */
.premium-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .premium-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .premium-gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.premium-gallery-grid .gallery-item {
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 43, 91, 0.06);
}

.premium-gallery-grid .gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 639px) {
  .premium-gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }
}

/* Testimonials premium */
.premium-testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  height: 100%;
}

.premium-testimonial:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.premium-testimonial .quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(14, 165, 233, 0.3);
  margin-bottom: -1.5rem;
}

.premium-testimonial .stars i {
  color: #fbbf24 !important;
  fill: #fbbf24 !important;
}

.premium-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* FAQ premium */
.premium-faq-item {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 43, 91, 0.03);
}

.premium-faq-item:hover {
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 8px 24px rgba(0, 43, 91, 0.06);
}

.premium-faq-item.open {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.08);
}

/* Audience premium */
.premium-audience-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 43, 91, 0.04);
  transition: all 0.4s ease;
}

.premium-audience-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--premium-shadow);
  border-color: rgba(14, 165, 233, 0.25);
}

/* CTA premium */
.premium-cta-section {
  background: linear-gradient(135deg, #001a38 0%, #002B5B 50%, #0c3d6e 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.premium-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 0% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.premium-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
  border-radius: 9999px;
  transition: all 0.3s;
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.35);
  text-decoration: none;
}

.premium-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(225, 29, 72, 0.45);
}

.premium-cta-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.premium-cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Hero premium polish */
.hero-slider-section {
  background: linear-gradient(180deg, #000510 0%, #0a0618 100%);
}

.hero-slider-arrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
}

.hero-cta-primary {
  background: linear-gradient(135deg, #e11d48, #be123c);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4);
}

/* Reveal animation */
.premium-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.premium-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero mobile CTA bar */
.hero-mobile-cta {
  display: none;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  padding-bottom: max(0.875rem, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #0a0618 0%, #001a38 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 1023px) {
  .hero-mobile-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .hero-slider-cta-desktop {
    display: none !important;
  }

  .hero-mobile-cta .hero-cta-btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    min-height: 44px;
    font-size: 0.8125rem;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 479px) {
  .hero-mobile-cta {
    flex-direction: column;
  }

  .hero-mobile-cta .hero-cta-btn {
    width: 100%;
    flex: none;
    font-size: 0.875rem;
  }
}

/* ============================================================
   GLOBAL RESPONSIVE — ALL DEVICES
   ============================================================ */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  min-width: 320px;
}

img:not(.hero-slide-img):not(.promo-banner-img):not(.gallery-lightbox-img),
picture:not(.hero-slide-picture) > img {
  max-width: 100%;
  height: auto;
}

.hero-slide-img {
  height: 100% !important;
}

.gallery-item img {
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
}

.promo-banner-img {
  height: auto !important;
  max-width: 100%;
}

/* Safe area padding */
.safe-x {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

/* Section spacing mobile */
@media (max-width: 767px) {
  .premium-section.py-20,
  .premium-section[class*="py-20"] {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .premium-section.py-24,
  .premium-section[class*="py-24"],
  .premium-section[class*="py-28"] {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .premium-section-header {
    margin-bottom: 2rem !important;
  }

  .premium-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  .premium-subtitle {
    font-size: 0.9375rem;
  }

  .premium-orb-cyan,
  .premium-orb-indigo {
    width: 200px;
    height: 200px;
    opacity: 0.25;
  }
}

/* Trust strip */
@media (max-width: 479px) {
  .premium-trust-strip {
    padding: 1rem 0;
  }

  .premium-trust-item {
    flex-direction: column;
    text-align: center;
    gap: 0.375rem;
  }

  .premium-trust-item p {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

/* Stats */
@media (max-width: 479px) {
  .premium-stats {
    padding: 2rem 0;
  }

  .premium-stat-card {
    padding: 1rem 0.625rem;
  }

  .premium-stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.625rem;
  }

  .premium-stat-value {
    font-size: 1.75rem;
  }

  .premium-stat-label {
    font-size: 0.6875rem;
    line-height: 1.35;
  }
}

/* Process cards */
@media (max-width: 767px) {
  .premium-process-card {
    padding: 1.5rem 1.25rem;
  }

  .day-watermark {
    font-size: clamp(4rem, 20vw, 6rem);
    right: 10px;
    top: -5px;
  }
}

/* Feature & audience cards */
@media (max-width: 639px) {
  .premium-feature-card,
  .premium-audience-card {
    padding: 1.25rem;
  }

  .premium-feature-card:hover,
  .premium-audience-card:hover {
    transform: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .feature-tilt:hover,
  .premium-feature-card:hover,
  .premium-audience-card:hover,
  .card-hover:hover,
  .premium-process-card:hover,
  .premium-schedule-card:hover,
  .premium-testimonial:hover,
  .gallery-item:hover {
    transform: none;
  }

  .promo-banner-link:hover .promo-banner-img {
    transform: none;
  }
}

/* Demo tabs */
@media (max-width: 639px) {
  .premium-demo-wrap {
    padding: 1rem;
    border-radius: 1.25rem;
  }

  .premium-demo-tabs {
    width: 100%;
    max-width: 100%;
    border-radius: 0.875rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.375rem;
    padding: 0.375rem;
  }

  .premium-demo-tabs .demo-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    min-height: 44px;
  }

  .premium-demo-panel-inner {
    padding: 1.25rem;
  }

  .premium-demo-visual {
    min-height: 10rem;
  }

  .premium-demo-visual i {
    width: 4rem !important;
    height: 4rem !important;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .premium-demo-tabs {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    border-radius: 1rem;
  }

  .premium-demo-tabs .demo-tab-btn {
    flex: 1 1 auto;
    min-height: 44px;
  }
}

/* Promo banner mobile */
@media (max-width: 1023px) {
  .promo-banner-section {
    padding: 0.75rem 0;
  }

  .promo-banner-link {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    box-shadow: none;
    border: none;
  }

  .promo-banner-img {
    border-radius: 0;
    aspect-ratio: 1024 / 368;
    object-fit: contain;
  }
}

@media (max-width: 479px) {
  .promo-banner-section .container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Schedule + seats */
@media (max-width: 1023px) {
  .premium-seats-widget {
    margin-top: 0.5rem;
  }

  .premium-seats-widget .premium-btn-cta {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .premium-schedule-card {
    padding: 1.5rem;
  }
}

/* Gallery */
@media (max-width: 479px) {
  .premium-gallery-grid {
    gap: 0.5rem;
  }

  .premium-gallery-grid .gallery-item {
    border-radius: 0.75rem;
    border-width: 1px;
  }
}

/* Testimonials */
@media (max-width: 767px) {
  .premium-testimonial {
    padding: 1.5rem;
  }

  .premium-testimonial .quote-mark {
    font-size: 3rem;
    margin-bottom: -1rem;
  }
}

/* CTA section */
@media (max-width: 767px) {
  .premium-cta-section {
    padding: 2.5rem 0;
  }

  .premium-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    min-height: 48px;
  }
}

/* Lightbox mobile */
@media (max-width: 767px) {
  .gallery-lightbox-close {
    top: max(1rem, env(safe-area-inset-top));
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  .gallery-lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .gallery-lightbox-prev {
    left: 0.5rem;
  }

  .gallery-lightbox-next {
    right: 0.5rem;
  }

  .gallery-lightbox-img {
    max-width: 92vw;
    max-height: 60vh;
    border-radius: 0.75rem;
  }

  .gallery-lightbox-info {
    padding: 0 1rem;
  }
}

/* Footer mobile */
@media (max-width: 639px) {
  footer .grid {
    gap: 1.5rem;
  }

  footer .flex.gap-4.text-xs {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Touch-friendly tap targets */
@media (max-width: 1023px) {
  .hero-slider-arrow,
  .hero-dot,
  .demo-tab-btn,
  .faq-toggle,
  .gallery-item,
  .bottom-nav-item {
    min-width: 44px;
    min-height: 44px;
  }

  .hero-dot {
    min-width: 8px;
    min-height: 8px;
  }

  .hero-dot.active {
    min-width: 24px;
  }
}

/* Landscape phone */
@media (max-height: 500px) and (orientation: landscape) and (min-width: 768px) {
  .hero-slider-track {
    max-height: 70vh !important;
  }
}

/* Large tablets / small laptops */
@media (min-width: 768px) and (max-width: 1023px) {
  .premium-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .premium-gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.container.mx-auto {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

@media (min-width: 1024px) {
  .container.mx-auto.px-4,
  .container.mx-auto[class*="lg:px-8"] {
    padding-left: max(2rem, env(safe-area-inset-left));
    padding-right: max(2rem, env(safe-area-inset-right));
  }
}

[class*="overflow-hidden"] {
  overflow-x: clip;
}

