/* =========================================================
 * Hola-PMS / SaaS pages stylesheet
 * Base: 62.5% (1rem = 10px), Pretendard, primary #3858e9
 * Breakpoints: <345 (smallest mobile) / 345~768 (mobile) / 769~1024 (tablet) / 1025+ (desktop)
 * ========================================================= */

/* ----- Container ----- */
.container__saas {
  width: 100%;
  height: auto;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background: var(--white-100);
}
@media (max-width: 768px) {
  .container__saas { max-width: 100%; }
}

/* ----- Common section wrapper ----- */
.saas-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16rem 4rem 12rem;
  box-sizing: border-box;
  position: relative;
  scroll-margin-top: var(--frmHeaderHeight);
}
@media (max-width: 1024px) {
  .saas-section {
    padding: 11rem 3rem 9rem;
    scroll-margin-top: var(--frmHeaderHeight_mo);
  }
}
@media (max-width: 768px) {
  .saas-section {
    padding: 6.5rem 1.8rem 5rem;
    scroll-margin-top: var(--frmHeaderHeight_mo);
  }
}

.saas-eyebrow {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.saas-title {
  font-family: Pretendard;
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.15rem;
  color: var(--black-100);
  margin-bottom: 2rem;
  word-break: keep-all;
}
.saas-title em {
  font-style: normal;
  color: var(--primary);
}
.saas-sub {
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.6;
  color: #555;
  word-break: keep-all;
  max-width: 80rem;
}
@media (max-width: 1024px) {
  .saas-title { font-size: 4rem; }
  .saas-sub { font-size: 1.7rem; }
}
@media (max-width: 768px) {
  .saas-eyebrow { font-size: 1.3rem; margin-bottom: 1.2rem; }
  .saas-title { font-size: 2.8rem; letter-spacing: -0.08rem; margin-bottom: 1.4rem; }
  .saas-sub { font-size: 1.5rem; line-height: 1.55; }
}

/* =========================================================
 * 1) Hero
 * ========================================================= */
.saas-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--frmHeaderHeight) 0 28rem;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .saas-hero {
    min-height: auto;
    padding: calc(var(--frmHeaderHeight_mo) + 4rem) 0 14rem;
  }
}
.saas-hero .waves-high { pointer-events: none; z-index: 1; }

.saas-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 6rem;
  align-items: center;
}
@media (max-width: 1024px) {
  .saas-hero-inner { grid-template-columns: 1fr; gap: 4rem; padding: 0 3rem; text-align: center; }
}
@media (max-width: 768px) {
  .saas-hero-inner { padding: 0 2rem; gap: 3rem; }
}

.saas-hero-text { color: var(--white-100); }
.saas-hero-logo {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.18rem;
  color: rgba(255,255,255,0.7);
  padding: 0.8rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 99px;
  margin-bottom: 3rem;
  text-transform: uppercase;
}
.saas-hero-title {
  font-size: 7.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.25rem;
  margin-bottom: 2.4rem;
  word-break: keep-all;
}
.saas-hero-title--three-line {
  font-size: 5.4rem;
  line-height: 1.18;
  letter-spacing: -0.18rem;
}
.saas-hero-title strong {
  background: linear-gradient(90deg, #62e1ff 0%, #b6d2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.saas-hero-desc {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4rem;
  word-break: keep-all;
  max-width: 56rem;
}
.br-mo { display: none; }
@media (max-width: 1024px) {
  .saas-hero-desc { margin-left: auto; margin-right: auto; }
}
.saas-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white-100);
  padding: 1.8rem 3.6rem;
  border-radius: 99px;
  transition: all 0.3s ease;
}
.saas-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.saas-hero-cta::after {
  content: "→";
  font-size: 2rem;
  transition: transform 0.3s ease;
}
.saas-hero-cta:hover::after { transform: translateX(4px); }

.saas-hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
}
@media (max-width: 1024px) {
  .saas-hero-cta-wrap { justify-content: center; }
}
@media (max-width: 768px) {
  .saas-hero-title { font-size: 3.8rem; letter-spacing: -0.12rem; }
  .saas-hero-title--three-line { font-size: 3.2rem; letter-spacing: -0.1rem; }
  .saas-hero-desc {
    font-size: 1.65rem;
    line-height: 1.75;
    letter-spacing: -0.02rem;
    margin-bottom: 2.8rem;
    padding: 0 0.6rem;
    color: rgba(255,255,255,0.92);
  }
  .saas-hero-desc b { color: var(--white-100); font-weight: 700; }
  .br-mo { display: inline; }
  .saas-hero-cta { padding: 1.5rem 3.2rem; font-size: 1.55rem; }
}

/* Hero scroll hint — fixed-center cue, visible only while at top */
.hero-scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 3.6rem;
  transform: translateX(-50%);
  z-index: 60;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02rem;
  color: var(--white-100);
  background: #1f2c7a;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 99px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  opacity: 0;
  pointer-events: none;
  animation: heroHintFadeIn 0.6s ease 1.1s forwards;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease;
}
.hero-scroll-hint.is-hidden {
  opacity: 0 !important;
  transform: translate(-50%, 1.2rem);
  pointer-events: none;
  animation: none;
}
.hero-scroll-hint:hover { background: #2a3aa5; }
.hero-scroll-hint-text { line-height: 1; white-space: nowrap; }
.hero-scroll-hint-arrow {
  font-size: 1.4rem;
  line-height: 1;
  animation: heroHintBounce 1.6s ease-in-out infinite;
}
@keyframes heroHintFadeIn {
  to { opacity: 1; pointer-events: auto; }
}
@keyframes heroHintBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
@media (max-width: 768px) {
  .hero-scroll-hint {
    bottom: 2.4rem;
    padding: 1rem 1.8rem;
    font-size: 1.3rem;
  }
}

/* Hero preview (dashboard mockup) */
.saas-hero-preview {
  position: relative;
  width: 100%;
  perspective: 1500px;
}
.saas-hero-preview-frame {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.6s ease;
}
.saas-hero-preview-frame:hover { transform: rotateY(-3deg) rotateX(2deg) translateY(-6px); }
.saas-hero-preview-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.saas-hero-preview-frame::before {
  content: "";
  display: block;
  height: 2.6rem;
  background: linear-gradient(180deg, #2c3e50 0%, #1f2c3a 100%);
  position: relative;
}
.saas-hero-preview-frame::after {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: 1.4rem;
  width: 1rem;
  height: 1rem;
  background: #ff5f57;
  border-radius: 50%;
  box-shadow: 1.8rem 0 0 #febc2e, 3.6rem 0 0 #28c840;
}
@media (max-width: 1024px) {
  .saas-hero-preview-frame { transform: none; }
  .saas-hero-preview-frame:hover { transform: translateY(-6px); }
}
@media (max-width: 768px) {
  .saas-hero-preview-frame::before,
  .saas-hero-preview-frame::after { display: none; }
  .saas-hero-preview-frame {
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.32), 0 0 0 1px rgba(255,255,255,0.08) inset;
  }
}

/* =========================================================
 * 2) Why Hola-PMS (3 cards)
 * ========================================================= */
.saas-why {
  background: var(--white-100);
  text-align: center;
}
.saas-why .saas-section-head {
  text-align: center;
  margin-bottom: 6rem;
}
@media (max-width: 768px) {
  .saas-why .saas-section-head { margin-bottom: 3.5rem; }
}
.saas-why .saas-section-head .saas-sub { margin-left: auto; margin-right: auto; }
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-top: 4rem;
}
@media (max-width: 1024px) {
  .why-cards { grid-template-columns: 1fr; gap: 1.8rem; }
}
.why-card {
  text-align: left;
  padding: 4rem 3.2rem;
  background: #f6f8ff;
  border-radius: 2rem;
  border: 1px solid #e4ebff;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(56,88,233,0.15);
}
.why-card:hover::before { transform: scaleX(1); }
.why-card-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-100);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
  box-shadow: 0 8px 20px rgba(56,88,233,0.3);
}
.why-card-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--black-100);
  margin-bottom: 1.4rem;
  letter-spacing: -0.05rem;
}
.why-card-desc {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.65;
  color: #555;
  word-break: keep-all;
}
.why-card-tag {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(56,88,233,0.1);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  margin-top: 1.6rem;
  letter-spacing: 0.05rem;
}
@media (max-width: 768px) {
  .why-card { padding: 3rem 2.2rem; border-radius: 1.6rem; }
  .why-card-title { font-size: 2rem; }
  .why-card-desc { font-size: 1.45rem; }
  .why-card-icon { width: 4.8rem; height: 4.8rem; font-size: 2.2rem; }
}

/* =========================================================
 * 3) Features Tabs
 * ========================================================= */
.saas-features {
  background: #f4f7fc;
}
.saas-features .saas-section-head {
  text-align: center;
  margin-bottom: 5rem;
}
@media (max-width: 768px) {
  .saas-features .saas-section-head { margin-bottom: 3rem; }
}
.saas-features .saas-section-head .saas-sub { margin-left: auto; margin-right: auto; }

.features-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 4rem;
  padding: 0.8rem;
  background: var(--white-100);
  border-radius: 99px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 20px rgba(56,88,233,0.08);
}
.features-tab-btn {
  padding: 1.2rem 2.4rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: #555;
  background: transparent;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: none;
}
.features-tab-btn:hover { color: var(--primary); }
.features-tab-btn.active {
  background: var(--primary);
  color: var(--white-100);
  box-shadow: 0 6px 16px rgba(56,88,233,0.35);
}
@media (max-width: 1024px) {
  .features-tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    border-radius: 1.6rem;
    padding: 0.6rem;
    /* Right-edge fade to hint horizontal scroll */
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
  }
  .features-tabs-nav::-webkit-scrollbar { display: none; }
  .features-tab-btn {
    padding: 1rem 1.8rem;
    font-size: 1.35rem;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

.features-tab-panels { position: relative; }
.features-tab-pane {
  display: none;
  animation: fadeUp 0.5s ease both;
}
.features-tab-pane.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feature-pane-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .feature-pane-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.feature-text {
  padding-right: 2rem;
}
@media (max-width: 1024px) {
  .feature-text { padding-right: 0; }
}
.feature-text-num {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.feature-text-title {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.1rem;
  color: var(--black-100);
  margin-bottom: 2rem;
  word-break: keep-all;
}
.feature-text-desc {
  font-size: 1.7rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 2.6rem;
  word-break: keep-all;
}
.feature-text-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-text-list li {
  position: relative;
  padding-left: 2.6rem;
  font-size: 1.55rem;
  font-weight: 500;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
  word-break: keep-all;
}
.feature-text-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}
@media (max-width: 768px) {
  .feature-text-title { font-size: 2.4rem; }
  .feature-text-desc { font-size: 1.5rem; }
  .feature-text-list li {
    font-size: 1.4rem;
    padding-left: 2.2rem;
  }
  .feature-text-list li::before {
    top: 0.3rem;
  }
}

/* Feature image gallery */
.feature-shots {
  position: relative;
  width: 100%;
}
.feature-shots-main {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(30,52,138,0.18);
  background: var(--white-100);
  border: 1px solid #e4ebff;
}
.feature-shots-main picture,
.saas-hero-preview-frame picture,
.saas-mobile-shot picture {
  display: block;
  width: 100%;
  max-width: 100%;
}
.feature-shots-main img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}
.saas-hero-preview-frame img,
.saas-mobile-shot img {
  image-rendering: -webkit-optimize-contrast;
}
.feature-shots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.feature-shots-grid-item {
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  background: var(--white-100);
}
.feature-shots-grid-item img {
  display: block;
  width: 100%;
  height: auto;
}
.feature-shots-grid-item:hover { transform: translateY(-3px); }
.feature-shots-grid-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(56,88,233,0.25);
}
.feature-shots-label {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  color: #777;
  text-align: center;
  font-weight: 500;
}

/* Sub-tab toggles (e.g. 타임라인 / 캘린더 / 리스트) */
.feature-subtabs {
  display: flex;
  gap: 0.6rem;
  background: rgba(255,255,255,0.7);
  padding: 0.6rem;
  border-radius: 99px;
  width: fit-content;
  margin-bottom: 1.6rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.feature-subtab-btn {
  padding: 0.8rem 1.8rem;
  font-size: 1.35rem;
  font-weight: 500;
  color: #555;
  background: transparent;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.feature-subtab-btn.active {
  background: var(--primary);
  color: var(--white-100);
}

/* =========================================================
 * 4) Mobile section
 * ========================================================= */
.saas-mobile {
  background: var(--primary);
  color: var(--white-100);
  overflow: hidden;
  position: relative;
}
.saas-mobile-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6rem;
  align-items: center;
}
@media (max-width: 1024px) {
  .saas-mobile-inner { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
}
.saas-mobile-text .saas-eyebrow { color: #62e1ff; }
.saas-mobile-text .saas-title { color: var(--white-100); }
.saas-mobile-text .saas-sub { color: rgba(255,255,255,0.85); }
.saas-mobile-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
@media (max-width: 1024px) {
  .saas-mobile-features { max-width: 60rem; margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
  .saas-mobile-features { grid-template-columns: 1fr; gap: 1.4rem; }
}
.saas-mobile-feat {
  padding: 2rem;
  background: rgba(255,255,255,0.08);
  border-radius: 1.2rem;
  border: 1px solid rgba(255,255,255,0.12);
  text-align: left;
}
.saas-mobile-feat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white-100);
  margin-bottom: 0.6rem;
}
.saas-mobile-feat span {
  font-size: 1.35rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.saas-mobile-shot {
  position: relative;
  display: flex;
  justify-content: center;
}
.saas-mobile-shot img {
  display: block;
  max-width: 36rem;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35));
}

/* =========================================================
 * 5) Menu Map (8 categories)
 * ========================================================= */
.saas-menumap {
  background: var(--white-100);
}
.saas-menumap .saas-section-head {
  text-align: center;
  margin-bottom: 5rem;
}
@media (max-width: 768px) {
  .saas-menumap .saas-section-head { margin-bottom: 3rem; }
  .menumap-grid { gap: 1.2rem; }
  .menumap-card { padding: 2rem 1.8rem; border-radius: 1.2rem; }
  .menumap-card-title { font-size: 1.7rem; margin-bottom: 1.2rem; }
}
.saas-menumap .saas-section-head .saas-sub { margin-left: auto; margin-right: auto; }
.menumap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
@media (max-width: 1024px) {
  .menumap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .menumap-grid { grid-template-columns: 1fr; }
}
.menumap-card {
  background: #f6f8ff;
  border: 1px solid #e4ebff;
  border-radius: 1.4rem;
  padding: 2.4rem;
  transition: all 0.3s ease;
}
.menumap-card:hover {
  background: var(--white-100);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(56,88,233,0.12);
}
.menumap-card-num {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.menumap-card-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--black-100);
  margin-bottom: 1.6rem;
  letter-spacing: -0.04rem;
}
.menumap-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menumap-card-list li {
  font-size: 1.35rem;
  font-weight: 400;
  color: #555;
  line-height: 1.55;
  padding: 0.4rem 0;
  border-top: 1px dashed #d8e1f7;
}
.menumap-card-list li:first-child { border-top: none; }

/* =========================================================
 * 6) CTA section
 * ========================================================= */
.saas-cta {
  background: var(--primary);
  color: var(--white-100);
  text-align: center;
  padding: 10rem 2rem;
  position: relative;
  overflow: hidden;
}
.saas-cta-inner { position: relative; z-index: 2; max-width: 80rem; margin: 0 auto; }
.saas-cta-title {
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.15rem;
  margin-bottom: 1.8rem;
  word-break: keep-all;
}
.saas-cta-desc {
  font-size: 1.8rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4rem;
  word-break: keep-all;
}
.saas-cta-buttons {
  display: inline-flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.saas-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white-100);
  padding: 1.8rem 4rem;
  border-radius: 99px;
  transition: all 0.3s ease;
}
.saas-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}
.saas-cta-primary::after { content: "→"; }
.saas-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white-100);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 1.8rem 3.4rem;
  border-radius: 99px;
  transition: all 0.3s ease;
}
.saas-cta-secondary:hover { background: rgba(255,255,255,0.18); }
@media (max-width: 768px) {
  .saas-cta { padding: 7rem 2rem; }
  .saas-cta-title { font-size: 2.8rem; letter-spacing: -0.08rem; }
  .saas-cta-desc { font-size: 1.5rem; margin-bottom: 3rem; }
  .saas-cta-primary, .saas-cta-secondary { padding: 1.4rem 2.6rem; font-size: 1.4rem; }
  .saas-cta-buttons { flex-direction: column; width: 100%; }
}

/* =========================================================
 * 5.5) FAQ section
 * ========================================================= */
.saas-faq {
  background: var(--white-100);
}
.saas-faq .saas-section-head {
  text-align: center;
  margin-bottom: 5rem;
}
.saas-faq .saas-section-head .saas-sub {
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .saas-faq .saas-section-head { margin-bottom: 3rem; }
}
.saas-faq-list {
  max-width: 92rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.saas-faq-item {
  background: #f6f8ff;
  border: 1px solid #e4ebff;
  border-radius: 1.6rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.saas-faq-item:hover {
  border-color: rgba(56,88,233,0.35);
  box-shadow: 0 10px 28px rgba(56,88,233,0.08);
}
.saas-faq-item[open] {
  background: var(--white-100);
  border-color: var(--primary);
  box-shadow: 0 14px 36px rgba(56,88,233,0.12);
}
.saas-faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem 2.6rem;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--black-100);
  cursor: pointer;
  list-style: none;
  word-break: keep-all;
  transition: color 0.25s ease;
}
.saas-faq-item > summary::-webkit-details-marker { display: none; }
.saas-faq-item > summary:hover { color: var(--primary); }
.saas-faq-item[open] > summary { color: var(--primary); }
.saas-faq-q {
  flex: 1;
  line-height: 1.5;
}
.saas-faq-q::before {
  content: "Q.";
  display: inline-block;
  margin-right: 0.8rem;
  font-weight: 800;
  color: var(--primary);
}
.saas-faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(56,88,233,0.12);
  transition: background 0.3s ease, transform 0.3s ease;
}
.saas-faq-icon::before,
.saas-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 0.2rem;
  background: var(--primary);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.saas-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.saas-faq-item[open] .saas-faq-icon {
  background: var(--primary);
}
.saas-faq-item[open] .saas-faq-icon::before,
.saas-faq-item[open] .saas-faq-icon::after {
  background: var(--white-100);
}
.saas-faq-item[open] .saas-faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
  opacity: 0;
}
.saas-faq-answer {
  padding: 0 2.6rem 2.4rem;
  border-top: 1px dashed #d8e1f7;
  margin-top: -0.4rem;
  padding-top: 1.8rem;
}
.saas-faq-answer p {
  position: relative;
  padding-left: 2.4rem;
  font-size: 1.55rem;
  line-height: 1.7;
  color: #555;
  word-break: keep-all;
}
.saas-faq-answer p::before {
  content: "A.";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--primary);
}
@media (max-width: 768px) {
  .saas-faq-list { gap: 1rem; }
  .saas-faq-item { border-radius: 1.2rem; }
  .saas-faq-item > summary {
    padding: 1.6rem 1.8rem;
    font-size: 1.45rem;
    gap: 1.2rem;
  }
  .saas-faq-icon { width: 1.8rem; height: 1.8rem; }
  .saas-faq-icon::before,
  .saas-faq-icon::after { width: 0.8rem; }
  .saas-faq-answer {
    padding: 1.4rem 1.8rem 1.8rem;
  }
  .saas-faq-answer p {
    font-size: 1.35rem;
    padding-left: 2rem;
  }
}

/* Aside nth-child(7) extension is added to common.css for all pages */


/* =========================================================
 * App Manager — page-specific augmentations
 *  - 4-service color identity (Links / Guard / Push / Table)
 *  - Hero module chips
 *  - Tab dot indicators
 *  - 9-detection grid
 *  - SDK comparison cards
 *  - Infra menumap variant
 * ========================================================= */

/* ----- Color tokens (scoped to App Manager) ----- */
.container__appmgr {
  --c-links:  #06a6ff;   /* deep link · cyan-blue */
  --c-guard:  #ef4444;   /* security · red */
  --c-push:   #8b5cf6;   /* push · purple (matches push stats chart) */
  --c-table:  #10b981;   /* dynamic data · emerald */
}

/* ----- Hero: subtle gradient + module chips ----- */
.appmgr-hero {
  background: linear-gradient(135deg, #2c47c9 0%, #3858e9 45%, #4a6df0 100%);
}
.appmgr-hero .saas-hero-title strong {
  background: linear-gradient(90deg, #62e1ff 0%, #b6d2ff 50%, #d9b6ff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.appmgr-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: -1.4rem 0 3.6rem;
  align-items: center;
}
@media (max-width: 1024px) {
  .appmgr-hero-chips { justify-content: center; }
}
.appmgr-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.03rem;
  color: rgba(255,255,255,0.95);
  padding: 0.7rem 1.4rem 0.7rem 0.7rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 99px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.appmgr-hero-chip em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  font-style: normal;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  color: var(--white-100);
}
.appmgr-hero-chip.is-links em  { background: var(--c-links); }
.appmgr-hero-chip.is-guard em  { background: var(--c-guard); }
.appmgr-hero-chip.is-push em   { background: var(--c-push); }
.appmgr-hero-chip.is-table em  { background: var(--c-table); }

@media (max-width: 768px) {
  .appmgr-hero-chips { gap: 0.6rem; margin: -0.6rem 0 2.4rem; }
  .appmgr-hero-chip { font-size: 1.2rem; padding: 0.55rem 1.2rem 0.55rem 0.55rem; }
  .appmgr-hero-chip em { width: 1.9rem; height: 1.9rem; font-size: 1.05rem; }
}

/* ----- Features tab dots (per-service color hint) ----- */
.appmgr-tabs-nav .features-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.appmgr-tab-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.85;
}
.appmgr-tab-dot.is-links  { background: var(--c-links); }
.appmgr-tab-dot.is-guard  { background: var(--c-guard); }
.appmgr-tab-dot.is-push   { background: var(--c-push); }
.appmgr-tab-dot.is-table  { background: var(--c-table); }
.appmgr-tabs-nav .features-tab-btn.active .appmgr-tab-dot {
  background: var(--white-100);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
}

/* Per-tab text accent — feature-text-num colored by service */
.features-tab-pane[data-pane="links"]  .feature-text-num { color: var(--c-links); }
.features-tab-pane[data-pane="guard"]  .feature-text-num { color: var(--c-guard); }
.features-tab-pane[data-pane="push"]   .feature-text-num { color: var(--c-push); }
.features-tab-pane[data-pane="table"]  .feature-text-num { color: var(--c-table); }

/* Per-tab list checkmark color tuned to the service */
.features-tab-pane[data-pane="guard"]  .feature-text-list li::before { background-color: var(--c-guard); }
.features-tab-pane[data-pane="push"]   .feature-text-list li::before { background-color: var(--c-push); }
.features-tab-pane[data-pane="table"]  .feature-text-list li::before { background-color: var(--c-table); }
.features-tab-pane[data-pane="links"]  .feature-text-list li::before { background-color: var(--c-links); }

/* =========================================================
 * 9-Detection grid (Guard)
 * ========================================================= */
.appmgr-detect {
  background: #f8f9fc;
}
.appmgr-detect .saas-section-head {
  text-align: center;
  margin-bottom: 5rem;
}
.appmgr-detect .saas-section-head .saas-sub { margin-left: auto; margin-right: auto; }
@media (max-width: 768px) {
  .appmgr-detect .saas-section-head { margin-bottom: 3rem; }
}

.detect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 1024px) {
  .detect-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .detect-grid { grid-template-columns: 1fr; gap: 1rem; }
}

.detect-card {
  position: relative;
  padding: 2.4rem 2.4rem 2.2rem;
  background: #ffffff;
  border: 1px solid #ebeef5;
  border-radius: 1.2rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.detect-card:hover {
  border-color: #d6dbe8;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}
.detect-card-head {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.detect-card-sev {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: #6b7280;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.detect-card-sev::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.detect-card-name {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--black-100);
  letter-spacing: -0.05rem;
  line-height: 1.3;
}
.detect-card-desc {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #6b7280;
  word-break: keep-all;
  margin: 0;
}

/* Severity dot colors — single accent per level, no background tints */
.detect-card.sev-critical .detect-card-sev { color: #dc2626; }
.detect-card.sev-high     .detect-card-sev { color: #ea580c; }
.detect-card.sev-medium   .detect-card-sev { color: #ca8a04; }
.detect-card.sev-low      .detect-card-sev { color: #2563eb; }

@media (max-width: 768px) {
  .detect-card { padding: 2rem 1.8rem 1.8rem; border-radius: 1rem; }
  .detect-card-name { font-size: 1.65rem; }
  .detect-card-desc { font-size: 1.35rem; }
  .detect-card-head { gap: 0.7rem; margin-bottom: 0.8rem; }
}

/* Detect CTA strip (policy summary) */
.detect-cta {
  margin-top: 3.2rem;
  padding: 2.4rem 3rem;
  background: linear-gradient(135deg, #f6f8ff 0%, #eef3ff 100%);
  border: 1px solid #dfe6ff;
  border-radius: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.detect-cta-text strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--black-100);
  margin-bottom: 0.4rem;
  letter-spacing: -0.03rem;
}
.detect-cta-text span {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #555;
  word-break: keep-all;
}
.detect-cta-policies {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.detect-policy {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  padding: 0.8rem 1.4rem;
  background: var(--white-100);
  border: 1px solid #dfe6ff;
  border-radius: 99px;
}
.detect-policy .dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  display: inline-block;
}
.detect-policy .dot-log   { background: #06a6ff; }
.detect-policy .dot-warn  { background: #eab308; }
.detect-policy .dot-block { background: #ef4444; }

@media (max-width: 768px) {
  .detect-cta { padding: 1.8rem 1.6rem; }
  .detect-cta-text strong { font-size: 1.5rem; }
  .detect-cta-text span { font-size: 1.3rem; }
  .detect-policy { font-size: 1.2rem; padding: 0.6rem 1.1rem; }
}

/* =========================================================
 * SDK Compare cards (iOS / Android)
 * ========================================================= */
.appmgr-menumap {
  background: #f7f9fd;
}
.sdk-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  margin: 0 0 5rem;
}
@media (max-width: 1024px) {
  .sdk-compare { grid-template-columns: 1fr; gap: 1.6rem; }
}
.sdk-compare-card {
  background: var(--white-100);
  border: 1px solid #e4ebff;
  border-radius: 2rem;
  padding: 3.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sdk-compare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(56,88,233,0.12);
}
.sdk-compare-head {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eef1f9;
}
.sdk-compare-logo {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f7fc;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15,23,42,0.06), 0 4px 12px rgba(15,23,42,0.04);
}
.sdk-compare-logo.ios {
  background-color: #1d1d1f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.543 11.553c.014-1.474.65-2.873 1.762-3.876-.704-1.005-1.844-1.601-3.069-1.641-1.291-.135-2.543.773-3.2.773-.671 0-1.683-.76-2.774-.737-1.42.046-2.722.844-3.421 2.087-1.46 2.527-.371 6.245 1.034 8.289.703 1.001 1.524 2.119 2.6 2.079 1.05-.043 1.444-.673 2.713-.673 1.258 0 1.626.673 2.722.648 1.131-.018 1.842-1.005 2.52-2.015.504-.713.892-1.501 1.149-2.335a3.79 3.79 0 0 1-2.036-3.599M15.43 5.103c.624-.748.929-1.71.852-2.681-.951.099-1.83.554-2.461 1.277-.62.711-.937 1.642-.876 2.586.96.01 1.871-.42 2.485-1.182'/%3E%3C/svg%3E");
  background-size: 50%;
}
.sdk-compare-logo.android {
  background-color: #ffffff;
  border: 1px solid #e6eaf2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2334a853'%3E%3Cpath d='M17.523 15.34c-.59 0-1.07-.48-1.07-1.07s.48-1.07 1.07-1.07 1.07.48 1.07 1.07-.48 1.07-1.07 1.07m-11.046 0c-.59 0-1.07-.48-1.07-1.07s.48-1.07 1.07-1.07 1.07.48 1.07 1.07-.48 1.07-1.07 1.07m11.43-6.02 2.137-3.7a.443.443 0 0 0-.165-.606.443.443 0 0 0-.606.165l-2.165 3.748a13.27 13.27 0 0 0-10.215 0L4.726 5.18a.443.443 0 0 0-.606-.165.443.443 0 0 0-.165.606L6.093 9.32C2.42 11.317 0 14.83 0 18.83h24c0-4-2.42-7.513-6.093-9.51'/%3E%3C/svg%3E");
  background-size: 54%;
}
.sdk-compare-title strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--black-100);
  letter-spacing: -0.06rem;
  line-height: 1.2;
}
.sdk-compare-title span {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary);
  margin-top: 0.4rem;
  letter-spacing: 0.04rem;
}
.sdk-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sdk-compare-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.2rem 0;
  border-top: 1px dashed #e4ebff;
  font-size: 1.45rem;
}
.sdk-compare-list li:first-child { border-top: none; padding-top: 0; }
.sdk-compare-list li span {
  color: #777;
  font-weight: 500;
  flex-shrink: 0;
  width: 9rem;
}
.sdk-compare-list li b {
  color: var(--black-100);
  font-weight: 600;
  text-align: right;
  word-break: keep-all;
}
@media (max-width: 768px) {
  .sdk-compare-card { padding: 2.4rem 2rem; border-radius: 1.6rem; }
  .sdk-compare-logo { width: 4.4rem; height: 4.4rem; border-radius: 1.2rem; }
  .sdk-compare-title strong { font-size: 1.9rem; }
  .sdk-compare-list li { font-size: 1.3rem; padding: 1rem 0; }
  .sdk-compare-list li span { width: 7.5rem; }
}

/* Infra grid uses menumap-card but with elevated white background */
.appmgr-infra-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .appmgr-infra-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .appmgr-infra-grid { grid-template-columns: 1fr; }
}
.appmgr-infra-grid .menumap-card {
  background: var(--white-100);
  border-color: #e4ebff;
}
.appmgr-infra-grid .menumap-card:hover {
  background: var(--white-100);
}
.appmgr-infra-grid .menumap-card-num {
  font-size: 1.15rem;
  letter-spacing: 0.1rem;
}

/* =========================================================
 * App Manager CTA — slight gradient differentiation
 * ========================================================= */
.appmgr-cta {
  background: linear-gradient(135deg, #2c47c9 0%, #3858e9 50%, #5a3df0 100%);
}

/* =========================================================
 * Lightbox / Zoom for screenshots
 * ========================================================= */
.lb-trigger {
  position: relative;
  display: block;
  cursor: zoom-in;
  overflow: hidden;
  transition: filter 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.lb-trigger > picture,
.lb-trigger > img {
  display: block;
  width: 100%;
  height: auto;
}
.lb-trigger:hover { filter: brightness(1.02); }

.lb-mag {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7.2rem;
  height: 7.2rem;
  margin: -3.6rem 0 0 -3.6rem;
  border-radius: 50%;
  background: rgba(12, 18, 40, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lb-mag svg {
  width: 3.6rem;
  height: 3.6rem;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}
.lb-trigger:hover .lb-mag,
.lb-trigger:focus-within .lb-mag {
  opacity: 1;
  transform: scale(1);
  background: rgba(56, 88, 233, 0.85);
}
@media (hover: none) {
  .lb-mag {
    opacity: 0.78;
    transform: scale(1);
    width: 5.6rem;
    height: 5.6rem;
    margin: -2.8rem 0 0 -2.8rem;
    background: rgba(12, 18, 40, 0.6);
  }
  .lb-mag svg { width: 2.8rem; height: 2.8rem; }
}

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 12, 30, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.lb-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lb-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem 8rem;
  box-sizing: border-box;
}
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.18s ease;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
  border-radius: 0.8rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  image-rendering: -webkit-optimize-contrast;
}
.lb-overlay.is-zoomed .lb-img { cursor: grab; }
.lb-img:active { cursor: grabbing; }

.lb-close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lb-close svg { width: 2.2rem; height: 2.2rem; display: block; }
.lb-close:hover { background: rgba(255, 255, 255, 0.22); transform: rotate(90deg); }

.lb-zoom {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  z-index: 2;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lb-zoom-btn {
  width: 4rem;
  height: 4rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.lb-zoom-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lb-zoom-btn:active { transform: scale(0.94); }
.lb-zoom-btn svg { width: 2rem; height: 2rem; display: block; }
.lb-zoom-reset { font-family: inherit; min-width: 4.4rem; }

.lb-caption {
  position: absolute;
  top: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.4rem;
  font-weight: 500;
  padding: 0.8rem 1.8rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 99px;
  white-space: nowrap;
  max-width: calc(100% - 12rem);
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}
.lb-hint {
  position: absolute;
  bottom: 8.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.02rem;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) {
  .lb-stage { padding: 5.5rem 1rem 9rem; }
  .lb-close { top: 1.2rem; right: 1.2rem; width: 4rem; height: 4rem; }
  .lb-close svg { width: 2rem; height: 2rem; }
  .lb-caption { font-size: 1.25rem; top: 1.4rem; max-width: calc(100% - 6rem); }
  .lb-zoom { bottom: 1.8rem; gap: 0.4rem; padding: 0.5rem; }
  .lb-zoom-btn { width: 3.6rem; height: 3.6rem; font-size: 1.1rem; }
  .lb-zoom-btn svg { width: 1.8rem; height: 1.8rem; }
  .lb-hint { font-size: 1.1rem; bottom: 7rem; max-width: 80%; text-align: center; }
}
body.lb-open { overflow: hidden; }

