/* 
  Rosetta DMS - Stylesheet
  Premium Enterprise Dark Mode Theme
*/

:root {
  --bg-dark-hero: hsl(203deg 100% 46.85%);
  --bg-dark: hsl(210deg 63.33% 11.76%);
  --bg-darker: #03080c;
  --text-main: #dfecf8;
  --text-muted: #ccc;
  --accent-cyan: hsl(202, 76%, 70%);
  --accent-blue: #3A98D4;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 4.5rem;
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

svg {
  max-height: 100%;
  width: auto;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: hsl(208 72% 10% / 1);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

h1 {
  font-size: 3.4rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.25rem;
  color: hsl(208deg 65.78% 92.34%);
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.huge-text {
  font-size: 3.3rem;
  line-height: 1.2;
  padding: 0 5vw;
  font-weight: 600;
}

.subtitle {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  position: relative;
}

.text-center {
  text-align: center;
}

.mb-large {
  margin-bottom: var(--spacing-lg);
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.dark-bg {
  background-color: #060f16;
}

#cross-platform-proof {
  background-color: hwb(204 18% 33% / 1);
}

#cross-platform-proof * {
  color: #fff;
}

#cross-platform-proof .snapshot-grid .stat-card {
  background-color: transparent;
  border: 0
}

#cross-platform-proof .snapshot-grid .stat-card .stat-label {
  position: relative;
  /* color: var(--accent-cyan); */
}

#cross-platform-proof .snapshot-grid .stat-card .stat-label:before {
  content: '→';
  /* width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  border-radius: 12px;
  background: var(--accent-blue);*/
  position: absolute;
  left: -3rem;
  top: -0.6rem;

  color: var(--accent-cyan);
  font-weight: bold;
  font-size: 2rem;
}

.pt-none {
  /* padding-top: 0; */
}

/* Glassmorphism Utilities */
.glass-container,
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding-top: 9px;
  padding-bottom: 3px;
}

.screenshot-placeholder {
  min-height: 350px
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-arrow {
  font-weight: bold;
  font-size: 1.3em;
  margin-top: -2px;
  line-height: 1;
}

.btn-icon {
  width: 1.2em;
  height: 1.2em;
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 85, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 20px rgb(143 191 232 / 49%);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.small-text {
  font-size: 1.2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background: rgb(0 11 18 / 45%);
  backdrop-filter: blur(2px);
}

.navbar.scrolled {
  /* padding: 1rem 0; */
  background: rgb(6 15 22 / 82%);
  backdrop-filter: blur(20px);
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  position: relative;
  width: 210px;
}

.svg-logo-badge,
.svg-logo {
  height: 30px;
  /* Adjust scale to fit navbar */
  width: auto;
  display: block;
}

.svg-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
  transition: transform 0.2s ease;
}

.svg-logo-badge {
  opacity: 0;
  height: 60px;
  transform: scale(0);
  transition: all 0.3s ease 0.15s;
}

.scrolled .svg-logo {

  transform: translate(62px, -50%);
}

.scrolled .svg-logo-badge {
  transform: scale(1);
  display: block;
  opacity: 1;
}

.hero path {
  animation: draw-logo 1s forwards;
  animation-timing-function: ease-out;
  stroke-width: 2px;
  stroke: #ffffff;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-miterlimit: 10;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  paint-order: stroke;
  fill-opacity: 0;
}

@keyframes draw-logo {
  70% {
    fill-opacity: 0.2;
    stroke-opacity: 1;

  }

  100% {
    fill-opacity: 1;
    stroke-opacity: 0;
    stroke-dashoffset: 0;

  }
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: var(--bg-dark-hero);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  opacity: 0.5;
  object-fit: cover;
  /* mix-blend-mode: hard-light; */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgb(0 0 0 / 47%) 0%, rgb(0 0 0) 80%);
  z-index: 1;
}

.hero svg,
.hero path {
  /*transform-style: preserve-3d;*/
}

#demo {
  /* position: relative; */
  /* top: -10vh; */
  scroll-padding-top: 1000px;
}

#demo .hero-overlay {

  background: radial-gradient(circle at center, rgb(0 0 0 / 57%) 0%, rgb(0 0 0 / 90%) 90%);
}

#demo .hero-video {
  opacity: 0.6;
}

#demo svg {
  width: 100px;
  margin-bottom: 10px
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-top: 5.5rem;
}

.hero-content p {
  margin: 0 0 1.6rem 0;
  font-size: 1.4rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero .logo-large {
  transition: filter 0.5s ease;
}

.hero-content:has(.btn-primary:hover) .logo-large {
  filter: drop-shadow(0 0 55px var(--accent-blue));
}

.hero-content:has(.btn-secondary:hover) .logo-large {
  filter: drop-shadow(0 0 55px rgba(255, 255, 255, 0.5));
}

/* Value Prop */
.value-prop {
  padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
}

.role-story-intro {
  padding-bottom: 0;
}

.role-story-intro .subtitle:after,
.role-story-outcome .subtitle:after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 1px;
  background: #ffffff;
  z-index: 0;
}

.role-story-outcome:after {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(var(--scroll-offset, 0px));
  filter: blur(var(--scroll-blur, 0px));
  will-change: transform, filter;
  width: 436px;
  height: 552px;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTM1MSAxNjE2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMjYzLjE1IDc2MC43MDRDMTI1OS40NSA2ODUuNDkgMTI1MC40IDYxNS44MzEgMTIyMC44IDU0Ny4yMDVDMTIxOC45OSA1NDMuMDAzIDEyMTcuMTEgNTM4LjgwNCAxMjE1LjE0IDUzNC42MDhDMTE4NS45NSA0NjguMDY4IDExNDkuMjUgNDEwLjU1MyAxMTI1LjA3IDM0MC4wNjdDMTExNi4yNCAzMTQuNDY3IDExMDkuNDIgMjg4LjI5NiAxMTA0LjEgMjYxLjYzMUMxMDk1LjgyIDIyMC43NTYgMTA5MS4yNiAxNzYuNDA0IDEwODYuMDggMTM1LjgzOUMxMDc5LjA1IDgyLjU2NCAxMDcxLjU1IDM0LjM2MTcgMTAxNy4wMiAxNS40NzAzTDEwMTYuODYgMTUuNDEyQzk4My43MzcgMy4yNjIxMyA5NDIuMTU3IDEuNDIyNTggOTAxLjQyNyAwLjIyNTYwNEM2MTMuODU5IC02LjQ1MTc5IDIzMi4xOTIgMTM2LjA5MSAxMTcuNTc2IDI5NS44ODVDOTUuNjgyMyAzMjYuMzk4IDgzLjY2MTUgMzUyLjg1NCA3NC4wMTc5IDM4Ni45NzZDNjQuNTMyIDQyNi43OTcgNTQuNzYwMyA0ODIuMDQxIDQ1LjU1MiA1NDcuMjA1QzI1Ljk4NjEgNjg1LjY2IDguOTY0NjggODY4LjkyOSAyLjYzMTgyIDEwNDQuNDRDLTIuNTM3NjQgMTE4Ny43MSAtMC41ODU3MjcgMTMyNS44IDEyLjkyMzQgMTQzMC4xQzE5LjE0MjQgMTQ2Ni43NSAzMC4yMDg5IDE0OTIuNjcgNjkuNjI4NSAxNTAzLjMzQzI2MS4yNjMgMTU0NS4zNCA1OTEuMjc1IDE1MzAuMjcgNzU5LjQ0OCAxNTI1LjQzQzc4Ny4xODIgMTUyNC4wMyA4MTQuMDE5IDE1MjIuNzUgODQwLjg1IDE1MTkuMjNDOTU4LjQwOSAxNTAzLjcyIDEwNjYuMzMgMTQyOS41NSAxMTQ0LjI5IDEzMzkuNzFDMTIzMS4wNCAxMjQwLjYzIDEyNTEuNTQgMTE1Ny4zNCAxMjYwLjU4IDEwNDQuNDRDMTI2Mi4zNyAxMDIyLjA5IDEyNjMuNzIgOTk4LjU4IDEyNjUuMDMgOTczLjU1M0MxMjY4LjAyIDkwMy44MTMgMTI2Ny4xMyA4MjguODY0IDEyNjMuMTUgNzYwLjcwNFoiIGZpbGw9IndoaXRlIi8+PC9zdmc+');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

/* Split Layouts (Features) */
.split-container {
  display: flex;
  gap: 3rem;
  padding: 3rem 0;
}

.split-container:not(.hero-content) {
  align-items: center;
}

.split-container.reverse {
  flex-direction: row-reverse;
}

.split-container.flex-col {
  flex-direction: column;
}

.hero .split-text {
  flex: 3.3;
}

.split-text {
  flex: 1;
}

.hero-content .split-media {
  padding: 1.3rem 0;
}

.split-media {
  flex: 1;
  position: relative;
  /* border-radius: 24px; */
  /* overflow: hidden; */
  /* text-align: center; */
}

.split-media svg {
  height: 19rem;
}

.tilt-wrapper {
  display: inline-block;
  line-height: 0;
}

.js-tilt-glare {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTM1MSAxNjE2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIG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Ljk4NjEgNjg1LjY2IDguOTY0NjggODY4LjkyOSAyLjYzMTgyIDEwNDQuNDRDLTIuNTM3NjQgMTE4Ny43MSAtMC41ODU3MjcgMTMyNS44IDEyLjkyMzQgMTQzMC4xQzE5LjE0MjQgMTQ2Ni43NSAzMC4yMDg5IDE0OTIuNjcgNjkuNjI4NSAxNTAzLjMzQzI2MS4yNjMgMTU0NS4zNCA1OTEuMjc1IDE1MzAuMjcgNzU5LjQ0OCAxNTI1LjQzQzc4Ny4xODIgMTUyNC4wMyA4MTQuMDE5IDE1MjIuNzUgODQwLjg1IDE1MTkuMjNDOTU4LjQwOSAxNTAzLjcyIDEwNjYuMzMgMTQyOS41NSAxMTQ0LjI5IDEzMzkuNzFDMTIzMS4wNCAxMjQwLjYzIDEyNTEuNTQgMTE1Ny4zNCAxMjYwLjU4IDEwNDQuNDRDMTI2Mi4zNyAxMDIyLjA5IDEyNjMuNzIgOTk4LjU4IDEyNjUuMDMgOTczLjU1M0MxMjY4LjAyIDkwMy44MTMgMTI2Ny4xMyA4MjguODY0IDEyNjMuMTUgNzYwLjcwNFoiIGZpbGw9IndoaXRlIi8+PC9zdmc+");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}



.feature-video {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgb(70 160 217 / 29%);
  color: var(--accent-cyan);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-list {
  margin-top: 1rem;
  margin-bottom: 2.3rem;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  /* color: #ddd; */
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: -0.4rem;
  color: var(--accent-cyan);
  font-weight: bold;
  font-size: 1.6rem;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 2rem;
}

.stat-card p {
  margin-bottom: 0;
}

.stat-number {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.3rem !important;
  color: var(--text-muted);
  margin: 0 auto 0.7rem auto;
  /* text-transform: uppercase; */
  letter-spacing: 0;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
}

.testimonial {
  padding: 3rem;
}

.stars {
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
}

.quote {
  color: #fff;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.author-info strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
}

.author-info span {
  font-size: 0.9rem;
}

/* CTA Section */
.cta-box {
  padding: 5rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.cta-video-bg {
  position: relative;
  overflow: hidden;
}

.cta-video-bg .cta-box {
  position: relative;
  z-index: 2;
}

#demo .tilt-wrapper svg.logo-large {
  opacity: 0;
  transform: translateY(30px) scale(0.85);
  transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* slight delay so the box slides up first */
  transition-delay: 0.3s;
}

#demo .cta-box.active .tilt-wrapper svg.logo-large {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cta-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0 1rem 0;
}

.glass-input {
  /* Using glass style but input needs some solid background to be visible properly */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  color: #fff;
  width: 60%;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.glass-input:focus {
  border-color: var(--accent-cyan);
}

.subtext {
  font-size: 0.9rem;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem 0;
  /* border-top: 1px solid rgba(255, 255, 255, 0.05); */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.footer-brand p {
  margin: 5px 0 0 0;
}

.footer-svg-logo {
  height: 30px;
  width: auto;
  display: block;
}

.footer-altcom {
  text-align: right;
}

.footer-altcom p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #a0aec0;
}

.footer-altcom-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
}

.footer-altcom-logo {
  height: 28px;
  /* background-color: white; */
  /* padding: 4px 8px; */
  border-radius: 4px;
  object-fit: contain;
}

.footer-divider {
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
  width: 100%;
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  padding-top: 25px;
  padding-bottom: 25px;
  align-items: center;
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright p {
  margin: 0;
  color: #ffffff;
  font-size: 1.1rem;
}

.footer-privacy-link {
  /* color: var(--accent-cyan); */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-privacy-link:hover {
  color: #fff;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  animation: fadeUp 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive constraints */
@media (max-width: 992px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .huge-text {
    font-size: 3rem;
  }

  .split-container,
  .split-container.reverse {
    flex-direction: column;
    gap: 1rem;
    flex: 1
  }

  .hero .split-container.reverse {
    flex-direction: column-reverse !important;
    padding-top: 0rem;
  }

  .hero .split-container.reverse .split-media {
    padding: 0 5%;
    width: 100%;
  }

  .split-container.flex-col {
    flex-direction: column;
  }

  .cta-form {
    flex-direction: column;
    align-items: center;
  }

  .glass-input {
    width: 100%;
  }

  .nav-links {
    display: none;
    /* simple burger menu omission for time */
  }
}

/* Role Grid */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.role-grid>svg {
  width: 59%;
  margin: 3vw auto 0 auto;
  padding-left: 1.5vw;
}

.role-grid>svg * {
  stroke-width: 1px;
  stroke-dasharray: 2, 2;
  fill: none;
  stroke: #8fbfe8;
  vector-effect: non-scaling-stroke;
}

.role-card {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1.5rem 0.2rem 1.5rem;
  background: rgba(14, 23, 38, 0.4);
}

.role-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.role-card:hover {
  transform: translateY(-5px);
  border-color: rgba(121, 194, 237, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.role-card.active {
  border-color: #79C2ED;
  background: rgba(121, 194, 237, 0.1);
}

.role-card.active h3 {
  color: #79C2ED;
}

/* Sticky Switcher */
#sticky-role-switcher {
  transition: transform 0.4s ease, opacity 0.4s ease;
  /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); */
  /* border: none; */
  padding: 15px 25px !important;
}

/* Snapshot Grid update */
.snapshot-grid {
  gap: 2rem !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.snapshot-grid .stat-card {
  text-align: left;
  padding: 2.3rem 1.5rem !important;
  background: rgb(11 30 49);
  /* border: 1px solid rgba(255, 255, 255, 0.05); */
  border-radius: 12px;
}

#platform-snapshot .snapshot-grid .stat-card {
  background: transparent !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#platform-snapshot .snapshot-grid .stat-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1200px;
  height: 1200px;
  background: conic-gradient(from 0deg, transparent 0%, transparent 70%, rgba(121, 194, 237, 0.224) 90%, hsl(202 50% 30% / 1) 100%);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: shineLine 5s linear infinite;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

body.is-scrolling #platform-snapshot .snapshot-grid .stat-card::before {
  opacity: 1;
  transition: opacity 0.2s ease-in;
}

#platform-snapshot .snapshot-grid .stat-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: rgb(11 30 49);
  border-radius: 11px;
  z-index: -1;
  pointer-events: none;
}

#platform-snapshot .snapshot-grid .stat-card:nth-child(1)::before {
  animation-delay: 0s;
}

#platform-snapshot .snapshot-grid .stat-card:nth-child(2)::before {
  animation-delay: 0.8s;
}

#platform-snapshot .snapshot-grid .stat-card:nth-child(3)::before {
  animation-delay: 1.2s;
}

#platform-snapshot .snapshot-grid .stat-card:nth-child(4)::before {
  animation-delay: 2s;
}

#platform-snapshot .snapshot-grid .stat-card:nth-child(5)::before {
  animation-delay: 2.5s;
}

#platform-snapshot .snapshot-grid .stat-card:nth-child(6)::before {
  animation-delay: 2.75s;
}

@keyframes shineLine {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Lucide Icons */
.card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.3rem;
  color: #fff;
  opacity: 0.9;
  padding: 20px;
  background: #010102;
  border-radius: 15px;
}

.card-icon * {
  stroke-width: 1.2px;
  stroke: #74bfff;
}

/* --------------------- */
/* Extracted Inline Styles */
/* --------------------- */
.mt-3 {
  margin-top: 3rem;
}

.stat-label.lg-label {
  font-size: 1.2rem;
  color: #fff;
}

.hero-actions.center-actions {
  margin-top: 2rem;
  justify-content: center;
}

.glass-container.h-100-min-350 {
  height: 100%;
  min-height: 350px;
}

.subtitle.constrained-subtitle {
  margin: 0 auto;
  max-width: 800px;
  padding-top: 1rem;
}

.dark-option {
  background: var(--bg-dark, #0E1726);
  color: white;
}

.transparent-select {
  background: transparent;
  color: #0e1d2a;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  padding-right: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.fixed-role-indicator {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  z-index: 1000;
  flex-direction: row;
  gap: 10px;
  background: rgb(255 255 255 / 91%);
  backdrop-filter: blur(5px);
  align-items: center;
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fixed-role-indicator.active {
  display: flex !important;
}

.fixed-role-indicator.visible {
  opacity: 1;
  pointer-events: auto;
}

.viewing-label {
  font-size: 1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #03080c;
  margin-right: 10px;
  opacity: 0.8;
}

.flex-center-hidden {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.img-responsive-rounded {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

.role-chapters-wrapper {
  background: var(--bg-darker);
}

/* Role Story Switching Visibility */
.role-story-wrapper {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.role-story-wrapper.active-role-story {
  display: block;
}

.role-story-wrapper.visible {
  opacity: 1;
}

/* Specific styling for the Role Path Icons injected above the Tag */
.role-path-icon {
  margin: 0px auto 50px auto;
  /* slightly pull it up if needed, but 0 auto 15px auto is safer */
  display: block;
  width: 112px;
  height: 112px;
  color: var(--accent-cyan, #79C2ED);
  filter: drop-shadow(0 0 30px rgba(121, 194, 237, 1));
}

/* 3D Facing Split Media */
.split-media {
  perspective: 1200px;
}

/* 3D Facing base state */
.split-container .split-media img,
.split-container .split-media video,
.split-container .split-media .glass-container {
  transform-style: preserve-3d;
  border-radius: 8px;
}

/* Initially flat for scroll-reveal elements before they're active */
.split-container.reveal:not(.active) .split-media img,
.split-container.reveal:not(.active) .split-media video,
.split-container.reveal:not(.active) .split-media .glass-container {
  transform: rotateY(0deg) scale(0.98);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0s;
}

/* Standard: Image on Right, Text on Left. Image faces Left. */
.split-container:not(.reverse) .split-media img,
.split-container:not(.reverse) .split-media video,
.split-container:not(.reverse) .split-media .glass-container {
  transform: rotateY(-15deg);
  /* The rotation takes 0.9s, and delays by 0.5s so text finishes fading up first! */
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}

.split-container:not(.reverse) .split-media:hover img,
.split-container:not(.reverse) .split-media:hover video,
.split-container:not(.reverse) .split-media:hover .glass-container {
  transform: rotateY(-10deg) scale(1.02);
  /* Ignore the reveal delay when explicitly hovering */
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0s;
}

/* Reverse: Image on Left, Text on Right. Image faces Right. */
.split-container.reverse .split-media img,
.split-container.reverse .split-media video,
.split-container.reverse .split-media .glass-container {
  transform: rotateY(10deg);
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}

.split-container.reverse .split-media:hover img,
.split-container.reverse .split-media:hover video,
.split-container.reverse .split-media:hover .glass-container {
  transform: rotateY(10deg) scale(1.02);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0s;
}

/* Disable 3D tilting on mobile where elements stack vertically */
@media (max-width: 992px) {
  .hero {
    height: auto;
  }

  .split-container:not(.reverse) .split-media img,
  .split-container:not(.reverse) .split-media video,
  .split-container:not(.reverse) .split-media .glass-container,
  .split-container.reverse .split-media img,
  .split-container.reverse .split-media video,
  .split-container.reverse .split-media .glass-container {
    transform: none;
  }

  .split-container:not(.reverse) .split-media:hover img,
  .split-container:not(.reverse) .split-media:hover video,
  .split-container:not(.reverse) .split-media:hover .glass-container,
  .split-container.reverse .split-media:hover img,
  .split-container.reverse .split-media:hover video,
  .split-container.reverse .split-media:hover .glass-container {
    transform: none;
  }
}

/* Image & Video Lightbox Styling */
.split-media img {
  cursor: zoom-in;
}

/* In-situ Video Wrapper */
.in-situ-video-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 100%;
  transform-style: preserve-3d;
}

.in-situ-video-wrapper video {
  display: block;
  border-radius: 24px;
  width: 100%;
  height: auto;
  pointer-events: none;
  /* Let clicks hit the wrapper */
}

.video-play-overlay {
  position: absolute;
  bottom: -44px;
  left: 38px;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgb(58, 152, 212);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
}

.video-play-overlay svg {
  height: 1.7rem;

}

.video-play-overlay svg path {

  transition: all 0.3s ease;
  transform-origin: center;
  transform: scale(1);
}

.in-situ-video-wrapper:hover .video-play-overlay {

  transform: translate(-50%, -50%) scale(1.4);
}

.in-situ-video-wrapper:hover .video-play-overlay svg path {

  transform: scale(1.3);
}

/* Play triangle and expand SVG are generated directly in JS for sharper vector scaling */

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(0 0 0 / 79%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img,
.lightbox-overlay video {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: contain;
  /* hide by default out of active scope */
  display: none;
}

.lightbox-overlay.active img[src]:not([src=""]),
.lightbox-overlay.active video[src]:not([src=""]) {
  display: block;
  transform: scale(1);
}

.lightbox-caption {
  color: #fff;
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  font-family: inherit;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 80px;
  color: white;
  font-size: 44px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--accent-cyan, #79C2ED);
}

/* Privacy Modal Specific Styling */
.privacy-modal-content {
  background: var(--bg-dark, #0E1726);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

#privacy-modal.active .privacy-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.privacy-modal-body {
  overflow-y: auto;
  color: #a0aec0;
  padding-right: 15px;
  text-align: left;
}

.privacy-modal-body h2 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 20px;
}

.privacy-modal-body h3 {
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.privacy-modal-body p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.privacy-modal-body a {
  color: var(--accent-cyan, #79C2ED);
  text-decoration: none;
}

.privacy-modal-body a:hover {
  text-decoration: underline;
}

/* =========================================
   Mobile Breakpoint Refinements 
   ========================================= */
@media (max-width: 768px) {

  /* 1. Header Collisions */
  .logo-container {
    width: 150px;
  }

  .svg-logo,
  .svg-logo-badge,
  .scrolled .svg-logo {
    height: 21px;
    width: auto;
    position: static;
    transform: translate(0);
  }

  .svg-logo-badge,
  .scrolled .svg-logo-badge {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .navbar .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  /* 2. Typography & Container Scaling */
  h1 {
    font-size: 2.2rem;
  }

  h2,
  .huge-text {
    font-size: 1.8rem;
    /* padding: 0 3vw; */
  }

  h3 {
    font-size: 1.5rem;
  }

  .container {
    width: 90%;
  }

  .feature-list li {
    font-size: 1.2rem;
  }

  /* 3. Hero & CTA Actions (Column Stacking) */
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    margin: 0;
  }

  .center-actions {
    align-items: stretch;
  }

  .section {
    padding: var(--spacing-md) 0;
    position: relative;
  }

  /* 4. Split Layout Stacking Tweaks */
  .split-container {
    flex-direction: column !important;
    gap: 2rem;
    padding: 1.5rem 0;
  }

  .mb-large {
    margin-bottom: var(--spacing-md);
  }

  .split-media svg {
    height: 9rem;
  }

  .card-icon {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    padding: 12px;
    float: left;
    margin-right: 20px;
    margin-top: -12px
  }

  .stat-card p {
    clear: left;
  }

  .small-text {
    font-size: 1.15rem;
    clear: left;
  }

  .viewing-label {
    display: none;
  }

  .role-story-outcome:after {

    width: 200px;
    bottom: -220px
  }

  #cross-platform-proof .snapshot-grid .stat-card .stat-label:before {
    left: -2.3rem
  }

  #cross-platform-proof .snapshot-grid .stat-card {
    padding-left: 3rem !important;
    padding-bottom: 0 !important;
  }

  /* 5. Demo & Footer Scaling */
  #demo .tilt-wrapper svg.logo-large {
    height: 14rem;
    margin-bottom: 1rem;
  }
  .cta-box {
    padding: 2.5rem 1rem;
  }
  .cta-form {
    flex-direction: column;
    align-items: center;
  }

  .cta-form .glass-input,
  .cta-form .btn {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    align-items: center;
  }

  .footer-altcom {
    text-align: center;
    justify-content: center;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-privacy-link {
    margin-top: 0.5rem;
  }
}