/**
 * Dynotis ST-101 Detail Page Styles
 * Cover with privacy-frame + 70/30 split, dark content area
 */

/* ========================================
   COVER SECTION (privacy-cover-frame based)
   ======================================== */

.dynotis-detail .dd-cover {
  height: 850px;
  padding-bottom: 0;
}

.dynotis-detail .privacy-cover-frame {
  position: absolute;
  top: 112px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
  pointer-events: none;
  z-index: 2;
  display: flex;
}

.dd-cover__grid {
  display: grid;
  grid-template-columns: 66.5% 33.5%;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.dd-cover__left {
  display: flex;
  align-items: flex-end;
  padding: 0 0 60px 50px;
}

.dd-cover__content {
  max-width: 980px;
}

.dd-cover__label {
  color: var(--cta-accent);
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28px;
  display: block;
  margin-bottom: 24px;
}

.dd-cover__title {
  color: #FFFFFF;
  font-family: 'Mont', sans-serif;
  font-size: 120px;
  font-weight: 600;
  line-height: 80px;
  letter-spacing: -7.2px;
  margin: 0 0 40px;
}

.dd-cover__desc {
  color: #FFFFFF;
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  margin: 0 0 40px;
}

.dd-cover__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28px;
  padding: 0 40px;
  height: 70px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dd-cover__cta:hover {
  background: var(--color-primary-hover);
}

.dd-cover__cta-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dd-cover__cta-start,
.dd-cover__cta-end {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.dd-cover__cta-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 10px;
  background: #FFFFFF;
}

.dd-cover__cta-line {
  height: 1px;
  background: currentColor;
  border-radius: 999px;
  transition: width 0.28s ease, opacity 0.28s ease;
}

.dd-cover__cta-line--start {
  width: 0;
  opacity: 0;
}

.dd-cover__cta-line--end {
  width: 40px;
  opacity: 1;
}

.dd-cover__cta-end .dd-cover__cta-dot {
  margin-left: -1px;
}

.dd-cover__cta:hover .dd-cover__cta-line--start {
  width: 40px;
  opacity: 1;
}

.dd-cover__cta:hover .dd-cover__cta-line--end {
  width: 0;
  opacity: 0;
}

/* Right Column: Product Slider + Teal Gradient */
.dd-cover__right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border-light);
  background: radial-gradient(ellipse at 60% 50%, rgba(15, 121, 140, 0.35) 0%, transparent 70%);
}

.dd-cover__slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dd-cover__single {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.dd-cover__slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.dd-cover__single img,
.dd-cover__slider .swiper-slide img {
  max-height: 500px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.dd-cover__nav {
  position: absolute;
  bottom: 40px;
  left: 50px;
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dd-cover__arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.dd-cover__arrow:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   MAIN LAYOUT (3 COLUMNS - DARK BG)
   ======================================== */

.page-dynotis-detail {
  background: #101010;
  padding: 0 0 80px;
  margin-left: calc(var(--page-gutter) * -1);
  width: calc(100% + (var(--page-gutter) * 2));
}

.dd-layout {
  display: grid;
  grid-template-columns: 200px 1fr 380px;
  gap: 0 50px;
  padding: 60px 0;
}

/* ========================================
   LEFT SIDEBAR NAVIGATION
   ======================================== */

.dd-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  display: grid;
  grid-template-columns: 15px 1fr;
  gap: 12px;
  align-items: start;
  align-self: start;
}

/* Progress track + fill + cursor */
.dd-sidebar__progress {
  position: relative;
  width: 15px;
  align-self: stretch;
}

.dd-sidebar__track {
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.dd-sidebar__fill {
  position: absolute;
  left: 7px;
  top: 0;
  width: 1px;
  height: 0;
  background: #FFFFFF;
  transition: height 0.3s ease;
}

.dd-sidebar__cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  transition: top 0.3s ease;
  z-index: 2;
}

.dd-sidebar__cursor svg {
  display: block;
  width: 15px;
  height: 15px;
}

/* Nav links */
.dd-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dd-sidebar__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  padding: 12px 0;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: -0.32px;
}

.dd-sidebar__link:hover {
  color: rgba(255, 255, 255, 0.75);
}

.dd-sidebar__link.active {
  color: #FFFFFF;
}

.dd-sidebar__num {
  font-size: 10.32px;
  font-weight: 600;
  min-width: 14px;
}

/* ========================================
   CENTER CONTENT
   ======================================== */

.dd-main {
  min-width: 0;
  overflow: hidden;
}

.dd-section {
  margin-bottom: 100px;
}

.dd-feature__heading {
  font-family: 'Mont', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: #FFFFFF;
  margin: 0 0 28px;
}

/* ========================================
   FEATURE BLOCKS
   ======================================== */

.dd-feature {
  margin-bottom: 32px;
}

.dd-feature__statement {
  font-family: 'Mont', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.52px;
  line-height: 30px;
  margin: 0 0 20px;
}

.dd-feature__text {
  font-family: 'Mont', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.4px;
  color: #FFFFFF;
  margin: 0;
}

.dd-feature__image {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 48px;
}

.dd-feature__image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* ========================================
   TECHNICAL SPECIFICATIONS TABLE
   ======================================== */

.dd-specs__heading {
  font-family: 'Mont', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.52px;
  line-height: 30px;
  margin: 0 0 24px;
}

.dd-specs__tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0;
}

.dd-specs__tab {
  background: none;
  border: none;
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.32px;
  line-height: 30px;
  padding: 12px 0;
  cursor: pointer;
  position: relative;
}

.dd-specs__tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #FFFFFF;
}

.dd-specs__model {
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.32px;
  line-height: 30px;
}

.dd-specs__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dd-specs__table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dd-specs__table tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.02);
}

.dd-specs__table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.05);
}

.dd-specs__group-header td {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.dd-specs__group-last td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.dd-specs__table td {
  padding: 22px 24px;
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.42px;
  vertical-align: middle;
}

.dd-specs__group-label {
  width: 220px;
  min-width: 220px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.dd-specs__label {
  width: 360px;
  min-width: 360px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.dd-specs__value {
  width: auto;
}

/* ========================================
   WHAT IS IN THE BOX
   ======================================== */

.dd-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.dd-box__title {
  font-family: 'Mont', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.52px;
  line-height: 30px;
  margin: 0;
}

.dd-box__nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dd-box__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #FFFFFF;
}

.dd-box__arrow--next {
  background: var(--color-primary, #0F798C);
  border-color: var(--color-primary, #0F798C);
}

.dd-box__arrow:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.dd-box__slider {
  overflow: hidden;
}

.dd-box__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dd-box__item {
  display: flex;
  flex-direction: column;
}

.dd-box__image {
  background: #1A1A1A;
  border-radius: 20px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  margin-bottom: 20px;
}

.dd-box__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dd-box__name {
  font-family: 'Mont', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.44px;
  line-height: 1.3;
  text-align: center;
  margin: 0;
}

.dd-box__count {
  font-size: 14px;
  font-weight: 600;
}

/* ========================================
   RIGHT SIDEBAR - PRODUCT INFO
   ======================================== */

.dd-info {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.dd-info__group {
  margin-bottom: 32px;
}

.dd-info__label {
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.28px;
  margin: 0 0 12px;
}

.dd-info__value {
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.32px;
  margin: 0;
}

.dd-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dd-info__list li {
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.32px;
  line-height: 36px;
}

.dd-info__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dd-info__tag {
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.32px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

/* ========================================
   OUR OTHER MODELS
   ======================================== */

.dd-models {
  background: #EEF2F2;
  padding: 80px 0 100px;
  margin-left: calc(var(--page-gutter) * -1);
  width: calc(100% + (var(--page-gutter) * 2));
}

.dd-models__title {
  font-family: 'Mont', sans-serif;
  font-size: 64px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -2.56px;
  line-height: 80px;
  margin: 0 0 48px;
}

.dd-models__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1880px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.dd-model-card {
  background: rgba(15, 121, 140, 0.05);
  border: 1px solid var(--color-primary);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 740px;
  transition: all 0.3s ease;
}

.dd-model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 121, 140, 0.15);
}

.dd-model-card__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.dd-model-card__scale {
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cta-accent);
  letter-spacing: 0.28px;
}

.dd-model-card__name {
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cta-accent);
  letter-spacing: 0.28px;
}

.dd-model-card__image {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
}

.dd-model-card__image img {
  max-width: 60%;
  max-height: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.dd-model-card__watermark {
  position: absolute;
  inset: auto -12% 16% -12%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.dd-model-card__watermark-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-width: max-content;
  animation: dd-model-card-marquee 18s linear infinite;
  animation-play-state: paused;
}

.dd-model-card:hover .dd-model-card__watermark-track {
  animation-play-state: running;
}

.dd-model-card__watermark-text {
  font-family: 'Mont', sans-serif;
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -4.8px;
  line-height: 0.9;
  white-space: nowrap;
  user-select: none;
  text-transform: uppercase;
}

.dd-model-card__watermark-text--stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(39, 98, 86, 0.45);
  text-stroke: 1.5px rgba(39, 98, 86, 0.45);
}

.dd-model-card__watermark-text--fill {
  color: rgba(39, 98, 86, 0.22);
}

.dd-model-card__watermark-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(39, 98, 86, 0.32);
  flex: 0 0 auto;
}

.dd-model-card__link {
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.28px;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.3s ease;
  position: relative;
  z-index: 4;
}

.dd-model-card__link:hover {
  color: var(--color-primary-hover);
}

.dd-model-card__overlay-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 20px;
}

@keyframes dd-model-card-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

/* Full-width newsletter on this page */
.dynotis-detail .newsletter-cta {
  margin-left: calc(var(--page-gutter) * -1);
  width: calc(100% + (var(--page-gutter) * 2));
  margin-bottom: calc(var(--page-gutter) * -1);
}
