:root {
  --color-primary: #5ed29c;
  --color-primary-dark: #3ca877;
  --color-secondary: #10b584;
  --color-bg: #070b0a;
  --color-bg-strong: #020304;
  --color-surface: rgba(255, 255, 255, 0.01);
  --color-text-high: #ffffff;
  --color-text-medium: rgba(255, 255, 255, 0.72);
  --color-text-muted: rgba(255, 255, 255, 0.48);
  --gradient-accent-1: linear-gradient(90deg, rgba(94, 210, 156, 0.24), rgba(16, 181, 132, 0.08));
  --gradient-accent-2: linear-gradient(180deg, rgba(7, 11, 10, 0.96), transparent);
}

.glass-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  background-blend-mode: luminosity;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 14px 32px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* special styling for the hero floating card */
.glass-card-hero {
  width: 230px;
  height: 230px;
  transform: translateY(-20px);
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  
  /* 1. Translucent liquid glass background */
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.02) 100%
  );
  
  /* 2. Enhanced blur & vibrancy for depth */
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  
  /* 3. Soft drop shadow and top inner reflection */
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Sharp, high-end gradient border frame */
.glass-card-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.75rem;
  padding: 1.5px; /* Border thickness */
  
  /* Top-to-bottom subtle light gradient */
  background: linear-gradient(
    180deg, 
    rgba(255, 255, 255, 0.4) 0%, 
    rgba(255, 255, 255, 0.05) 100%
  );
  
  /* Masking trick to leave only the sharp border frame */
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background: var(--color-bg);
  color: var(--color-text-high);
}

button,
a {
  font-family: inherit;
}

.font-plus-jakarta {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.font-serif-italic {
  font-family: "Instrument Serif", serif;
  font-style: italic;
}

.shadow-shadow-glow {
  box-shadow: 0 28px 120px rgba(94, 210, 156, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

#hero-video {
  min-height: 100%;
}

@media (max-width: 768px) {
  .glass-card {
    width: 90%;
  }
}

@media (max-width: 640px) {
  .glass-card {
    transform: translateY(-35px);
  }
}
