/* DaVinci Resolve Studio — cinema / color-suite presentation on FKA layout */

:root {
  --font-ui: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-btn: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --hero-accent-gradient: linear-gradient(135deg, #ff8a3d 0%, #e86b1f 48%, #3dd6c6 100%);
  --resolve-suite-bg: #14161c;
  --resolve-suite-deep: #101218;
  --resolve-grade-orange: rgba(232, 107, 31, 0.2);
  --resolve-grade-teal: rgba(61, 214, 198, 0.16);
  --resolve-grade-violet: rgba(196, 92, 255, 0.14);
  --resolve-panel-border: rgba(255, 138, 61, 0.16);
  --text-ui: #c4bfb6;
  --glow-rgb: 232, 107, 31;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(232, 107, 31, 0.14), transparent 28rem),
    radial-gradient(circle at 92% 6%, rgba(61, 214, 198, 0.1), transparent 30rem),
    linear-gradient(180deg, #12141a 0%, #0c0d10 55%, #0a0b0e 100%),
    var(--bg);
  font-family: var(--font-ui);
}

.header-shell {
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  z-index: 100;
}

.header {
  border: 1px solid rgba(232, 107, 31, 0.22);
  border-radius: 18px;
  background: rgba(16, 18, 24, 0.86);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: none !important;
  transform: none !important;
}

.brand-wordmark {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-wordmark strong {
  font-weight: 700;
}

.hero--presentation {
  position: relative;
  min-height: auto;
  margin-top: 8px;
  padding: clamp(3rem, 8vh, 5.5rem) 0 clamp(2.5rem, 8vh, 5rem);
}

.hero--presentation::before {
  content: none;
}

.hero--presentation .hero-inner {
  max-width: min(1120px, 100%);
}

.hero--presentation .hero-copy {
  --hero-gap-title-lead: clamp(0.5rem, 1.4vh, 0.75rem);
  --hero-gap-lead-cta: clamp(1.625rem, 4.2vh, 2.375rem);
  --hero-gap-cta-trust: clamp(0.875rem, 2.2vh, 1.25rem);
  --hero-gap-trust-visual: clamp(2.25rem, 5.5vh, 3.5rem);
  gap: 0;
  padding-top: clamp(2rem, 4.5vh, 3.5rem);
}

@media (min-width: 981px) {
  .hero--presentation .hero-copy {
    padding-top: clamp(2.75rem, 5.5vh, 4.5rem);
  }
}

.hero--presentation .hero-copy h1.hero-display {
  margin: 0 auto var(--hero-gap-title-lead, clamp(0.5rem, 1.4vh, 0.75rem));
}

.hero--presentation .hero-kicker {
  display: none;
}

.hero-display,
h1.hero-display {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto var(--hero-gap-title-lead, clamp(0.5rem, 1.4vh, 0.75rem));
  padding: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
  text-shadow: none;
}

.hero-display__accent {
  display: inline-block;
  font-size: clamp(1.85rem, 6.5vw, 4rem);
  background: var(--hero-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 auto var(--hero-gap-lead-cta, clamp(1.625rem, 4.2vh, 2.375rem));
  max-width: 40rem;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--text-ui);
  text-wrap: balance;
}

.hero--presentation .hero-actions {
  margin-top: 0;
  margin-bottom: var(--hero-gap-cta-trust, clamp(0.875rem, 2.2vh, 1.25rem));
}

.hero--presentation .hero-buy-btn,
.final-offer__actions .hero-buy-btn {
  min-width: min(100%, 280px);
  padding: 16px 32px;
  font-family: var(--font-btn);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 14px !important;
  background: var(--hero-accent-gradient) !important;
  color: #140c06 !important;
  border: 1px solid rgba(255, 180, 120, 0.45) !important;
  box-shadow: 0 8px 28px rgba(232, 107, 31, 0.35);
  animation: resolve-btn-pulse 6.5s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}

.header-actions .hero-buy-btn {
  min-width: 128px;
  padding: 12px 22px;
  font-family: var(--font-btn);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 9999px !important;
  background: var(--hero-accent-gradient) !important;
  color: #140c06 !important;
  border: 1px solid rgba(255, 180, 120, 0.45) !important;
  box-shadow: 0 8px 28px rgba(232, 107, 31, 0.32);
  animation: resolve-btn-pulse 6.5s ease-in-out infinite;
}

.hero--presentation .hero-buy-btn::before,
.final-offer__actions .hero-buy-btn::before,
.header-actions .hero-buy-btn::before,
.oplata-cta .hero-buy-btn::before {
  display: none !important;
}

.hero--presentation .hero-buy-btn::after,
.final-offer__actions .hero-buy-btn::after,
.header-actions .hero-buy-btn::after,
.oplata-cta .hero-buy-btn::after,
.buy-modal-submit::after {
  display: block !important;
  inset: -130% -45%;
  background: linear-gradient(
    108deg,
    rgba(255, 255, 255, 0) 32%,
    rgba(255, 200, 140, 0.28) 43%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(61, 214, 198, 0.28) 57%,
    rgba(255, 255, 255, 0) 68%
  );
  animation: buy-btn-shimmer 6.5s ease-in-out infinite;
}

.hero--presentation .hero-buy-btn:hover,
.final-offer__actions .hero-buy-btn:hover,
.header-actions .hero-buy-btn:hover {
  filter: brightness(1.06) saturate(1.05) !important;
  transform: translateY(-1px);
}

.oplata-cta .hero-buy-btn,
.buy-modal-submit {
  background: var(--hero-accent-gradient) !important;
  color: #140c06 !important;
  border: 1px solid rgba(255, 180, 120, 0.45) !important;
  box-shadow: 0 8px 28px rgba(232, 107, 31, 0.35);
}

.buy-modal-submit {
  position: relative;
  overflow: hidden;
  animation: resolve-btn-pulse 6.5s ease-in-out infinite;
}

.buy-modal-submit::before {
  display: none !important;
}

.buy-modal-submit:hover:not(:disabled) {
  filter: brightness(1.06) saturate(1.05) !important;
  transform: translateY(-1px);
  color: #140c06 !important;
}

.hero--presentation .hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto var(--hero-gap-trust-visual, clamp(2.25rem, 5.5vh, 3.5rem));
  padding: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.6875rem, 2.4vw, 0.8125rem);
  letter-spacing: 0.01em;
  color: var(--text-ui);
  border: none;
  background: none;
  box-shadow: none;
  box-sizing: border-box;
}

.hero--presentation .hero-trust-chip,
.final-offer__trust .hero-trust-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-weight: 500;
  color: var(--text-ui);
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  cursor: default;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.hero--presentation .hero-trust-chip:hover,
.final-offer__trust .hero-trust-chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-2) 42%, rgba(255, 255, 255, 0.22));
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 22px rgba(var(--glow-rgb), 0.18);
  color: var(--text);
}

.hero--presentation .hero-trust-chip .checkmark-icon,
.final-offer__trust .hero-trust-chip .checkmark-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-2);
  opacity: 0.88;
  flex-shrink: 0;
}

.hero--presentation .hero-trust-chip--emphasis,
.final-offer__trust .hero-trust-chip--emphasis {
  font-weight: 600;
  color: var(--text);
}

.hero--presentation .hero-visual {
  width: min(100%, 1040px);
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: none;
  background: none;
  border-radius: clamp(12px, 2vw, 20px);
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    0 24px 80px rgba(0, 0, 0, 0.35);
}

.hero--presentation .hero-resolve-screenshot,
.hero--presentation .hero-resolve-video {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  border-radius: clamp(12px, 2vw, 20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  filter: none;
  object-fit: cover;
}

@keyframes resolve-btn-pulse {
  0%,
  100% {
    box-shadow: 0 8px 28px rgba(232, 107, 31, 0.35);
  }
  50% {
    box-shadow:
      0 10px 34px rgba(232, 107, 31, 0.5),
      0 0 0 1px rgba(61, 214, 198, 0.28);
  }
}

@media (max-width: 640px) {
  .hero--presentation {
    padding-top: clamp(2rem, 6vh, 3rem);
    padding-bottom: 2rem;
  }

  .hero-display,
  h1.hero-display {
    white-space: normal;
    line-height: 1.12;
  }

  .hero-display__accent {
    font-size: clamp(1.6rem, 8vw, 2.35rem);
  }

  .hero--presentation .hero-buy-btn {
    width: 100%;
    max-width: 300px;
  }

  .hero--presentation .hero-trust-bar {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: min(100%, 18.5rem);
    margin-inline: auto;
    gap: 6px;
  }

  .hero--presentation .hero-trust-chip {
    display: flex;
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Highlights — grading suite panels */
.highlight-visual {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 85% 75% at 50% 32%, rgba(232, 107, 31, 0.22), transparent 68%),
    var(--resolve-suite-bg) !important;
  border-bottom: 1px solid var(--resolve-panel-border);
  min-height: calc(200px + 2rem);
  padding: 1.25rem 1.5rem;
}

.highlight-visual::before {
  display: none;
}

.highlight-visual--license {
  background:
    radial-gradient(ellipse 80% 70% at 50% 38%, rgba(61, 214, 198, 0.14), transparent 65%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(232, 107, 31, 0.16), transparent 58%),
    var(--resolve-suite-deep) !important;
  border-bottom: 1px solid var(--resolve-panel-border);
}

.highlight-card--star {
  background:
    linear-gradient(155deg, rgba(196, 92, 255, 0.12) 0%, transparent 42%),
    linear-gradient(335deg, rgba(61, 214, 198, 0.1) 0%, transparent 38%),
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(232, 107, 31, 0.12), transparent 58%),
    linear-gradient(180deg, #1a1d24 0%, #12151a 100%) !important;
  border-color: rgba(255, 138, 61, 0.2) !important;
}

.highlight-card--star::before {
  background: linear-gradient(
    180deg,
    var(--resolve-grade-violet),
    var(--resolve-grade-teal),
    var(--resolve-grade-orange)
  ) !important;
}

.highlight-image {
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.55));
}

.highlight-card--star .highlight-star-eyebrow {
  background: var(--hero-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.buy-modal-product-img {
  border-radius: 12px;
  background: #0f1116;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
