@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
}

body.no-scroll {
  overflow: hidden !important;
}

body {
  overflow-x: hidden !important;
  font-family: 'Inter', sans-serif;
}

::selection {
  background: #1d4ed8;
  color: #fff;
}

::-moz-selection {
  background: #1d4ed8;
  color: #fff;
}

@keyframes pageLoadAnimate {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUpDelayed {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-load-animate {
  opacity: 0;
  animation: pageLoadAnimate 0.4s ease forwards;
}

.hero-slide-in-delayed {
  opacity: 0;
  animation: slideInUpDelayed 0.4s ease forwards;
  animation-delay: 0.1s;
}

.hero-slide-in-delayed-2 {
  opacity: 0;
  animation: slideInUpDelayed 0.4s ease forwards;
  animation-delay: 0.2s;
}

@keyframes charFadeIn {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.char {
  display: inline-block;
  opacity: 1;
  will-change: transform, opacity, filter;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  vertical-align: top;
}

.js-ready .char {
  opacity: 0;
}

.char-space {
  display: inline-block;
  vertical-align: top;
}

.char.start-animate, .char-space.start-animate {
  animation: charFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.word {
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
}

.char-accent {
  color: #3B82F6 !important;
}

@media (prefers-reduced-motion: reduce) {
  .page-load-animate,
  .hero-slide-in-delayed,
  .hero-slide-in-delayed-2,
  .hero-visuals-container,
  .char,
  .char-space {
    animation: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

#answer3 a {
  transition: color 300ms ease;
}

#answer3 a svg,
#answer3 a svg path {
  transition: stroke 300ms ease, fill 300ms ease;
}

#answer3 a span {
  transition: color 300ms ease;
}

.hero-background-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: #000;
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
}

#aurora-canvas {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  filter: blur(40px);
  pointer-events: none;
  user-select: none;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.hero-grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-background-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%),
              linear-gradient(to bottom, transparent 60%, #000 100%);
  z-index: 3;
}

@media (max-width: 768px) {
  #aurora-canvas {
    inset: -20%;
    width: 140%;
    height: 140%;
    filter: blur(45px);
    opacity: 0.9;
  }
  .hero-grain-overlay {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #aurora-canvas {
    filter: blur(60px);
  }
}



.purchase-btn {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: none;
}

.purchase-btn:hover {
  background: transparent !important;
  color: #6179ff !important;
  box-shadow: inset 0 0 0 2px #6179ff !important;
}



@media (max-width: 768px) {
  #hero-canvas {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero-canvas {
    filter: blur(80px);
  }
}

[id^="answer"] {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  contain: layout style paint;
}

[id^="answer"].faq-open {
  opacity: 1;
}

[id^="arrow"] {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(0deg);
}

[id^="question"].faq-open [id^="arrow"] {
  transform: rotate(90deg);
}

.how-its-done-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.8s ease;
}

.how-its-done-item:first-child {
  border-top: none;
}



.how-its-done-header {
  cursor: pointer;
  padding: 1.25rem 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease, padding 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.how-its-done-item:not(.active):hover .how-its-done-header {
  color: rgba(255, 255, 255, 0.7);
}

.how-its-done-item:not(.active):hover .how-its-done-icon {
  opacity: 0.7;
}

.how-its-done-item.active .how-its-done-header {
  color: #ffffff;
  padding-bottom: 0.75rem;
  cursor: default;
}

.how-its-done-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease-out;
  opacity: 0;
  will-change: grid-template-rows, opacity;
}

.how-its-done-item.active .how-its-done-content {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 1.5rem;
}

.how-its-done-content-inner {
  overflow: hidden;
}

.how-its-done-description {
  color: #acb0b5;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 480px;
}

.how-its-done-icon {
  width: 24px;
  height: 24px;
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.how-its-done-item.active .how-its-done-icon {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes barGrow {
  0% { transform: scaleY(0.4); transform-origin: bottom; }
  50% { transform: scaleY(1.1); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes lockShake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

@keyframes pulseSubtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes wheelRotate {
  from { transform: rotate(0deg); transform-origin: center; }
  to { transform: rotate(360deg); transform-origin: center; }
}

.how-its-done-item.active .bar-1 { animation: barGrow 0.5s ease-out forwards 0.1s; }
.how-its-done-item.active .bar-2 { animation: barGrow 0.5s ease-out forwards 0.2s; }
.how-its-done-item.active .bar-3 { animation: barGrow 0.5s ease-out forwards 0.3s; }

.how-its-done-item.active .lock-body { 
  animation: lockShake 0.4s ease-in-out;
  transform-origin: center;
}

.how-its-done-item.active .accessibility-circle {
  animation: pulseSubtle 1.5s ease-in-out infinite;
  transform-origin: center;
}

.orbital-system:hover .orbit-container,
.orbital-system:hover .orbital-icon {
  animation-play-state: paused;
}

.icon-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.icon-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.performance-icon {
  overflow: visible;
}

.performance-icon .bar-1,
.performance-icon .bar-2,
.performance-icon .bar-3 {
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-item.animate .performance-icon .bar-1 {
  transform: scaleY(1);
  transition-delay: 0.1s;
}

.icon-item.animate .performance-icon .bar-2 {
  transform: scaleY(1);
  transition-delay: 0.2s;
}

.icon-item.animate .performance-icon .bar-3 {
  transform: scaleY(1);
  transition-delay: 0.3s;
}

.security-icon {
  transform-origin: center;
}

.icon-item.animate .security-icon {
  animation: lockPulse 1.2s ease-out 0.3s;
}

@keyframes lockPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.accessibility-icon {
  transform-origin: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-item.animate .accessibility-icon {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.2s;
}

.backup-icon {
  transform: translateX(-20px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease-out;
}

.icon-item.animate .backup-icon {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.2s;
}

.bento-header {
    text-align: center;
    margin-bottom: 50px;
  }

  .bento-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
    color: #fff;
  }

  .bento-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
  }

  @media (min-width: 1024px) {
    .bento-grid {
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(2, 320px);
    }

    .bento-card-wide {
      grid-column: span 2;
    }

    .bento-card-tall {
      grid-column: 3;
      grid-row: 1 / span 2;
    }
  }

  .bento-card {
    position: relative;
    background: #080808;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  }

  .bento-content {
    padding: 40px;
    position: relative;
    z-index: 2;
  }

  .bento-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
  }

  .bento-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    user-select: text;
  }

  .bento-visual {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bento-visual img {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
  }

  .mockup-vignette {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .vignette-icon {
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(97, 121, 255, 0.3));
    opacity: 0.8;
  }

  .vignette-mask {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 1;
  }

  .vignette-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  }

@keyframes pulse-blue {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.5;
  }
}

@keyframes performance-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

@keyframes performance-scan {
  0% { transform: translateX(-100%) skewX(-20deg); }
  100% { transform: translateX(350%) skewX(-20deg); }
}

@keyframes flow-accent {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}

@keyframes flow-dim {
  from { stroke-dashoffset: 30; }
  to { stroke-dashoffset: 0; }
}

@keyframes node-ping {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.6; }
}

@keyframes orbit-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-counter-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.orbital-system {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.ring-visual {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.05);
  pointer-events: none;
}

.ring-visual.inner {
  width: 140px;
  height: 140px;
  border-color: rgba(59, 130, 246, 0.08);
}

.ring-visual.outer {
  width: 220px;
  height: 220px;
  border-color: rgba(59, 130, 246, 0.05);
}

.central-logo-wrapper {
  position: relative;
  width: 80px !important;
  height: 80px !important;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ambient-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.logo-content {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
  overflow: hidden;
}

.logo-content img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
}

.orbit-container {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 220px;
  height: 220px;
  animation: orbit-rotate 20s linear infinite;
  pointer-events: none;
}

.orbit-container * {
  pointer-events: auto;
}

.orbit-icon-wrapper {
  position: absolute;
  transform: translate(-50%, -50%);
}

.notes-orbit {
  top: 0% !important;
  left: 50% !important;
}

.files-orbit {
  top: 75% !important;
  left: 6.7% !important;
}

.annotate-orbit {
  top: 75% !important;
  left: 93.3% !important;
}

.orbital-icon {
  animation: orbit-counter-rotate 20s linear infinite;
}

.orbital-item {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.orbital-item img {
  width: 38px;
  height: 38px;
  filter: brightness(1.2);
}

.orbital-item:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.05);
}

.orbital-item.filled {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  font-weight: 800;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.orbital-item.filled:hover {
  background: rgba(168, 85, 247, 0.2);
  transform: scale(1.1);
}

.security-diagram {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.security-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.path-accent {
  stroke: rgba(59, 130, 246, 0.4);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 4 6;
  animation: flow-accent 1s linear infinite;
  will-change: stroke-dashoffset;
  backface-visibility: hidden;
}

.path-dim {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 5 10;
  animation: flow-dim 2s linear infinite;
  will-change: stroke-dashoffset;
  backface-visibility: hidden;
}

.security-nodes {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.security-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.35);
  animation: none;
}

.shield-container {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.2) 0%,
    transparent 70%
  );
}

.shield-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  border: 2px solid #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.mini-checkmark {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 10;
  width: 24px;
  height: 24px;
  background: #3b82f6;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.performance-visual {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.performance-mockup {
  width: 100%;
  padding: 0 40px 40px;
}

.perf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.perf-stats {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.perf-value {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: -0.02em;
}

.perf-unit {
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.4;
  font-weight: 500;
}

.performance-chart {
  width: 284px;
  height: 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, #3b82f6 214px, rgba(59, 130, 246, 0.2) 214px);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='60'%3E%3Crect width='8' height='60' rx='4' fill='white'/%3E%3C/svg%3E"), 
                      linear-gradient(to bottom, black 10%, transparent 100%);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='60'%3E%3Crect width='8' height='60' rx='4' fill='white'/%3E%3C/svg%3E"), 
              linear-gradient(to bottom, black 10%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  mask-repeat: repeat-x, no-repeat;
  -webkit-mask-repeat: repeat-x, no-repeat;
  animation: performance-pulse 2s infinite ease-in-out;
}

.performance-chart::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: performance-scan 1.2s infinite linear;
}

@media (max-width: 1024px) {
  .bento-header {
    margin-bottom: 30px;
  }

  .bento-grid {
    gap: 12px;
  }

  .bento-card {
    border-radius: 20px;
  }

  .bento-content {
    padding: 30px 24px;
  }

  .bento-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .bento-content p {
    font-size: 0.9rem;
  }

  .performance-visual {
    min-height: 140px;
  }

  .performance-mockup {
    padding: 0 24px 10px;
  }

  .perf-value {
    font-size: 2.5rem;
  }

  .performance-chart {
    width: 100%;
    max-width: 284px;
    margin-bottom: -32px;
  }

  .orbital-system {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  }
}

#behind-the-scenes {
  background-color: var(--dynamic-bg, #0a1a0f);
  transition: background-color 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding-top: 120px !important;
  padding-bottom: 120px !important;
  filter: drop-shadow(0 -1px 1px rgba(255, 255, 255, 0.15));
  clip-path: polygon(
    0 0, 
    max(32px, calc(50vw - 600px)) 0, 
    calc(max(32px, calc(50vw - 600px)) + 40px) 40px, 
    calc(min(100vw - 32px, calc(50vw + 600px)) - 40px) 40px, 
    min(100vw - 32px, calc(50vw + 600px)) 0, 
    100% 0, 
    
    100% 100%, 
    min(100vw - 32px, calc(50vw + 600px)) 100%, 
    calc(min(100vw - 32px, calc(50vw + 600px)) - 40px) calc(100% - 40px), 
    calc(max(32px, calc(50vw - 600px)) + 40px) calc(100% - 40px), 
    max(32px, calc(50vw - 600px)) 100%, 
    0 100%
  );
}

@media (max-width: 768px) {
  #behind-the-scenes {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    clip-path: polygon(
      0 0, 
      32px 0, 
      56px 24px, 
      calc(100% - 56px) 24px, 
      calc(100% - 32px) 0, 
      100% 0, 
      
      100% 100%, 
      calc(100% - 32px) 100%, 
      calc(100% - 56px) calc(100% - 24px), 
      56px calc(100% - 24px), 
      32px 100%, 
      0 100%
    ); 
  }
}

.css-stack-visual {
  position: relative;
  width: 400px;
  height: 400px;
  perspective: 1200px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

.css-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 160px;
  background: var(--dynamic-bg, #0a1a0f);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 10px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  cursor: pointer;
}

.css-card:not(.active):hover {
  background: color-mix(in srgb, var(--dynamic-bg, #0a1a0f) 95%, white);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.css-card.active .card-glow {
  opacity: 1;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.skeleton-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.css-card.active {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.03);
}

.card-perf { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-45deg) translateZ(60px); z-index: 4; }
.card-sec { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-45deg) translateZ(20px); z-index: 3; }
.card-acc { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-45deg) translateZ(-20px); z-index: 2; }
.card-back { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-45deg) translateZ(-60px); z-index: 1; }

.card-perf.active { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-45deg) translateZ(80px) scale(1.05); }
.card-sec.active { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-45deg) translateZ(40px) scale(1.05); }
.card-acc.active { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-45deg) translateZ(0px) scale(1.05); }
.card-back.active { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-45deg) translateZ(-40px) scale(1.05); }
