body {
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #171717;
}

::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #525252;
}

/* Top Gradient Blur - positioned BELOW navbar to not interfere */
.gradient-blur {
  position: fixed;
  z-index: 15;
  /* Below navbar z-index of 9999 */
  top: 90px;
  /* Start below navbar */
  left: 0;
  right: 0;
  height: 80px;
  /* Smaller effective height */
  pointer-events: none;
}

.gradient-blur>div,
.gradient-blur::before,
.gradient-blur::after {
  position: absolute;
  inset: 0;
}

.gradient-blur::before {
  content: '';
  z-index: 1;
  backdrop-filter: blur(0.5px);
  mask: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.gradient-blur>div:nth-of-type(1) {
  z-index: 2;
  backdrop-filter: blur(1px);
  mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 80%);
}

.gradient-blur>div:nth-of-type(2) {
  z-index: 3;
  backdrop-filter: blur(2px);
  mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%);
}

.gradient-blur>div:nth-of-type(3) {
  z-index: 4;
  backdrop-filter: blur(4px);
  mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 40%);
}

.gradient-blur>div:nth-of-type(4) {
  z-index: 5;
  backdrop-filter: blur(6px);
  mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 30%);
}

.gradient-blur>div:nth-of-type(5) {
  z-index: 6;
  backdrop-filter: blur(8px);
  mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 20%);
}

.gradient-blur::after {
  content: '';
  z-index: 8;
  backdrop-filter: blur(10px);
  mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 10%);
}

@keyframes float {

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

  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 40s linear infinite;
}

/* Hero gradient background */
.hero-gradient {
  background-image: url('https://i.postimg.cc/bw80kFWT/Gemini-Generated-Image-arsnjvarsnjvarsn-imgupscaler-ai-General-4K.jpg');
  background-size: cover;
  background-position: center;
}

.transparent-resonance {
  mix-blend-mode: overlay;
  opacity: 0.8;
}

/* Advanced Impact Animations */
.spotlight-card {
  --mouse-x: 0px;
  --mouse-y: 0px;
}

.spotlight-overlay {
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
      var(--spotlight-color, rgba(255, 255, 255, 0.1)),
      transparent 40%);
}

.living-icon {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s ease-in-out;
}

.group:hover .living-icon {
  animation: icon-draw 1.5s ease-in-out forwards;
}

@keyframes icon-draw {
  0% {
    stroke-dashoffset: 100;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse-slow {

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

  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

@keyframes pulse-slower {

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

  50% {
    transform: scale(1.3);
    opacity: 0.4;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

.animate-pulse-slower {
  animation: pulse-slower 6s ease-in-out infinite;
}

/* Navbar glass effect - Adaptive liquid glass - SUPREME z-index */
/* Base transition styles - actual colors applied via nav-glass-light/dark classes */
.nav-glass {
  position: relative;
  z-index: 9999;
  /* Absolute supremacy over all other elements */
  isolation: isolate;
  /* Create isolated stacking context - immune to external filters */
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
  -webkit-transition: background 0.4s ease, -webkit-backdrop-filter 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
  /* Ensure navbar is never affected by external backdrop-filters */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Light mode - visible on white backgrounds */
.nav-glass-light {
  background: linear-gradient(180deg,
      rgba(50, 50, 55, 0.65),
      rgba(40, 40, 45, 0.55));
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border: 1px solid rgba(80, 80, 85, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

/* Dark mode - dark tinted transparent glass */
.nav-glass-dark {
  background: linear-gradient(180deg,
      rgba(20, 20, 25, 0.55),
      rgba(15, 15, 20, 0.45));
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Desktop dropdown liquid glass panels - Matching index.html styling */
.dropdown-glass {
  background: linear-gradient(180deg,
      rgba(55, 55, 55, 0.65),
      rgba(40, 40, 40, 0.6));
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Dropdown wrapper for proper sizing */
.dropdown-wrapper {
  position: fixed;
  z-index: 100;
  min-width: 900px;
  max-width: 1200px;
  width: max-content;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dropdown container - spacious layout */
.dropdown-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem;
  width: 100%;
}

/* Dropdown left section */
.dropdown-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dropdown-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: white;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.dropdown-description {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 1rem;
}

/* Dropdown image cards grid */
.dropdown-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

/* Company dropdown has 6 items, use 3x2 grid */
#company-menu .dropdown-cards-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.dropdown-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dropdown-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.dropdown-card-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-card:hover .dropdown-card-image {
  transform: scale(1.05);
}

.dropdown-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 60%,
      rgba(0, 0, 0, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown-card:hover .dropdown-card-overlay {
  opacity: 1;
}

.dropdown-card-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* Dropdown right section */
.dropdown-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dropdown-right-content {
  flex: 1;
}

.dropdown-right-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.dropdown-right-text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.dropdown-featured-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease;
}

.dropdown-featured-image:hover {
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .dropdown-wrapper {
    min-width: 600px;
    max-width: 800px;
  }

  .dropdown-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .dropdown-wrapper {
    min-width: 100%;
    max-width: 100%;
  }

  .dropdown-container {
    padding: 1.5rem;
  }

  .dropdown-cards-grid {
    grid-template-columns: 1fr;
  }
}

.nav-btn-glass {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-btn-glass:hover {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Shimmer button styles */
.shimmer-btn {
  --spread: 90deg;
  --shimmer-color: rgba(255, 255, 255, 0.6);
  --radius: 9999px;
  --speed: 4s;
  --cut: 1px;
  --bg: rgba(255, 255, 255, 0.05);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
}

.shimmer-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.shimmer-btn::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--cut));
  border-radius: var(--radius);
  background: var(--bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.shimmer-btn .shimmer-gradient {
  position: absolute;
  inset: -200%;
  width: 400%;
  height: 400%;
  animation: none;
  z-index: 0;
}

.shimmer-btn:hover .shimmer-gradient {
  animation: rotate-gradient var(--speed) linear infinite;
}

.shimmer-btn .shimmer-gradient>div {
  position: absolute;
  inset: 0;
  background: conic-gradient(from calc(270deg - (var(--spread) * 0.5)),
      transparent 0,
      var(--shimmer-color) var(--spread),
      transparent var(--spread));
}

.shimmer-btn .shimmer-content {
  position: relative;
  z-index: 10;
  border-radius: var(--radius);
}

.shimmer-btn .shimmer-border-beam {
  position: absolute;
  content: " ";
  display: block;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2),
      transparent);
  animation: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shimmer-btn:hover .shimmer-border-beam {
  animation: borderBeamRotation 4s infinite linear;
  opacity: 1;
}

.shimmer-btn .shimmer-bg {
  position: absolute;
  inset: 1px;
  background: rgba(101, 85, 70, 0.3);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
  transition: background 0.3s ease;
}

.shimmer-btn:hover .shimmer-bg {
  background: rgba(100, 140, 110, 0.4);
}

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

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

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

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

@keyframes beam-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Border Beam Effect - Elegant, slow, focused, prestigious */
.shimmer-btn .shimmer-border-beam-container {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0.5px;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.shimmer-btn:hover .shimmer-border-beam-container {
  padding: 0.75px;
}

.shimmer-btn .shimmer-border-beam-container::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 0deg,
      transparent 0deg 352deg,
      rgba(255, 255, 255, 0.4) 356deg,
      rgba(255, 255, 255, 0.65) 358deg,
      rgba(255, 255, 255, 0.4) 360deg);
  animation: beam-spin 6s linear infinite;
  filter: blur(0.5px);
}

.shimmer-btn:hover .shimmer-border-beam-container::before {
  background: conic-gradient(from 0deg,
      transparent 0deg 345deg,
      rgba(120, 180, 140, 0.5) 352deg,
      rgba(100, 160, 120, 0.7) 356deg,
      rgba(120, 180, 140, 0.5) 360deg);
  filter: blur(0.3px);
}

.shimmer-btn .shimmer-border-beam-container::after {
  content: "";
  position: absolute;
  inset: 0.5px;
  border-radius: var(--radius);
  background: transparent;
  z-index: 1;
  transition: inset 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.shimmer-btn:hover .shimmer-border-beam-container::after {
  inset: 0.75px;
}

/* Dark variant for shimmer button - visible on white backgrounds */
.shimmer-btn.shimmer-btn-dark .shimmer-bg {
  background: rgba(30, 30, 30, 0.95);
}

.shimmer-btn.shimmer-btn-dark:hover .shimmer-bg {
  background: rgba(25, 25, 25, 0.98);
}

.shimmer-btn.shimmer-btn-dark::after {
  background: rgba(30, 30, 30, 0.95);
}

.shimmer-btn.shimmer-btn-dark .shimmer-border-beam-container::before {
  background: conic-gradient(from 0deg,
      transparent 0deg 352deg,
      rgba(120, 120, 120, 0.5) 356deg,
      rgba(160, 160, 160, 0.7) 358deg,
      rgba(120, 120, 120, 0.5) 360deg);
}

.shimmer-btn.shimmer-btn-dark:hover .shimmer-border-beam-container::before {
  background: conic-gradient(from 0deg,
      transparent 0deg 345deg,
      rgba(100, 160, 120, 0.6) 352deg,
      rgba(80, 140, 100, 0.8) 356deg,
      rgba(100, 160, 120, 0.6) 360deg);
}

/* Footer gray liquid glass matching navbar */
.footer-blue {
  background: linear-gradient(180deg,
      rgba(55, 55, 55, 0.4),
      rgba(40, 40, 40, 0.35)) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08) !important;
}

@keyframes scan {
  0% {
    top: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }

  20% {
    transform: translate(-2px, 2px);
  }

  40% {
    transform: translate(-2px, -2px);
  }

  60% {
    transform: translate(2px, 2px);
  }

  80% {
    transform: translate(2px, -2px);
  }

  100% {
    transform: translate(0);
  }
}

.border-gradient {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  background-clip: padding-box;
  border: 1px solid transparent;
  border-radius: 9999px;
}

.border-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: -1px;
  border-radius: inherit;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.05));
}

/* Footer glow button */
:root {
  --glow-core: rgba(255, 255, 255, 0.8);
  --glow-color: rgba(192, 132, 252, 0.35);
  --glow-color-strong: rgba(192, 132, 252, 0.55);
}

.glow-btn {
  --x: 50%;
  --y: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.25);
  isolation: isolate;
  font-size: 0.875rem;
}

.glow-btn:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.glow-btn::before,
.glow-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: background;
  z-index: -1;
}

.glow-btn::before {
  background:
    radial-gradient(90px 90px at var(--x) var(--y),
      var(--glow-core) 0%,
      rgba(255, 255, 255, 0.25) 45%,
      transparent 70%),
    radial-gradient(140px 140px at var(--x) var(--y),
      var(--glow-color-strong) 0%,
      transparent 75%);
  mix-blend-mode: screen;
}

.glow-btn::after {
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(200px 200px at var(--x) var(--y),
      var(--glow-color) 0%,
      transparent 80%);
  filter: blur(20px);
  z-index: -2;
}

.glow-btn:hover::before,
.glow-btn:hover::after {
  opacity: 1;
}

.icon-box {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer button variant - dark background with white text */
footer .glow-btn,
#footer-waitlist-btn.glow-btn,
footer #footer-waitlist-btn.glow-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  appearance: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  letter-spacing: 0.02em !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.875rem !important;
}

footer .glow-btn:hover,
#footer-waitlist-btn.glow-btn:hover,
footer #footer-waitlist-btn.glow-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

footer .glow-btn::before,
footer .glow-btn::after {
  content: '' !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: background;
  z-index: -1;
}

footer .glow-btn::before {
  background:
    radial-gradient(90px 90px at var(--x) var(--y),
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.1) 45%,
      transparent 70%),
    radial-gradient(140px 140px at var(--x) var(--y),
      rgba(192, 132, 252, 0.4) 0%,
      transparent 75%);
  mix-blend-mode: screen;
}

footer .glow-btn::after {
  inset: -8px !important;
  border-radius: inherit !important;
  background: radial-gradient(200px 200px at var(--x) var(--y),
      rgba(192, 132, 252, 0.3) 0%,
      transparent 80%);
  filter: blur(20px);
  z-index: -2;
}

footer .glow-btn:hover::before,
footer .glow-btn:hover::after {
  opacity: 1;
}

/* Footer wrapper - white background for margins */
.footer-white-wrapper {
  background-color: #ffffff !important;
  padding: 0 0.5rem 1rem 0.5rem;
}

@media (min-width: 768px) {
  .footer-white-wrapper {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

.footer-white-wrapper footer {
  margin: 0 0.5rem;
}

@media (min-width: 768px) {
  .footer-white-wrapper footer {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
}

/* Flip Card Animation - 3D Flip Effect */
.perspective-900 {
  perspective: 900px;
}

.flip-card-inner {
  transition: transform 1.2s cubic-bezier(.7, .2, .3, 1.1);
  transform-style: preserve-3d;
}

.group:hover .flip-card-inner,
.perspective-900:hover .flip-card-inner {
  cursor: pointer;
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-front {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  overflow: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072),
    0 41.8px 33.4px rgba(0, 0, 0, 0.086),
    0 100px 80px rgba(0, 0, 0, 0.12);
}

.flip-card-back::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.flip-card-back>* {
  position: relative;
  z-index: 1;
}

.flip-card-back h4 {
  font-family: 'Inter', sans-serif;
  color: white;
  font-weight: 500;
  line-height: 1.3;
}

.flip-card-back p {
  font-family: 'Inter', sans-serif;
}