/* Critical CSS - Above the fold styles only */
:root {
  --marklis-primary: #1C604B;
  --marklis-text: #333333;
  --marklis-text-light: #666666;
  --marklis-background: #ffffff;
  --marklis-gradient-primary: linear-gradient(135deg, #B0F4F2 0%, #7BC8D3 30%, #DA8FB0 60%, #A85B8A 100%);
  --marklis-font-sans: 'Inter', 'SF Pro Display', 'Helvetica Neue', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
}

/* Essential body styles */
body {
  font-family: var(--marklis-font-sans);
  color: var(--marklis-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* FV Section Critical Styles */
.fv-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 10% 100px;
  background-color: var(--marklis-background);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#animated-title {
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  color: var(--marklis-primary);
  position: relative;
  z-index: 2;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  font-family: var(--marklis-font-sans);
  font-feature-settings: "palt";
}

.fv-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  color: var(--marklis-text-light);
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
  max-width: 800px;
}

.fv-label {
  text-align: center;
  font-size: 1rem;
  background: var(--marklis-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
}

.fv-circle {
  width: 350px;
  height: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  z-index: 3;
  cursor: pointer;
  margin-top: 40px;
}

.fv-circle.heartbeat-active {
  animation: realisticHeartBeat 1.2s infinite ease-in-out;
  border-radius: 50%;
}

.fv-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--marklis-gradient-primary);
  z-index: 1;
  transition: opacity 1s ease;
}

/* Critical Animations */
@keyframes realisticHeartBeat {
  0% { transform: scale(1); filter: brightness(1); }
  8% { transform: scale(0.96); filter: brightness(1.05); }
  15% { transform: scale(0.88); filter: brightness(1.15); }
  22% { transform: scale(0.82); filter: brightness(1.25); }
  30% { transform: scale(0.95); filter: brightness(1.1); }
  45% { transform: scale(1.08); filter: brightness(0.95); }
  65% { transform: scale(1.02); filter: brightness(0.98); }
  80%, 100% { transform: scale(1); filter: brightness(1); }
}

/* Mobile Critical Styles */
@media (max-width: 768px) {
  .fv-section {
    padding: 100px 5% 80px;
  }
  
  #animated-title {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 24px;
  }
  
  .fv-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
  }
  
  .fv-label {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
  }
  
  .fv-circle {
    width: 280px;
    height: 280px;
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .fv-section {
    padding: 80px 5% 100px;
  }
  
  #animated-title {
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
  .fv-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  .fv-label {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }
  
  .fv-circle {
    width: 240px;
    height: 240px;
    margin-top: 20px;
  }
}