:root {
  scroll-behavior: smooth;
  --cta-physics-card-font-size: var(--base-size-14);
}

.landing-body {
  padding: 0;
  background: var(--bg);
  color: var(--text);
}


.landing-body .body-container{
  padding: 0;
  margin: 0;
}

.landing-nav {
  position: sticky;
  height: 3.5rem;
  top: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem;
  border-bottom: var(--borderWidth-thin) solid var(--border);
  border-bottom-color: var(--border);
  border-bottom-width: var(--borderWidth-thin);
  border-bottom-style: solid;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(.35rem);
}


.landing-body .landing-nav {
  position: sticky;
  height: 3.5rem;
  top: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 4rem;
  border-bottom: var(--borderWidth-thin) solid var(--border);
  border-bottom-color: var(--border);
  border-bottom-width: var(--borderWidth-thin);
  border-bottom-style: solid;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(.35rem);
  transition:
    padding 0.6s cubic-bezier(.8,.3,.2,1),
    border-bottom-width 0.6s cubic-bezier(.8,.3,.2,1),
    border-bottom-opacity 0.6s cubic-bezier(.8,.3,.2,1);
  --nav-border-opacity: 0;
}

.landing-body .landing-nav {
  border-bottom-color: rgba(var(--border-rgb), var(--nav-border-opacity));
}

.landing-body .landing-nav.scrolled {
  padding: .8rem 1rem;
  --nav-border-opacity: 1;
}

.socials{
  padding: .4rem;
  border: 0.063rem solid var(--border);
  border-radius: var(--borderRadius-medium);
  width: var(--toggle-small);
  height: var(--toggle-small);
}

.logo{
    width: 7rem;
    height: 4rem;
    margin-left: 0.2rem;
    background-image: var(--logo);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.linkedin-logo{
  width: 100%;
  height: 100%;
  background-image: var(--linkedin-logo);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.x-logo{
  width: 100%;
  height: 100%;
  background-image: var(--x-logo);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.email-logo{
  width: 100%;
  height: 100%;
  background-image: var(--email-logo);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.footer-socials{
  display: flex;
  flex-direction: row;
  gap: .5rem;
}

.comparison-item h3 {
  display: flex;
  gap: .5rem;
  justify-content: center;
  align-items: flex-end;
  line-height: .8;
  color: var(--logo-color);
  font-weight: 400;
}

.comparison-item .logo {
  height: 1.1rem;
  width: 5.5rem;
  margin: unset;
  align-self: flex-end;
}

.brand {
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--text);
  font-size: 1.5rem;
  user-select: none;
  outline: none;
}


#landing-settings-toggle-btn {
  display: none;
  position: fixed;
  z-index: 81;
  background-color: var(--card-bg);
  width: var(--toggle-big);
  height: 2rem;
  padding: 0;
  border: 0.063rem solid var(--border);
  border-radius: var(--borderRadius-medium);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.25rem 1.25rem;
  outline: none;
}

#landing-settings-toggle-btn {
  top: .75rem;
  right: 1rem;
  z-index: 300;
  background-image: var(--settings-toggle-btn-icon);
}

#landing-settings-toggle-btn img {
  display: none;
}


#landing-settings-toggle-btn {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.theme-toggle-landing {
  display: inline-flex;
  align-items: center;
  border-radius: var(--borderRadius-medium);
  background: var(--border);
  line-height: 0;
  position: relative;
  z-index: 60;
  flex-shrink: 0;
  cursor: pointer;
}

.theme-toggle-landing .track {
  --track-light: var(--border);
  --track-dark: var(--border);

  width: var(--toggle-big);
  height: var(--toggle-small);
  border-radius: var(--borderRadius-medium);
  background: var(--track-light);
  position: relative;
}

.theme-toggle-landing .thumb {
  position: absolute;
  width: var(--toggle-small);
  height: var(--toggle-small);
  background: var(--card-bg);
  display: grid;
  place-items: center;
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-medium);
  color: var(--secondary-btn-color);
  transition:
    transform .3s ease,
    color .3s ease,
    border-radius .3s ease;
  user-select: none;
  border-radius: var(--borderRadius-medium);
  border: var(--borderWidth-thin) solid var(--border);
}

/*.theme-toggle-landing .thumb:hover,
#theme-toggle-landing:checked+.theme-toggle-landing .track .thumb:hover{
  border-color: var(--accent);
}*/

.theme-toggle-landing .thumb-light {
  display: inline;
}

.theme-toggle-landing .thumb-dark {
  display: none;
}

#theme-toggle-landing:checked+.theme-toggle-landing .track .thumb-light {
  display: none;
}

#theme-toggle-landing:checked+.theme-toggle-landing .track .thumb-dark {
  display: inline;
}

#theme-toggle-landing:checked+.theme-toggle-landing .track {
  background: var(--track-dark);
}

#theme-toggle-landing:checked+.theme-toggle-landing .track .thumb {
  transform: translateX(var(--toggle-shift));
  color: var(--secondary-btn-color);
  border-radius: var(--borderRadius-medium);
  border: var(--borderWidth-thin) solid var(--border);
}


#theme-toggle-landing:focus+.theme-toggle-landing {
  box-shadow: 0 0 0 0.15rem color-mix(in srgb, var(--track-dark) 40%, transparent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--borderRadius-medium);
  padding: 0.36rem 0.6rem;
  font-weight: var(--base-text-weight-medium);
  border: var(--borderWidth-thin) solid var(--border);
  text-decoration: none;
  font-size: var(--base-size-14);
  line-height: 1.2;
  cursor: pointer;
}

.btn.primary {
  background: var(--bgColor-success-emphasis);
  color: var(--white);
  border: 0.063rem solid var(--borderColor-translucent);
}

.btn.primary:hover {
  background: var(--button-primary-bgColor-hover);
}

.btn.secondary {
  background: var(--card-bg);
  color: var(--secondary-btn-color);
}

.btn.secondary:hover {
  background: var(--secondary-btn-hover-bg);
}

.hero {
  display: flex;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 2rem) min(5vw, 3rem);
  max-width: 100vw;
}


#invoice-pdf {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem 4rem 6rem 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--card-bg) 50%, var(--bg) 100%);
}

.hero-section-big-container{
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8rem;
  padding: 0 4rem 0 0;
}

.hero-sections-container {
  display: flex;
  align-items: flex-end;
}

.hero-sections-container .hero-art{
  width: 35rem;
}


.hero-sections-container .hero-art .card.demo,
.hero-sections-container .demo-section,
.hero-sections-container .demo-table-row {
  background-color: var(--card-bg);
}

#invoice-pdf h1 {
  font-size: 4rem;
}



#invoice-pdf> :first-child {
  flex: 1;
}

#invoice-pdf> :last-child {
  flex: unset;
}

.hero> :first-child {
  flex: 1.4;
}

.hero> :last-child {
  flex: 0.6;
}


#invoice-pdf .hero-sections-container {
  flex: 1;
}

#invoice-pdf .hero-art{
  flex: unset;
  border-radius: var(--borderRadius-medium);
}

.hero .hero-sections-container {
  flex: 1.4;
}

.hero-section{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#invoice-pdf .hero-copy {
  display: flex;
  gap: 2rem;
  height: -webkit-fill-available;
  justify-content: space-between;
  width: 80%;
}

#invoice-pdf .hero-section {
  flex-direction: row;
}

#invoice-pdf .hero-copy > :last-child {
  align-items: center;
}

.hero-copy> :last-child {
  align-items: flex-end;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
}

.hero-copy> :last-child {
  align-items: flex-end;
}

.hero-copy h1,
.comparison-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.comparison-section h1 {
  text-align: center;
  margin-bottom: 1rem;
}


.comparison-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  text-align: center;
  max-width: 45rem;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.comparison-subtitle strong {
  color: var(--accent);
}

.hero-copy .sub {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.hero-copy .sub strong{
  color: var(--accent);
}

.cta {
  display: flex;
  min-height: 2rem;
  gap: 1rem;
}

.cta a{
  padding: 0.313rem 1rem;
}

.badges {
  display: flex;
  gap: .4rem;
  list-style: none;
  color: var(--text-light);
}

.badges li {
  border: var(--borderWidth-thin) solid var(--border);
  padding: .2rem .5rem;
  border-radius: var(--borderRadius-full);
}

.hero-art .card.demo {
  position: relative;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--card-bg);
  padding: 1rem;
  box-shadow: 0 .2rem .6rem var(--shadow-color);
  min-height: 17.5rem;
}

.hero-art .stripe {
  height: 2.2rem;
  border-radius: var(--borderRadius-small);
  background: var(--accent);
  margin-bottom: 1rem;
}

.hero-art .rows {
  display: grid;
  gap: .5rem;
}

.hero-art .row {
  height: .9rem;
  border-radius: var(--borderRadius-small);
  background: var(--surface-alt);
}

.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.feat {
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 1rem;
  background: var(--card-bg);
  box-shadow: 0 .05rem .2rem var(--shadow-color);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: start;
  height: 100%;
}

.feat:hover {
  box-shadow: 0 .25rem .5rem var(--shadow-color);
}

.feat-icon {
  transition: transform 0.3s ease;
}

.feat:hover .feat-icon {
  transform: scale(0.9);
}

.feat h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
  transition: opacity 0.3s ease;
}

.feat p {
  color: var(--text-light);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: start;
  opacity: 0;
  background: var(--card-bg);
  backdrop-filter: blur(.188rem);
  -webkit-backdrop-filter: blur(.188rem);
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.feat:hover p {
  opacity: 1;
  pointer-events: auto;
}

.feat:hover h3 {
  opacity: 0;
}

.animated-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  transition: opacity 0.3s ease;
}

.feat:hover .animated-feature-icon {
  opacity: 0.3;
}

.feature-path {
  stroke-dasharray: 200 200;
  stroke-dashoffset: 200;
  animation: drawFeatureContinuous 6s ease-in-out infinite;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.feat {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.feat:hover {
  transform: translateY(-0.313rem);
  box-shadow: 0 0.625rem 1.563rem rgba(0, 0, 0, 0.1);
}

@keyframes drawFeatureContinuous {
  0% {
    stroke-dashoffset: 200;
    opacity: 0.3;
  }

  5% {
    opacity: 1;
  }

  25% {
    stroke-dashoffset: 0;
  }

  75% {
    stroke-dashoffset: 0;
  }

  95% {
    stroke-dashoffset: -200;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -200;
    opacity: 0.3;
  }
}

.hero-sections-container .hero-art {
  width: 35rem;
  perspective: 120rem;
}

.hero-sections-container .hero-art .card.demo {
  position: relative;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--card-bg);
  padding: 1rem;
  min-height: 17.5rem;
  transform-style: preserve-3d;
  /*animation: hero-float 12s ease-in-out infinite;*/
}

@keyframes hero-float {
  0% {
    transform: rotateX(10deg) rotateY(-12deg);
  }
  50% {
    transform: rotateX(12deg) rotateY(12deg) translateY(-0.75rem);
  }
  100% {
    transform: rotateX(10deg) rotateY(-12deg);
  }
}

#invoice-pdf .hero-copy {
  gap: 2rem;
  flex: 1 1 65%;
  min-width: 0;
}


.hero-sections-container .hero-art {
  flex: 1 0 30rem;
  perspective: 120rem;
  /*padding: 1rem;*/
}


.landing-footer {
  padding: 1rem;
  text-align: center;
  color: var(--fgColor-muted);
}


.badges li {
  animation: float 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.2s);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0rem);
  }

  50% {
    transform: translateY(-0.5rem);
  }
}

.invoice-preview {
  overflow: hidden;
}


.demo-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.animated-logo {
  width: 7rem;
  height: 3rem;
}

.logo-path {
  stroke-dasharray: 500 500;
  stroke-dashoffset: 500;
  animation: drawSynchronized 6s ease-in-out infinite;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes drawSingleLine {
  0% {
    stroke-dashoffset: 400;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    stroke-dashoffset: 0;
  }

  70% {
    stroke-dashoffset: 0;
  }

  90% {
    stroke-dashoffset: -400;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -400;
    opacity: 0;
  }
}



.demo-logo {
  height: 1.5rem;
  background: var(--accent);
  border-radius: var(--borderRadius-small);
}

.demo-client-info {
  margin-bottom: 1rem;
}

.demo-line {
  height: 0.5rem;
  background: var(--border);
  border-radius: var(--borderRadius-small);
  margin-bottom: 0.3rem;
}

.demo-line.short {
  width: 40%;
}

.demo-line.medium {
  width: 60%;
}

.demo-line.long {
  width: 85%;
}

.demo-table {
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-small);
  overflow: hidden;
  margin-bottom: 1rem;
}

.demo-table-header {
  display: grid;
  grid-template-columns: .5fr 2fr 1.5fr 1fr;
  white-space: nowrap;
  background: var(--surface-alt);
  padding: .313rem .75rem;
  gap: 0.5rem;
}

.demo-cell {
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-semibold);
  color: var(--text-light);
  text-decoration: none;
}

.demo-cell.demo-total {
  font-size: var(--base-size-14);
}

.demo-table-row {
  display: grid;
  grid-template-columns: .5fr 2fr 1.5fr 1fr;
  padding: 0.5rem;
  gap: 0.5rem;
  border-top: var(--borderWidth-thin) solid var(--border);
}

.demo-total {
  display: flex;
  justify-content: flex-start;
}

.demo-total-line {
  width: 30%;
  height: 0.75rem;
  background: var(--accent);
  border-radius: var(--borderRadius-small);
}


.totals-section {
  display: flex;
  align-items: center;
  gap: 4rem;

}

.demo-brand-colors,
.demo-invoice-details,
.demo-table-row,
.demo-pricing-details {
  background-color: var(--card-bg);
}


.demo-articles-bottom-container {
  display: flex;
  justify-content: space-between;
}

.hero-art {
  position: relative;
  overflow: hidden;
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(.5rem);
  border-radius: var(--borderRadius-medium);
  border: var(--borderWidth-thin) solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.section-overlay.active {
  opacity: 1;
}

.overlay-message {
  position: absolute;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem 0 0;
  max-width: 60rem;
  width: max-content;
  animation: messageAppear 0.5s ease;
}

.overlay-message[data-position="top"] {
  animation: messageSlideDown 0.5s ease;
}

.overlay-message[data-position="bottom"] {
  animation: messageSlideUp 0.5s ease;
}

.overlay-message[data-position="center"] {
  animation: messageAppear 0.5s ease;
}

.overlay-title {
  font-weight: var(--base-text-weight-semibold);
  font-size: 2rem;
  line-height: 1.3;
}

.overlay-submessage {
  font-weight: var(--base-text-weight-normal);
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.5;
}

@keyframes messageSlideUp {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes messageSlideDown {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes messageAppear {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.section-active {
  position: relative;
  z-index: 10;
}

.section-active * {
  position: relative;
  z-index: 11;
}


.interface-hero .hero-art *,
.responsive-section .hero-art *,
.responsive-section .device-frame.phone-frame * {
  cursor: default !important;
}

.interface-hero .add-row-btn:hover,
.interface-hero .add-bulk-items-btn:hover,
.responsive-section .add-row-btn:hover,
.responsive-section .add-bulk-items-btn:hover{
  background: var(--add-btn-bg-subtle);
  border-color: var(--border)
}

.interface-hero #add-defaults-btn:hover,
.responsive-section #add-defaults-btn:hover {
  background: var(--card-bg);
}

.demo-print-bar.section-active,
.demo-print-bar.section-active .demo-cell {
  cursor: pointer !important;
}


.hero-art .add-bulk-items-span,
.hero-art .add-row-span {
  font-size: var(--base-size-12);
}

.hero-art .add-row-btn,
.hero-art .add-bulk-items-btn {
  margin: 0;
}

.demo-tables-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.demo-tables-container .grand-total-row {
  position: unset;
  align-self: flex-end;
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
  color: var(--text-light);
  width: 40%;
  gap: .3rem;
}

.demo-tables-container .grand-total-row .subtotal,
.demo-tables-container .grand-total-row .grandtotal {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.demo-tables-container .grand-total-row .demo-line {
  margin-bottom: unset;
}

.demo-tables-container .grand-total-row .sub-total-label,
.demo-tables-container .grand-total-row .grand-total-label {
  font-size: unset;
}



.animate-type-long {
  animation: long-typing 2s ease-in-out infinite;
}

@keyframes long-typing {

  0%,
  100% {
    width: 85%;
  }

  50% {
    width: 100%;
  }
}

.animate-type-medium {
  animation: medium-typing 2s ease-in-out infinite;
}

@keyframes medium-typing {

  0%,
  100% {
    width: 60%;
  }

  50% {
    width: 85%;
  }
}

.animate-type-short {
  animation: short-typing 2s ease-in-out infinite;
}

@keyframes short-typing {

  0%,
  100% {
    width: 40%;
  }

  50% {
    width: 60%;
  }
}

.zoom-in {
  animation: zoom-in 2s ease-in-out infinite;
}

@keyframes zoom-in {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}


.total-in-words {
  width: 100%;
  max-width: 22rem;
}

.total-in-words.demo-line {
  overflow: hidden;
}

.total-in-words.demo-line.typing-animation {
  overflow: hidden;
  border-right: 0.125rem solid var(--accent);
  animation: typing 3s steps(20) infinite, blink 1s infinite;
}


.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-item {
  position: absolute;
  font-size: 1.5rem;
  animation: floatAround var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0.7;
}

.float-item:nth-child(1) {
  top: 20%;
  right: 10%;
}

.float-item:nth-child(2) {
  bottom: 30%;
  left: 5%;
}

.float-item:nth-child(3) {
  top: 60%;
  right: 20%;
}

@keyframes floatAround {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(0.625rem, -0.625rem) rotate(5deg);
  }

  50% {
    transform: translate(-0.313rem, -1.25rem) rotate(-3deg);
  }

  75% {
    transform: translate(-0.625rem, 0.313rem) rotate(2deg);
  }
}

.stats-section {
  padding: 4rem min(5vw, 3rem);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--white);
  margin: 2rem 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2rem;
  max-width: 70rem;
  margin: 0 auto;
}

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

.stat-number {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--base-text-weight-semibold);
  line-height: 1;
  margin-bottom: 0.5rem;
  animation: countUp 2s ease-out forwards;
}

.stat-label {
  font-size: var(--base-size-16);
  opacity: 0.9;
}

@keyframes countUp {
  from {
    transform: translateY(1.25rem);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.demo-section {
  padding: 1rem 0;
  background: var(--card-bg);
}

.demo-container {
  max-width: 70rem;
  margin: 0 auto;
}

.demo-container h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.demo-tab {
  padding: 0.75rem 1.5rem;
  border: var(--borderWidth-thin) solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  border-radius: var(--borderRadius-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.demo-tab.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.demo-tab:hover:not(.active) {
  background: var(--secondary-btn-hover-bg);
}

.demo-preview {
  position: relative;
  min-height: 20rem;
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 2rem;
}

.demo-screen {
  display: none;
  animation: fadeIn 0.5s ease;
}

.demo-screen.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(0.625rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-form {
  max-width: 30rem;
}

.demo-form-field {
  margin-bottom: 1.5rem;
}

.demo-field-label {
  font-weight: var(--base-text-weight-semibold);
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.demo-field-input {
  padding: 0.75rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--bgColor-muted);
}

.typing-animation {
  overflow: hidden;
  border-right: 0.125rem solid var(--accent);
  animation: typing 3s steps(20) infinite, blink 1s infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.demo-themes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 1rem;
}

.theme-preview {
  aspect-ratio: 4/3;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-preview.professional {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-preview.modern {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.theme-preview.minimalist {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.theme-preview.active {
  transform: scale(1.05);
  box-shadow: 0 0.5rem 1rem var(--shadow-color);
}

.theme-preview span {
  color: white;
  font-weight: var(--base-text-weight-semibold);
  text-shadow: 0 0.063rem 0.125rem rgba(0, 0, 0, 0.3);
}

.demo-export {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pdf-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pdf-icon {
  font-size: 4rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.625rem);
  }
}

.pdf-progress {
  width: 12rem;
  height: 0.5rem;
  background: var(--surface-alt);
  border-radius: var(--borderRadius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: var(--borderRadius-full);
  animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
  0% {
    width: 0%;
  }

  70% {
    width: 100%;
  }

  100% {
    width: 100%;
  }
}

.pdf-ready {
  font-weight: var(--base-text-weight-semibold);
  color: var(--accent);
  opacity: 0;
  animation: fadeInDelay 3s ease-in-out infinite;
}

@keyframes fadeInDelay {

  0%,
  70% {
    opacity: 0;
    transform: translateY(0.625rem);
  }

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

.tech-stack {
  padding: 4rem min(5vw, 3rem);
  text-align: center;
}

.tech-stack h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 2rem;
  max-width: 50rem;
  margin: 0 auto;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-0.313rem);
  box-shadow: 0 0.5rem 1rem var(--shadow-color);
}

.tech-icon {
  font-size: 2.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.comparison-section {
  padding: 4rem min(5vw, 3rem);
  background: var(--bg);
  border-top: var(--borderWidth-thin) solid var(--border);
  border-bottom: var(--borderWidth-thin) solid var(--border);
  position: relative;
  clear: both;
}

.comparison-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 70rem;
  margin: 0 auto;
}

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

.comparison-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.messy-invoice,
.clean-invoice {
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.messy-invoice {
  background: repeating-linear-gradient(45deg,
      var(--danger-bg-subtle),
      var(--danger-bg-subtle) 0.625rem,
      transparent 0.625rem,
      transparent 1.25rem);
}

.messy-content {
  transform: rotate(-2deg);
}

.messy-line {
  height: 0.5rem;
  background: var(--danger-color);
  margin-bottom: 0.5rem;
  border-radius: var(--borderRadius-small);
}

.messy-line.crooked {
  transform: rotate(1deg);
  width: 70%;
}

.messy-line.too-long {
  width: 120%;
  transform: rotate(-1deg);
}

.messy-table {
  margin-top: 1rem;
}

.messy-row {
  height: 0.75rem;
  background: var(--danger-color);
  margin-bottom: 0.3rem;
  border-radius: var(--borderRadius-small);
}

.messy-row.misaligned {
  transform: translateX(0.625rem) rotate(0.5deg);
  width: 90%;
}

.messy-row.overlapping {
  transform: translateX(-0.313rem) translateY(2rem) rotate(3.5deg);
  width: 95%;
}


.messy-line {
  animation: messyFloat 3s ease-in-out infinite;
}

.messy-line.crooked {
  animation: messyFloat 2.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

.messy-line.too-long {
  animation: messyFloatErratic 3.5s ease-in-out infinite;
  animation-delay: 0.7s;
}

.messy-line.short {
  animation: messyFloatShake 2.8s ease-in-out infinite;
  animation-delay: 1.2s;
}

.messy-row.misaligned {
  animation: messyFloatWobble 3.2s ease-in-out infinite;
  animation-delay: 0.5s;
}

.messy-row.overlapping {
  animation: messyFloatChaotic 2.3s ease-in-out infinite;
  animation-delay: 1.5s;
}

@keyframes messyFloat {

  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }

  25% {
    transform: translateY(-0.5rem) rotate(1.5deg);
  }

  75% {
    transform: translateY(0.375rem) rotate(0.5deg);
  }
}

@keyframes messyFloatErratic {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  33% {
    transform: translateY(-0.75rem) rotate(-4deg);
  }

  66% {
    transform: translateY(0.25rem) rotate(-0.2deg);
  }
}

@keyframes messyFloatShake {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  25% {
    transform: translateY(-0.312rem) translateX(0.125rem);
  }

  50% {
    transform: translateY(0.5rem) translateX(-0.062rem);
  }

  75% {
    transform: translateY(-0.188rem) translateX(0.062rem);
  }
}

@keyframes messyFloatWobble {

  0%,
  100% {
    transform: translateX(0.625rem) translateY(0) rotate(0.5deg);
  }

  30% {
    transform: translateX(0.8rem) translateY(-0.375rem) rotate(1.2deg);
  }

  70% {
    transform: translateX(0.4rem) translateY(0.25rem) rotate(-0.1deg);
  }
}

@keyframes messyFloatChaotic {

  0%,
  100% {
    transform: translateX(-0.313rem) translateY(2rem) rotate(3.5deg);
  }

  20% {
    transform: translateX(-0.1rem) translateY(1.725rem) rotate(4.2deg);
  }

  40% {
    transform: translateX(-0.5rem) translateY(2.225rem) rotate(2.8deg);
  }

  60% {
    transform: translateX(-0.2rem) translateY(1.525rem) rotate(4deg);
  }

  80% {
    transform: translateX(-0.4rem) translateY(2.425rem) rotate(3.1deg);
  }
}

.messy-content {
  animation: messyContainerSway 4s ease-in-out infinite;
}

@keyframes messyContainerSway {

  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(-1.5deg);
  }
}



.clean-content {
  animation: cleanBuildUp 4s ease-in-out infinite;
}

.clean-header {
  animation: cleanHeaderSlide 4s ease-in-out infinite;
}

.clean-line:nth-child(2) {
  animation: cleanLineAppear 4s ease-in-out infinite;
  animation-delay: 0.3s;
}

.clean-line:nth-child(3) {
  animation: cleanLineAppear 4s ease-in-out infinite;
  animation-delay: 0.6s;
}

.clean-row:nth-child(1) {
  animation: cleanRowBuild 4s ease-in-out infinite;
  animation-delay: 0.9s;
}

.clean-row:nth-child(2) {
  animation: cleanRowBuild 4s ease-in-out infinite;
  animation-delay: 1.2s;
}

.clean-row:nth-child(3) {
  animation: cleanRowBuild 4s ease-in-out infinite;
  animation-delay: 1.5s;
}

.clean-total {
  animation: cleanTotalFinish 4s ease-in-out infinite;
  animation-delay: 1.8s;
}

@keyframes cleanBuildUp {

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

  50% {
    transform: translateY(-0.125rem) scale(1.002);
  }
}

@keyframes cleanHeaderSlide {

  0%,
  100% {
    width: 100%;
    opacity: 1;
  }

  25% {
    width: 95%;
    opacity: 0.9;
  }

  50% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes cleanLineAppear {

  0%,
  15% {
    width: 0%;
    opacity: 0;
  }

  35% {
    width: 80%;
    opacity: 1;
  }

  85%,
  100% {
    width: 80%;
    opacity: 1;
  }
}

@keyframes cleanRowBuild {

  0%,
  20% {
    width: 0%;
    transform: translateX(-0.625rem);
    opacity: 0;
  }

  40% {
    width: 100%;
    transform: translateX(0);
    opacity: 1;
  }

  90%,
  100% {
    width: 100%;
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes cleanTotalFinish {

  0%,
  35% {
    width: 0%;
    opacity: 0;
  }

  55% {
    width: 50%;
    transform: translateX(0);
    opacity: 1;
  }

  65% {
    transform: scale(1.05);
  }

  75% {
    transform: scale(1);
  }

  90%,
  100% {
    width: 50%;
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}



.clean-invoice {
  background: var(--card-bg);
}

.clean-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.clean-header {
  height: 1rem;
  background: var(--accent);
  border-radius: var(--borderRadius-small);
  width: 100%;
  margin-bottom: 0.3rem;
}

.clean-line {
  height: 0.5rem;
  background: var(--border);
  border-radius: var(--borderRadius-small);
  width: 80%;
  margin-bottom: 0.3rem;
}

.clean-table {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
}

.clean-row {
  height: 0.5rem;
  background: var(--border);
  border-radius: var(--borderRadius-small);
  width: 100%;
  margin-bottom: 0.3rem;
}

.clean-total {
  height: 0.75rem;
  background: var(--accent);
  border-radius: var(--borderRadius-small);
  width: 50%;
  margin-left: auto;
  margin-top: 0.5rem;
}



.word-drops {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.drop-word {
  position: absolute;
  top: -2rem;
  left: var(--x);
  transform: translateX(-50%);
  font-size: 0.8rem;
  font-weight: var(--base-text-weight-medium);
  padding: 0.25rem 0.5rem;
  border-radius: var(--borderRadius-medium);
  white-space: nowrap;
  opacity: 0;
  animation: wordDrop 5.4s ease-in-out infinite;
  animation-delay: var(--delay);
}

.messy-invoice .drop-word {
  background: color-mix(in srgb, var(--danger-color) 20%, transparent);
  color: var(--danger-color);
  border: var(--borderWidth-thin) solid var(--danger-color);
}

.clean-invoice .drop-word.positive {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);
  border: var(--borderWidth-thin) solid var(--accent);
}

@keyframes wordDrop {
  0% {
    top: -2rem;
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }

  10% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1);
  }

  40% {
    top: 50%;
    opacity: 0.8;
  }

  60% {
    top: 70%;
    opacity: 1;
  }

  80% {
    opacity: 0.8;
  }

  100% {
    top: 110%;
    opacity: 0;
    transform: translateX(-50%) scale(0.9);
  }
}

.messy-invoice,
.clean-invoice {
  height: 20rem;
  position: relative;
}




.scalability-section {
  padding: 4rem clamp(2rem, 5vw, 3rem) 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--card-bg) 50%, var(--bg) 100%);
  border-bottom: var(--borderWidth-thin) solid var(--border);
  position: relative;
  overflow: hidden;
}

.scalability-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 75rem;
  height: 100%;
  background: radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.scale-header-container {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.scale-header-container h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scale-subtitle,
.responsive-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 45rem;
  margin: 0 auto;
}

.progression-path {
  position: relative;
  width: 100%;
  max-width: 60rem;
  margin: 0 auto 2rem;
  height: 8rem;
}

.path-line {
  width: 100%;
  height: 100%;
  position: absolute;
  top: -.8rem;
  left: 0;
}

.progress-track {
  opacity: 0.3;
}

.progress-line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawProgress 4s ease-in-out infinite;
  filter: drop-shadow(0 0 0.5rem var(--accent));
}

@keyframes drawProgress {
  0% {
    stroke-dashoffset: 2000;
    opacity: 0.3;
  }

  50% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

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

.milestone {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.milestone-1 {
  left: 5%;
}

.milestone-2 {
  left: 50%;
}

.milestone-3 {
  left: 95%;
}

.milestone-dot {
  width: 1rem;
  height: 1rem;
  border-radius: var(--borderRadius-full);
  background: var(--accent);
  border: 0.188rem solid var(--card-bg);
  box-shadow: 0 0 1rem color-mix(in srgb, var(--accent) 50%, transparent);
  animation: pulseDot 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.milestone[data-stage="2"] .milestone-dot {
  animation-delay: 0.5s;
}

.milestone[data-stage="3"] .milestone-dot {
  animation-delay: 1s;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 1rem color-mix(in srgb, var(--accent) 50%, transparent);
  }

  50% {
    transform: scale(1.3);
    box-shadow: 0 0 2rem color-mix(in srgb, var(--accent) 80%, transparent);
  }
}

.milestone-label {
  font-size: 0.875rem;
  font-weight: var(--base-text-weight-semibold);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scale-cascade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: center;
  max-width: 85rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.scale-tier {
  position: relative;
  transition: transform 0.4s, box-shadow 0.4s;
}

.scale-tier:hover {
  transform: translateY(-1rem);
}

.tier-1 {
  margin-top: 0;
}

.tier-2 {
  margin-top: 0;
}

.tier-3 {
  margin-top: 0;
}

.tier-decoration {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.complexity-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--borderRadius-medium);
  font-size: 0.875rem;
  font-weight: var(--base-text-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(0.5rem);
  border: var(--borderWidth-thin) solid;
  box-shadow: 0 0.5rem 1rem var(--shadow-color);
}

.badge-simple {
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 20%, var(--card-bg)) 0%,
      color-mix(in srgb, var(--accent) 10%, var(--card-bg)) 100%);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent);
}

.badge-medium {
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 30%, var(--card-bg)) 0%,
      color-mix(in srgb, var(--accent) 20%, var(--card-bg)) 100%);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  color: var(--accent);
}

.badge-complex {
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 40%, var(--card-bg)) 0%,
      color-mix(in srgb, var(--accent) 30%, var(--card-bg)) 100%);
  border-color: var(--accent);
  color: var(--accent);
}

.badge-icon {
  font-size: 0.75rem;
  letter-spacing: -0.1em;
}

.tier-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15rem;
  height: 15rem;
  border-radius: var(--borderRadius-full);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.scale-tier:hover .tier-glow {
  opacity: 0.15;
}

.tier-content {
  background: var(--card-bg);
  box-shadow: 0 0.5rem 2rem var(--shadow-color);
  transition: all 0.4s ease;
  border-radius: var(--borderRadius-medium);
}

.scale-tier:hover .tier-content {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: 0 1rem 3rem color-mix(in srgb, var(--accent) 20%, var(--shadow-color));
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.tier-header h3 {
  font-size: 1.5rem;
  font-weight: var(--base-text-weight-semibold);
}

.field-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
}

.count-number {
  font-size: 1.5rem;
  font-weight: var(--base-text-weight-semibold);
  color: var(--accent);
  line-height: 1;
}

.count-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.invoice-mockup {
  position: relative;
  background: var(--bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 1rem;
  overflow: hidden;
}

.invoice-mockup.mockup-complex {
  height: 40rem;
}

.invoice-mockup.mockup-medium {
  height: 30rem;
}

.invoice-mockup.mockup-simple {
  height: 20rem;
}

.mockup-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center,
      color-mix(in srgb, var(--accent) 5%, transparent) 0%,
      transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.scale-tier:hover .mockup-glow {
  opacity: 1;
}

.mockup-content {
  position: relative;
  z-index: 1;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.mock-logo-simple {
  width: 30%;
  height: 0.75rem;
  background: var(--accent);
  border-radius: var(--borderRadius-small);
  animation: pulseGlow 2s ease-in-out infinite;
}

.mock-logo-medium {
  width: 25%;
  height: 1rem;
  background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, transparent) 100%);
  border-radius: var(--borderRadius-small);
  animation: pulseGlow 2.5s ease-in-out infinite;
}

.mock-logo-complex {
  width: 20%;
  height: 1.25rem;
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 80%, var(--border)) 100%);
  border-radius: var(--borderRadius-small);
  box-shadow: 0 0.125rem 0.5rem color-mix(in srgb, var(--accent) 30%, transparent);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.8;
    box-shadow: 0 0.125rem 0.5rem color-mix(in srgb, var(--accent) 20%, transparent);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0.25rem 1rem color-mix(in srgb, var(--accent) 40%, transparent);
  }
}

.mock-invoice-num {
  width: 30%;
  height: 0.5rem;
  background: var(--border);
  border-radius: var(--borderRadius-small);
}

.mock-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-end;
}

.mock-sections {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.simple-layout {
  grid-template-columns: 1fr;
}

.medium-layout {
  grid-template-columns: repeat(2, 1fr);
}

.complex-layout {
  grid-template-columns: repeat(3, 1fr);
}

.mock-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mock-label {
  width: 40%;
  height: 0.5rem;
  background: var(--text-light);
  border-radius: var(--borderRadius-small);
  opacity: 0.5;
}

.mock-line {
  height: 0.5rem;
  background: var(--border);
  border-radius: var(--borderRadius-small);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

.mock-line.w-30 {
  width: 30%;
}

.mock-line.w-40 {
  width: 40%;
}

.mock-line.w-50 {
  width: 50%;
}

.mock-line.w-60 {
  width: 60%;
}

.mock-line.w-70 {
  width: 70%;
}

.mock-line.w-80 {
  width: 80%;
}

.mock-line.w-90 {
  width: 90%;
}

.mock-table {
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-small);
  overflow: hidden;
  margin-bottom: 1rem;
}

.mock-table-header {
  background: var(--surface-alt);
  padding: 0.313rem 0.75rem;
  display: grid;
  gap: 0.5rem;
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-semibold);
  color: var(--text-light);
}

.simple-table .mock-table-header {
  grid-template-columns: 2fr 1fr 1fr;
}

.medium-table .mock-table-header {
  grid-template-columns: 2fr 0.75fr 0.75fr 1fr;
  white-space: nowrap;
}

.complex-table .mock-table-header {
  grid-template-columns: 2fr 0.5fr 0.75fr 0.5fr 0.5fr 0.75fr;
}

.mock-row {
  display: grid;
  gap: 0.5rem;
  padding: 0.5rem;
  border-top: var(--borderWidth-thin) solid var(--border);
  align-items: center;
}

.simple-table .mock-row {
  grid-template-columns: 2fr 1fr 1fr;
}

.medium-table .mock-row {
  grid-template-columns: 2fr 0.75fr 0.75fr 1fr;
}

.complex-table .mock-row {
  grid-template-columns: 2fr 0.5fr 0.75fr 0.5fr 0.5fr 0.75fr;
}

.mock-total {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-end;
  padding-top: 0.75rem;
  border-top: var(--borderWidth-thin) solid var(--border);
}

.mock-total-line {
  width: 40%;
  height: 0.5rem;
  background: var(--border);
  border-radius: var(--borderRadius-small);
}

.mock-total-line.accent {
  background: var(--accent);
  height: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem color-mix(in srgb, var(--accent) 30%, transparent);
  animation: pulseTotal 2s ease-in-out infinite;
}

@keyframes pulseTotal {

  0%,
  100% {
    opacity: 0.9;
    transform: scaleX(1);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.05);
  }
}

.mock-total.breakdown .mock-total-line:nth-child(1) {
  width: 45%;
}

.mock-total.complex-breakdown .mock-total-line:nth-child(1) {
  width: 50%;
}

.mock-total.complex-breakdown .mock-total-line:nth-child(2) {
  width: 47%;
}

.mock-total.complex-breakdown .mock-total-line:nth-child(3) {
  width: 45%;
}

.feature-highlights {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
  padding: 0.5rem;
  border-radius: var(--borderRadius-small);
  background: var(--surface-alt);
  transition: all 0.3s ease;
}

.feature-highlights li:hover {
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-alt));
  transform: translateX(0.25rem);
}

.highlight-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}

.scale-conclusion {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.conclusion-content {
  text-align: center;
  max-width: 35rem;
  padding: 2.5rem;
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 10%, var(--card-bg)) 0%,
      var(--card-bg) 100%);
  border: var(--borderWidth-thin) solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--borderRadius-medium);
  box-shadow: 0 1rem 3rem var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.conclusion-content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center,
      color-mix(in srgb, var(--accent) 15%, transparent) 0%,
      transparent 50%);
  animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.conclusion-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.conclusion-icon svg {
  width: 100%;
  height: 100%;
}

.circle-pulse {
  animation: circlePulse 3s ease-in-out infinite;
}

@keyframes circlePulse {

  0%,
  100% {
    stroke-width: 2;
    opacity: 0.5;
  }

  50% {
    stroke-width: 3;
    opacity: 1;
  }
}

.checkmark-draw {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 3s ease-in-out infinite;
}

@keyframes drawCheck {

  0%,
  30% {
    stroke-dashoffset: 50;
  }

  60%,
  100% {
    stroke-dashoffset: 0;
  }
}

.scale-subtitle,
.responsive-subtitle {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.scale-subtitle p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.scale-header-container strong,
.responsive-header-container strong,
.multi-page-header-container strong {
  color: var(--accent);
}


.mock-header-sections {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mock-header-sections.single-section {
  grid-template-columns: 1fr;
}

.mock-header-sections.two-sections {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.mock-header-sections.three-sections {
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.mock-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mock-section.centered {
  align-items: center;
  justify-content: center;
}

.mock-section-header {
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-total-row.last-row {
  margin-bottom: .5rem;
}

.mock-animated-logo {
  width: 6rem;
  height: 2rem;
}

.mock-animated-logo.simple {
  width: 6rem;
  height: 3rem;
}

.mock-animated-logo.medium {
  width: 6rem;
  height: 3rem;
}

.mock-animated-logo.complex {
  width: 6rem;
  height: 3rem;
}

.mock-logo-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawMockLogo 6s ease-in-out infinite;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes drawMockLogo {
  0% {
    stroke-dashoffset: 500;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    stroke-dashoffset: 0;
  }

  70% {
    stroke-dashoffset: 0;
  }

  90% {
    stroke-dashoffset: -500;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -500;
    opacity: 0;
  }
}

.mock-invoice-number {
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-semibold);
  color: var(--accent);
}

.mock-sections {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mock-sections.simple-sections {
  grid-template-columns: 1fr;
}

.mock-sections.medium-sections {
  grid-template-columns: repeat(2, 1fr);
}

.mock-sections.complex-sections {
  grid-template-columns: repeat(3, 1fr);
}

.simple-table .mock-table-header {
  grid-template-columns: 2fr 1fr 1fr;
  white-space: nowrap;
}

.simple-table .mock-row {
  grid-template-columns: 2fr 1fr 1fr;
}

.medium-table .mock-table-header {
  grid-template-columns: 0.5fr 2fr 1fr 1fr;
}

.medium-table .mock-row {
  grid-template-columns: 0.5fr 2fr 1fr 1fr;
}

.complex-table .mock-table-header {
  grid-template-columns: .7fr 1.5fr 1.5fr 1fr 1fr;
  white-space: nowrap;
}

.complex-table .mock-row {
  grid-template-columns: .7fr 1.5fr 1.5fr 1fr 1fr;
}

.complex-table .mock-table-header span:last-child {
  justify-self: end;
}

.complex-table .mock-row .mock-line:last-child {
  justify-self: end;
}

.medium-table .mock-table-header span:last-child {
  justify-self: end;
}

.medium-table .mock-row .mock-line:last-child {
  justify-self: end;
}

.simple-table .mock-table-header span:last-child {
  justify-self: end;
}

.simple-table .mock-row .mock-line:last-child {
  justify-self: end;
}


.demo-table-header .demo-cell:last-child {
  justify-self: end;
}

.interface-demo-body .demo-table-header .demo-cell:last-child {
  justify-self: unset;
}

.demo-table-row .demo-line:last-child {
  justify-self: end;
}

.mock-totals-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.mock-totals-section.simple-totals,
.mock-totals-section.medium-totals {
  justify-content: flex-end;
}

.mock-totals-section.complex-totals {
  justify-content: space-between;
}

.mock-total-in-words {
  flex: 1;
  max-width: 60%;
}

.mock-totals {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 10rem;
}

.mock-total-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .25rem;
  align-items: center;
}

.mock-total-row.final {
  padding-top: 0.5rem;
  border-top: var(--borderWidth-thin) solid var(--border);
  font-weight: var(--base-text-weight-semibold);
}

.mock-cell {
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-semibold);
  color: var(--text-light);
}

.mock-total-amount {
  font-size: 0.75rem;
  font-weight: var(--base-text-weight-semibold);
  color: var(--accent);
  white-space: nowrap;
}

.mock-payment-section {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mock-payment-section-medium {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-bottom: 1rem;
}


.mock-payment-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-signature-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.mock-animated-signature {
  width: 6rem;
  height: 3rem;
}

.mock-signature-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawMockSignature 6s ease-in-out infinite;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes drawMockSignature {
  0% {
    stroke-dashoffset: 500;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    stroke-dashoffset: 0;
  }

  70% {
    stroke-dashoffset: 0;
  }

  90% {
    stroke-dashoffset: -500;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -500;
    opacity: 0;
  }
}

.mock-signature-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-end;
  width: 8rem;
}

.mock-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  opacity: 0.6;
}


.multi-page-section {
  padding: 4rem clamp(2rem, 5vw, 3rem) 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--card-bg) 50%, var(--bg) 100%);
  border-bottom: var(--borderWidth-thin) solid var(--border);
  position: relative;
  overflow: hidden;
}

.multi-page-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 75rem;
  height: 100%;
  background: radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.multi-page-header-container {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.multi-page-header-container h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.multi-page-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 45rem;
  margin: 0 auto;
}

.multi-page-cascade {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
  max-width: 60rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.multi-page-tier {
  position: relative;
  transition: transform 0.4s, box-shadow 0.4s;
}

.multi-page-tier:hover {
  transform: translateY(-1rem);
}

.multi-page-mockup {
  position: relative;
  background: var(--bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 1rem;
  overflow: hidden;
}

.multi-page-mockup.mockup-complex {
  height: 40rem;
}

.multi-page-mockup.mockup-medium {
  height: 40rem;
}

.multi-page-mockup.mockup-simple {
  height: 40rem;
}

.multi-page-tier:hover .mockup-glow {
  opacity: 1;
}

.multi-page-tier:hover .tier-glow {
  opacity: 0.15;
}

.responsive-section {
  padding: 4rem clamp(2rem, 5vw, 3rem) 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--card-bg) 35%, 65%, var(--bg) 100%);

  border-bottom: var(--borderWidth-thin) solid var(--border);
  position: relative;
  overflow: hidden;
}

.responsive-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 75rem;
  height: 100%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.responsive-header-container {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.responsive-header-container h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.device-showcase {
  display: grid;
  grid-template-columns: .3fr auto;
  gap: 3rem;
  max-width: 90rem;
  margin: 0 auto 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}


.device-container {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: start;
  gap: 1.5rem;
}

.device-frame {
  position: relative;
  background: var(--bg);
  border-radius: var(--borderRadius-medium);
  box-shadow: 0 2rem 4rem var(--shadow-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.device-container:hover .device-frame,
.device-showcase .hero-art:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 2.5rem 5rem color-mix(in srgb, var(--accent) 15%, var(--shadow-color));
}

.device-showcase .hero-art {
  transition: transform 0.4s, box-shadow 0.4s;
}

.phone-frame {
  width: 20rem;
  height: 100%;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
}

.device-notch {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 1.5rem;
  background: var(--border);
  border-radius: 0 0 1rem 1rem;
  z-index: 10;
}

.device-home-button {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 0.25rem;
  background: var(--border);
  border-radius: var(--borderRadius-full);
}

.device-screen {
  width: 100%;
  background: var(--bg);
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
}

.phone-frame .device-screen {
  display: flex;
  flex-direction: column;
}

.mobile-interface {
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-header {
  height: 3rem;
  display: flex;
  border-bottom: var(--borderWidth-thin) solid var(--border);
  padding: .8rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.mobile-brand {
  font-weight: 700;
  font-size: var(--base-size-16);
  color: var(--text);
}

.mobile-actions {
  display: flex;
  gap: 0.5rem;
}

.mobile-interface .demo-invoice-details-fields {
  grid-template-columns: 1fr;
}

.mobile-interface .swatch-grid {
  grid-template-columns: repeat(5, 1.7rem);
}

.mobile-interface .accent-picker {
  margin-bottom: 0;
}

.mobile-interface .demo-invoice-details-container {
  gap: 1rem;
}

.mobile-interface .demo-brand-grid {
  grid-template-columns: 1fr;
}

.mobile-interface h1 {
  text-align: center;
  font-weight: var(--base-text-weight-semibold);
  font-size: var(--base-size-16);
}

.device-showcase .demo-models-bars.printed-invoices>*:nth-child(2) {
  height: 2.8rem;
}


.mobile-icon {
  width: 2.5rem;
  height: 1.5rem;
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  animation: pulseIcon 2s ease-in-out infinite;
}

.mobile-icon:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes pulseIcon {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.mobile-content {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
}

.mobile-title {
  font-size: var(--base-size-16);
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
}

.mobile-form-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-label {
  width: 40%;
  height: 0.75rem;
  background: var(--border);
  border-radius: var(--borderRadius-small);
  animation: shimmer 3s ease-in-out infinite;
}

.mobile-input {
  width: 100%;
  height: 2.5rem;
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  animation: inputGlow 3s ease-in-out infinite;
}

@keyframes inputGlow {

  0%,
  100% {
    border-color: var(--border);
  }

  50% {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  }
}

.mobile-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.5rem 0;
}

.mobile-item-row {
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-item-desc {
  width: 80%;
  height: 0.75rem;
  background: var(--border);
  border-radius: var(--borderRadius-small);
  animation: shimmer 3s ease-in-out infinite;
}

.mobile-item-details {
  display: flex;
  gap: 0.5rem;
}

.mobile-item-field {
  flex: 1;
  height: 2rem;
  background: var(--surface-alt);
  border-radius: var(--borderRadius-small);
}

.mobile-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  margin-top: auto;
}

.mobile-total-label {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}

.mobile-total-amount {
  width: 5rem;
  height: 1.5rem;
  background: var(--accent);
  border-radius: var(--borderRadius-small);
  animation: totalPulse 2s ease-in-out infinite;
}

@keyframes totalPulse {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.mobile-action-btn {
  width: 100%;
  height: 3rem;
  background: var(--accent);
  border-radius: var(--borderRadius-medium);
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {

  0%,
  100% {
    box-shadow: 0 0.25rem 1rem color-mix(in srgb, var(--accent) 20%, transparent);
  }

  50% {
    box-shadow: 0 0.5rem 2rem color-mix(in srgb, var(--accent) 40%, transparent);
  }
}


.language-section {
  padding: 6rem clamp(2rem, 5vw, 3rem) 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: var(--borderWidth-thin) solid var(--border);
}

.language-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 75rem;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.language-header-container {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.language-header-container h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.language-subtitle,
.collaboration-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 45rem;
  margin: 0 auto;
}

.language-subtitle strong {
  color: var(--accent);
}

.language-globe-stage {
  position: relative;
  max-width: 50rem;
  margin: 0 auto 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-sphere {
  position: relative;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%);
  box-shadow: 0 0 3rem color-mix(in srgb, var(--accent) 10%, transparent),
    inset 0 0 2rem color-mix(in srgb, var(--accent) 5%, transparent);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}

.globe-sphere.active {
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

.language-globe-stage:hover .globe-sphere {
  transform: scale(3.5);
}

.globe-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  box-shadow: 0 0 2rem color-mix(in srgb, var(--accent) 60%, transparent),
    inset 0 0 1rem color-mix(in srgb, var(--accent) 40%, transparent);
  animation: pulseGlobe 3s ease-in-out infinite;
  transition: filter 0.3s ease;
}

@keyframes pulseGlobe {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 2rem color-mix(in srgb, var(--accent) 60%, transparent);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 3rem color-mix(in srgb, var(--accent) 80%, transparent);
  }
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0.0625rem solid color-mix(in srgb, var(--accent) 15%, transparent);
  border-radius: 50%;
  transition: filter 0.3s ease, border-color 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}

.orbit-ring.active {
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

.ring-0 {
  width: 52%;
  height: 52%;
  animation: rotateOrbit0 30s linear infinite;
  z-index: 6;
}

.ring-1 {
  width: 64%;
  height: 64%;
  animation: rotateOrbit1 35s linear infinite reverse;
  z-index: 5;
}

.ring-2 {
  width: 76%;
  height: 76%;
  animation: rotateOrbit2 40s linear infinite;
  z-index: 4;
}

.ring-3 {
  width: 88%;
  height: 88%;
  animation: rotateOrbit3 45s linear infinite reverse;
  z-index: 3;
}

.ring-4 {
  width: 100%;
  height: 100%;
  animation: rotateOrbit4 50s linear infinite;
  z-index: 2;
}


.orbit-ring.blur-inner {
  filter: blur(.5rem);
}

.globe-sphere.blur-inner {
  filter: blur(.5rem);
}

.globe-core.blur-inner {
  filter: blur(.5rem);
}

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

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

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

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

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

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

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

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


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

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

.ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-2rem);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.1s ease,
    transform 0.5s ease,
    visibility 0.5s ease;
  z-index: 120;
  pointer-events: none;
  width: 35rem;
}

.ring-text.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) translateY(0);
}

.ring-text h3 {
  font-weight: var(--base-text-weight-semibold);
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.ring-text p {
  font-weight: var(--base-text-weight-normal);
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.5;
}

.language-dot {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
  top: 50%;
  left: 50%;
}

.language-dot {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
  top: 50%;
  left: 50%;
}

.dot-it {
  transform: translate(-50%, -50%) rotate(0deg) translateX(7.28rem) rotate(0deg);
}

.dot-ja {
  transform: translate(-50%, -50%) rotate(120deg) translateX(7.28rem) rotate(-120deg);
}

.dot-ko {
  transform: translate(-50%, -50%) rotate(240deg) translateX(7.28rem) rotate(-240deg);
}

.dot-fr {
  transform: translate(-50%, -50%) rotate(60deg) translateX(8.96rem) rotate(-60deg);
}

.dot-hi {
  transform: translate(-50%, -50%) rotate(180deg) translateX(8.96rem) rotate(-180deg);
}

.dot-bn {
  transform: translate(-50%, -50%) rotate(300deg) translateX(8.96rem) rotate(-300deg);
}

.dot-ar {
  transform: translate(-50%, -50%) rotate(30deg) translateX(10.64rem) rotate(-30deg);
}

.dot-pt {
  transform: translate(-50%, -50%) rotate(150deg) translateX(10.64rem) rotate(-150deg);
}

.dot-ru {
  transform: translate(-50%, -50%) rotate(270deg) translateX(10.64rem) rotate(-270deg);
}

.dot-en {
  transform: translate(-50%, -50%) rotate(0deg) translateX(12.32rem) rotate(0deg);
}

.dot-zh {
  transform: translate(-50%, -50%) rotate(120deg) translateX(12.32rem) rotate(-120deg);
}

.dot-es {
  transform: translate(-50%, -50%) rotate(240deg) translateX(12.32rem) rotate(-240deg);
}

.dot-de {
  transform: translate(-50%, -50%) rotate(90deg) translateX(14rem) rotate(-90deg);
}

.dot-nl {
  transform: translate(-50%, -50%) rotate(210deg) translateX(14rem) rotate(-210deg);
}

.dot-pl {
  transform: translate(-50%, -50%) rotate(330deg) translateX(14rem) rotate(-330deg);
}


.dot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: pulseDotGlow 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseDotGlow {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.2;
  }
}

.dot-inner {
  position: relative;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: var(--accent);
  border: 0.125rem solid var(--card-bg);
  box-shadow: 0 0 0.75rem color-mix(in srgb, var(--accent) 60%, transparent),
    0 0.25rem 0.5rem var(--shadow-color);
  transition: all 0.3s ease;
}

.language-dot:hover .dot-inner {
  transform: scale(1.3);
  box-shadow: 0 0 1.5rem color-mix(in srgb, var(--accent) 80%, transparent),
    0 0.5rem 1rem var(--shadow-color);
}

.language-dot:hover .dot-glow {
  animation: pulseDotGlowHover 1s ease-in-out infinite;
}

@keyframes pulseDotGlowHover {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.3;
  }
}

.language-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 50rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.lang-feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  transition: all 0.3s ease;
}

.lang-feature-item:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.5rem 1.5rem var(--shadow-color);
}

.lang-feature-item.accent-feature {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--card-bg)) 0%, var(--card-bg) 100%);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}

.lang-feature-item.accent-feature:hover {
  border-color: var(--accent);
  box-shadow: 0 0.5rem 1.5rem color-mix(in srgb, var(--accent) 20%, var(--shadow-color));
}

.feature-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--base-text-weight-semibold);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: var(--base-text-weight-medium);
}


.collaboration-section {
  padding: 4rem min(5vw, 3rem);
  background: var(--bg);
  border-bottom: var(--borderWidth-thin) solid var(--border);
}

.collaboration-section .hero,
.defaults-section .hero{
  padding: 2rem 0;
}

.collaboration-container {
  max-width: 100vw;
  margin: 0 auto;
}

.collaboration-container h1 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.hero-art .demo-main-bars h1{
  margin-bottom: unset;
  background: unset;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: var(--text);
  font-size: var(--base-size-16);
  font-weight: 600;
}

.collaboration-container .hero-section h1 {
  text-align: start;
}

.collaboration-container .demo-share-modal-title,
.collaboration-container .demo-create-modal-title,
.collaboration-container .demo-approve-modal-title,
.collaboration-container .demo-options-modal-title{
  margin: 0 0 1rem 0;
  font-size: var(--base-size-18);
  font-weight: var(--base-text-weight-semibold);
  margin-bottom: 1rem;
  text-align: start;
}

.collaboration-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.carousel-dot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.carousel-dot::before {
  content: '';
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--borderRadius-full);
  background: var(--border);
  transition: all 0.3s ease;
}

.carousel-dot.active::before {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent) 20%, transparent);
}

.carousel-dot:hover::before {
  background: var(--accent);
  transform: scale(1.1);
}

.dot-label {
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-medium);
  color: var(--text-light);
  transition: color 0.3s ease;
}

.carousel-dot.active .dot-label {
  color: var(--accent);
  font-weight: var(--base-text-weight-semibold);
}

.carousel-dot:hover .dot-label {
  color: var(--accent);
}

.interfaces-carousel {
  height: max-content;
  position: relative;
  overflow: hidden;
}

.collaboration-section .interface-hero {
  display: none;
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.collaboration-section .interface-hero.active {
  display: flex;
  padding: 1rem;
  opacity: 1;
  transform: translateX(0);
}

.collaboration-section .interface-hero.sliding-out-left {
  animation: slideOutLeft 0.5s ease forwards;
}

.collaboration-section .interface-hero.sliding-out-right {
  animation: slideOutRight 0.5s ease forwards;
}

.collaboration-section .interface-hero.sliding-in-left {
  animation: slideInLeft 0.5s ease forwards;
}

.collaboration-section .interface-hero.sliding-in-right {
  animation: slideInRight 0.5s ease forwards;
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-2rem);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(2rem);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


#create-interface .interface-demo-body,
#share-interface .interface-demo-body {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
}



#create-interface .demo-invoice-details-fields,
#share-interface .demo-invoice-details-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}


#create-interface .demo-body-header,
#share-interface .demo-body-header {
  display: flex;
  gap: 1rem;
}


#create-interface .items-add-buttons-container,
#share-interface .items-add-buttons-container {
  display: flex;
  gap: 0.5rem;
}

#approve-interface .interface-demo-body,
#access-interface .interface-demo-body,
#revoke-interface .interface-demo-body {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
}

#approve-interface .demo-invoice-details-fields,
#access-interface .demo-invoice-details-fields,
#revoke-interface .demo-invoice-details-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

#approve-interface .demo-body-header,
#access-interface .demo-body-header,
#revoke-interface .demo-body-header {
  display: flex;
  gap: 1rem;
}

#approve-interface .items-add-buttons-container,
#access-interface .items-add-buttons-container,
#revoke-interface .items-add-buttons-container {
  display: flex;
  gap: 0.5rem;
}


.demo-share-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: var(--borderWidth-thin) solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(0.188rem);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: var(--borderRadius-medium);
}

.demo-share-modal-card {
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 1rem;
  width: 50%;
  position: relative;
  box-shadow: 0 1rem 3rem var(--shadow-color);
  animation: modalAppear 0.5s ease;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.demo-share-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  width: 1.5rem;
  height: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--borderRadius-medium);
  transition: all 0.3s ease;
}

.demo-share-modal-close:hover {
cursor: default;
}


.demo-share-url {
  width: 100%;
  padding: .55rem .8rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--surface-alt);
  font-size: var(--base-size-14);
  color: var(--text);
  font-variant-numeric: tabular-nums;
  user-select: none;
  cursor: text;
}

.demo-share-url .demo-line{
  margin-bottom: unset;
}

.demo-share-modal-backdrop .long.warning-color{
  margin-top: 0.4rem;
}

@keyframes urlGlow {
  0%, 100% {
    border-color: var(--border);
  }
  50% {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  }
}

.warning-color{
  background-color: var(--warning-color);
}

.collaboration-container #share-note {
  margin-top: 1rem;
}

.demo-share-note kbd {
  background: var(--surface-alt);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-small);
  padding: 0.125rem 0.375rem;
  font-size: var(--base-size-12);
  font-family: inherit;
  color: var(--accent);
}

.demo-share-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.demo-share-copy-btn {
  background: var(--bgColor-success-emphasis);
  color: var(--white);
  border: 0.063rem solid var(--borderColor-translucent);
  border-radius: var(--borderRadius-medium);
  padding: .313rem 1rem;
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
  transition: background .18s ease, transform .15s ease;
}

@keyframes btnPulseDemo {
  0%, 100% {
    box-shadow: 0 0.25rem 1rem color-mix(in srgb, var(--accent) 20%, transparent);
  }
  50% {
    box-shadow: 0 0.5rem 2rem color-mix(in srgb, var(--accent) 40%, transparent);
  }
}

#create-interface .demo-share-modal-backdrop,
#approve-interface .demo-share-modal-backdrop,
#access-interface .demo-share-modal-backdrop,
#revoke-interface .demo-share-modal-backdrop {
  display: none;
}



.demo-create-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: var(--borderWidth-thin) solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(0.188rem);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: var(--borderRadius-medium);
}

.demo-create-modal-card {
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  width: 60%;
  max-height: 70%;
  position: relative;
  box-shadow: 0 1rem 3rem var(--shadow-color);
  animation: modalAppear 0.5s ease;
  display: flex;
  flex-direction: column;
}

.demo-create-modal-header {
  padding: 0.5rem 1rem;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-right-radius: inherit;
  border-top-left-radius: inherit;
  border-bottom: var(--borderWidth-thin) solid var(--border);
}

.collaboration-container .demo-create-modal-title,
.collaboration-container .demo-approve-modal-title {
  font-size: var(--base-size-18);
  font-weight: var(--base-text-weight-semibold);
  margin: unset;
  color: var(--text);
}

.demo-create-modal-close {
  position: absolute;
  top: .7rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  width: 1.5rem;
  height: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--borderRadius-medium);
  transition: all 0.3s ease;
}

.demo-create-modal-close:hover {
  cursor: default;
}

.demo-create-modal-name {
  padding: 0.5rem 1rem;
  background: var(--surface-alt);
  border-bottom: var(--borderWidth-thin) solid var(--border);
}

.demo-create-modal-name label {
  display: block;
  font-weight: var(--base-text-weight-semibold);
  color: var(--text);
  margin-bottom: 0.25rem;
  font-size: var(--base-size-14);
}

.demo-create-modal-name .demo-model-bar {
  width: 100%;
  padding: .313rem .75rem;
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-semibold);
  min-height: max-content;
  background: var(--bgColor-muted);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
}

.demo-create-modal-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.demo-create-modal-body-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.demo-create-parent-list {
  width: 12rem;
  border-right: var(--borderWidth-thin) solid var(--border);
  overflow-y: auto;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.demo-create-parent-item {
  padding: .5rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.demo-create-parent-item.active {
  background: var(--surface-alt);
}

.demo-create-parent-item .demo-line {
  margin-bottom: 0;
}

.demo-create-child-list {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.5fr .5fr;
  gap: 0.5rem;
}

.demo-create-child-row {
  display: grid;
  grid-template-columns: .2fr 3fr;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.5rem;
}

.sub-child{
  margin-left: 1.5rem;
}

.demo-checkbox {
  width: 1rem;
  height: 1rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: 0.2rem;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.demo-checkbox.checked {
  background: var(--surface-alt);
  border-color: var(--accent);
}

.demo-checkbox.checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 25%;
  border-left: 0.094rem solid var(--checkbox-color);
  border-bottom: 0.094rem solid var(--checkbox-color);
  transform: translate(-50%, -60%) rotate(-50deg);
}


.demo-create-modal-backdrop .demo-create-child-list input[type="checkbox"],
.demo-bulk-items-modal-backdrop input[type="checkbox"] {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border-radius: 0.2rem;
  position: relative;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.demo-create-modal-backdrop .demo-create-child-list input[type="checkbox"]::before,
.demo-bulk-items-modal-backdrop input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 25%;
  border-left: 0.094rem solid transparent;
  border-bottom: 0.094rem solid transparent;
  transform: translate(-50%, -60%) rotate(-50deg) scale(0);
  transform-origin: center;
  transition: transform .18s ease-out, border-color .2s;
}

.demo-create-modal-backdrop .demo-create-child-list input[type="checkbox"]:checked::before,
.demo-bulk-items-modal-backdrop input[type="checkbox"]:checked::before {
  border-color: var(--checkbox-color);
  transform: translate(-50%, -60%) rotate(-50deg) scale(1);
}


.demo-create-child-row .demo-line {
  margin-bottom: 0;
  flex: 1;
}

.demo-create-modal-footer {
  padding: 0.5rem 1rem;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  border-top: var(--borderWidth-thin) solid var(--border);
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;

}

.demo-create-cancel-btn,
.demo-create-save-btn {
  padding: 0.313rem 1rem;
  border-radius: var(--borderRadius-medium);
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  border: var(--borderWidth-thin) solid var(--border);
}

.demo-create-cancel-btn,
.demo-create-save-btn {
  background: var(--secondary-btn-bg);
  color: var(--secondary-btn-color);
}

.demo-create-cancel-btn:hover,
.demo-create-save-btn:hover {
  background: var(--secondary-btn-hover-bg);
  cursor: default;
}


#share-interface .demo-create-modal-backdrop,
#approve-interface .demo-create-modal-backdrop,
#access-interface .demo-create-modal-backdrop,
#revoke-interface .demo-create-modal-backdrop {
  display: none;
}

#create-interface-demo .demo-create-bar{
  z-index: 110;
}


.demo-approve-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: var(--borderWidth-thin) solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(0.188rem);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: var(--borderRadius-medium);
}

.demo-approve-modal-card {
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  width: 50%;
  max-height: 70%;
  position: relative;
  box-shadow: 0 1rem 3rem var(--shadow-color);
  animation: modalAppear 0.5s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.demo-approve-modal-header {
  padding: 1rem 1.5rem 0;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-approve-modal-title {
  font-size: var(--base-size-18);
  font-weight: var(--base-text-weight-semibold);
  margin: 0;
  color: var(--text);
}

.demo-approve-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  width: 1.5rem;
  height: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--borderRadius-medium);
  transition: all 0.3s ease;
}

.demo-approve-modal-close:hover {
  cursor: default;
}

.demo-req-list {
  list-style: none;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 0;
  overflow-y: auto;
  flex: 1;
}

.demo-req-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem;
  border: var(--borderWidth-thin) solid var(--border);
  background-color: var(--surface-alt);
  border-radius: var(--borderRadius-medium);
  align-items: center;
  transition: background 0.2s ease;
}

.demo-req-item:hover {
  background: var(--surface-alt);
}

.demo-req-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--borderRadius-full);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-direction::before {
  content: "→";
}

.demo-req-initials {
  color: var(--white);
  font-weight: var(--base-text-weight-semibold);
  font-size: var(--base-size-14);
}

.demo-req-info {
  display: flex;
  flex-direction: row;
  font-size: var(--base-size-14);
  gap: 0.25rem;
}

.demo-req-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.demo-req-approve-btn,
.demo-req-deny-btn {
  padding: .313rem 1rem;
  border-radius: var(--borderRadius-medium);
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-semibold);
  border: var(--borderWidth-thin) solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.demo-req-approve-btn {
  background: var(--bgColor-success-emphasis);
  color: var(--white);
  border-color: var(--borderColor-translucent);
  font-weight: var(--base-text-weight-medium);
}

.demo-req-approve-btn:hover {
  cursor: default;
  opacity: 0.9;
}

.demo-req-deny-btn {
  background: var(--card-bg);
  color: var(--secondary-btn-color);
}

.demo-req-deny-btn:hover {
  background: var(--secondary-btn-hover-bg);
  cursor: default;
}

#create-interface .demo-approve-modal-backdrop,
#share-interface .demo-approve-modal-backdrop,
#access-interface .demo-approve-modal-backdrop,
#revoke-interface .demo-approve-modal-backdrop {
  display: none;
}



.demo-options-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(0.188rem);
  border-radius: var(--borderRadius-medium);
  border: var(--borderWidth-thin) solid var(--border);
}

.demo-options-modal-card {
  width: 50%;
  max-height: 85vh;
  padding: 1rem;
  border-radius: var(--borderRadius-medium);
  background: var(--card-bg);
  color: var(--text);
  border: 0.063rem solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 1rem 3rem var(--shadow-color);
  animation: modalAppear 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-options-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  width: 1.5rem;
  height: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--borderRadius-medium);
  transition: all 0.3s ease;
}

.demo-guests-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, 3.25rem);
  gap: 0.875rem;
  padding: 1rem;
  justify-content: center;
}

.demo-guest-tile {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 0.125rem solid var(--border);
  background: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: transform 0.08s ease;
}

.demo-guest-tile img{
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--borderRadius-full);

}

.demo-guest-tile:hover {
  cursor: default;
}

.demo-guest-tile.selected {
  outline: 0.1875rem solid var(--accent);
  outline-offset: 0.125rem;
}

.demo-guest-avatar {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-guest-avatar.initials {
  background: var(--bgColor-muted);
}

.demo-guest-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  color: var(--text);
  padding: 0.375rem 0.5rem;
  border: 0.063rem solid var(--border);
  border-radius: var(--borderRadius-medium);
  font-size: 0.75rem;
  white-space: nowrap;
  box-shadow: 0 0.25rem 0.75rem var(--shadow-color);
  z-index: 10;
  pointer-events: none;
}

.demo-guest-tile:hover .demo-guest-tooltip {
  display: block;
}

.demo-options-note {
  color: var(--text-light);
  font-size: var(--base-size-12);
  line-height: 1.5;
  display: block;
}

.demo-options-modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.demo-remove-selected-btn {
  background: var(--danger-color);
  color: #fff;
  border: none;
  padding: 0.313rem 1rem;
  border-radius: var(--borderRadius-medium);
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-semibold);
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.06s ease;
}

.demo-remove-selected-btn:hover {
  cursor: default;
  background: var(--danger-hover-color);
}

.demo-remove-selected-btn:active {
  transform: translateY(0.02rem);
}

.demo-options-close-btn {
  background: var(--secondary-btn-bg);
  color: var(--secondary-btn-color);
  border: var(--borderWidth-thin) solid var(--border);
  padding: 0.313rem 1rem;
  border-radius: var(--borderRadius-medium);
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-semibold);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.demo-options-close-btn:hover {
  cursor: default;
  background: var(--secondary-btn-hover-bg);
  border-color: var(--accent);
}

#create-interface .demo-options-modal-backdrop,
#share-interface .demo-options-modal-backdrop,
#approve-interface .demo-options-modal-backdrop,
#access-interface .demo-options-modal-backdrop {
  display: none;
}



.my-model-to-be-shared{
  height: max-content !important;
  font-size: var(--base-size-12);
  padding: .313rem 1rem;
}

.collaboration-container .shown{
  z-index: 110;
}

.collaboration-container .my-model-to-be-shared.active{
  background-color: var(--surface-alt);
}

.branding-section {
  padding: clamp(2rem, 4vw, 2rem) min(5vw, 2rem);
  background: var(--bg-secondary);
  overflow: hidden;
  border-bottom: var(--borderWidth-thin) solid var(--border);
}

.branding-section-body{
  display: grid;
  grid-template-columns: .75fr 1fr;
  max-width: 90rem;
}

.branding-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100vw;
}

.branding-header-container{
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.branding-container h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    var(--text) 0%,
    rgba(var(--title-color-r), var(--title-color-g), var(--title-color-b), 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: --title-color-r 0.8s ease-in-out,
              --title-color-g 0.8s ease-in-out,
              --title-color-b 0.8s ease-in-out;
}

@property --backdrop-color-r {
  syntax: '<number>';
  inherits: false;
  initial-value: 59;
}

@property --backdrop-color-g {
  syntax: '<number>';
  inherits: false;
  initial-value: 130;
}

@property --backdrop-color-b {
  syntax: '<number>';
  inherits: false;
  initial-value: 246;
}

@property --title-color-r {
  syntax: '<number>';
  inherits: false;
  initial-value: 59;
}

@property --title-color-g {
  syntax: '<number>';
  inherits: false;
  initial-value: 130;
}

@property --title-color-b {
  syntax: '<number>';
  inherits: false;
  initial-value: 246;
}


.invoice-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90rem;
  height: 90rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--backdrop-color-r), var(--backdrop-color-g), var(--backdrop-color-b), 1) 0%,
    transparent 70%
  );
  opacity: 0.15;
  filter: blur(4rem);
  z-index: 0;
  transition: --backdrop-color-r 0.8s ease-in-out,
              --backdrop-color-g 0.8s ease-in-out,
              --backdrop-color-b 0.8s ease-in-out,
              opacity 0.8s ease-in-out;
  pointer-events: none;
}

.branding-invoice .hero-art {
  position: relative;
  z-index: 1;
  width: 75%;
}

.branding-invoice {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.branding-invoice .invoice-mockup {
  width: 100%;
  max-width: 37.5rem;
  transform: scale(0.95);
  transition: transform 0.5s ease;
}

.branding-invoice .invoice-mockup:hover {
  transform: scale(1);
}

.branding-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.branding-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.branding-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 45rem;
}

.branding-container .hero-art .card.demo {
  min-height: unset;
  background-color: var(--bg);
}

.branding-container .demo-section,
.branding-container .demo-table-row{
  background-color: var(--bg);
}

.branding-container .demo-sections,
.branding-container .demo-payment-section{
  margin-bottom: .5rem;
}

.branding-container .demo-logo-centered{
  align-items: center;
}

.branding-container .demo-logo-section {
  position: relative;
  width: 7rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-self: center;
}

.branding-container .demo-signature-section{
  flex-direction: column;
  justify-content: flex-start;
}

.branding-container .demo-signature-area {
  position: relative;
  width: 10rem;
  height: 3rem;
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  gap: 0.5rem;
}

.branding-container .animated-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 7rem;
  height: 3rem;
  opacity: 0;
  visibility: hidden;
  align-self: flex-end;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.branding-container .animated-signature {
  position: absolute;
  top: 0;
  left: 0;
  width: 10rem;
  height: 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.branding-container .animated-logo.active,
.branding-container .animated-signature.active {
  opacity: 1;
  visibility: visible;
}

.branding-container .animated-logo .logo-path,
.branding-container .animated-signature .signature-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: none;
}

.branding-container .animated-logo.active .logo-path,
.branding-container .animated-signature.active .signature-path {
  animation: drawSynchronized 6s ease-in-out infinite;
}


.branding-container .logo-path-danger,
.branding-container .signature-path-danger {
  stroke: var(--danger-color);
}

.branding-container .logo-path-warning,
.branding-container .signature-path-warning {
  stroke: var(--warning-color);
}

.branding-container .demo-line {
  height: 0.5rem;
  background: var(--border);
  border-radius: var(--borderRadius-small);
  margin-bottom: 0.3rem;
  transition: background 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.branding-container .demo-invoice-number,
.branding-container .demo-total-amount {
  transition: color 0.8s ease-in-out;
}

.branding-container .invoice-preview[data-theme="accent"] .demo-line {
  background: var(--border);
  opacity: 1;
}

.branding-container .invoice-preview[data-theme="accent"] .demo-invoice-number,
.branding-container .invoice-preview[data-theme="accent"] .demo-total-amount {
  color: var(--accent);
}

.branding-container .invoice-preview[data-theme="danger"] .demo-line {
  background: var(--danger-color);
  opacity: 0.5;
}

.branding-container .invoice-preview[data-theme="danger"] .demo-invoice-number,
.branding-container .invoice-preview[data-theme="danger"] .demo-total-amount {
  color: var(--text-light);
}

.branding-container .invoice-preview[data-theme="warning"] .demo-line {
  background: var(--warning-color);
  opacity: 0.5;
}

.branding-container .invoice-preview[data-theme="warning"] .demo-invoice-number,
.branding-container .invoice-preview[data-theme="warning"] .demo-total-amount {
  color: var(--text-light);
}


.invoice-preview[data-theme="accent"] ~ .invoice-backdrop {
  opacity: 0.15;
}

.invoice-preview[data-theme="danger"] ~ .invoice-backdrop {
  opacity: 0.2;
}

.invoice-preview[data-theme="warning"] ~ .invoice-backdrop {
  opacity: 0.18;
}

.branding-container .hero-art{
  width: 75%;
  transition: transform 0.4s;
  border-radius: var(--borderRadius-medium);
}

.branding-container .hero-art:hover{
  transform: translateY(-1rem);
}


.defaults-section {
  padding: 4rem min(5vw, 3rem);
  background: var(--bg);
  border-bottom: var(--borderWidth-thin) solid var(--border);
}

.defaults-container {
  max-width: 100vw;
  margin: 0 auto;
}

.defaults-container h1 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.defaults-container .hero-section h1 {
  text-align: start;
}

.defaults-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 3rem;
}

.defaults-section .carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.defaults-section .carousel-dot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.defaults-section .carousel-dot::before {
  content: '';
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--borderRadius-full);
  background: var(--border);
  transition: all 0.3s ease;
}

.defaults-section .carousel-dot.active::before {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent) 20%, transparent);
}

.defaults-section .carousel-dot:hover::before {
  background: var(--accent);
  transform: scale(1.1);
}

.defaults-section .dot-label {
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-medium);
  color: var(--text-light);
  transition: color 0.3s ease;
}

.defaults-section .carousel-dot.active .dot-label {
  color: var(--accent);
  font-weight: var(--base-text-weight-semibold);
}

.defaults-section .carousel-dot:hover .dot-label {
  color: var(--accent);
}

.defaults-section .interfaces-carousel {
  height: max-content;
  position: relative;
  overflow: hidden;
}

.defaults-section .interface-hero {
  display: none;
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.defaults-section .interface-hero.active {
  display: flex;
  flex-direction: row-reverse;
  opacity: 1;
  transform: translateX(0);
}

.defaults-section .hero-copy> :last-child {
  align-items: flex-start;
}

.defaults-section .interface-hero.sliding-out-left {
  animation: slideOutLeft 0.5s ease forwards;
}

.defaults-section .interface-hero.sliding-out-right {
  animation: slideOutRight 0.5s ease forwards;
}

.defaults-section .interface-hero.sliding-in-left {
  animation: slideInLeft 0.5s ease forwards;
}

.defaults-section .interface-hero.sliding-in-right {
  animation: slideInRight 0.5s ease forwards;
}

.defaults-section .demo-model-bar {
  height: 1.5rem;
  background: var(--bgColor-muted);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  margin-bottom: unset;
}

.defaults-section .demo-model-bar.percentage-field {
  height: 1.5rem;
  margin-bottom: unset;
}

.demo-defaults-options-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--card-bg);
}

.demo-defaults-category {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-defaults-tiles {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.demo-defaults-tile {
  flex: 1;
  min-width: 8rem;
  padding: 1rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--surface-alt);
  transition: all 0.3s ease;
  cursor: pointer;
}

.demo-defaults-tile:hover {
  background: var(--secondary-btn-hover-bg);
  border-color: var(--accent);
}

.demo-defaults-tile.active {
  background: color-mix(in srgb, var(--accent) 10%, var(--card-bg));
  border-color: var(--accent);
  box-shadow: 0 0 0 0.125rem color-mix(in srgb, var(--accent) 20%, transparent);
}

.demo-defaults-tile .demo-line {
  margin-bottom: 0;
}

.demo-defaults-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--card-bg);
}

.demo-form-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-defaults-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.demo-action-btn {
  padding: 0.5rem 1.5rem;
  border-radius: var(--borderRadius-medium);
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-semibold);
  border: var(--borderWidth-thin) solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.demo-action-btn.cancel {
  background: var(--secondary-btn-bg);
  color: var(--secondary-btn-color);
}

.demo-action-btn.cancel:hover {
  background: var(--secondary-btn-hover-bg);
  cursor: default;
}

.demo-action-btn.save {
  background: var(--bgColor-success-emphasis);
  color: var(--white);
  border-color: var(--borderColor-translucent);
}

.demo-action-btn.save:hover {
  opacity: 0.9;
  cursor: default;
}

.demo-defaults-in-action {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-prefilled-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--accent) 10%, var(--card-bg));
  border: var(--borderWidth-thin) solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--borderRadius-medium);
  color: var(--text);
  animation: noticeAppear 0.5s ease;
}

.notice-icon {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: var(--base-text-weight-semibold);
}

.notice-text {
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-medium);
}

@keyframes noticeAppear {
  from {
      opacity: 0;
      transform: translateY(-0.5rem);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.demo-model-bar.highlighted {
  background: color-mix(in srgb, var(--accent) 15%, var(--bgColor-muted));
  border-color: var(--accent);
  animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
  0%, 100% {
      box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 20%, transparent);
  }
  50% {
      box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent) 20%, transparent);
  }
}


.demo-defaults-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(0.188rem);
  pointer-events: none;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
}

.demo-defaults-modal-card {
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  box-shadow: 0 1.25rem 3.125rem var(--shadow-color);
  width: 60%;
  max-height: 85vh;
  position: relative;
}

.demo-defaults-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  width: 1.5rem;
  height: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--borderRadius-medium);
  transition: all 0.3s ease;
}

.defaults-container .demo-defaults-modal-title {
  font-size: var(--base-size-18);
  font-weight: var(--base-text-weight-semibold);
  background-color: var(--surface-alt);
  text-align: start;
  color: var(--text);
  margin: 0;
  padding: 0.75rem 1rem;
  border-top-right-radius: inherit;
  border-top-left-radius: inherit;
  border-bottom: var(--borderWidth-thin) solid var(--border);
}

.demo-item-modal-content .demo-item-fields-grid .demo-field-group:nth-child(3) {
  grid-column: 1 / -1;
}

.demo-defaults-modal-body {
  padding: 1rem;
  height: auto;
  max-height: none;
}

.demo-defaults-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.demo-defaults-card {
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: default;
  position: relative;
}

.demo-defaults-card h3 {
  font-size: var(--base-size-16);
  font-weight: var(--base-text-weight-semibold);
  color: var(--text);
  margin: 0;
}


#choose-defaults-interface #add-defaults-btn {
  z-index: 110;
}



.demo-items-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(0.188rem);
  pointer-events: none;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
}

.demo-items-modal-card {
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  box-shadow: 0 1.25rem 3.125rem var(--shadow-color);
  width: 80%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.demo-items-modal-header {
  padding: 0.75rem 1rem;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--borderWidth-thin) solid var(--border);
  border-top-right-radius: inherit;
  border-top-left-radius: inherit;
}

.demo-items-modal-header h2 {
  font-size: var(--base-size-18);
  font-weight: var(--base-text-weight-semibold);
  margin: 0;
  color: var(--text);
}

.demo-modal-close {
  background: none;
  border: none;
  display: flex;
  align-self: flex-start;
  color: var(--text-light);
  font-size: 1.5rem;
  line-height: 1;
  width: 1.5rem;
  height: 0.75rem;
  border-radius: var(--borderRadius-small);
}

.demo-item-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;

}

.demo-item-modal-grid {
  display: grid;
  grid-template-columns: 14rem 14rem 1fr;
  flex: 1;
  min-height: 0;
}

.demo-item-modal-toc {
  display: flex;
  flex-direction: column;
  gap: 0.44rem;
  overflow-y: auto;
  border-right: var(--borderWidth-thin) solid var(--border);
  background: var(--card-bg);
}

.demo-item-modal-tab {
  width: 100%;
  text-align: start;
  border: none;
  padding: 0.5rem 1rem;
  background: var(--card-bg);
  line-height: 1.2;
  cursor: default;
  color: var(--text);
  font-size: var(--base-size-14);
}

.demo-item-modal-tab.demo-active-tab {
  background: var(--surface-alt);
  font-weight: var(--base-text-weight-semibold);
}

.demo-saved-items-categories-container {
  padding: .5rem;
}

.demo-section-title {
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-semibold);
  color: var(--text);
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.demo-saved-items-category-list,
.demo-saved-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.demo-category-card,
.demo-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.313rem 0.313rem 0.313rem .75rem;
  background: var(--card-bg);
  border: 0.063rem solid var(--border);
  border-radius: var(--borderRadius-medium);
  cursor: default;
  color: var(--text);
  font-size: var(--base-size-12);
}

#add-defaults-interface .demo-item-card{
  padding: .75rem;
  height: 1.5rem;
}

.demo-category-name,
.demo-item-name {
  flex: 1;
}

.demo-category-count {
  font-size: var(--base-size-12);
  color: var(--text);
  background: var(--border);
  padding: 0.125rem 0.5rem;
  border-radius: var(--borderRadius-small);
}

.demo-saved-items-container {
  display: flex;
  flex-direction: column;
  border-right: var(--borderWidth-thin) solid var(--border);
  padding: 0.5rem;
  overflow-y: auto;
  background: var(--card-bg);
}

.demo-item-modal-content {
  overflow-y: auto;
  flex: 1;
  padding: .5rem;
  background: var(--card-bg);
}

.demo-item-modal-section {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.demo-section-card {
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: .5rem;
  flex: 1;
}

.demo-item-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  row-gap: .75rem;
  margin-top: 0.75rem;
}

.demo-field-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.demo-field-label {
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-semibold);
  color: var(--text-light);
}

#add-defaults-interface .demo-field-input {
  height: 1.5rem;
  background: var(--bgColor-muted);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
}

#add-defaults-interface .demo-items-modal-card .demo-line {
  margin-bottom: unset;
}

#add-defaults-interface .active {
  background-color: var(--surface-alt);
}

.demo-field-input.demo-field-textarea {
  height: 4rem;
}

.demo-field-input.demo-field-small {
  flex: 1;
}

.demo-field-input-split {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#add-defaults-interface .demo-field-select {
  width: 2.5rem;
  padding: 0.75rem;
  height: 1.5rem;
  background: var(--bgColor-muted);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--base-size-12);
  color: var(--text);
}

.demo-save-btn {
  align-self: flex-end;
  background: var(--bgColor-success-emphasis);
  color: var(--white);
  border: 0.063rem solid var(--borderColor-translucent);
  border-radius: var(--borderRadius-medium);
  padding: 0.313rem 1rem;
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
  cursor: default;
}


.demo-bulk-items-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(0.188rem);
  pointer-events: none;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
}

.demo-bulk-items-modal-card {
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  box-shadow: 0 1.25rem 3.125rem var(--shadow-color);
  width: 80%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.demo-bulk-items-modal-header {
  padding: 0.75rem 1rem;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--borderWidth-thin) solid var(--border);
  border-top-right-radius: inherit;
  border-top-left-radius: inherit;
}

.demo-bulk-items-modal-header h2 {
  font-size: var(--base-size-18);
  font-weight: var(--base-text-weight-semibold);
  margin: 0;
  color: var(--text);
}

.demo-bulk-item-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;

}

.demo-bulk-item-modal-grid {
  display: grid;
  grid-template-columns: 14rem 14rem 1fr;
  flex: 1;
  min-height: 0;
}

.demo-bulk-item-modal-toc {
  display: flex;
  flex-direction: column;
  gap: 0.44rem;
  overflow-y: auto;
  border-right: var(--borderWidth-thin) solid var(--border);
  background: var(--card-bg);
}

.demo-saved-bulk-items-categories-container {
  padding: 0.5rem;
}

.demo-saved-bulk-items-category-list,
.demo-saved-bulk-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.demo-bulk-category-card,
.demo-bulk-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.313rem 0.313rem 0.313rem 0.75rem;
  background: var(--card-bg);
  border: 0.063rem solid var(--border);
  border-radius: var(--borderRadius-medium);
  cursor: default;
  color: var(--text);
  font-size: var(--base-size-12);
}

#use-defaults-interface .demo-bulk-item-card {
  padding: 0.5rem;
  gap: .5rem;
}

#use-defaults-interface .demo-bulk-item-card input[type="checkbox"]{
  display: flex !important;
}

#use-defaults-interface .demo-bulk-item-card .demo-bulk-item-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .25rem;
  font-size: var(--base-size-10);
}

.demo-bulk-category-name {
  flex: 1;
}

.demo-bulk-category-count {
  font-size: var(--base-size-12);
  color: var(--text);
  background: var(--border);
  padding: 0.125rem 0.5rem;
  border-radius: var(--borderRadius-small);
}

.demo-saved-bulk-items-container {
  display: flex;
  flex-direction: column;
  border-right: var(--borderWidth-thin) solid var(--border);
  padding: 0.5rem;
  overflow-y: auto;
  background: var(--card-bg);
}

.demo-bulk-item-modal-content {
  overflow-y: auto;
  flex: 1;
  padding: 0.5rem;
  background: var(--card-bg);
}

.demo-bulk-item-modal-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

.demo-selected-items-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.demo-bulk-unit-price-label{
  color: var(--text-light);
}

.demo-selected-item-card {
  display: grid;
  grid-template-columns: 3fr auto;
  padding: 0.5rem;
  gap: .5rem;
  align-items: center;
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
}

.demo-selected-item-body{
  display: flex;
  gap: .5rem;
}

.demo-selected-item-quantity{
  display: flex;
  gap: .5rem;
  font-size: var(--base-size-14);
  align-items: center;
  vertical-align: middle;
}

.demo-selected-item-quantity-field{
  padding: .45rem .75rem;
  display: flex;
  justify-content: center;
  height: 1.5rem;
  background: var(--bgColor-muted);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  width: 3rem;
}

.demo-selected-item-card .demo-line{
  width: 8rem;
}

.demo-selected-item-close{
  background: none;
  border: none;
  display: flex;
  align-self: center;
  color: var(--danger-color);
  font-size: var(--base-size-14);
  line-height: 1;
  width: 1rem;
  height: 0.75rem;
}

#use-defaults-interface .demo-bulk-items-modal-card .demo-line {
  margin-bottom: unset;
}

#use-defaults-interface .active {
  background-color: var(--surface-alt);
}

.demo-add-btn {
  align-self: flex-end;
  background: var(--bgColor-success-emphasis);
  color: var(--white);
  border: 0.063rem solid var(--borderColor-translucent);
  border-radius: var(--borderRadius-medium);
  padding: 0.313rem 1rem;
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
  cursor: default;
}

#use-defaults-interface .demo-select-company,
#use-defaults-interface .demo-select-client{
  z-index: 110;
}


.cta-section {
  padding: 4rem 2rem;
  border-bottom: var(--borderWidth-thin) solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 40rem;
  z-index: 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 75rem;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.cta-section h1 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 55rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 3rem;
}

.cta-subtitle strong {
  color: var(--accent);
}


#cta-physics-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.cta-physics-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  color: var(--accent);
  font-weight: var(--base-text-weight-semibold);
  font-size: var(--base-size-20);
  font-family: system-ui, -apple-system, sans-serif;
}


.cta-container {
  max-width: 100vw;
  margin: 0 auto;
  transform: translateY(50%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 4rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--base-text-weight-semibold);
  color: var(--accent);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
  line-height: .8;
  font-weight: 500;
  font-size: 1.7rem;
  gap: .2rem;
}

.cta-container .logo{
  margin: unset;
  height: 1.2rem;
  width: 7rem;
  margin: unset;
  align-self: flex-end;
}

.cta-btn-large:hover {
  transform: scale(1.1);
}

.cta-background-text {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 21rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--accent) 8%, transparent);
  line-height: 0.9;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}

.background-logo{
  width: 100rem;
  height: 50rem;
  opacity: .1;
  background-image: var(--background-logo);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.text-part {
  display: inline-block;
}

.o-infinity-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 27.5rem;
}

@keyframes ctaGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
  }
}

.feedback-section {
  padding: 4rem 2rem 4rem 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--card-bg) 50%, var(--bg) 100%);
  /*border-bottom: var(--borderWidth-thin) solid var(--border);*/
  position: relative;
  overflow: hidden;
}

.feedback-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 75rem;
  height: 100%;
  background: radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.feedback-container {
  max-width: 85rem;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.feedback-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feedback-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 55rem;
  margin: 0 auto;
}

.feedback-content{
  flex: 1.4;
}

.feedback-form-wrapper {
  background: var(--bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 1rem;
  box-shadow: 0 1rem 3rem var(--shadow-color);
  flex: 1;
}

.feedback-form-wrapper:hover {
  box-shadow: 0 1.5rem 4rem color-mix(in srgb, var(--accent) 15%, var(--shadow-color));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feedback-label {
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-semibold);
  color: var(--text);
}

.stars-container {
  display: flex;
  flex-direction: column;
}

.stars-rating {
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
}

.star {
  cursor: pointer;
  color: var(--border);
  user-select: none;
  transition: all 0.5s ease;
}

.star:hover,
.star.active {
  color: var(--accent);
  transform: scale(1.1);
}

.star.active {
  animation: starPulse 0.3s ease;
}

@keyframes starPulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.3);
  }
  100% {
      transform: scale(1.1);
  }
}

.feedback-input,
.feedback-textarea {
  padding: 0.75rem 1rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--bgColor-muted);
  color: var(--text);
  font-size: var(--base-size-14);
  font-family: inherit;
}

.feedback-input:focus,
.feedback-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 0.188rem color-mix(in srgb, var(--accent) 20%, transparent);
}

.feedback-textarea {
  resize: vertical;
  min-height: 8rem;
}

.feedback-input::placeholder,
.feedback-textarea::placeholder {
  color: var(--text-light);
}

.feedback-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: .313rem .75rem;
  background: var(--bgColor-success-emphasis);
  color: var(--white);
  border: 0.063rem solid var(--borderColor-translucent);
  border-radius: var(--borderRadius-medium);
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-end;
}

.feedback-submit-btn:hover {
  background: var(--button-primary-bgColor-hover);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1.5rem color-mix(in srgb, var(--accent) 30%, transparent);
}

.feedback-arrow {
  transition: transform 0.3s ease;
  font-size: 1.25rem;
}

.feedback-submit-btn:hover .feedback-arrow {
  transform: translateX(0.313rem);
}


.feedback-form-wrapper {
  background: var(--bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 1rem;
  box-shadow: 0 1rem 3rem var(--shadow-color);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.5s ease;
}

.feedback-form-wrapper.feedback-submitted {
  overflow: visible;
}

.feedback-form-wrapper.feedback-submitted .feedback-form {
  filter: blur(0.188rem);
  pointer-events: none;
}

.feedback-thank-you-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(0.188rem);
  border-radius: var(--borderRadius-medium);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.feedback-thank-you-overlay.active {
  opacity: 1;
}

.feedback-thank-you-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: thankYouPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes thankYouPop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.feedback-thank-you-text {
  font-size: 1.5rem;
  font-weight: var(--base-text-weight-semibold);
  color: var(--text);
  text-align: center;
}

.feedback-thank-you-subtext {
  font-size: 1rem;
  color: var(--text-light);
  text-align: center;
}

.feedback-error-toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--bgColor-danger-emphasis);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--borderRadius-medium);
  box-shadow: 0 0.5rem 2rem color-mix(in srgb, var(--danger-color) 30%, transparent);
  z-index: 1000;
  transform: translateX(calc(100% + 2rem));
  transition: transform 0.3s ease;
}

.feedback-error-toast.active {
  transform: translateX(0);
}

.feedback-input::placeholder {
  color: var(--placeholder-color);
}

.feedback-textarea::placeholder {
  color: var(--placeholder-color);
}

.feedback-textarea[data-placeholder]:empty::before {
  content: attr(data-placeholder);
  color: var(--placeholder-color);
}


.pain-points,
.benefits {
  list-style: none;
  padding: 0;
  text-align: left;
}

.pain-points li,
.benefits li {
  padding: 0.5rem 0;
  font-size: var(--base-size-14);
}

.feat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.313rem);
  }
}

.testimonials {
  padding: 4rem min(5vw, 3rem);
  background: var(--card-bg);
}

.testimonials h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
  max-width: 75rem;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--surface-alt);
  padding: 2rem;
  border-radius: var(--borderRadius-medium);
  border: var(--borderWidth-thin) solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-0.313rem);
  box-shadow: 0 0.5rem 1rem var(--shadow-color);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--borderRadius-full);
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--base-text-weight-semibold);
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: var(--base-text-weight-semibold);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: var(--base-size-14);
  color: var(--text-light);
}

.pricing-section {
  padding: 4rem min(5vw, 3rem);
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface-alt) 100%);
  text-align: center;
}

.pricing-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
}

.pricing-container {
  max-width: 25rem;
  margin: 0 auto 3rem;
}

.pricing-card {
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 0.5rem 2rem var(--shadow-color);
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 1rem 3rem rgba(99, 102, 241, 0.2);
}

.pricing-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1.5rem 3rem var(--shadow-color);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: var(--borderRadius-full);
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-header {
  margin-bottom: 2rem;
}

.price-header h3 {
  font-size: 1.5rem;
  font-weight: var(--base-text-weight-semibold);
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.25rem;
  color: var(--text-light);
}

.amount {
  font-size: 3rem;
  font-weight: var(--base-text-weight-semibold);
}

.period {
  color: var(--text-light);
}

.price-description {
  color: var(--text-light);
  font-size: var(--base-size-14);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.features-list li {
  padding: 0.75rem 0;
  border-bottom: var(--borderWidth-thin) solid var(--border);
  font-size: var(--base-size-14);
}

.features-list li:last-child {
  border-bottom: none;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--borderRadius-medium);
  font-weight: var(--base-text-weight-semibold);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: var(--base-size-16);
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-0.125rem);
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(0.313rem);
}

.cta-note {
  margin-top: 1rem;
  font-size: var(--base-size-12);
  color: var(--text-light);
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--base-size-14);
  color: var(--text-light);
}

.trust-icon {
  font-size: 1.25rem;
}

.landing-footer {
  background: var(--bg);
  width: 95%;
  margin: 0 auto;
  border-top: var(--borderWidth-thin) solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2rem;
  max-width: 60rem;
  margin: 0 auto 2rem;
}

.footer-section h4 {
  font-weight: var(--base-text-weight-semibold);
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--base-size-14);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a{
  font-size: unset;
  font-weight: unset;
  color: unset;
}

.footer-bottom a:hover{
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--borderRadius-full);
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-0.125rem);
}



body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.875rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}





.demo-invoice-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.demo-invoice-title {
  align-self: center;
}

.demo-invoice-number {
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-medium);
  color: var(--accent);
  text-align: start;
}

.demo-dates {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  justify-self: end;
}

.demo-date-row {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.demo-sections {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.demo-header-sections {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.demo-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.demo-section.demo-section-centered {
  display: flex;
  justify-content: center;

}


.demo-section-header {
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
  color: var(--text-light);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-company-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.demo-payment-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.demo-payment-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.demo-payment-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.demo-totals {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-start;
}

.demo-total-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  min-width: 8rem;
}

.demo-total-row.final-total {
  padding-top: 0.5rem;
  border-top: var(--borderWidth-thin) solid var(--border);
  font-weight: var(--base-text-weight-semibold);
}

.demo-total-amount {
  font-size: var(--base-size-14);
  font-weight: var(--base-text-weight-medium);
  color: var(--accent);
  white-space: nowrap;
}

.demo-signature-section {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.demo-signature-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  width: 12rem;
}

.animated-signature {
  width: 10rem;
  height: 3rem;
}

.signature-path {
  stroke-dasharray: 500 500;
  stroke-dashoffset: 500;
  animation: drawSynchronized 6s ease-in-out infinite;
}


@keyframes drawSynchronized {
  0% {
    stroke-dashoffset: 500;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    stroke-dashoffset: 0;
  }

  70% {
    stroke-dashoffset: 0;
  }

  90% {
    stroke-dashoffset: -500;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -500;
    opacity: 0;
  }
}

.demo-signature-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-end;
  width: 100%;
}

.demo-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 1rem;
  gap: 0.25rem;
}


@keyframes drawSingleLine {
  0% {
    stroke-dashoffset: 400;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    stroke-dashoffset: 0;
  }

  70% {
    stroke-dashoffset: 0;
  }

  90% {
    stroke-dashoffset: -400;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -400;
    opacity: 0;
  }
}




#invoice-interface {
  border-bottom: var(--borderWidth-thin) solid var(--border);
  background: var(--card-bg);
}

#invoice-interface-demo {
  background: var(--bg);
}

.demo-section-interface {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero.interface-hero {
  align-items: center;
}


.hero-art .company-select select,
.hero-art .client-select select {
  font-size: var(--base-size-12);
}

.hero-art #add-defaults-btn {
  width: 1.8rem;
  height: 1.8rem;
}


.interface-demo-bars {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  overflow: hidden;
}

.interface-demo-body {
  display: flex;
  gap: 1rem;
  padding: 1rem;
}

.demo-sidebar-bars {
  flex: 0 0 calc(17% - 2rem / 3);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}


.demo-body-header {
  display: flex;
  gap: 1rem;
}

.demo-invoice-details,
.demo-pricing-details {
  padding: 1rem;
}

.demo-invoice-details-container,
.demo-pricing-details-container {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  justify-content: space-between;
  height: 100%;
}

.demo-invoice-details-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;

}

.demo-pricing-details-fields {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.percentage-amount-field {
  display: flex;
  gap: .5rem;
}

.percentage-amount-field .demo-model-bar {
  flex: 1;
}

.percentage-amount-field .demo-model-bar.percentage-field {
  max-width: 25%;
  background-color: var(--card-bg);
  display: flex;
  padding: 0 .5rem;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.percentage-amount-field .demo-model-bar.percentage-field span {
  font-size: var(--base-size-12);
  color: var(--text-light);
  font-weight: var(--base-text-weight-medium);
}

.nav-actions .demo-model-bar.percentage-field {
  display: flex;
  padding: 0 .5rem;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: 0;
  height: 1.8rem;
}

.demo-model-bar.percentage-field .chevron,
.nav-actions .percentage-field .chevron {
  position: unset;
  margin-top: .3rem;
  width: .3rem;
  height: .3rem;
}

.nav-actions .demo-model-bar.percentage-field span {
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
}

.hero-art .nav-actions {
  align-items: center;
}

.demo-pricing-first-details,
.demo-pricing-second-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  flex: 1;
}

.demo-pricing-details .demo-pricing-separator {
  border-radius: var(--borderRadius-full);
  height: 75%;
  width: .063rem;
  background-color: var(--border);
}

.demo-invoice-details,
.demo-brand-colors {
  border: var(--borderWidth-thin) solid var(--border);
  flex: 1;
  border-radius: var(--borderRadius-medium);
}

.demo-body-header .swatch-grid {
  grid-template-columns: repeat(10, 1.7rem);
}

.demo-body-header .swatch,
.mobile-interface .swatch {
  width: 2rem;
  height: 2rem;
  border-radius: var(--borderRadius-full);
  animation: zoom-in 2s ease-in-out infinite;
}

.demo-body-header .accent-picker {
  margin-bottom: unset;
}

.demo-brand-colors {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.demo-brand-colors .demo-brand-grid {
  gap: .5rem;
}

.demo-swatch-colors {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.demo-brand-colors .demo-line.long {
  align-self: center;
}

.demo-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.demo-brand-grid .demo-line {
  width: 100%;
  margin-bottom: 0;
}

.demo-brand-colors .demo-model-bar,
.demo-invoice-details .demo-model-bar,
.demo-pricing-details .demo-model-bar {
  background-color: var(--bgColor-muted);
  margin-bottom: unset;
}

.demo-nav-bars {
  padding: .5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--card-bg);
}

.demo-nav-bar-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  border-radius: var(--borderRadius-small);
  background: transparent;
}

.demo-nav-bar-item.active {
  background: var(--accent);
}


.demo-nav-arrow {
  color: var(--text-light);
  font-size: var(--base-size-12);
}

.demo-header {
  height: 3rem;
  display: flex;
  border-bottom: var(--borderWidth-thin) solid var(--border);
  padding: .8rem 1rem;
  justify-content: space-between;
  align-items: center;
}


.demo-header .logo,
.mobile-header .logo {
  height: 3rem;
  width: 6rem;
}

.demo-header .theme-toggle-landing {
  transform: scale(.8);
}

.landing-body .user-avatar,
.landing-body .user-initials{
  width: var(--toggle-small);
  height: var(--toggle-small);
}

.demo-header .user-avatar,
.demo-header .user-initials {
  font-size: var(--base-size-12);
}

.demo-create-bar {
  padding: 0.313rem 1rem;
  background: var(--card-bg);
  border-radius: var(--borderRadius-medium);
  border: var(--borderWidth-thin) solid var(--border);
  display: flex;
  justify-content: center;
  margin-bottom: .2rem;
}

.demo-models-bars {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}


.demo-models-bars.printed-invoices>*:nth-child(2) {
  height: 2.2rem;
}

.demo-models-bars.printed-invoices>*:last-child {
  margin-bottom: 0;
}

.demo-section-bar-header {
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.demo-model-bar {
  height: 1.5rem;
  background: var(--card-bg);
  border-radius: var(--borderRadius-medium);
  border: var(--borderWidth-thin) solid var(--border);
  margin-bottom: 0.25rem;
}

.demo-main-bars {
  flex: 1;
  padding: 1rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--card-bg);
}

.demo-main-bars h1 {
  font-size: var(--base-size-16);
  text-align: center;
  font-weight: 600;
}

.demo-pricing-details {
  height: 7rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
}

.demo-options-bar {
  flex: 0 0 calc(17% - 2rem / 3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  position: relative;
}

.demo-header-bars {
  text-align: center;
}

.demo-form-section-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-label-bar {
  margin-bottom: 0.25rem;
}

.demo-input-bar,
.demo-select-bar {
  padding: 0.75rem;
  background: var(--surface-alt);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-small);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-help-bar {
  opacity: 0.6;
}

.demo-table-bars {
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-small);
  overflow: hidden;
}

.demo-table-header-bars {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--surface-alt);
}

.demo-table-row-bars {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 1rem;
  padding: 0.75rem;
  border-top: var(--borderWidth-thin) solid var(--border);
  align-items: center;
}

.demo-line-spacer {
  width: 1.5rem;
}

.demo-remove-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--danger-color);
  line-height: 1;
  border-radius: 0.3rem;
  transition: color 0.2s, background 0.2s;
}

.demo-add-bar {
  background: var(--accent);
  color: var(--white);
  border-radius: var(--borderRadius-full);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
  align-self: flex-start;
}

.demo-totals-bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: flex-end;
  max-width: 18.75rem;
}

.demo-total-bar-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.25rem 0;
}

.demo-total-bar-row.final {
  border-top: var(--borderWidth-thin) solid var(--border);
  padding-top: 0.5rem;
  font-weight: var(--base-text-weight-semibold);
}

.demo-sub-section-bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1rem;
}

.demo-dropdown-arrow {
  color: var(--text-light);
  font-size: var(--base-size-12);
}

.demo-print-bar {
  padding: 0.313rem 1rem;
  background: var(--surface-alt);
  border-radius: var(--borderRadius-medium);
  border: var(--borderWidth-thin) solid var(--border);
  display: flex;
  justify-content: center;
  align-self: flex-end;
}




.options-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  flex: 0 0 auto;
}

.option-lang .lang-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .313rem .6rem;
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  background: var(--card-bg);
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
  color: var(--text-light);
}

.option-lang .lang-text {
  white-space: nowrap;
  opacity: .9;
}

.option-lang .lang-caret {
  opacity: .7;
}

.option-theme-tiles {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: .5rem;
}

.option-theme-tiles .tile {
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
  color: var(--text-light);
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  user-select: none;
}

.option-theme-tiles .tile.hidden-tile {
  background: var(--border);
}

.demo-tiles-theme {
  display: flex;
  flex-direction: row;
  background: var(--border);
  border-top-right-radius: var(--borderRadius-medium);
  border-top-left-radius: var(--borderRadius-medium);
}

.demo-tiles-scroll {
  display: flex;
  flex-direction: row;
  background: var(--border);
  border-bottom-right-radius: var(--borderRadius-medium);
  border-bottom-left-radius: var(--borderRadius-medium);
}

.avatar-skeleton {
  width: 3rem;
  height: 3rem;
  border-radius: var(--borderRadius-full);
  background: var(--card-bg);
  border: var(--borderWidth-thin) solid var(--border);
}

.options-actions {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-block: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.options-actions .demo-line {
  height: .45rem;
  border-radius: var(--borderRadius-full);
}

.options-help {
  position: absolute;
  right: .25rem;
  bottom: .25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: var(--borderWidth-thin) solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  display: grid;
  place-items: center;
  font-weight: var(--base-text-weight-semibold);
  cursor: default;
  box-shadow: 0 .05rem .2rem var(--shadow-color);
  opacity: .95;
}





.demo-table-interface {
  border: var(--borderWidth-thin) solid var(--border);
  border-radius: var(--borderRadius-medium);
  border-bottom-right-radius: 0;
  overflow: hidden;
}

.demo-table-interface .demo-table-header {
  display: grid;
  grid-template-columns: 2fr .5fr 1fr 1fr 1fr .2fr;
  background: var(--surface-alt);
  padding: .313rem .75rem;
  gap: 0.5rem;
}

.demo-table-interface .demo-cell {
  font-size: var(--base-size-12);
  font-weight: var(--base-text-weight-medium);
  color: var(--text-light);
}

.demo-table-interface .demo-cell.demo-total {
  font-size: var(--base-size-14);
}

.demo-table-interface .demo-table-row {
  display: grid;
  grid-template-columns: 2fr .5fr 1fr 1fr 1fr .2fr;
  padding: 0.5rem;
  gap: 0.5rem;
  border-top: var(--borderWidth-thin) solid var(--border);
}

.demo-table-row .demo-line {
  margin-bottom: unset;
  align-self: center;
}


@keyframes messyFloatRtl {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  25% {
    transform: translateY(-0.5rem) rotate(-1.5deg);
  }

  75% {
    transform: translateY(0.375rem) rotate(-0.5deg);
  }
}

@keyframes messyFloatErraticRtl {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }

  33% {
    transform: translateY(-0.75rem) rotate(4deg);
  }

  66% {
    transform: translateY(0.25rem) rotate(0.2deg);
  }
}

@keyframes messyFloatShakeRtl {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  25% {
    transform: translateY(-0.312rem) translateX(-0.125rem);
  }

  50% {
    transform: translateY(0.5rem) translateX(0.062rem);
  }

  75% {
    transform: translateY(-0.188rem) translateX(-0.062rem);
  }
}

@keyframes messyFloatWobbleRtl {
  0%,
  100% {
    transform: translateX(-0.625rem) translateY(0) rotate(-0.5deg);
  }

  30% {
    transform: translateX(-0.8rem) translateY(-0.375rem) rotate(-1.2deg);
  }

  70% {
    transform: translateX(-0.4rem) translateY(0.25rem) rotate(0.1deg);
  }
}

@keyframes messyFloatChaoticRtl {
  0%,
  100% {
    transform: translateX(0.313rem) translateY(2rem) rotate(-3.5deg);
  }

  20% {
    transform: translateX(0.1rem) translateY(1.725rem) rotate(-4.2deg);
  }

  40% {
    transform: translateX(0.5rem) translateY(2.225rem) rotate(-2.8deg);
  }

  60% {
    transform: translateX(0.2rem) translateY(1.525rem) rotate(-4deg);
  }

  80% {
    transform: translateX(0.4rem) translateY(2.425rem) rotate(-3.1deg);
  }
}

@keyframes messyContainerSwayRtl {
  0%,
  100% {
    transform: rotate(2deg);
  }

  50% {
    transform: rotate(1.5deg);
  }
}



@keyframes cleanBuildUpRtl {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-0.125rem) scale(1.002);
  }
}

@keyframes cleanHeaderSlideRtl {
  0%,
  100% {
    width: 100%;
    opacity: 1;
  }

  25% {
    width: 95%;
    opacity: 0.9;
  }

  50% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes cleanLineAppearRtl {
  0%,
  15% {
    width: 0%;
    opacity: 0;
  }

  35% {
    width: 80%;
    opacity: 1;
  }

  85%,
  100% {
    width: 80%;
    opacity: 1;
  }
}

@keyframes cleanRowBuildRtl {
  0%,
  20% {
    width: 0%;
    transform: translateX(0.625rem);
    opacity: 0;
  }

  40% {
    width: 100%;
    transform: translateX(0);
    opacity: 1;
  }

  90%,
  100% {
    width: 100%;
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes cleanTotalFinishRtl {
  0%,
  35% {
    width: 0%;
    opacity: 0;
  }

  55% {
    width: 50%;
    transform: translateX(0);
    opacity: 1;
  }

  65% {
    transform: scale(1.05);
  }

  75% {
    transform: scale(1);
  }

  90%,
  100% {
    width: 50%;
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}




html[dir="rtl"] .overlay-message {
  padding: 0 0 0 1rem;
}

html[dir="rtl"] .demo-table-interface {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: var(--borderRadius-medium);
}


html[dir="rtl"] #theme-toggle-landing:checked+.theme-toggle-landing .track .thumb {
  transform: translateX(var(--toggle-shift-rtl));
  border-radius: var(--borderRadius-medium);
  border: var(--borderWidth-thin) solid var(--border);
}

html[dir="rtl"] .language-switcher .theme-toggle-landing .thumb {
  border-radius: var(--borderRadius-medium);
  border: var(--borderWidth-thin) solid var(--border);
}

html[dir="rtl"] #scroll-toggle:checked+.scroll-toggle .track .thumb {
  transform: translateX(var(--toggle-shift-rtl));
}

html[dir="rtl"] .float-item:nth-child(1) {
  left: 10%;
  right: auto;
}


html[dir="rtl"] .pain-points,
html[dir="rtl"] .benefits {
  text-align: right;
}

html[dir="rtl"] .demo-share-modal-close,
html[dir="rtl"] .demo-create-modal-close,
html[dir="rtl"] .demo-approve-modal-close,
html[dir="rtl"] .demo-options-modal-close,
html[dir="rtl"] .demo-defaults-modal-close {
  right: auto;
  left: 1rem;
}

html[dir="rtl"] .demo-create-parent-list{
  border-left: var(--borderWidth-thin) solid var(--border);
  border-right: unset;
}

html[dir="rtl"] .sub-child{
  margin-right: 1.5rem;
  margin-left: unset;
}

html[dir="rtl"] .demo-direction::before {
  content: "←";
}

html[dir="rtl"] .demo-category-card,
html[dir="rtl"] .demo-item-card {
  padding: 0.313rem 0.75rem 0.313rem .313rem;
}

html[dir="rtl"] .hero-section-big-container{

  padding: 0 0 0 4rem;

}



html[dir="rtl"] .messy-invoice {
  background: repeating-linear-gradient(
    135deg,
    var(--danger-bg-subtle),
    var(--danger-bg-subtle) 0.625rem,
    transparent 0.625rem,
    transparent 1.25rem
  );
}

html[dir="rtl"] .messy-content {
  transform: rotate(2deg);
  animation-name: messyContainerSwayRtl;
}

html[dir="rtl"] .messy-row.misaligned {
  transform: translateX(-0.625rem) rotate(-0.5deg);
}

html[dir="rtl"] .messy-row.overlapping {
  transform: translateX(0.313rem) translateY(2rem) rotate(-3.5deg);
}

html[dir="rtl"] .messy-line {
  animation-name: messyFloatRtl;
}

html[dir="rtl"] .messy-line.crooked {
  animation-name: messyFloatRtl;
}

html[dir="rtl"] .messy-line.too-long {
  animation-name: messyFloatErraticRtl;
}

html[dir="rtl"] .messy-line.short {
  animation-name: messyFloatShakeRtl;
}

html[dir="rtl"] .messy-row.misaligned {
  animation-name: messyFloatWobbleRtl;
}

html[dir="rtl"] .messy-row.overlapping {
  animation-name: messyFloatChaoticRtl;
}


html[dir="rtl"] .clean-content {
  animation-name: cleanBuildUpRtl;
}

html[dir="rtl"] .clean-header {
  animation-name: cleanHeaderSlideRtl;
}

html[dir="rtl"] .clean-line:nth-child(2),
html[dir="rtl"] .clean-line:nth-child(3) {
  animation-name: cleanLineAppearRtl;
}

html[dir="rtl"] .clean-row:nth-child(1),
html[dir="rtl"] .clean-row:nth-child(2),
html[dir="rtl"] .clean-row:nth-child(3) {
  animation-name: cleanRowBuildRtl;
}

html[dir="rtl"] .clean-total {
  animation-name: cleanTotalFinishRtl;
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .path-line {
  transform: scaleX(-1);
}

html[dir="rtl"] .milestone-1 {
  left: 95%;
}

html[dir="rtl"] .milestone-3 {
  left: 5%;
}

html[dir="rtl"] .landing-body .body-container {
  margin: 0;
}

html[dir="rtl"] #landing-settings-toggle-btn {
  right: unset;
  left: 1rem;
}

html[dir="rtl"] .logo{
  margin-right: 0.2rem;
  margin-left: 0;
}

html[dir="rtl"] .demo-invoice-number,
html[dir="rtl"] .mock-invoice-number{
  text-align: end;
}


@media (max-width: 83.438rem) {
  #invoice-pdf h1 {
    font-size: 3.5rem;
  }
  .cta-background-text{
    bottom: -40%;
  }
  .background-logo{
    width: 80rem;
    height: 40rem;
  }


}

@media (max-width: 79.375rem) {

  .hero-section-big-container {
    gap:4rem;
    padding: 0rem;
  }
  html[dir="rtl"] .hero-section-big-container{
    padding: 0rem;
  }
  .interface-hero {
    flex-direction: column-reverse;
    gap: 1rem;
  }
  .interface-hero .hero-art{
    width: 102%;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  #invoice-interface-demo,
  .section-overlay{
    width: 65rem;
    margin: 0 auto;
  }
  .interface-hero .hero-section{
    text-align: center;
  }
  .interface-hero .hero-copy> :last-child {
    align-items: center;
  }
  .devices-container {
    width: 102%;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .device-showcase {
    width: max-content;
    margin: unset;
  }
  .feedback-container{
    flex-direction: column;
    gap: 2rem;
  }
  .feedback-content{
    text-align: center;
  }
  .feedback-form-wrapper{
    width: 100%;
    max-width: 40rem;
  }
  .defaults-section .interface-hero.active{
    flex-direction: column-reverse;
    padding: 1rem;
  }
  .choose-defaults-interface-container,
  .add-defaults-interface-container,
  .use-defaults-interface-container,
  .create-interface-container,
  .share-interface-container,
  .approve-interface-container,
  .access-interface-container,
  .revoke-interface-container{
    width: 65rem;
    margin: 0 auto;
  }
  .demo-defaults-modal-backdrop,
  .demo-items-modal-backdrop,
  .demo-bulk-items-modal-backdrop,
  .demo-create-modal-backdrop,
  .demo-share-modal-backdrop,
  .demo-approve-modal-backdrop,
  .demo-options-modal-backdrop{
    width: 65rem;
    justify-self: center;
  }
  .interface-demo-bars{
    width: 65rem;
  }
  .interface-demo-bars .demo-main-bars h1{
    font-size: var(--base-size-16);
  }
  .defaults-section .interface-hero .hero-copy> :last-child{
    align-items: center;
    text-align: center;
  }
  .defaults-container .hero-section h1,
  .collaboration-container .hero-section h1 {
    text-align: center;
  }
}

@media (max-width: 73.438rem) {

  #invoice-pdf h1{
    font-size: 3.5rem;
  }
  .hero-section-big-container{
    gap: 2rem;
  }

  .cta-background-text{
    bottom: -35%;
  }
  .background-logo{
    width: 70rem;
    height: 35rem;
  }

}

@media (max-width: 66.5rem) {
  #invoice-pdf{
    min-height: 100rem;
  }
  #invoice-pdf .hero-art {
    position: absolute;
    transform: scale(1);
    transform-origin: top;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: max-content;
  }

  .hero-section-big-container{
    flex-direction: column-reverse;
    align-items: center;
    position: relative;
    min-height: calc(48rem + 20rem);
  }
  .hero-section-header{
    text-align: center;
  }
  .cta{
    justify-content: center;
  }

  .hero-sections-container {
    flex-grow: 1;
    margin-top: 48rem;
    width: 100%;
  }

  #invoice-pdf h1{
    font-size: 3.5rem;
  }
  .hero-copy .sub{
    font-size: 1.1rem;
  }
  .hero-copy h1,
  .comparison-section h1,
  .language-header-container h1,
  .responsive-header-container h1,
  .defaults-container h1,
  .branding-content h1,
  .multi-page-header-container h1,
  .scale-header-container h1,
  .collaboration-container h1,
  .cta-section h1,
  .feedback-content h1{
    font-size: 3rem;
  }
}

@media (max-width: 62.5rem) {

  .cta-background-text{
    bottom: -12%;
    font-size: 16rem;
  }
  .o-infinity-wrapper{
    font-size: 20.5rem;
  }

  .cta-background-text{
    bottom: -30%;
  }
  .background-logo{
    width: 60rem;
    height: 30rem;
  }

}

@media (max-width: 62.5rem) {

  #invoice-pdf .hero-copy{
    flex: 1 1 80%;
  }
  #invoice-pdf .hero-section{
    justify-content: center;
  }
  .hero-copy .sub,
  .comparison-subtitle,
  .language-subtitle,
  .responsive-subtitle,
  .defaults-subtitle,
  .branding-subtitle,
  .multi-page-subtitle,
  .scale-subtitle,
  .collaboration-subtitle,
  .cta-subtitle,
  .feedback-subtitle{
    font-size: 1.1rem;
  }
  #invoice-pdf .hero-art {
    flex: .5;
  }
  #invoice-pdf{
    padding: 1rem;
  }
}

@media (max-width: 61.875rem) {

  #invoice-pdf .hero-art {
    flex: .6;
  }
  .branding-section-body{
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }
  .branding-content{
    text-align: center;
    align-items: center;
  }
  .branding-container .hero-art{
    width: 100%;
    max-width: 25rem;
  }
  .multi-page-tier,
  .scale-tier{
    width: 100%;
    max-width: 25rem;
  }
  .multi-page-mockups-container{
    width: 102%;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .scale-mockups-container{
    width: 102%;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .multi-page-cascade,
  .scale-cascade{
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  :root {
    --cta-physics-card-font-size: var(--base-size-12);
  }
}

@media (max-width: 55.5rem) {

  #invoice-pdf .hero-art {
    flex: .7;
  }
  #invoice-pdf h1 {
    font-size: 3rem;
  }
  .hero-section-big-container{
    gap: 1rem;
  }
  .hero-copy h1,
  .comparison-section h1,
  .language-header-container h1,
  .responsive-header-container h1,
  .defaults-container h1,
  .branding-content h1,
  .multi-page-header-container h1,
  .scale-header-container h1,
  .collaboration-container h1,
  .cta-section h1,
  .feedback-content h1{
    font-size: 2.5rem;
  }
  .cta-background-text{
    bottom: -25%;
  }
  .background-logo{
    width: 50rem;
    height: 25rem;
  }
}

@media (max-width: 50rem) {
  .comparison-grid{
    display: flex;
    flex-direction: column;
    gap: unset;
  }
  .messy-line.too-long{
    width: 100%;
  }

  .language-globe-stage:hover .globe-sphere{
    transform: scale(2.5);
  }

  .globe-sphere {
    width: 22rem;
    height: 22rem;
  }

  .globe-core {
    width: 3.14rem;
    height: 3.14rem;
  }

  .ring-text {
    width: 27.5rem;
  }

  .ring-text h3 {
    font-size: 1.57rem;
  }

  .ring-text p {
    font-size: 0.94rem;
  }

  .dot-it {
    transform: translate(-50%, -50%) rotate(0deg) translateX(5.72rem) rotate(0deg);
  }

  .dot-ja {
    transform: translate(-50%, -50%) rotate(120deg) translateX(5.72rem) rotate(-120deg);
  }

  .dot-ko {
    transform: translate(-50%, -50%) rotate(240deg) translateX(5.72rem) rotate(-240deg);
  }

  .dot-fr {
    transform: translate(-50%, -50%) rotate(60deg) translateX(7.04rem) rotate(-60deg);
  }

  .dot-hi {
    transform: translate(-50%, -50%) rotate(180deg) translateX(7.04rem) rotate(-180deg);
  }

  .dot-bn {
    transform: translate(-50%, -50%) rotate(300deg) translateX(7.04rem) rotate(-300deg);
  }

  .dot-ar {
    transform: translate(-50%, -50%) rotate(30deg) translateX(8.36rem) rotate(-30deg);
  }

  .dot-pt {
    transform: translate(-50%, -50%) rotate(150deg) translateX(8.36rem) rotate(-150deg);
  }

  .dot-ru {
    transform: translate(-50%, -50%) rotate(270deg) translateX(8.36rem) rotate(-270deg);
  }

  .dot-en {
    transform: translate(-50%, -50%) rotate(0deg) translateX(9.68rem) rotate(0deg);
  }

  .dot-zh {
    transform: translate(-50%, -50%) rotate(120deg) translateX(9.68rem) rotate(-120deg);
  }

  .dot-es {
    transform: translate(-50%, -50%) rotate(240deg) translateX(9.68rem) rotate(-240deg);
  }

  .dot-de {
    transform: translate(-50%, -50%) rotate(90deg) translateX(11rem) rotate(-90deg);
  }

  .dot-nl {
    transform: translate(-50%, -50%) rotate(210deg) translateX(11rem) rotate(-210deg);
  }

  .dot-pl {
    transform: translate(-50%, -50%) rotate(330deg) translateX(11rem) rotate(-330deg);
  }

  .dot-glow {
    width: 1.57rem;
    height: 1.57rem;
  }

  .dot-inner {
    width: 0.688rem;
    height: 0.688rem;
    border-width: 0.098rem;
    box-shadow: 0 0 0.59rem color-mix(in srgb, var(--accent) 60%, transparent), 0 0.20rem 0.39rem var(--shadow-color);
  }

  .language-dot:hover .dot-inner {
    box-shadow: 0 0 1.18rem color-mix(in srgb, var(--accent) 80%, transparent), 0 0.39rem 0.79rem var(--shadow-color);
  }


  .cta-background-text{
    bottom: -20%;
  }
  .background-logo{
    width: 40rem;
    height: 20rem;
  }
  .o-infinity-wrapper{
    font-size: 16.5rem;
  }
  .tier-content{
    box-shadow: none;
  }
  .scale-tier:hover .tier-content {
    border-color: unset;
    box-shadow: unset;
  }
  .scale-tier:hover,
  .multi-page-tier:hover,
  .feat:hover {
    transform: none;
  }
  .feat:hover{
    box-shadow: unset;
  }
  .footer-bottom small{
    font-size: .9rem;
  }

}


@media (max-width: 42.5rem) {
  .landing-body #landing-settings-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .landing-body .nav-actions {
    display: none !important;
    width: auto;
  }
  .hero-art .nav-actions {
    display: flex !important;
    width: auto;
  }

  .landing-body .nav-actions.open {
    display: flex !important;
    visibility: visible !important;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    top: 4.5rem;
    right: 1rem;
    left: 1rem;
    z-index: 80;
    overflow-x: hidden;
    scrollbar-width: thin;
    overflow-y: auto;
  }
  .landing-body .landing-nav {
    padding: .8rem 1rem;
  }

}

@media (max-width: 40.625rem) {
  #invoice-pdf .hero-copy{
    gap: 1rem;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .feat:nth-child(7) {
    grid-column: span 2;
  }

}

@media (max-width: 38.75rem) {

  .cta-background-text{
    bottom: -15%;
  }
  .background-logo{
    width: 30rem;
    height: 15rem;
  }
  .o-infinity-wrapper{
    font-size: 10.5rem;
  }
  .cta-container .logo {
    height: 1rem;
    width: 6rem;
  }
  .cta-btn-large{
    font-size: var(--base-size-22);
  }
  .landing-footer {
    gap: 2rem;
  }
  .footer-bottom small{
    text-align: start;
  }

}


@media (max-width: 27rem) {
  #invoice-pdf {
    padding-bottom: 3rem;
    min-height: var(--invoice-pdf-min-height, 110rem);
  }
  #invoice-pdf .hero-art {
    position: absolute;
    transform: scale(0.8);
    transform-origin: top;
    top: 0rem;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .hero-section-big-container{
    min-height: calc(40rem + 20rem);
  }
  .hero-sections-container {
    margin-top: 40rem;
  }
  .collaboration-section .carousel-controls,
  .defaults-section .carousel-controls{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
    gap: 1rem;
    width: 70%;
  }
  .carousel-dot:nth-child(3) {
    grid-column: span 2;
  }

  .language-globe-stage:hover .globe-sphere{
    transform: scale(2.5);
  }

  .globe-sphere {
    width: 20rem;
    height: 20rem;
  }

  .globe-core {
    width: 2.85rem;
    height: 2.85rem;
  }

  .ring-text {
    width: 20rem;
  }

  .ring-text h3 {
    font-size: 1.4rem;
  }

  .ring-text p {
    font-size: 0.85rem;
  }

  .dot-it {
    transform: translate(-50%, -50%) rotate(0deg) translateX(5.2rem) rotate(0deg);
  }

  .dot-ja {
    transform: translate(-50%, -50%) rotate(120deg) translateX(5.2rem) rotate(-120deg);
  }

  .dot-ko {
    transform: translate(-50%, -50%) rotate(240deg) translateX(5.2rem) rotate(-240deg);
  }

  .dot-fr {
    transform: translate(-50%, -50%) rotate(60deg) translateX(6.4rem) rotate(-60deg);
  }

  .dot-hi {
    transform: translate(-50%, -50%) rotate(180deg) translateX(6.4rem) rotate(-180deg);
  }

  .dot-bn {
    transform: translate(-50%, -50%) rotate(300deg) translateX(6.4rem) rotate(-300deg);
  }

  .dot-ar {
    transform: translate(-50%, -50%) rotate(30deg) translateX(7.6rem) rotate(-30deg);
  }

  .dot-pt {
    transform: translate(-50%, -50%) rotate(150deg) translateX(7.6rem) rotate(-150deg);
  }

  .dot-ru {
    transform: translate(-50%, -50%) rotate(270deg) translateX(7.6rem) rotate(-270deg);
  }

  .dot-en {
    transform: translate(-50%, -50%) rotate(0deg) translateX(8.8rem) rotate(0deg);
  }

  .dot-zh {
    transform: translate(-50%, -50%) rotate(120deg) translateX(8.8rem) rotate(-120deg);
  }

  .dot-es {
    transform: translate(-50%, -50%) rotate(240deg) translateX(8.8rem) rotate(-240deg);
  }

  .dot-de {
    transform: translate(-50%, -50%) rotate(90deg) translateX(10rem) rotate(-90deg);
  }

  .dot-nl {
    transform: translate(-50%, -50%) rotate(210deg) translateX(10rem) rotate(-210deg);
  }

  .dot-pl {
    transform: translate(-50%, -50%) rotate(330deg) translateX(10rem) rotate(-330deg);
  }

  .dot-glow {
    width: 1.43rem;
    height: 1.43rem;
  }

  .dot-inner {
    width: 0.625rem;
    height: 0.625rem;
    border-width: 0.09rem;
    box-shadow: 0 0 0.54rem color-mix(in srgb, var(--accent) 60%, transparent), 0 0.18rem 0.36rem var(--shadow-color);
  }

  .language-dot:hover .dot-inner {
    box-shadow: 0 0 1.07rem color-mix(in srgb, var(--accent) 80%, transparent), 0 0.36rem 0.71rem var(--shadow-color);
  }



  .cta-background-text{
    bottom: -6.5%;
  }
  .background-logo{
    width: 25rem;
    height: 10rem;
  }
  .o-infinity-wrapper{
    font-size: 8.5rem;
  }
  :root {
    --cta-physics-card-font-size: var(--base-size-10);
  }
  .cta-section{
    min-height: 60rem;
  }
  .cta a{
    flex: 1;
  }
  .footer-bottom small{
    font-size: .8rem;
  }

}