/* Hero 2 - PPT — ThemeForest marketplace hero
   Brand primary: #002151 */

.gt-hero-ppt {
  --ppt: #002151;
  --ppt-deep: #001536;
  --ppt-lift: #0a3268;
  --ppt-mist: #8eb4d9;
  --ppt-ink: #f4f7fb;
  --ppt-muted: rgba(244, 247, 251, 0.62);
  --ppt-faint: rgba(244, 247, 251, 0.38);
  --ppt-line: rgba(255, 255, 255, 0.1);
  --ppt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ppt-display: var(--gt-font-display, "Plus Jakarta Sans", "Segoe UI", sans-serif);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
  color: var(--ppt-ink);
  background: var(--ppt);
}

.gt-hero-ppt.is-header-offset {
  padding-top: var(--gt-header-h, 72px);
}

body.gt-header-absolute .gt-hero-ppt.gt-header-overlay-target {
  padding-top: var(--gt-header-overlay-padding, var(--gt-header-h, 72px));
}

.gt-hero-ppt__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
    linear-gradient(180deg, var(--ppt-deep) 0%, var(--ppt) 42%, var(--ppt-lift) 100%);
}

.gt-hero-ppt__wash::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.gt-hero-ppt__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding: clamp(4rem, 8vh, 6.5rem) clamp(1.25rem, 3vw, 2rem);
}

.gt-hero-ppt__layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .gt-hero-ppt__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 4rem;
  }
}

/* —— Copy —— */
.gt-hero-ppt__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ppt-mist);
}

.gt-hero-ppt__eyebrow-mark {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.gt-hero-ppt__headline {
  margin: 0 0 1.25rem;
  font-family: var(--ppt-display);
  font-weight: 650;
  font-size: clamp(2.35rem, 5.2vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: #fff;
}

.gt-hero-ppt__line {
  display: block;
}

.gt-hero-ppt__accent {
  font-style: normal;
  color: var(--ppt-mist);
}

.gt-hero-ppt__sub {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.65;
  color: var(--ppt-muted);
  font-weight: 400;
}

.gt-hero-ppt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.gt-hero-ppt__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    transform 0.35s var(--ppt-ease),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.35s var(--ppt-ease);
}

.gt-hero-ppt__btn--primary {
  color: var(--ppt);
  background: #fff;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 14px 30px -16px rgba(0, 0, 0, 0.45);
}

.gt-hero-ppt__btn--primary:hover {
  transform: translateY(-1px);
  background: #f3f7fc;
  color: var(--ppt-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 18px 36px -14px rgba(0, 0, 0, 0.5);
}

.gt-hero-ppt__btn--ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.gt-hero-ppt__btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.gt-hero-ppt__btn-icon {
  flex-shrink: 0;
}

.gt-hero-ppt__meta {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  border-top: 1px solid var(--ppt-line);
}

.gt-hero-ppt__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 4.5rem;
}

.gt-hero-ppt__meta-value {
  font-family: var(--ppt-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.gt-hero-ppt__meta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ppt-faint);
}

/* —— Showcase —— */
.gt-hero-ppt__stage {
  position: relative;
  min-height: 280px;
}

.gt-hero-ppt__frame {
  position: relative;
  z-index: 2;
  border-radius: 10px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 80px -28px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

.gt-hero-ppt__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.gt-hero-ppt__dots {
  display: flex;
  gap: 5px;
}

.gt-hero-ppt__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.gt-hero-ppt__dots i:nth-child(1) { background: #ff5f57; opacity: 0.85; }
.gt-hero-ppt__dots i:nth-child(2) { background: #febc2e; opacity: 0.85; }
.gt-hero-ppt__dots i:nth-child(3) { background: #28c840; opacity: 0.85; }

.gt-hero-ppt__url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.38);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 0.28rem 0.55rem;
}

.gt-hero-ppt__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #07101c;
  overflow: hidden;
}

.gt-hero-ppt__stage--crop-hero .gt-hero-ppt__viewport {
  aspect-ratio: 2 / 1;
}

.gt-hero-ppt__stage--crop-wide .gt-hero-ppt__viewport {
  aspect-ratio: 16 / 9;
}

.gt-hero-ppt__stage--crop-tall .gt-hero-ppt__viewport {
  aspect-ratio: 16 / 10;
}

.gt-hero-ppt__shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: top center;
}

.gt-hero-ppt__wire {
  padding: 1.5rem 1.35rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gt-hero-ppt__wire-bar {
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.gt-hero-ppt__wire-bar--lg {
  height: 12px;
  width: 58%;
}

.gt-hero-ppt__wire-bar--md {
  height: 8px;
  width: 40%;
  background: rgba(255, 255, 255, 0.07);
}

.gt-hero-ppt__wire-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.gt-hero-ppt__wire-row span {
  height: 64px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gt-hero-ppt__caption {
  margin: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.gt-hero-ppt__stack {
  display: none;
}

@media (min-width: 1024px) {
  .gt-hero-ppt__stack {
    display: block;
    position: absolute;
    inset: auto 0 0 auto;
    width: 42%;
    pointer-events: none;
  }

  .gt-hero-ppt__mini {
    position: absolute;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
  }

  .gt-hero-ppt__mini--1 {
    right: -6%;
    bottom: -4%;
    z-index: 3;
    width: 88%;
  }

  .gt-hero-ppt__mini--2 {
    right: 22%;
    bottom: -14%;
    z-index: 1;
    width: 78%;
    opacity: 0.94;
  }

  .gt-hero-ppt__mini-chrome {
    display: none;
  }

  .gt-hero-ppt__mini-body {
    position: relative;
    aspect-ratio: 2 / 1;
    background: #07101c;
    overflow: hidden;
  }

  .gt-hero-ppt__stage--crop-wide .gt-hero-ppt__mini-body {
    aspect-ratio: 16 / 9;
  }

  .gt-hero-ppt__stage--crop-tall .gt-hero-ppt__mini-body {
    aspect-ratio: 16 / 10;
  }

  .gt-hero-ppt__mini-body img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    object-position: top center;
  }

  .gt-hero-ppt__mini-wire {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 22%, transparent 22%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 100%);
  }

  .gt-hero-ppt__mini-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 1.6rem 0.65rem 0.45rem;
    font-size: 0.625rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
  }
}

/* —— Entrance —— */
.gt-hero-ppt:not(.is-ready) .gt-hero-ppt__eyebrow,
.gt-hero-ppt:not(.is-ready) .gt-hero-ppt__headline,
.gt-hero-ppt:not(.is-ready) .gt-hero-ppt__sub,
.gt-hero-ppt:not(.is-ready) .gt-hero-ppt__actions,
.gt-hero-ppt:not(.is-ready) .gt-hero-ppt__meta,
.gt-hero-ppt:not(.is-ready) .gt-hero-ppt__stage {
  opacity: 0;
}

.elementor-editor-active .gt-hero-ppt .gt-hero-ppt__eyebrow,
.elementor-editor-active .gt-hero-ppt .gt-hero-ppt__headline,
.elementor-editor-active .gt-hero-ppt .gt-hero-ppt__sub,
.elementor-editor-active .gt-hero-ppt .gt-hero-ppt__actions,
.elementor-editor-active .gt-hero-ppt .gt-hero-ppt__meta,
.elementor-editor-active .gt-hero-ppt .gt-hero-ppt__stage,
.elementor-editor-preview .gt-hero-ppt .gt-hero-ppt__eyebrow,
.elementor-editor-preview .gt-hero-ppt .gt-hero-ppt__headline,
.elementor-editor-preview .gt-hero-ppt .gt-hero-ppt__sub,
.elementor-editor-preview .gt-hero-ppt .gt-hero-ppt__actions,
.elementor-editor-preview .gt-hero-ppt .gt-hero-ppt__meta,
.elementor-editor-preview .gt-hero-ppt .gt-hero-ppt__stage {
  opacity: 1 !important;
  transform: none !important;
}

.elementor-widget-gt-hero-ppt .elementor-widget-container {
  padding: 0;
  margin: 0;
}
