/* ========================================
   BOOKABOT — DESIGN SYSTEM & STYLES
   ======================================== */

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #FFFFFF;
  --text: #000000;
  --text-secondary: #595959;
  --accent: #C6FF35;
  --accent-rgb: 198, 255, 53;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 250ms ease-in-out;
  --section-padding: 120px 0;
  --container-width: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.015em;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 60px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 60px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}

.btn-outline {
  position: relative;
  background: transparent;
  color: var(--text);
  border-color: #D0D0D0;
  overflow: hidden;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  border-radius: 60px;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: #000000;
}

.btn-outline:hover::before {
  height: 100%;
}

.btn-accent {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
  font-size: 1.1rem;
  padding: 20px 48px;
}

.btn-accent:hover {
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.4);
  transform: translateY(-2px);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-logo svg {
  height: 32px;
  width: auto;
}

.nav-logo span {
  color: var(--text);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4C0493;
  transition: width var(--transition);
}

.nav-links a:hover {
  color: #4C0493;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 10px 24px;
  border-radius: 60px;
  transition: all var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Removed 'overflow: hidden' so parallax robots can fly down into features! */
  padding-top: 72px;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(200px, 35vw, 500px);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  will-change: transform;
}

.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--text-secondary);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.15rem;
  color: #4A4A4A;
  max-width: 480px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-robot-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 650px;
}

.hero-parallax {
  position: absolute;
  z-index: 10;
  transform: translateZ(0);
  will-change: transform;
}

/* Linear diagonal spread, evenly spaced (Upper Right -> Middle -> Lower Right) */
#hero-bot-1-wrap {
  width: 200px;
  top: 0%;
  right: 0%;
  left: auto;
}

#hero-bot-2-wrap {
  width: 170px;
  top: 35%;
  right: 32%;
  left: auto;
  bottom: auto;
}

#hero-bot-3-wrap {
  width: 210px;
  bottom: 0%;
  right: 64%;
  left: auto;
  top: auto;
}

/* Floor contact shadows for ambient grounding */
#hero-bot-1-wrap::after,
#hero-bot-2-wrap::after,
#hero-bot-3-wrap::after {
  content: '';
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 65%);
  border-radius: 50%;
}

/* Specific soft drop for floating bot */
#hero-bot-1-wrap::after {
  bottom: -40px;
  left: 20%;
  width: 60%;
  height: 15px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

#hero-bot-2-wrap::after {
  bottom: -15px;
  left: 20%;
  width: 60%;
  height: 20px;
}

#hero-bot-3-wrap::after {
  bottom: -12px;
  left: 10%;
  width: 80%;
  height: 22px;
}

.hero-floating-bot {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  /* Premium metallic finish with tight ambient occlusion shadow layer */
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15)) contrast(1.15) saturate(0.95) brightness(1.05);
}

.hero-bot-1 {
  animation: floatBot 5s ease-in-out infinite;
}

.hero-bot-2 {
  animation: floatBot 6s ease-in-out infinite reverse;
}

.hero-bot-3 {
  animation: floatBot 7s ease-in-out infinite 1s;
}

@keyframes floatBot {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-25px) rotate(4deg);
  }
}

/* ========================================
   FEATURES
   ======================================== */
.features {
  padding: var(--section-padding);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #4C0493;
  transition: width var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  border-color: #E0E0E0;
}

.feature-card:hover::after {
  width: 100%;
}

.feature-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-popup-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
  opacity: 0;
  transform: translateY(-60px) scale(0.8);
  /* Bouncy pop-up */
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.1s;
}

.feature-card.visible .feature-popup-img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature-card:hover .feature-popup-img {
  transform: translateY(-8px) scale(1.05);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ========================================
   PERFECT FOR
   ======================================== */
.perfect-for {
  padding: var(--section-padding);
  background: #FAFAFA;
}

.events-grid {
  /* Deprecated but kept for safety */
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.events-marquee-content {
  animation-duration: 80s;
}

.event-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  border: 1px solid #F0F0F0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  flex: 0 0 260px;
  /* Force fixed width for marquee */
}

.event-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width var(--transition);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.event-card:hover::after {
  width: 60%;
}

.event-emoji {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 20px;
}

.event-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.event-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
  padding: var(--section-padding);
}

.marquee-track {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  position: relative;
  display: flex;
  padding: 20px 0;
}

.marquee-content {
  display: flex;
  gap: 20px;
  animation: scroll-left 40s linear infinite;
  padding: 0 10px;
}

/* Marquee keeps scrolling on hover — no pause */

.marquee-item {
  flex: 0 0 auto;
  width: 320px;
  height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-item svg {
  width: 60%;
  max-width: 180px;
  opacity: 0.6;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

/* ========================================
   SLOT BOOKING (GLASSMORPHISM)
   ======================================== */
.booking {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
  background: #FAFAFA;
}

.booking-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  position: relative;
}

.booking::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.booking-content {
  position: relative;
  z-index: 1;
}

.booking-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: all var(--transition);
  outline: none;
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 48px;
}

.form-group select option {
  background: #FFFFFF;
  color: var(--text);
}

#event-date {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3e%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3e%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 48px;
  cursor: pointer;
}

.form-group input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

/* ========================================
   CUSTOM SELECT (GLASSMORPHISM)
   ======================================== */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-select-trigger::after {
  content: '';
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--transition);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.custom-select.open .custom-select-trigger::after {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-top: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all var(--transition);
  z-index: 10;
  overflow: hidden;
}

.custom-select.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.custom-option {
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
}

.custom-option:hover {
  background: rgba(198, 255, 53, 0.4);
}

.custom-option.selected {
  background: var(--accent);
  font-weight: 600;
}

/* ========================================
   FLATPICKR CUSTOM GLASSMORPHISM
   ======================================== */
.flatpickr-calendar {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(80px) !important;
  -webkit-backdrop-filter: blur(80px) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
  border-radius: var(--radius-lg) !important;
  padding: 10px !important;
  font-family: inherit !important;
  width: 330px !important;
  box-sizing: border-box !important;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after,
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
  display: none !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--text) !important;
  font-weight: 700 !important;
}

.flatpickr-month {
  color: var(--text) !important;
}

.flatpickr-weekday {
  color: var(--text-secondary) !important;
  font-weight: 600 !important;
}

.flatpickr-day:hover {
  background: rgba(198, 255, 53, 0.3) !important;
  border-color: transparent !important;
}

.booking-submit {
  margin-top: 12px;
  width: 100%;
}

/* ========================================
   MEET OUR ROBOTS
   ======================================== */
.robots {
  padding: var(--section-padding);
  background: var(--bg);
}

.robots-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.robot-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.robot-showcase.reverse {
  direction: rtl;
}

.robot-showcase.reverse>* {
  direction: ltr;
  /* strict LTR for texts */
}

.robot-info {
  display: flex;
  flex-direction: column;
}

.robot-name {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.robot-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.robot-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.robot-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.robot-features li {
  font-size: 1.05rem;
  color: var(--text);
  padding-left: 36px;
  position: relative;
  font-weight: 500;
}

.robot-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--text);
  font-weight: 800;
  font-size: 0.8rem;
  background: var(--accent);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.robot-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #FAFAFA;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.robot-image-placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.placeholder-box svg {
  width: 160px;
  height: auto;
  opacity: 0.8;
}

.robot-showcase:hover .robot-image-placeholder {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

/* ========================================
   FINAL CTA
   ======================================== */
.cta-final {
  padding: 140px 0;
  background: var(--text);
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--bg);
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-desc {
  font-size: 1.1rem;
  color: #999;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 80px 0 48px;
  border-top: 1px solid #F0F0F0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-logo svg {
  height: 30px;
  width: auto;
}

.footer-logo span {
  color: var(--text);
  margin-top: 2px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-copy {
  font-size: 0.8rem;
  color: #AAAAAA;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-links a,
.footer-links p {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.35);
  z-index: 999;
  transition: all var(--transition);
  animation: pulse-subtle 3s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(var(--accent-rgb), 0.5);
}

@keyframes pulse-subtle {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.35);
  }

  50% {
    box-shadow: 0 4px 30px rgba(var(--accent-rgb), 0.5);
  }
}

/* ========================================
   SCROLL ANIMATIONS (IntersectionObserver)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-robot-wrapper {
    max-width: 280px;
  }

  .booking-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 30px;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .robot-showcase,
  .robot-showcase.reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .robot-image-placeholder {
    order: -1;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #F0F0F0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .hero-bg-text {
    font-size: 150px;
  }

  .footer-links {
    margin-bottom: 24px;
  }
  
  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-container {
    gap: 30px;
  }
  
  /* Mobile Hero Robots Layout */
  .hero-robot-wrapper {
    height: 380px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  #hero-bot-1-wrap {
    width: 90px;
    top: 5%;
    right: 10%;
  }

  #hero-bot-2-wrap {
    width: 80px;
    bottom: auto;
    top: 40%;
    right: 35%;
    left: auto;
  }

  #hero-bot-3-wrap {
    width: 100px;
    top: auto;
    bottom: 5%;
    right: 55%;
    left: auto;
  }

  /* Scale mobile contact shadows */
  #hero-bot-1-wrap::after {
    bottom: -20px;
    height: 8px;
  }
  #hero-bot-2-wrap::after {
    bottom: -8px;
    height: 10px;
  }
  #hero-bot-3-wrap::after {
    bottom: -6px;
    height: 12px;
  }


  .section-title {
    margin-bottom: 40px;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .robots-list {
    gap: 80px;
  }

  .robot-name {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .cta-final {
    padding: 100px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .btn-accent {
    font-size: 1rem;
    padding: 18px 36px;
  }
}

/* ========================================
   FAQ PAGE
   ======================================== */

/* Active nav link */
.nav-active {
  color: #4C0493 !important;
  font-weight: 600 !important;
}

.nav-active::after {
  width: 100% !important;
}

/* FAQ Hero */
.faq-hero {
  padding-top: 160px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-hero::before {
  content: '?';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: clamp(200px, 30vw, 450px);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.025);
  pointer-events: none;
  user-select: none;
}

.faq-hero .section-title {
  margin-bottom: 16px;
}

.faq-hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* FAQ Section */
.faq-section {
  padding: 40px 0 100px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FAQ Item */
.faq-item {
  background: var(--bg);
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
  border-radius: 3px 0 0 3px;
}

.faq-item:hover {
  border-color: #E0E0E0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.faq-item.open {
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.faq-item.open::before {
  height: 100%;
}

/* Question button */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--text);
}

.faq-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.35s ease, color 0.35s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FAQ CTA */
.faq-cta {
  padding: 100px 0;
  background: var(--text);
  text-align: center;
}

.faq-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--bg);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.faq-cta-desc {
  font-size: 1.1rem;
  color: #999;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq-hero {
    padding-top: 130px;
    padding-bottom: 40px;
  }

  .faq-question {
    padding: 20px 20px;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
  }

  .faq-cta {
    padding: 80px 0;
  }
}