/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
  border: none;
  text-decoration: none;
}

.btn--orange {
  background: var(--sony-orange);
  color: var(--color-a00);
}

.btn--orange:hover {
  background: #b83800;
}

.btn--gray {
  background: var(--steel-300);
  color: var(--color-a00);
}

.btn--gray:hover {
  opacity: 0.9;
}

.btn--white {
  background: var(--color-a00);
  color: var(--color-a100);
}

.btn--white:hover {
  opacity: 0.9;
}

.btn--outline-orange {
  background: transparent;
  border: 2px solid var(--sony-orange);
  color: var(--sony-orange);
}

.btn--outline-orange:hover {
  background: var(--sony-orange);
  color: var(--color-a00);
}

.btn--green {
  background: #3f9a59;
  color: var(--color-a00);
}

.btn--green:hover {
  background: #358a4d;
}

.btn--outline-green {
  background: var(--color-a00);
  border: 1px solid #3f9a59;
  color: #3f9a59;
}

.btn--outline-green:hover {
  background: #3f9a59;
  color: var(--color-a00);
}

.btn--outline-white {
  background: transparent;
  border: 2px solid var(--color-a00);
  color: var(--color-a00);
}

.btn--steel {
  background: var(--steel-100);
  color: var(--color-a00);
}

.btn--steel:hover {
  background: var(--steel-300);
}

/* =============================================
   PILL / LABEL
   ============================================= */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: var(--text-body-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pill--orange {
  background: var(--sony-orange);
  color: var(--color-a00);
}

.pill--steel {
  background: var(--steel-100);
  color: var(--color-a00);
}

.pill--gray {
  background: var(--steel-300);
  color: var(--color-a00);
}

/* =============================================
   MODAL OVERLAY (ATC, Speaker Bio)
   ============================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  background: var(--color-a00);
  border-radius: var(--radius-img);
  padding: var(--space-xl);
  max-width: 540px;
  width: 90%;
  position: relative;
  text-align: center;
  color: var(--color-a100);
}

.modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 36px;
  height: 36px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-a80);
}

.modal__icon {
  font-size: 48px;
  margin-bottom: var(--space-sm);
  color: #22c55e;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.modal__body {
  font-size: var(--text-body-sm);
  color: var(--color-a80);
  margin-bottom: var(--space-md);
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* ATC modal */
.modal--atc {
  display: flex;
  flex-direction: column;
  max-width: 380px;
  text-align: left;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);
}

.modal--atc .modal__close {
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  font-size: 20px;
}

.modal--atc .modal__title {
  font-size: 24px;
  line-height: 33px;
  font-weight: 600;
  padding-right: 8px;
  margin-bottom: 16px;
}

.modal--atc .modal__body {
  font-size: 16px;
  line-height: 22px;
  color: var(--color-a100);
  margin-bottom: 24px;
}

.modal--atc .modal__body--error {
  color: #c00;
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 0;
}

.modal--atc .modal__actions {
  gap: 16px;
}

.modal__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: #007ab8;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.modal__link:hover {
  opacity: 0.8;
}

/* Speaker bio modal */
.modal--speaker {
  max-width: 480px;
  text-align: left;
}

.modal--speaker .modal__speaker-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-sm);
}

.modal--speaker .modal__speaker-name {
  font-family: var(--font-heading);
  font-size: var(--text-body-md);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.modal--speaker .modal__speaker-bio {
  font-size: var(--text-body-sm);
  color: var(--color-a80);
  line-height: var(--lh-body);
}

/* =============================================
   VIDEO LIGHTBOX
   ============================================= */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: var(--z-lightbox);
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 36px;
  color: var(--color-a00);
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2;
}

.lightbox__content {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.lightbox__content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--radius-img);
}

/* =============================================
   IMAGE LIGHTBOX (Sample images)
   ============================================= */
.image-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-lightbox);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.image-lightbox-overlay.is-open {
  display: flex;
}

.image-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  color: var(--color-a00);
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 80vh;
  position: relative;
}

.image-lightbox__img-wrap img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-img);
}

.image-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-a00);
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  border-radius: 100px;
  transition: background 0.2s;
  padding: 0;
}

.image-lightbox__nav:hover {
  background: rgba(0, 0, 0, 0.5);
}

.image-lightbox__nav--prev {
  left: 40px;
}

.image-lightbox__nav--next {
  right: 40px;
}

.image-lightbox__exif {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 16px;
  width: 294px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 19px;
  color: var(--color-a00);
}

.image-lightbox__exif:empty {
  display: none;
}

.image-lightbox__exif-title {
  font-weight: 700;
}

.image-lightbox__exif-detail {
  font-weight: 400;
}

.image-lightbox__counter {
  background: rgba(0, 0, 0, 0.75);
  border-radius: 20px;
  padding: 4px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--color-a00);
  text-align: center;
  margin-top: 20px;
}

/* =============================================
   EXPLORA DRAWER (slide-in tray)
   ============================================= */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-drawer);
}

.drawer-overlay.is-open {
  display: block;
}

.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 997px;
  max-width: 100%;
  height: 100vh;
  background: var(--color-a00);
  z-index: calc(var(--z-drawer) + 1);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  right: 0;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--space-md);
  border-bottom: 1px solid #e5e5e5;
}

.drawer__open-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--steel-300);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.drawer__open-tab:hover {
  color: var(--color-a100);
}

.drawer__title {
  font-family: var(--font-heading);
  font-size: var(--text-body-md);
  font-weight: 700;
  color: var(--color-a100);
}

.drawer__close {
  font-size: 24px;
  color: var(--color-a80);
  cursor: pointer;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
}

.drawer__body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   VIDEO THUMBNAIL
   ============================================= */
.video-thumb {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-img);
  overflow: hidden;
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
}

.video-thumb:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

.video-thumb img:not(.video-thumb__play) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 48px;
  height: 48px;
  opacity: 0.6;
  pointer-events: none;
}

/* =============================================
   SAMPLE IMAGES GRID
   ============================================= */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.sample-grid__item {
  cursor: pointer;
  overflow: hidden;
  opacity: 0.8;
  transition: opacity 0.2s;
  aspect-ratio: 1;
}

.sample-grid__item:hover {
  opacity: 1;
}

.sample-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   HIGHLIGHT CARD
   ============================================= */
.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--steel-300);
  width: calc((100% - 24px) / 2);
}

.highlight-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.highlight-card__text {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--steel-50);
  line-height: 24px;
}

/* =============================================
   FEATURE CARD
   ============================================= */
.feature-card {
  display: flex;
  align-items: stretch;
  background: var(--steel-300);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  max-width: 1280px;
  height: 320px;
}

.feature-card__img {
  flex: 1;
  min-width: 0;
}

.feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__content {
  flex: 0 0 540px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.36px;
  color: var(--color-a00);
  margin-bottom: 0;
}

.feature-card__desc {
  font-size: 20px;
  color: var(--steel-50);
  line-height: 27px;
}

/* =============================================
   USE CASE CARD
   ============================================= */
.usecase-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--color-a80);
  border-radius: var(--radius-card);
  padding: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.2s;
}

.usecase-card:hover {
  opacity: 0.9;
}

.usecase-card__thumb {
  position: relative;
  width: 320px;
  height: 180px;
  flex-shrink: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.usecase-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usecase-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.usecase-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-a00);
  line-height: 28px;
  letter-spacing: -0.36px;
}

.usecase-card__desc {
  font-size: 16px;
  color: var(--steel-50);
  line-height: 22px;
}

.usecase-card__link {
  color: var(--color-a00);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
  border: 1px solid var(--color-a00);
  border-radius: var(--radius-card);
  padding: 8px 16px;
  display: inline-block;
  width: fit-content;
  letter-spacing: 0.2px;
}

.usecase-card__link:hover {
  opacity: 0.8;
}
 